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/24 08:44] 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 98: | Line 107: | ||
</cli> | </cli> | ||
- | ==== Install PowerVC ==== | + | ==== Prepare for ansible deployment ==== |
Check if configuration exists | Check if configuration exists | ||
<cli prompt='#'> | <cli prompt='#'> | ||
- | [root@ibmpvc01 ~]# powervc-opsmgr inventory --list | + | [root@ibmpvc01 ~]# powervc-opsmgr inventory -l |
Error: No cluster/inventory found | Error: No cluster/inventory found | ||
</cli> | </cli> | ||
Line 126: | Line 135: | ||
Enter IP/Hostname for Node 1: ibmpvc01 | Enter IP/Hostname for Node 1: ibmpvc01 | ||
Enter Username for Node 1: root | Enter Username for Node 1: root | ||
- | Enter Password for Node 1: | + | Enter Password for Node 1: xxxxx |
- | invalid Credentials | + | |
- | Enter Username for Node 1: root | + | |
- | Enter Password for Node 1: | + | |
********************************************************* | ********************************************************* | ||
- | Enter Virtual IP/Hostname: ibmpvc01 | + | Enter Virtual IP/Hostname: ibmpvc01-vip |
- | The Virtual Hostname/IP provided seems to be active | + | Establishing passwordless connection |
- | Enter Virtual IP/Hostname: | + | |
+ | 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> | ||
+ | |||
+ | <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 | Once all repositories are available you can start the installation | ||
logs are located in /opt/ibm/powervc-opsmgr/ansible/artifacts/ | 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 |