![]() |
![]() |
![]() |
![]() |
![]() |
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.
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
Rlink from Primary: rlk_london_hr_rvg
Rlink to Primary: rlk_seattle_hr_rvg
Replication status: resync in progress (autosync)
Logging to: DCM (contains 169728 Kbytes) (autosync)
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
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.
Host name: seattle <unreachable>
Rlink from Primary: rlk_london_hr_rvg
Rlink to Primary: rlk_seattle_hr_rvg
Data status: consistent, up-to-date
Replication status: replicating (connected)
Logging to: SRL (0 updates behind, last update ID 18533.0)
Timestamp Information: behind by 00:00:00 hours
Last Update on Primary: Oct 10 04:32:21
Secondary up-to-date as of: Oct 10 04:32:21
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:
This Primary RVG is currently the acting Secondary as part of the fast failback process. Writes to the data volumes in this RVG are disabled independent of whether the RVG is started or stopped.
Primary RVG is disabled for I/O, that is, the RVG is stopped.
State after an import or reboot.
Thevxrvg
recover
rvg
command clears this state.The Primary RVG is in
passthru
mode because the Primary SRL is detached or missing. For more information, see RVG PASSTHRU mode.
DCM is active for this Secondary, that is, new updates on Primary are tracked using DCM for this Secondary. The following information may be displayed:
needs dcm resynchronization—To continue replication, resynchronize the Secondary using DCM resynchronization. See Incrementally synchronizing the Secondary after SRL overflow.
needs failback synchronization—To continue replication, start failback synchronization to this Secondary. See Failing back using fast failback synchronization.
This Primary RVG is acting as Secondary as part of the fast failback process. To continue replication, start failback resynchronization on the new Primary.
Data is not being replicated to Secondary because Primary RLINK is in
needs_recovery
state.primary needs_recovery—Primary RLINK in
needs_recovery
state and needs to be recovered before replication can resume.Replication to Secondary is paused because of some administrative action. This results in the following states:
Replication to Secondary is paused because of the following errors:
secondary config error—Secondary has some configuration error. For more information, refer to the
secondary_config_err
in the section Interpreting RLINK flag settings.secondary log error—Secondary SRL has an I/O error. See the
secondary_log_err
in section Interpreting RLINK flag settings.Replication to Secondary is paused because of some network problem.
connected—Replication can take place if there are updates on the Primary data volumes
Resynchronization to the Secondary is in progress.
autosync—Resynchronization type is autosync.
dcm resynchronization—Resynchronization after an SRL overflow.
failback resynchronization—Resynchronization using failback logging.
Resynchronization to Secondary is paused because of some administrative action. This results in the following states:
Resynchronization to Secondary is paused because of the following errors:
secondary config error—Secondary has some configuration error. For more information, refer to the
secondary_config_err
in the section Interpreting RLINK flag settings.secondary log error—Secondary SRL has an I/O error. See the
secondary_log_err
in section Interpreting RLINK flag settings.Resynchronization to Secondary is paused because of some network problem.
Replication to Secondary is stopped because of the following:
The replication status cannot be determined. For information about the status, use the
vxprint
-l
rlink_name
command on the Primary and Secondary.
If the vradmin
repstatus
command is run on a Secondary and the Secondary is disconnected from the Primary because of a configuration or network error, the Logging to field may show the following values:
These fields are the same as the output that is displayed for the vxrlink
-T
command. For more information, see Displaying the status of a Secondary and Identifying the most up-to-date Secondary.