Forum Discussion

symsonu's avatar
symsonu
Level 6
11 years ago

secondary rvg unknown

Hello,

 

I did the full sync and now the status is as below

 

root@atmas1o:/ericsson/hagcs/log# vradmin -l printrvg
Replicated Data Set: ossrvg
Primary:
        HostName: pallini-ossrvg        <localhost>
        RvgName: ossrvg
        DgName: ossdg
        datavol_cnt: 24
        vset_cnt: 0
        srl: oss_srl_vol
        RLinks:
            name=to_metamorphosi_ossrvg, detached=on, synchronous=off
Secondary:
        HostName: metamorphosi-ossrvg
        RvgName: ossrvg
        DgName: ossdg
        datavol_cnt: 24
        vset_cnt: 0
        srl: oss_srl_vol
        RLinks:
            name=to_pallini_ossrvg, detached=on, synchronous=off
Secondary:
        HostName: metamorphosi-ossrvg
        RvgName: ossrvg
        DgName: ossdg
        datavol_cnt: 24
        vset_cnt: 0
        srl: oss_srl_vol
        RLinks:
            name=to_pallini_ossrvg, detached=on, synchronous=off
Config Errors:
        metamorphosi-ossrvg: unknown

 

 

 

root@atmas1o:/ericsson/hagcs/log# vradmin -g ossdg repstatus ossrvg
Replicated Data Set: ossrvg
Primary:
  Host name:                  pallini-ossrvg
  RVG name:                   ossrvg
  DG name:                    ossdg
  RVG state:                  enabled for I/O
  Data volumes:               24
  VSets:                      0
  SRL name:                   oss_srl_vol
  SRL size:                   200.00 G
  Total secondaries:          1

Secondary:
  Host name:                  metamorphosi-ossrvg
  RVG name:                   ossrvg
  DG name:                    ossdg
  Data status:                inconsistent
  Replication status:         stopped (primary detached)
  Current mode:               N/A
  Logging to:                 SRL
  Timestamp Information:      N/A

Config Errors:
  metamorphosi-ossrvg:        unknown

root@atmas1o:/ericsson/hagcs/log#

 

 

root@atmas1o:/ericsson/hagcs/log# vxrlink -g ossdg status to_metamorphosi_ossrvg
VxVM VVR vxrlink INFO V-5-1-3539 Rlink to_metamorphosi_ossrvg is not currently attached (STALE).
You have new mail in /var/mail/root
root@atmas1o:/ericsson/hagcs/log#

 

 

Now if i start replication with below command, will there be any impact, as the primary is not buffering data as this status is there from last night.

vradmin -g ossdg -s startrep ossrvg

  • Just a couple of points on Guarav's comment:

    When you use -f on "vxrlink att" or vradmin startrep, you are telling VVR that both sites are the same, so if for instance you stopped your application and umounted filesystems while VVR was up to date and then detached rlinks or even deleted RDS, then when you attach rlink, you can use "-f" as you know both sites are the same if the filesystems remained umounted.  VVR does not check anything when you use -f, so if the secondary site is behind, then VVR will still report as consistent, even though as soon as VVR starts replicating, the secondary data will become and remain inconsistent and VVR will be unaware.  So using "-f" can make your data inconsistent, but it will not effect the VVR states.

    When you use autosync, VVR does not determine differences, it syncs all blocks except when using smartmove where VVR syncs all used blocks in the filesystems, and does not sync unused blocks.

    Mike

33 Replies