3.7.0 HP StorageWorks HP Scalable NAS File Serving Software command reference guide HP Scalable NAS for Linux (AG513-96003, October 2009)

individual nodes. For example, replication can be running on the cluster but not be
running on a particular node. Use the rplstatus command to view the replication
state. The states are:
DescriptionState
Configured. A replication configuration file has been imported and replication can
be started.
1
Running. The replication program rplmonitor is running.
2
Waiting. An internal state indicating that rplmonitor is in transition to the running
state and is waiting for the administrative filesystem to become available.
3
Stopped. The replication program is running but the worker threads that perform the
replication are not running.
4
Exited. The replication program either exited because of a fatal error or was termin-
ated from the command line.
5
rplcontrol sends commands via a cluster communication mechanism to all
instances of replication programs on the entire cluster or to a particular instance on
the specified node. The commands can be either numeric (the -c option) or string
(the -s option) but not both. The kind of command that can be sent depends on the
current state of replication. Sending an inappropriate command can at best take
processing time away from a running replication and at worst cause an undesirable
effect. In general, the system handles sending rplcontrol commands as necessary.
You should use this tool with caution. See the HP Scalable NAS File Serving Software
administration guide for some examples of situations where you may need to run
rplcontrol commands manually.
The rplcontrol commands can be used only when replication is in the specified
states. Some rplcontrol commands cause the state to change. The rplcontrol
commands are:
-c 0 | s enable
Enable replication so that it can be restarted by the mxinit (or pmxs start)
command.
-c 1 | s start
Start waiting worker threads that do replication work. The replication state must
be 3 (waiting). This option changes the replication state to 2 (running).
-c 2 | s stop
HP Scalable NAS File Serving Software command reference guide 71