View Only

Migrating PowerVC on ppc64 to ppc64le/x86_64 using backup and restore commands

By Archive User posted Fri January 03, 2020 06:43 AM

Support for PowerVC installation on ppc64 architecture is being withdrawn in PowerVC 1.4.4. For older PowerVC versions 1.4.2.x and 1.4.3.x on ppc64, you cannot directly upgrade to PowerVC version 1.4.4. You need to take a backup of the older version of PowerVC on ppc64 and restore on ppc64le or x86 system that has newly installed PowerVC version 1.4.4. PowerVC Backup and Restore functionality helps you to migrate from ppc64 to ppc64le or x86 system.

Let's see this example:

  1. Check if you have PowerVC 1.4.3 installed on ppc64 architecture.
    #uname -ar
    Linux ipx-x-x-x.pok.stglabs.ibm.com 3.10.0-862.2.3.el7.ppc64 #1 SMP
    Mon Apr 30 12:43:39 EDT 2018 ppc64 ppc64 ppc64 GNU/Linux

  2. Run powervc backup command.
    Continuing with this operation will stop all PowerVC services. Do you want to continue? (y/N):y
    Stopping PowerVC services...
    Backing up the databases and data files...
    Database and file backup completed. Backup data is in archive
    Starting PowerVC httpd services...
    Starting PowerVC bumblebee services...
    Starting PowerVC services...
    PowerVC backup completed successfully.

  3. Copy the backup file from ppc64 system to the ppc64le/x86_64 system and run powervc-restore command to restore the same.
    Have a PowerVC 1.4.4 installed on a ppc64le/x86_64 system where you have the ppc64 backup file.
    #uname -ar
    Linux ipx-x-x-x.pok.stglabs.ibm.com 3.10.0-957.10.1.el7.ppc64le #1 SMP
    Thu Feb 7 07:19:03 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux

    #powervc-restore --targetdir=/root/powervc_backup.tar.gz
    Continuing with this operation will stop some PowerVC services and overwrite critical PowerVC
    data in both the database and the file system. Do you want to continue? (y/N):y
    Using archive /root/powervc_backup.tar.gz for the restore.
    Starting restore of PowerVC from backup file..
    Stopping services: panko, swift, gnocchi, validator, clerk, health, ceilometer, nova, neutron, ego, cinder, glance ...
    Stopping services: bumblebee ...
    Restoring the databases and data files...
    Stopping db services...
    Starting db services...
    Updating data to use management address of ipx-x-x-x.pok.stglabs.ibm.com...
    Updating data to reflect the management system has changed...
    Updating configuration files from version
    Starting all PowerVC services...
    PowerVC restore completed successfully.

We have seen how simple it is to migrate from ppc64 to ppc64le and x86_64 using PowerVC 'Backup and Restore' functionality. If you have any questions about this topic, please comment below. Watch this space for more information about troubleshooting your environment. In the meantime, don't forget to follow us on LinkedIn, Facebook, and Twitter.