PowerVC

 View Only

PowerVC 2.0.2 - Backup and restore

By Aman Sinha posted Wed October 06, 2021 06:14 AM

  

PowerVC 2.0.2 is released in Sept 2021 with all new high availability and scale architecture. The new PowerVC installer supports cluster and HA and installation is supported on 1 node and 3 Node.

"Oh, a new release with high availability and scale architecture! I wanted to upgrade to the new version but what about my old data. Will I lose all of that?

Great, I can see an upgrade and restore option with PowerVC. That will help me to backup my data on previous release and restore to the new release."

What is backup and restore?

Backup and restore is a process where you can backup data from previous version of PowerVC and restore the same to the newer version while ensuring continuity of operations, better performance, and lower infrastructure costs.

Supported versions for 2.0.2 backup-restore

Backup: 2.0 and 2.0.1

Restore: 2.0.2 (Single Node)

NovaLink: 2.0.*

Note:

  • Backup restore is supported cross OS (RHEL to SLES and vice versa).
  • Only single node restore is supported.
  • Restoring of 3 node backup data (2.0.2 RHEL only) on single node is supported.
  • Restore of inactive backup taken on 2.0/2.0.1 is not supported.
  • If you have any previous version installed, take a backup, and then uninstall the existing version. Install PowerVC 2.0.2 and perform restore. Move the backup file to a custom directory rather than the default one.
  • Make sure backup and restore has same PowerVC offering. Offering can be checked in /opt/ibm/powervc/version.properties

    PowerVC backup

    During backup procedure, PowerVC backup stores copies of database and PowerVC related conf files. Creating a backup is critical to protect your data in the event of system failure or file corruption.
    In PowerVC 2.0.2, you can choose 'active backup' option by using powervc-opsmgr backup -c <cluster_name>.

    PowerVC restore

    During restore procedure, PowerVC copies back the PowerVC related conf files and imports DB dump taken from backup system.

    Restore procedure

    Perform these steps to restore PowerVC.

    • Copy the backup file to the targeted single node PowerVC version 2.0.2 system.
    • Run powervc-restore to restore PowerVC backup tar.
      Example: powervc-opsmgr restore -c <cluster_name> -b <absolute_path_of_backup_tar>

      You must restore only active backup.

      In case of any failure during restore, use powervc-opsmgr restore -c <cluster_name> -r to bring back the restore environment.

      Log path: /opt/ibm/powervc/log/restore/

    Notes:

    • In case you are restoring a new backup on the system where you have already performed restore operation, remove the file prior to running restore.

      rm –rf /var/opt/ibm/powervc/backups/2.0.2/

    • Restore operation must be performed only on single node.

    Restored interface

    Operations performed during restore

    In order to successfully perform the restore of data, PowerVC executes these operations:

    • Collects all conf files, passphrase, and DB passwords.
      Path: /var/opt/ibm/powervc/backups/2.0.2/

      This helps at the time of rescue mode.

    • Puts the pcs/crm resources in unmanaged and disabled state.
    • Imports the backup system DB data.
    • Puts the user interface in maintenance mode.
    • Restricts user to perform any operation.
    • Manages resources on restore system. Enable all the resource and bring back the user interface from maintenance mode.

    Conclusion

    Now you know how simple it is to perform backup and restore operation while you upgrade to PowerVC 2.0.2.
    Knowledge center link: PowerVC
    Keep watching our social outlets for more interesting information about PowerVC! Find and follow us on FacebookLinkedInYouTube, and Twitter.

    Blog authors:
    Aman Kumar Sinha
    Sravan Kotha
    0 comments
    76 views

    Permalink