PowerVC のアップデート (2.0.0 -> 2.0.1)


以前、PowerVC 2.0 を導入 していましたが、2.0.1 がリリースされたのでアップデートしました。


[準備]

FixCentral から PowerVC 2.0.1 をダウンロード

(アップデート・モジュール”powervc-update-ppcle-rhel-2.0.1.tgz" は 2.3 GB程度)

[環境]

PowerVC 2.0.0 サーバー (RHEL 8.3 (Linux on Power))

確認

# cat /opt/ibm/powervc/version.properties
[2.0.0.0 Install]
name = IBM PowerVC
version = 2.0.0.0
build = 20201203-1119
oem = no
install-date = 2020-12-11
offering = standard
cloud_enabled = yes

# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.3 (Ootpa)

[前作業]

① モジュールをPowerVCサーバーに配置し、解凍します。

# ls -l
-rw-r--r--.   1 root root 2362781217 Jun 18 08:45 powervc-update-ppcle-rhel-2.0.1.tgz
# gzip -d powervc-update-ppcle-rhel-2.0.1.tgz
# ls -ltr
total 2349912
-rw-r--r--. 1 root root 2406307840 Jun 18 08:45 powervc-update-ppcle-rhel-2.0.1.tar
# tar xvf powervc-update-ppcle-rhel-2.0.1.tar
powervc-2.0.1/
powervc-2.0.1/update
powervc-2.0.1/RPM-GPG-KEY-PowerVC
powervc-2.0.1/lib/
powervc-2.0.1/lib/uninstall.sh
powervc-2.0.1/lib/prereq.sh
powervc-2.0.1/lib/rpm_prereq_rhel8.py

~ (省略) ~

# ls -l
total 2349912
drwxr-xr-x. 8 root root        128 Mar 17 18:15 powervc-2.0.1
-rw-r--r--. 1 root root 2406307840 Jun 18 08:45 powervc-update-ppcle-rhel-2.0.1.tar

② ディレクトリ移動

# cd powervc-2.0.1
 ls -l
total 28
-rw-r--r--.  1 root root  1960 Mar 17 16:53 RPM-GPG-KEY-PowerVC
drwxr-xr-x.  5 root root   158 Mar 17 18:15 cloud
drwxr-xr-x.  2 root root   152 Mar 17 18:15 gpfs
drwxr-xr-x.  2 root root   131 Mar 17 18:15 lib
drwxr-xr-x.  2 root root    44 Mar 17 18:15 license
drwxr-xr-x. 17 root root   174 Jun 19 17:59 locale
drwxr-xr-x.  7 root root    80 Mar 17 18:15 packages
-r-xr-x---.  1 root root 23470 Mar 17 16:53 update         #<=

アップデート・スクリプトが存在しています。
確認

# ./update -h
Usage:      update [sh]
Updates the  version .

Options:
  -h        Display this help message and exit
  -s        Run silent installation
[実行]

③実行します。

PowerVC 状態を確認

# powervc-services status
● clerk-api.service - clerk API Server
   Active: active (running) (thawing) since Sat 2021-06-19 18:37:53 EDT; 2min 49s ago
● powervc-ui-server.service - Powervc ui server
   Active: active (running) (thawing) since Sat 2021-06-19 18:37:46 EDT; 2min 56s ago
● mongod.service - MongoDB Database Server
   Active: active (running) (thawing) since Sat 2021-06-19 18:37:53 EDT; 2min 49s ago
● powervc-bumblebee.service - PowerVC Bumblebee
   Active: active (running) (thawing) since Sat 2021-06-19 18:37:45 EDT; 2min 56s ago
● openstack-gnocchi-api.service - OpenStack Gnocchi API Server

~ (省略) ~ 

● httpd.service - The Apache HTTP Server
   Active: active (running) (thawing) since Sat 2021-06-19 18:37:31 EDT; 3min 13s ago
● memcached.service - memcached daemon
   Active: active (running) (thawing) since Sat 2021-06-19 18:37:31 EDT; 3min 13s ago
● mariadb.service - MariaDB 10.3 database server
   Active: active (running) (thawing) since Sat 2021-06-19 18:37:30 EDT; 3min 13s ago

-> 起動しています。

updateコマンド実行

# ./update
################################################################################
MSG104 IBM PowerVC  2021-06-19T18:42:06-04:00
################################################################################

MSG078 /opt/ibm/powervc/log/powervc_update_2021-06-19-184206.log

MSG201
MSG064
MSG065
repo id                             repo name
powervc-noarch                      IBM PowerVC noarch
powervc-ppc64le                     IBM PowerVC ppc64le
pvc-openstack-noarch                IBM PowerVC Openstack noarch
pvc-openstack-ppc64le               IBM PowerVC Openstack ppc64le
20 files removed
Performing product backup.
The product backup archive is located /var/opt/ibm/powervc/backups

Stopping all PowerVC services...

Shut down LIM on <pxxxxl> ...... done
MSG065
MSG064
MSG065
repo id                             repo name
powervc-noarch                      IBM PowerVC noarch
powervc-ppc64le                     IBM PowerVC ppc64le
pvc-openstack-noarch                IBM PowerVC Openstack noarch
pvc-openstack-ppc64le               IBM PowerVC Openstack ppc64le
20 files removed


IBM PowerVC noarch                              171 MB/s | 350 kB     00:00
IBM PowerVC ppc64le                              70 MB/s | 221 kB     00:00
IBM PowerVC Openstack ppc64le                   155 MB/s | 221 kB     00:00
IBM PowerVC Openstack noarch                    188 MB/s | 408 kB     00:00
Package ibmpowervc-powervm-gpfs available, but not installed.
No match for argument: ibmpowervc-powervm-gpfs
Dependencies resolved.
==============================================================================================================================
 Package                                                 Arch     Version                          Repository             Size
==============================================================================================================================
Upgrading:
 ibm-ttv_validation                                      noarch   2.0.1-1                          powervc-noarch         18 k
 ibmpowervc                                              noarch   2.0.1-1                          powervc-noarch         10 k
 ibmpowervc-block                                        noarch   2.0.1-1                          powervc-noarch        482 k
 ibmpowervc-bumblebee                                    noarch   2.0.1-1                          powervc-noarch         34 k
 ibmpowervc-clerk                                        noarch   2.0.1-1                          

~(省略)~

 python3-novaclient-ibm-ego-resource-optimization        noarch   2014.1-202103170847.ibm.el8      powervc-noarch         47 k

Transaction Summary
==============================================================================================================================
Upgrade  90 Packages

Total download size: 90 M
Downloading Packages:
(1/90): ibm-ttv_validation-2.0.1-1.noarch.rpm   2.3 MB/s |  18 kB     00:00
(2/90): ibmpowervc-2.0.1-1.noarch.rpm           1.3 MB/s |  10 kB     00:00

~(省略)~


(88/90): python3-networking_powervm-10.0.0-2021 3.2 MB/s | 102 kB     00:00
(89/90): python3-neutron-16.0.0-202103171535.ib  74 MB/s | 2.9 MB     00:00
(90/90): python3-nova-21.0.0-202103171525.ibm.e  92 MB/s | 3.8 MB     00:00
--------------------------------------------------------------------------------
Total                                           132 MB/s |  90 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Running scriptlet: python3-ibmpowervc-oslo-2.0.1-1.noarch                 1/1
  Upgrading        : python3-ibmpowervc-oslo-2.0.1-1.noarch               1/180
  Upgrading        : ibmpowervc-oslo-2.0.1-1.noarch                       2/180
  Running scriptlet: ibmpowervc-oslo-2.0.1-1.noarch                       2/180
  Upgrading        : python3-ceilometer-1:14.0.0-202103171556.ibm.el8     3/180
  Running scriptlet: openstack-ceilometer-common-1:14.0.0-20210317155     4/180
  Upgrading        : openstack-ceilometer-common-1:14.0.0-20210317155     4/180
  Upgrading        : openstack-ceilometer-polling-1:14.0.0-2021031715     5/180
  Running scriptlet: openstack-ceilometer-polling-1:14.0.0-2021031715     5/180

~(省略)~


  Running scriptlet: ibmpowervc-standard-swtag-2.0.1-1.noarch            87/180
  Running scriptlet: ibmpowervc-selinux-2.0.1-1.noarch                   88/180
  Upgrading        : ibmpowervc-selinux-2.0.1-1.noarch                   88/180
  Running scriptlet: ibmpowervc-selinux-2.0.1-1.noarch                   88/180
Attempting to install module '/opt/ibm/powervc/policy/selinux/pvc_selinux_policy.pp':
Ok: return value of 0.
Committing changes:
Ok: transaction number 14.
pvc_selinux_policy

  Running scriptlet: ibmpowervc-lap-prerequisites-2.0.1-1.noarch         89/180
  Upgrading        : ibmpowervc-lap-prerequisites-2.0.1-1.noarch         89/180
  Running scriptlet: ibmpowervc-lap-prerequisites-2.0.1-1.noarch         89/180
  Running scriptlet: ibmpowervc-gpfs-2.0.1-1.noarch                      90/180

~(省略)~

  Verifying        : python3-neutron-1:16.0.0-202012021054.ibm.el8.29   178/180
  Verifying        : python3-nova-1:21.0.0-202103171525.ibm.el8.40.no   179/180
  Verifying        : python3-nova-1:21.0.0-202012021047.ibm.el8.37.no   180/180
Installed products updated.

Upgraded:
  ibm-ttv_validation-2.0.1-1.noarch
  ibmpowervc-2.0.1-1.noarch
  ibmpowervc-block-2.0.1-1.noarch
  ibmpowervc-bumblebee-2.0.1-1.noarch

~(省略)~

  python3-novaclient-ibm-ego-prs-hypervisor-maintenance-2014.1-202103170847.ibm.el8.noarch
  python3-novaclient-ibm-ego-prs-hypervisor-status-2014.1-202103170847.ibm.el8.noarch
  python3-novaclient-ibm-ego-resource-optimization-2014.1-202103170847.ibm.el8.noarch

Complete!
Verifying...                          ########################################
Preparing...                          ########################################
Updating / installing...
hbsd-10.0.0-0_16.0                    ########################################

Starting services: db ...

Stopping all PowerVC services...
Shut down LIM on <pxxxxl> ......
ls_limcontrol: Communication time out
Starting all PowerVC services...

MSG341 IBM PowerVC

************************************************************
MSG107 IBM PowerVC 2021-06-19T18:50:14-04:00 /opt/ibm/powervc/log/powervc_update_2021-06-19-184206.log
************************************************************

# echo $?
0

-> 実行時間は9分弱でした。実行中に、バックアップ、サービス停止、サービス起動が行われています。

④確認

・バージョン

# cat /opt/ibm/powervc/version.properties
[2.0.0.0 Install]
name = IBM PowerVC
version = 2.0.0.0
build = 20201203-1119
oem = no
install-date = 2020-12-11
offering = standard
cloud_enabled = yes


[2.0.1 Install]
name = IBM PowerVC
version = 2.0.1
build = 20210317-1652
oem = no
install-date = 2021-06-19

・GUI確認

(あら? またGUIが変わっているようです。)

overview

以上です。


参考:

PowerVC 2.0.1