Migrating to Another Active Site
You can use the disaster recovery feature to migrate FTL operations to a different site, even though no disaster has occurred.
Procedure
-
Define the persistence services you intend to deploy at site T.
In the FTL server GUI persistence clusters grid, define a second service set for the cluster, and define new persistence services in it.
Deploy the updated realm definition.
-
Copy the FTL server configuration file from site F to site T.
Make a reference copy of the site F configuration file.
-
Modify your
working copy of the
site F configuration file.
Configure the drto parameter for each site F core server to contain a list of the site T core servers.For example:
globals: core.servers: ftl1: host1:8585 ftl2: host2:8585 ftl3: host3:8585 servers: # Core servers ftl1: drto: > http://host-t1:8585 |http://host-t2:8585 |http://host-t3:8585 realm: data: /myhome/ftlserver/data ftl2: drto: > http://host-t1:8585 |http://host-t2:8585 |http://host-t3:8585 - realm: data: /myhome/ftlserver/data ftl3: drto: > http://host-t1:8585 |http://host-t2:8585 |http://host-t3:8585 - realm: data: /myhome/ftlserver/data #Auxiliary servers ftl4: - persistence: name: psvc4 #Numbering follows aux server names. ftl5: - persistence: name psvc5 ftl6: - persistence: name psvc6
-
Modify the
site T configuration file.
- In the core.servers parameter and in the servers section, replace the site F core servers with the site T core servers.
- Configure the drfor parameter for each site T server so it contains a list of the site F core servers.
- Configure a realm service for each site T core server.
-
Configure a persistence service for each site T auxiliary server.
For each auxiliary server, specify a unique service name that you defined in step 1.
- Duplicate the other relevant persistence parameters from site F servers to site T servers.
For example:globals: core.servers: ftl-t1: host-t1:8585 ftl-t2: host-t2:8585 ftl-t3: host-t3:8585 servers: # Site T core servers ftl-t1: drto: > http://host1:8585 |http://host2:8585 |http://host3:8585 realm: data: /myhome/ftlserver/data ftl-t2: drto: > http://host1:8585 |http://host2:8585 |http://host3:8585 - realm: data: /myhome/ftlserver/data ftl-t3: drto: > http://host1:8585 |http://host2:8585 |http://host3:8585 - realm: data: /myhome/ftlserver/data #Site T auxiliary servers ftl-t4: - persistence: name: psvc-t4 #Numbering follows aux server names. ftl-t5: - persistence: name psvc-t5 ftl-t6: - persistence: name psvc-t6
-
Stop and restart the core servers at
site F, one at a time.
After restarting each server, and before restarting the next server, wait until the status of the restarted server becomes Running.Each FTL server will read the updated configuration file when it restarts.
-
Stop and restart the auxiliary servers at
site F, one at a time.
After restarting each server, and before restarting the next server, wait until both the server and the persistence cluster to reach equilibrium:Each FTL server will read the updated configuration file when it restarts.
- Start disaster recovery FTL servers at site T.
-
Stop all publishing activity at site F, and wait for the persistence services to finish replicating the data.
Gracefully stop all client applications at site F.In the persistence clusters status table and its services list sub-tables, compare the history values of all the services at both sites. When they all match, replication of persistence data is complete.
- Stop all FTL servers at site F.
- Make another reference copy of the site T configuration file.
-
Modify your working copy of the site T configuration file to migrate FTL servers to site T.
- Delete the drfor parameter from each site T server, so they become primary FTL servers.
-
If authentication is required, supply the
user and
password parameters, with credentials that the site T primary servers can use to authenticate themselves to affiliated servers.
Ensure that the user name is in the authorization group ftl-internal.
For example:globals: core.servers: ftl-t1: host-t1:8585 ftl-t2: host-t2:8585 ftl-t3: host-t3:8585 servers: # Site T core servers ftl-t1: realm: data: /myhome/ftlserver/data ftl-t2: - realm: data: /myhome/ftlserver/data ftl-t3: - realm: data: /myhome/ftlserver/data #Site T auxiliary servers ftl-t4: - persistence: name: psvc-t4 #Numbering follows aux server names. ftl-t5: - persistence: name psvc-t5 ftl-t6: - persistence: name psvc-t6
-
Stop and restart the core servers at site T, one at a time.
The FTL server will read the updated configuration file when it restarts.
-
Toggle the persistence primary set to site T.
- Using the browser GUI of a primary FTL server at site T, navigate to the clusters grid, and ensure that the Primary Set column is visible.
- Change the primary set of the persistence cluster so that the persistence services at the site T will become the primary set.
- After changing the primary service set , deploy the new realm definition.
- Wait until the status of every FTL server becomes Running.
- Wait until the status of the persistence cluster becomes Running.
-
Direct application clients to FTL servers at site T.
Start application clients at site T. Explicitly supply the locations of FTL servers at site T.Site T is now the active site of FTL operations.
Copyright © Cloud Software Group, Inc. All rights reserved.