Upgrading the CLM system
Purpose
This chapter describes the steps that must be performed in order to upgrade the CLM.
Note: Ensure that the old CLM is running during the upgrade.
Steps
Install the new CLM | |
1 |
Install the new CLM as described in Chapter 10, CLM system installation |
Back up the existing CLM | |
2 |
To manually backup the contents of the PostgreSQL database, do the following:
|
Transfer the backup to the new CLM deployer host | |
3 |
Transfer the backup file to the CLM deloyer host: scp /opt/nsp/backup/nspos_migration/nspospostgresql_backup_timestamp.tar.gz root@<deployer ip>:/root/ where timestamp is the backup creation date and time |
Restore the CLM portion of the database | |
4 |
Enter the following on the CLM deployer host: # cd /opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/tools/database ↵ |
5 |
Note: In a DR deployment, you must perform the steps in the data center that is the pririmary data center. Enter the following to restore the CLM PostgreSQL database: # ./nspos-db-restore-k8s.sh license-manager backup_dir/backup_file ↵ where backup_dir is the directory that contains the backup file backup_file is the backup file name, for example, for PostgreSQL, the name is /root/nspos-postgresql_backup_timestamp.tar.gz End of steps |