Upgrade Procedure
You must reset the disaster recovery configuration on both the active and the standby sites to stop the disaster recovery process and clean up the disaster recovery configuration from both the sites. You can upgrade the Junos Space Platform software at both the active and the standby sites at the time of deployment. Since the disaster recovery upgrade procedure is time consuming, we recommend you to reset the disaster recovery configuration and upgrade the sites to the required version.
The upgrade procedure comprises of the following tasks:
Back up the Current Disaster Recovery Configuration
Reset the Disaster Recovery Configuration
Upgrade the Junos Space Network Management Platform and Application
Configure and Perform Disaster Recovery
1. Back up the Current Disaster Recovery Configuration
Backup the current disaster recovery configuration on both the sites to refer the parameters when configuring the disaster recovery again after upgrade. Run the following command to create a backup for current configuration on both sites:
$ jmp-dr api v1 config --include role,failover,states,core,deviceManagement,mysql,pgsql,file,watchdog
> /home/admin/dr-config.txt
Enter the following command in a separate shell prompt on the VIP nodes of both the sites to
check log errors:$tail-f
/var/log/jmp-geo/dr-cli-reset.log
2. Reset the Disaster Recovery Configuration
Reset the current disaster recovery configuration to ensure that both the active and the passive sites refer to the same parameters, when you configure the disaster recovery, post the upgrade.
Execute the following command to create a backup for the current configuration.
$ jmp-dr api v1 config --include role,failover,states,core,deviceManagement,mysql,pgsql,file,watchdog
> /home/admin/dr-config.txt
Execute the following commands to reset disaster recovery on
both sites running the jmp-dr reset
commands on VIP nodes
of both sites.
$jmp-dr reset
After executing this commands, the sites become standalone sites. Junos Space Platform comes up and you can access the UI from both the sites.
3. Upgrade the Junos Space Network Management Platform and Application
You can upgrade the Junos Space Platform and the application on both the active and the standby sites simultaneously, as both the sites are in standalone mode.
To upgrade the Junos Space Network Management Platform:
4. Configure and Perform Disaster Recovery
This is an optional procedure. If you plan to configure multiple upgrade paths: upgrade the Junos Space Network Management Platform and the application to the required version, before you configure disaster recovery.
To configure and start the disaster recovery process on both the active and the passive sites: