Legacy install of PowerVC

Using OpsMgr, perform legacy install of PowerVC 2.1.0 with a single node during which you do not need RHEL HA license anymore.

Legacy install feature is not recommended for production environments and is meant for test and PoC environments.

Example:

Inventory creation for PowerVC on a single node
 
[root@controller]# powervc-opsmgr inventory -c <clustername_legacy>
+--------------------------------------------------------------------------------+
|                               PowerVC Inventory                                |
+--------------------------------------------------------------------------------+
   PowerVC Install options
	Install Private cloud edition(y/n)  : y
	Configure Firewall (y/n)            : y
	Legacy Installation (y/n)           : y
+--------------------------------------------------------------------------------+
   PowerVC Nodes
	Enter the number of nodes           : 1
+--------------------------------------------------------------------------------+
   INFO:
     Legacy Method option
  	* Only one node will be part PowerVC.
  	* No cluster will be installed during PowerVC installation.
     Primary/Bootstrap Node
  	* First node specified will be considered as primary or bootstrap node.
     Sudo User
  	* Sudo user with same username and password across all nodes is required.
+--------------------------------------------------------------------------------+
   PowerVC Node(s) Information
    Node 1
	Enter IP/Hostname for Node 1        : <IP or Hostname>
	Enter Username for Node 1           : root
	Enter Password for Node 1           :
+--------------------------------------------------------------------------------+



+--------------------------------------------------------------------------------+
|                          PowerVC Inventory - <clustername_legacy>             |
+--------------------------------------------------------------------------------+
	Cluster Name              : <clustername_legacy>
	Cluster ID                : 51332088-7678-406f-80a4-1c9cb3ea5164
	Install Method            : legacy
	Edition                   : private_cloud
	Firewall Config           : True
	Monitoring                : False
	Login User                : root
	Virtual IP                : <IP>
	Hosts                     : <IP or Hostname>

+--------------------------------------------------------------------------------+
|                   *** End of PowerVC Inventory - <clustername_legacy> ***     |
+--------------------------------------------------------------------------------+

Establishing passwordless connection

PLAY [Configure SSH Keys] ******************************************************

.
.
.
.

SSH Key exchange successfully completed at, 2022-09-27 05:49:28.,
 Refer to
 /opt/ibm/powervc-opsmgr/ansible/artifacts/powervc-opsmgr_<clustername_legacy>_ssh_key_xchg_20220927_054912/stdout
 for more details.
Inventory file generated successfully at /opt/ibm/powervc-opsmgr/ansible/inventory/<clustername_legacy>


+--------------------------------------------------------------------------------+
|                          PowerVC Inventory - <clustername_legacy>              |
+--------------------------------------------------------------------------------+
	Cluster Name              : <clustername_legacy>
	Cluster ID                : 51332088-7678-406f-80a4-1c9cb3ea5164
	Install Method            : legacy
	Edition                   : private_cloud
	Firewall Config           : True
	Monitoring                : False
	Login User                : root
	Virtual IP                : <IP>
	Hosts                     : <IP or Hostname>
	Inventory Directory       : /opt/ibm/powervc-opsmgr/ansible/inventory/<clustername_legacy>
+--------------------------------------------------------------------------------+
|                   *** End of PowerVC Inventory - <clustername_legacy>  ***     |
+--------------------------------------------------------------------------------+

After generation of inventory file, you can validate by running powervc-opsmgr inventory -l command.

Example:
[root@controller ~]# powervc-opsmgr inventory -l
+--------------------------------------------------------------------------------+
|                          PowerVC Inventory - <clustername_legacy>              |
+--------------------------------------------------------------------------------+
	Cluster Name              : <clustername_legacy>
	Cluster ID                : 51332088-7678-406f-80a4-1c9cb3ea5164
	Install Method            : legacy
	Edition                   : private_cloud
	Firewall Config           : True
	Monitoring                : False
	Login User                : root
	Virtual IP                : <IP>
	Hosts                     : <IP or Hostname>
+--------------------------------------------------------------------------------+
|                   *** End of PowerVC Inventory - <clustername_legacy>  ***     |
+--------------------------------------------------------------------------------+
Start the installation by using the following method:
  1. To verify that your environment meets all of the prerequisites, run powervc-opsmgr install -c <clustername> -p before starting the actual install.
  2. Run powervc-opsmgr install -c <clustername> to start installation.

    To use your RHSM subscription and enable repos on all nodes, you can use -s option. However, you can also choose to manually add repos by using your RHEL subscription.

    You can use the below command to run the install CLI as a background
    nohup powervc-opsmgr install -c <cluster_name> &

The installation log file can be found in the following location: /opt/ibm/powervc-opsmgr/ansible/artifacts/powervc-opsmgr_<cluster_name>_install_<time_stamp>/stdout.

After installation is complete, run powervc-opsmgr install -c <cluster_name> --validate-install to check the complete health status of all services.

Limitations

  • This feature is not supported for add node, replace node, change VIP and compute plane node IPs, resync, and monitoring operations.
  • Legacy install is supported only on RHEL 8.6 (x86_64 and ppc64le) and SLES 15 SP3 (ppc64le).