3.7.0 HP StorageWorks HP Scalable NAS File Serving Software command reference guide HP Scalable NAS for Linux (AG513-96003, October 2009)
/opt/hpcfs/bin/rplstatus
Cluster replication status
2 (running)
Node replication status
99.30.31.3: 2 (running)
99.30.31.4: 2 (running)
99.30.31.5: 2 (running)
99.30.31.6: 2 (running)
Replication sentinel
preferred sentinel=99.30.31.6
current sentinel=99.30.31.3
If replication is not running, the output will state that the current sentinel is not defined.
The command provides the following options for use in scripts. Only one option can
be specified at a time. If an option is specified, the script runs silently without output
to stdout.
-status
If replication is running on the node on which the script is run, the exit value is
0. Otherwise, the exit value is 1 (or 2 in case of error).
-sentinel
If the node on which the script is run is also the current sentinel, the exit value is
0. Otherwise, the exit value is 1 (or 2 in case of error).
The following shell programming example shows the use of the -sentinel option.
#rplstatus –sentinel
#echo $?
#0 //if this node is the current sentinel
rpl_versions.sh – verify software versions on source
and destination clusters
Synopsis
/opt/hpcfs/tools/rpl_versions.sh
Description
This script verifies that the source and destination clusters are both running the same
operating system and HP Scalable NAS 3.7.0 (or later). The script is run automatically
when the replication configuration file is imported into the mxds datastore.
Cluster commands76