User Tools

Site Tools


aix:powervc_install

This is an old revision of the document!


Install PowerVC

I installed PowerVC x86 on VMware

Note: PowerVC uses the default network interface: eth0. To use a different network interface, set the environment variable, HOST_INTERFACE, before running the install script. For example: export HOST_INTERFACE=eth1.

Once Redhat 8.4 is installed, change the ethernet adapter name

Rename network device

Change from ens192 to eth0

[root@ibmpvc01 ~]# lshw -class network -short
H/W path             Device      Class          Description
===========================================================
/0/100/16/0          ens192      network        VMXNET3 Ethernet Controller

Add the option net.ifnames=0 into file /etc/default/grub, and rebuild grub, then reboot

[root@ibmpvc01 ~]# cat /etc/default/grub
...
GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rd.lvm.lv=rhel/usr net.ifnames=0 rhgb quiet"

[root@ibmpvc01 ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
[root@ibmpvc01 ~]# init 6

After reboot

[root@ibmpvc01 ~]# lshw -class network -short
H/W path             Device      Class          Description
===========================================================
/0/100/16/0          eth0        network        VMXNET3 Ethernet Controller

Install / Deploy the deployment package

:-P

Required repositories

  • AppStream
  • BaseOS
  • ansible-automation-platform-setup-bundle (downloaded from Redhat)
  • Redhat HA

Extract the package powervc-install-x86-rhel-2.0.0.0.tgz

[root@ibmpvc01 software]# cd powervc-opsmgr
[root@ibmpvc01 powervc-opsmgr]# ./setup_opsmgr.sh
################################################################################
Starting the PowerVC:setup_prepnode 2.0.2 installation on:
2021-09-23T12:23:39+02:00
################################################################################
International Program License Agreement

Part 1 - General Terms

BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, CLICKING ON
AN "ACCEPT" BUTTON, OR OTHERWISE USING THE PROGRAM,
LICENSEE AGREES TO THE TERMS OF THIS AGREEMENT. IF YOU ARE
ACCEPTING THESE TERMS ON BEHALF OF LICENSEE, YOU REPRESENT
AND WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND LICENSEE
TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS,

* DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, CLICK ON AN
"ACCEPT" BUTTON, OR USE THE PROGRAM; AND

* PROMPTLY RETURN THE UNUSED MEDIA, DOCUMENTATION, AND

Press Enter to continue viewing the license agreement, or
enter "1" to accept the agreement, "2" to decline it, "3"
to print it, "4" to read non-IBM terms, or "99" to go back
to the previous screen.
1
2021-09-23T12:23:43.92+02:00 [INFO]:[] License accepted.
Configuring Yum repository...
2021-09-23T12:24:25.67+02:00 [INFO]:[VALIDATION] BASE DIRECTORY : /opt/ibm/powervc-opsmgr
2021-09-23T12:24:25.72+02:00 [INFO]:[VALIDATION] INSTALL SCRIPT : /software/powervc-opsmgr/setup_opsmgr.sh
2021-09-23T12:24:25.73+02:00 [INFO]:[VALIDATION] LOG FILE : /opt/ibm/powervc-opsmgr/log/prep_node/prep_node_2021-09-23-1223.log
2021-09-23T12:24:26.09+02:00 [INFO]:[VALIDATION] OPERATING SYSTEM: Red Hat Enterprise Linux.
2021-09-23T12:24:26.09+02:00 [INFO]:[VALIDATION] RHEL_VERSION : 84
2021-09-23T12:24:26.10+02:00 [INFO]:[VALIDATION] User ID : root
2021-09-23T12:24:33.36+02:00 [INFO]:[INSTALL_ANSIBLE] Ansible available for installation is 2.9
2021-09-23T12:24:33.36+02:00 [INFO]:[INSTALL_ANSIBLE] Ansible version 2.9 is not in repo, finding in additional repo of RHEL8
2021-09-23T12:24:34.58+02:00 [INFO]:[INSTALL_ANSIBLE] Ansible 2.9 installation started .....
2021-09-23T12:24:43.48+02:00 [INFO]:[INSTALL_ANSIBLE] Ansible packages installed successfully.
2021-09-23T12:24:45.05+02:00 [INFO]:[INSTALL_ANSIBLE] Ansible 2.9 installation completed .....
2021-09-23T12:24:45.05+02:00 [INFO]:[INSTALL_ANSIBLE] Installing PowerVC Ops. Manager...
2021-09-23T12:24:45.06+02:00 [INFO]:[INSTALL_POWERVC_OPSMGR] POWERVC OPSMGR PACKAGES : sshpass python3-netaddr rsync python3-oslo-i18n python3-powervc-opsmgr
2021-09-23T12:24:49.08+02:00 [INFO]:[INSTALL_POWERVC_OPSMGR] PowerVC Opsmgr packages installed successfully.
################################################################################
PowerVC:setup_prepnode installation completed at 2021-09-23T12:24:49+02:00.
Refer to
/opt/ibm/powervc-opsmgr/log/prep_node/prep_node_2021-09-23-1223.log
for more details.
################################################################################

Install PowerVC

Check if configuration exists

[root@ibmpvc01 ~]# powervc-opsmgr inventory --list
Error: No cluster/inventory found

IBM doc said use install it the bad command

[root@ibmpvc01 powervc]# powervc-opsmgr install -c PowerVC
Error: Cluster/Inventory does not exist for PowerVC

Use instaed inventory to populate info, and create a cluster

[root@ibmpvc01 powervc]# powervc-opsmgr inventory -c PowerVC
*********************************************************
Install Private cloud edition(y/n): n
Enable Monitoring (y/n): y
Configure Firewall (y/n): y
*********************************************************
Enter the number of nodes: 1
*********************************************************
INFO: First node specified will be considered as primary host/node
*******************************************************
Enter IP/Hostname for Node 1: ibmpvc01
Enter Username for Node 1: root
Enter Password for Node 1:
invalid Credentials
Enter Username for Node 1: root
Enter Password for Node 1:
*********************************************************
Enter Virtual IP/Hostname: ibmpvc01
The Virtual Hostname/IP provided seems to be active
Enter Virtual IP/Hostname:
aix/powervc_install.1632410442.txt.gz · Last modified: 2021/09/23 17:20 by manu