This section describes operations using Replication Management Commands.
Note
Only a root user can execute all the commands of replication management. When command execution is carried out by other users, a message "swsrp0601 This Command cannot be run. This is because the user is not a root user." is displayed, and the command terminates abnormally.
Note
The operating environment required for command execution is shown in the table below.
Command Name | Operating Environment of AdvancedCopy Manager |
---|---|
swsrpcancel | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
swsrpchsync | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
swsrpdelvol | To execute this command on a Managed Server, the daemons or services of the Management Server must be operating. To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. For inter-server replication, the daemons or services of the Managed Server in communication must be operating. (except when the -d option is specified). |
swsrprecbuffstat | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
swsrprecbuffset | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
swsrpmake | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. When the Managed Server runs on Windows and is engaged in replication on single server and EC operation, Windows services required by the Managed Server must be running. For inter-server replication, the daemons or services of the Managed Server in communication must be operating. (except when the -d option is specified). |
swsrprecoverres | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
swsrprevsync | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
swsrpsetvol | To execute this command on a Managed Server, Windows services required by the Management Server must be running. For inter-server replication, the daemons or services of the Managed Server in communication must be operating. |
swsrpstartsync | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
swsrpstat | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
swsrpvolinfo | To execute this command on a Management Server with the -h option specified, the daemons or services of the Management Server and target Managed Server must be operating. |
Note
In Cluster Operation, there is the following note.
Execute a command by taking the following steps:
If necessary, specify the logical node name to the transaction in environment variable SWSTGNODE. Specify the environment variable as follows:
# SWSTGNODE=logicalNodeName # export SWSTGNODE
Execute the command.
The table below lists the commands available in cluster operation, indicates whether environment variables must be configured and shows the nodes on which commands are executable. For notes and cautions on command execution, refer to the Remarks column.
Command Name | Environment Variable | Command Execution Node | Remarks |
---|---|---|---|
swsrpsetvol | Required | Transaction operation node | - |
swsrpvolinfo | Required | Transaction operation node | - |
swsrpdelvol | Required | Transaction operation node | - |
swsrprecbuffstat | Required | Transaction operation node | - |
swsrprecbuffset | Required | Transaction operation node | - |
swsrpstartsync | Required | Transaction operation node | - |
swsrpmake | Required | Transaction operation node | - |
swsrpstat | Required | Transaction operation node | - |
swsrpcancel | Required | Transaction operation node | - |
swsrpchsync | Required | Transaction operation node | - |
swsrprevsync | Required | Transaction operation node | - |
swsrprecoverres | Required | Transaction operation node | - |