Bringing Down the Primary Site
This section describes how to configure to bring the primary site down and the remote site for generating notification when primary site is isolated.
Note | If you want to isolate the site without disrupting the GR replication system, do not bring down the primary site. |
-
Configure the primary site to bring the primary site down on the PCF Ops Center:
The secondary site takes over the primary site’s traffic when the primary site is down or in the UNDISCOVERABLE state.
config system mode shutdown commit end
NOTES:
-
config —Enter the configuration mode.
-
system mode shutdown —Shut down the site.
-
Configure the remote system ID on the PCF Ops Center:
After primary site is unavailable, configure the remote-system-id in the secondary site using the siteID of the primary site.
config cdl datastore session slot notification remote-system-id [ siteID ] exit exit
NOTES:
-
config —Enter the configuration mode.
-
cdl —Enter the CDL configuration mode.
-
datastore session —Enter the datastore session configuration.
-
slot notification remote-system-id [ siteID ] —Specify the siteID for the primary site. The SiteID is associated with the cdl remote-site system-id configuration in the YANG model.
The following is a sample configuration for specifying the siteID.
cdl datastore session slot notification remote-system-id [ 1 ]. <- 1 is the siteID of site1 exit
-
For more information on CDL components, see Cisco Common Data Layer documentation.