This section describes the process for performing a migration in a Geographic Redundant deployment. The following example
is a Geo replica case involving a replica set containing five members: two members on site 1, two members on site 2, and one
arbiter member on site 3 (migration from CPS 14.0.0 to CPS 18.3.0). Each step shows the Mongo version and the CentOS version
on the VM; for example, 3.2.13/7.4.
Note |
|
Table 1. GR Deployment with
Site1, Site 2, and 3rd Site Arbiter
Step
|
SM02-site1
|
SM01-site1
|
SM02-site2
|
SM01-site2
|
Arbiter
|
Description
|
0
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
S1 - R140
S2 - R140
S3 - R140
|
1
|
3.2.19/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
-
|
2
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
S1 - R183
S2 - R140
S3 - R140
|
3
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
-
|
4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.13/7.4
|
S1 - R183
S2 - R183
S3 - R140
|
5
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
S1 - R183
S2 - R183
S3 - R183
|
6
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
-
|
7
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
3.2.19/7.4
|
-
|
Detailed steps are
shown below:
Step 0: Before
starting the migration.
Step 1: Disable
monitoring database script by commenting out configured sets from mon_db
configs on pcrfclient01/pcrfclient02/cluman in the following files:
/etc/broadhop/mon_db_for_callmodel.conf
/etc/broadhop/mon_db_for_lb_failover.conf
/var/qps/install/current/scripts/build/build_etc.sh
Steps 2 and 3: Using HA migrate process, Migrate site 1 VMs to CPS 18.3.0.
Steps 4 and 5: Using HA migrate process, Migrate site 2 VMs to CPS 18.3.0.
Step 6: Using 3rd site arbiter migrate process, Migrate site 3 (3rd Site arbiter) to CPS 18.3.0.
Step 7: Verify all replica set members are running CPS 18.3.0 and Mongo 3.2.19.
Step 8: Enable
monitoring by uncommenting configured sets from mon_db configs on
pcrfclient01/pcrfclient02/cluman in the following files:
/etc/broadhop/mon_db_for_callmodel.conf
/etc/broadhop/mon_db_for_lb_failover.conf
/var/qps/install/current/scripts/build/build_etc.sh