No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ- How to recover replication between active and standby server

Publication Date:  2012-07-25 Views:  49 Downloads:  0
Issue Description
Q: We have N2000 BMS which serve as Management system for Access network device which customer have in their network. It have version V200R012C05SPC136.
Since customer have two servers, which works in active/standby mode, replication is established between these two servers. From some reason replication break down and now they are not working in active/standby mode, they work in active/active mode.
Customer need information how to recover replication, so servers can continue to work in active/standby mode.
Alarm Information
Null
Handling Process
A: First we need to be sure that replication is not OK, by command:

Root# vxrlink -g n2kdg_N2KAA -i 5 status n2k_rlk // check the replication relationship every 5 seconds

If the result is as following:
root@NBG # vxrlink -g n2kdg_N2KAA -i 5 status n2k_rlk
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink n2k_rlk. DCM contains 9257088 Kbytes (22%) of the Data Volume(s).
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink n2k_rlk. DCM contains 9164352 Kbytes (21%) of the Data Volume(s).
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink n2k_rlk. DCM contains 9048576 Kbytes (21%) of the Data Volume(s).
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink n2k_rlk. DCM contains 8869952 Kbytes (21%) of the Data Volume(s).
 
If results are as this, we are sure that replication is down and we can recover it by following steps:

On active server, runt the following command to reestablish the replication relationship:
root#vradmin -g n2kdg_N2KAA resync rvg_N2KAA
Then check the replication relationship according to following step:

Root# vxrlink -g n2kdg_N2KAA -i 5 status n2k_rlk // check the replication relationship every 5 seconds
If the result is as following: up to date or SRL


The replication is OK

Collect veritas information for analysis:
On both server, collect veritas explorer information as following:
# cd /opt/VRTSspt/VRTSexplorer/
# ./VRTSexplorer
VRTSexplorer: Initializing.
VRTSexplorer: Please enter case number, or just hit enter:  //hit enter here
VRTSexplorer: Please select a destination directory (default: /tmp): //hit enter here
VRTSexplorer: Using /tmp as destination directory.
VRTSexplorer: Collecting system configuration information for SunOS system.
VRTSexplorer: Collecting VERITAS package version information.
VRTSexplorer: Collecting loadable module information.
VRTSexplorer: Collecting VxAT configuration information.
This script can collect more detailed information for VRTSat.
This includes the VRTSat Private Domain Repository and credential store.
Do you want to allow collecting detailed security information about VRTSat? [y,n] (default: n)  //hit enter here
 
VRTSexplorer: Collecting ISIS configuration information.
VRTSexplorer: Collecting VCS configuration information.
VRTSexplorer: Collecting SIG licensing information.
VRTSexplorer: Collecting VRW configuration information.
getvxfen: starting ...
awk: can't open /etc/llthosts
getvxfen: completed.
VRTSexplorer: Determining current VxVM operating mode.
VRTSexplorer: Collecting VxVM configuration information.
VRTSexplorer: Collecting DMP configuration information.
 
NOTICE:  This section will stop and restart the VxVM Configuration Daemon,
         vxconfigd.  This may cause your VxVA, VMSA and/or VEA session to exit.
         This may also cause a momentary stoppage of any VxVM configuration
         actions. This should not harm any data; however, it may cause some
         configuration operations (e.g. moving subdisks, plex
         resynchronization) to abort unexpectedly.  Any VxVM configuration
         changes should be completed before running this section.
 
         If you are using EMC PowerPath devices with Veritas Volume Manager,
         you must run the EMC command(s) 'powervxvm setup' (or 'safevxvm
         setup') and/or 'powervxvm online' (or 'safevxvm online') if this
         script terminates abnormally.
 
 
NOTICE:  VCS service groups are running on NBG.  Restarting vxconfigd
         may cause failover to occur.
 
Restart VxVM Configuration Daemon? [y,n] (default: n) y// hit enter here
 
VRTSexplorer: Collecting VVR configuration information.
VRTSexplorer: Processing RVGs in n2kdg_N2KAA.
VRTSexplorer: Processing RLINKs in n2kdg_N2KAA.
VRTSexplorer: Collecting VRAS configuration information.
VRTSexplorer: Collecting Web GUI Engine information.
VRTSexplorer: Script finished.
VRTSexplorer: Please ftp /tmp/VRTSexplorer_8545b610_NBG.tar.gz to ftp.veritas.com:/incoming
 
System will ask your 4 questions and just hit enter as above. When it is finished, please get the zip file in the directory: /tmp and send to Huawei engineer for analysis.

Root Cause
Null
Suggestions
Null

END