Top
ETERNUS SF AdvancedCopy Manager V16.8 Operation Guide
FUJITSU Storage

9.3 Replication Management Commands

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.

    Table 9.6 Operating Environment When Executing Replication Management Commands

    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.
    When the Managed Server runs on Windows and is in EC operation, Windows services required by the copy destination Managed Server must be running (except when the -m or -t option is specified).
    For inter-server replication in the equivalency maintain state, the associated server must be operating (except when the -m option is specified).

    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.
    When the Managed Server runs on Windows, Windows services required by the Managed Server must be running.
    To specify the -r option, Windows services required by the Management Server must be running.

    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.
    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.

    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.
    When the Managed Server runs on Windows, Windows services required by the Managed Server must be running.
    For inter-server replication, the associated server must be running (except a case where the -m option is specified).

    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:

    1. If necessary, specify the logical node name to the transaction in environment variable SWSTGNODE. Specify the environment variable as follows:

      # SWSTGNODE=logicalNodeName
      # export SWSTGNODE
    2. 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.

    Table 9.7 Commands When Cluster Operation Is Used

    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

    -