Symantec logo

Displaying consolidated replication status

The vradmin repstatus command displays the consolidated replication status of the specified Replicated Data Set (RDS). The vradmin repstatus command displays the following information about each RVG in the RDS:

To display consolidated replication information about an RDS:

# vradmin -g diskgroup [-l] repstatus local_rvgname

The argument local_rvgname is the name of the RVG on the local host. The local RVG name represents its RDS.

The option -l displays additional information, such as RLINK names, replication setting, and so on. Similar to the vradmin -l printrvg command, the vradmin repstatus command also displays configuration errors in the RDS, if any.


  Note   If the vradmin repstatus command is run on a Secondary that has a few configuration errors or cannot reach the Primary, the output displays the status known to the Secondary before the above condition occurred and therefore might be out of date.


Example:

When the Primary is reachable from all the Secondary hosts and the
vradmin repstatus command is run from any host:

# vradmin -g hrdg -l repstatus hr_rvg

Output resembles:

Replicated Data Set: hr_rvg

Primary:

Host name:  seattle

RVG name:  hr_rvg

DG name:  hrdg

RVG state:  enabled for I/O

Data volumes:  4

  Vsets:                     1

SRL name:  hr_srl

SRL size:  4.00 GB

Total secondaries:         1

Secondary:

Host name:  london

RVG name:  hr_rvg

DG name:  hrdg

Rlink from Primary:  rlk_london_hr_rvg

Rlink to Primary:  rlk_seattle_hr_rvg

Configured mode:  asynchronous

Latency protection:  off

SRL protection:   autodcm

Data status:               inconsistent

Replication status:        resync in progress (autosync)

Current mode:              asynchronous

Logging to:                DCM (contains 169728 Kbytes) (autosync)

  Timestamp Information: N/A

Bandwidth Limit: 30.00 Mbps

Example:

When the Primary is unreachable from the Secondary hosts and the
vradmin repstatus command is run from the Secondary host:

# vradmin -g hrdg -l repstatus hr_rvg

Output resembles:

VxVM VVR vradmin INFO V-5-52-1205 Primary is unreachable or RDS has configuration
error. Displayed status information is from Secondary and can be out-of-date.

Replicated Data Set: hr_rvg

Primary:

Host name: seattle <unreachable>

RVG name: hr_rvg

DG name: hrdg

RVG state: enabled for I/O

Data volumes: 4

Vsets:                      1

SRL name: hr_srl

SRL size: 4.00 GB

Total secondaries: 1

Secondary:

Host name: london

RVG name: hr_rvg

DG name: hrdg

Rlink from Primary: rlk_london_hr_rvg

Rlink to Primary: rlk_seattle_hr_rvg

Configured mode: asynchronous

Latency protection: off

SRL protection: autodcm

Data status: consistent, up-to-date

Replication status: replicating (connected)

Current mode: asynchronous

Logging to: SRL (0 updates behind, last update ID 18533.0)

Timestamp Information: behind by 00:00:00 hours

Bandwidth Limit: 30.00 Mbps

Last Update on Primary: Oct 10 04:32:21

Secondary up-to-date as of: Oct 10 04:32:21

Config Errors:

seattle: Pri or Sec IP not available or vradmind not running,
stale information

The following section describes the important fields displayed by the vradmin repstatus command. The values and meaning of each field are listed in tables: