Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxstorage - Switchover script for operating or standby storage, or creation of disk resource comparison tables for Disaster Recovery
[Linux Manager]
/opt/FJSVrcvmr/bin/rcxstorage - Switchover script for operating or standby storage, or creation of disk resource comparison tables for Disaster Recovery
Format
rcxstorage [-failover|-failback] -storageunit unit_name -file file -outfile outfile rcxstorage -recovery -mode [prepare|mapping] -file file -outfile outfile
Description
rcxstorage -failover|-failback are the commands to create scripts for switching storage between the operating and standby states, and to create scripts for power operations for physical L-Servers.
rcxstorage -recovery is the command to create a disk resource comparison table for Disaster Recovery.
Options
Use the -failover option to create the following scripts:
A script for switching from operating to standby (failover script)
A script for stopping a target physical L-Server
A script for starting a target physical L-Server
Use the -failback option to create the following scripts:
A script for switching from standby to operating (failback script)
A script for stopping a target physical L-Server
A script for starting a target physical L-Server
When specified with -mode, the Disaster recovery function is executed.
Specify the operating storage units.
When the storage unit is ETERNUS or EMC CLARiiON
Specify the IP address of the storage unit for unit_name.
When the storage unit is EMC Symmetrix DMX or EMC Symmetrix VMAX
Specify the SymmID of the storage unit for unit_name.
Use the prepare option to extract the disk resource information from the configuration information of the manager of the operating storage.
Use the mapping option to create a comparison table for the disk resource, comparing the configuration information of the operating and standby storage.
For -failover or -failback
Specify the replication definition file using a full pathname.
For -mode prepare
Specify the replication definition file using a full pathname.
For -mode mapping
Specify the file for the configuration information of the operating storage using its full path.
Use rcxrepdef command to create the replication definition file. For details on rcxrepdef command, refer to "5.22 rcxrepdef".
For -failover
Specify the full pathname of the failover script file.
For -failback
Specify the full pathname of the failback script file.
For -mode prepare
Specify the full path name of the file for the configuration information of the operating storage.
For -mode mapping
Specify the full path name for the disk resource comparison table.
For the file name of a failover or a failback script, the file name specified for outfile is used. The script for stopping physical L-Servers is created with a file name composed of the file name specified in outfile (the extension is omitted), followed by the string "_power_off". The script for stopping physical L-Servers is created with a file name composed of the file name specified in outfile (the extension is omitted), followed by the string "_power_on".
Example
When C:\temp\command.bat is specified for outfile
Type of Script File | File Name of the Script Created |
---|---|
A failover or a failback script | C:\temp\command.bat |
A script for stopping physical L-Servers | C:\temp\command_power_off.bat |
A script for starting physical L-Servers | C:\temp\command_power_on.bat |
If there is already a file with the same name, the script cannot be created. Specify the name of the new file to create.
When operating this command in Windows environments, the script file to be output is a batch file, in Linux environments it is a shell script. When specifying the name of a script file, reflect the extensions of batch files and shell scripts.