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 13.1.0 to CPS 18.2.0). Each step shows the
Mongo version and the CentOS version on the VM; for example, 3.2.10/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.10/6.5
|
3.2.10/6.5
|
3.2.10/6.5
|
3.2.10/6.5
|
3.2.10/6.5
|
S1 - R131
S2 - R131
S3 - R131
|
1
|
3.2.13/7.4
|
3.2.10/6.5
|
3.2.10/6.5
|
3.2.10/6.5
|
3.2.10/6.5
|
-
|
2
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.10/6.5
|
3.2.10/6.5
|
3.2.10/6.5
|
S1 - R182
S2 - R131
S3 - R131
|
3
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.10/6.5
|
3.2.10/6.5
|
-
|
4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.13/7.4
|
3.2.10/6.5
|
S1 - R182
S2 - R182
S3 - R131
|
5
|
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 - R182
S2 - R182
S3 - R182
|
6
|
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
|
-
|
7
|
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
|
-
|
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 CentOS 7.4.
Steps 4 and 5:
Using HA migrate process, Migrate site 2 VMs to CentOS 7.4.
Step 6: Using
3rd site arbiter migrate process, Migrate site 3 (3rd Site arbiter) to
CentOS 7.4.
Step 7: Verify
all replica set members are running Mongo 3.2.10.
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