vvr replication not ok .....need help to fix it
Hello,
Replication is not happening , however RVG is enabled /active
and Rlink is conect/active ....
below are the details :-->
-> vxprint -Pl
Disk group: ossdg
Rlink: to_sec_site_ossrvg
info: timeout=500 packet_size=1452 rid=0.113591
latency_high_mark=10000 latency_low_mark=9950
bandwidth_limit=none
state: state=ACTIVE
synchronous=off latencyprot=off srlprot=autodcm
assoc: rvg=ossrvg
remote_host=sec_site-ossrvg IP_addr=10.52.214.68 port=4145
remote_dg=ossdg
remote_dg_dgid=1444153050.96.secmas1o
remote_rvg_version=30
remote_rlink=to_prisite_ossrvg
remote_rlink_rid=0.1263
local_host=prisite-ossrvg IP_addr=10.52.214.67 port=4145
protocol: UDP/IP
flags: write enabled attached consistent connected asynchronous dcm_logging
-> vradmin -g ossdg repstatus ossrvg
Replicated Data Set: ossrvg
Primary:
Host name: prisite-ossrvg
RVG name: ossrvg
DG name: ossdg
RVG state: enabled for I/O
Data volumes: 20
VSets: 0
SRL name: oss_srl_vol
SRL size: 300.00 G
Total secondaries: 1
Secondary:
Host name: sec_site-ossrvg
RVG name: ossrvg
DG name: ossdg
Data status: consistent, behind
Replication status: logging to DCM (needs dcm resynchronization)
Current mode: asynchronous
Logging to: DCM (contains 61101728 Kbytes) (SRL protection logging)
Timestamp Information: N/A
-> vxrvg -g ossdg cplist ossrvg
Name MBytes % Log Started/Completed
---- ------ ------ -----------------
point1 <Checkpoint overflowed>
-> vxrlink -g ossdg status to_sec_site_ossrvg
DCM is in use on rlink to_sec_site_ossrvg. DCM contains 61101728 Kbytes (19%) of the Data Volume(s).
-> vxrlink -g ossdg stats to_sec_site_ossrvg
Messages Errors Flow Control
-------- ------ ------------
# Blocks RT(msec) Timeout Stream Memory Delays NW Bytes NW Delay Timeout
1 0 0 0 0 0 0 100000 1 10
primas1o{root} #: vxprint -PV
Disk group: ossdg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
rl to_sec_site_ossrvg ossrvg CONNECT - - ACTIVE - -
rv ossrvg - ENABLED - - ACTIVE - -
primas1o{root} #: vxrlink -g ossdg -i 5 status to_sec_site_ossrvg
Mon Nov 30 17:24:01 2015
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink to_sec_site_ossrvg. DCM contains 61443008 Kbytes (19%) of the Data Volume(s).
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink to_sec_site_ossrvg. DCM contains 61443008 Kbytes (19%) of the Data Volume(s).
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink to_sec_site_ossrvg. DCM contains 61443040 Kbytes (19%) of the Data Volume(s).
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink to_sec_site_ossrvg. DCM contains 61443232 Kbytes (19%) of the Data Volume(s).
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink to_sec_site_ossrvg. DCM contains 61443232 Kbytes (19%) of the Data Volume(s).
VxVM VVR vxrlink INFO V-5-1-12887 DCM is in use on rlink to_sec_site_ossrvg. DCM contains 61443264 Kbytes (19%) of the Data Volume(s).
^Cprimas1o{root} #:
=====================================================================================================================
Secondary
=======================================================
-> vxprint -Pl
Disk group: ossdg
Rlink: to_prisite_ossrvg
info: timeout=500 packet_size=1452 rid=0.1263
latency_high_mark=10000 latency_low_mark=9950
bandwidth_limit=none
state: state=ACTIVE
synchronous=off latencyprot=off srlprot=autodcm
assoc: rvg=ossrvg
remote_host=prisite-ossrvg IP_addr=10.52.214.67 port=4145
remote_dg=ossdg
remote_dg_dgid=1327928106.32.secmas1o
remote_rvg_version=30
remote_rlink=to_sec_site_ossrvg
remote_rlink_rid=0.113591
local_host=sec_site-ossrvg IP_addr=10.52.214.68 port=4145
protocol: UDP/IP
flags: write enabled attached consistent connected
-> vradmin -g ossdg repstatus ossrvg
Replicated Data Set: ossrvg
Primary:
Host name: prisite-ossrvg
RVG name: ossrvg
DG name: ossdg
RVG state: enabled for I/O
Data volumes: 20
VSets: 0
SRL name: oss_srl_vol
SRL size: 300.00 G
Total secondaries: 1
Secondary:
Host name: sec_site-ossrvg
RVG name: ossrvg
DG name: ossdg
Data status: consistent, behind
Replication status: logging to DCM (needs dcm resynchronization)
Current mode: asynchronous
Logging to: DCM (contains 61442560 Kbytes) (SRL protection logging)
Timestamp Information: N/A
-> vxrvg -g ossdg cplist ossrvg
The cplist command can only be used on a primary rvg
-> vxrlink -g ossdg status to_prisite_ossrvg
The status command can only be used on a primary rlink
-> vxrlink -g ossdg stats to_prisite_ossrvg
Messages Errors Flow Control
-------- ------ ------------
# Blocks RT(msec) Timeout Stream Memory Delays NW Bytes NW Delay Timeout
334089805 0 0 1927960 0 0 0 100000 1 10
Also, I ran the below command to check rlink bandwidth usgae and it is 0% utilised
Cprimas1o{root} #: vrstat -R
Mon Nov 30 17:43:49 2015
Replicated Data Set ossrvg:
Data Status:
sec_site-ossrvg: DCM contains 61543520 Kbytes.
Network Statistics:
Messages Errors Flow Control
-------- ------ ------------
# Blocks RT(msec) Timeout Stream Memory Delays NW Bytes NW Delay Timeout
primas1o
1 0 0 0 0 0 0 100000 1 10
Mon Nov 30 17:43:59 2015
Replicated Data Set ossrvg:
Data Status:
sec_site-ossrvg: DCM contains 61543552 Kbytes.
Network Statistics:
Messages Errors Flow Control
-------- ------ ------------
# Blocks RT(msec) Timeout Stream Memory Delays NW Bytes NW Delay Timeout
primas1o
0 0 0 0 0 0 0 100000 1 10
Bandwidth Utilization 0.00 Kbps.
I am wondering if rlink in connect/active state then why its not replicating ?
Regards
S
Hi,
You need to execute a resync command from primary
# vradmin -g <dg> resync <rvg>
That will flush out DCM logs to write & get in sync
G