This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
aix:powervc_install [2021/09/23 12:25] manu |
aix:powervc_install [2024/03/13 22:03] (current) manu [Install PowerVC] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Install PowerVC ===== | ===== Install PowerVC ===== | ||
| + | |||
| + | 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 | I installed PowerVC x86 on VMware | ||
| Line 35: | Line 44: | ||
| </cli> | </cli> | ||
| - | ==== Install PowerVC ==== | + | ==== Install / Deploy the deployment package ==== |
| + | |||
| + | :-P | ||
| Required repositories | Required repositories | ||
| Line 41: | Line 52: | ||
| * BaseOS | * BaseOS | ||
| * ansible-automation-platform-setup-bundle (downloaded from Redhat) | * ansible-automation-platform-setup-bundle (downloaded from Redhat) | ||
| + | * Redhat HA | ||
| Extract the package powervc-install-x86-rhel-2.0.0.0.tgz | Extract the package powervc-install-x86-rhel-2.0.0.0.tgz | ||
| Line 95: | Line 107: | ||
| </cli> | </cli> | ||
| + | ==== Prepare for ansible deployment ==== | ||
| + | |||
| + | Check if configuration exists | ||
| + | <cli prompt='#'> | ||
| + | [root@ibmpvc01 ~]# powervc-opsmgr inventory -l | ||
| + | Error: No cluster/inventory found | ||
| + | </cli> | ||
| + | |||
| + | IBM documentation tell to use **install** it the bad command | ||
| + | <cli prompt='#'> | ||
| + | [root@ibmpvc01 powervc]# powervc-opsmgr install -c PowerVC | ||
| + | Error: Cluster/Inventory does not exist for PowerVC | ||
| + | </cli> | ||
| + | |||
| + | Use instaed inventory to populate info, and create a cluster | ||
| + | <cli prompt='#'> | ||
| + | [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 | ||
| + | </cli> | ||
| + | |||
| + | <cli prompt='#'> | ||
| + | [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--- | ||
| + | </cli> | ||
| + | ==== Install PowerVC ==== | ||
| + | |||
| + | Once all repositories are available you can start the installation | ||
| + | logs are located in /opt/ibm/powervc-opsmgr/ansible/artifacts/ | ||
| + | |||
| + | <cli prompt='#'> | ||
| + | [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] | ||
| + | </cli> | ||
| + | |||
| + | If need to restart the installation use the option **-f** | ||
| + | <cli prompt='#'> | ||
| + | [root@ibmpvc01 ~]# powervc-opsmgr install -c PowerVC -f | ||
| + | Powervc Install exists skipping precheck to rerun | ||
| + | </cli> | ||
| + | |||
| + | === Log management === | ||
| + | |||
| + | Do not forget to rotate logs ! | ||
| + | https://www.ibm.com/docs/en/powervc-cloud/2.2.0?topic=problems-powervc-log-management | ||