Yum repository for PowerVC install through RHN and make sure that the following repos are enabled.
AppStream BaseOS Supplementary High Availability (HA repo is not available with standard RHEL subscription. For subscription details, see Red Hat® Enterprise Linux® High Availability Add-On ). Codeready Builder (CRB) (for RHEL 9.x only) with these RPMs, libknet1 and mysql-libs.
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
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
Required repositories
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. ################################################################################
Check if configuration exists
[root@ibmpvc01 ~]# powervc-opsmgr inventory -l Error: No cluster/inventory found
IBM documentation tell to 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: xxxxx ********************************************************* Enter Virtual IP/Hostname: ibmpvc01-vip Establishing passwordless connection PLAY [Configure SSH Keys] ****************************************************** TASK [Gathering Facts] ********************************************************* Friday 24 September 2021 09:01:46 +0200 (0:00:00.027) 0:00:00.027 ****** ok: [ibmpvc01] ... Inventory file generated successfully at /opt/ibm/powervc-opsmgr/ansible/inventory/PowerVC
[root@ibmpvc01 usr]# powervc-opsmgr inventory -l Cluster name: PowerVC Hosts: ['ibmpvc01'] Edition: powervc Firewall Config: True Monitoring: True Primary host: ibmpvc01 Virtual IP: 10.1.38.60 ---End of cluster PowerVC---
Once all repositories are available you can start the installation
logs are located in /opt/ibm/powervc-opsmgr/ansible/artifacts/
[root@ibmpvc01 usr]# powervc-opsmgr install -c PowerVC PLAY [Precheck] **************************************************************** Friday 24 September 2021 09:05:33 +0200 (0:00:00.061) 0:00:00.061 ****** ok: [ibmpvc01] TASK [Gathering Facts] ********************************************************* ok: [ibmpvc01] Friday 24 September 2021 09:05:34 +0200 (0:00:01.578) 0:00:01.639 ****** changed: [ibmpvc01]
If need to restart the installation use the option -f
[root@ibmpvc01 ~]# powervc-opsmgr install -c PowerVC -f Powervc Install exists skipping precheck to rerun
Do not forget to rotate logs !
https://www.ibm.com/docs/en/powervc-cloud/2.2.0?topic=problems-powervc-log-management