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 aborts.
Note
The table below lists the requirements for the operating environment in which to execute the different commands.
Command | Operating environment of AdvancedCopy Manager |
---|---|
swsrpcancel | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be operating. |
swsrpchsync | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be running. |
swsrpdelvol | To execute this command on a Managed Server, Windows services required by the Management Server must be running. |
swsrprecbuffstat | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be running. |
swsrprecbuffset | To execute this command on a Managed Server, Windows services required by the Management Server must be running. |
swsrpmake | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be running. |
swsrprecoverres | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be running. |
swsrprevsync | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be running. |
swsrpsetvol | To execute this command on a Managed Server, Windows services required by the Management Server must be running. |
swsrpstartsync | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be running. |
swsrpstat | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be running. |
swsrpvolinfo | To execute this command on a Management Server with the -h option specified, Windows services required by the Management Server and target Managed Server must be running. |
Note
In cluster operation, 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=logical-node-name
# 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 | 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 | - |