[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxrecovery - Disaster Recovery switchover
[Linux Manager]
/opt/FJSVrcvmr/bin/rcxrecovery - Switchover of Disaster Recovery
rcxrecovery -help rcxrecovery [-dir directory] [-map mapping_dir] [-mirror storage_file] [-vmmgr vmmgr_file] [-vm_pool pool_file] [-nocleanup] [-allon| -alloff] [-salvage] [-config_file_switchover {on -type {Active-Active| Active-Standby}| off}] rcxrecovery [-dir directory] [-map mapping_dir] [-mirror storage_file] [-vmmgr vmmgr_file] [-vm_pool pool_file] [-nocleanup] [-allon| -alloff] -global [-tenant tenant1[,tenant2,,,]] [-salvage] [-config_file_switchover {on -type {Active-Active| Active-Standby}| off}] rcxrecovery [-dir directory] [-map mapping_dir] [-mirror storage_file] [-vmmgr vmmgr_file] [-vm_pool pool_file] [-allon| -alloff] -tenant tenant1[,tenant2,,,] [-salvage] [-config_file_switchover {on -type {Active-Active| Active-Standby}| off}]
rcxrecovery is the command to perform switch over using DR (Disaster Recovery).
None.
Specify the folder to store the information for the target of switchover due to Disaster Recovery.
Example
[Windows Manager]
>Installation_folder\SVROR\Manager\bin\rcxrecovery -dir E:\Export\ManagerExport <RETURN> |
[Linux Manager]
# /opt/FJSVrcvmr/bin/rcxrecovery -dir /DRImport/Export/ManagerExport <RETURN> |
If omitted, the ManagerExport folder under the folder (hereinafter, import definition folder) specified for import=directory will be specified in the following folder.
[Windows Manager]
Installation_folder\SVROR\Manager\etc\customize_data\fa_dr.rcxprop
[Linux Manager]
/etc/opt/FJSVrcvmr/customize_data/fa_dr.rcxprop
When specifying this option, also specify the following options, if necessary.
Specify the folder in which the mapping files that define the relationships of the server names between the switchover source site and the switchover destination site are stored.
If the -dir option and this option are omitted, the MAP folder under the import definition folder will be used. If there is no import definition folder, mapping of server names will not be performed.
When names of physical servers on the server tree or VM management software registered on the VM management tree of Resource Orchestrator are different between the switchover source site and the switchover destination site, creation of mapping definitions enables defining of the relationship between sites.
This file must be located in the MAP folder under the switchover information storage folder and be a csv file that includes the following content.
Example
#PhysicalServer Server1-1,Server2-1 Server1-2,Server2-2 #VMManagementSoftware VMM1-1,VMM2-1 VMM1-2,VMM2-2
Server1-1 and Server1-2 are the server names on the switchover source site.
Server2-1 and Server2-2 are the server names on the switchover destination site.
VMM1-1 and VMM1-2 are the VM management software names on the switchover source site.
VMM2-1 and VMM2-2 are the VM management software names on the switchover destination site.
Information
Mapping definitions of physical servers and VM management software can be described in the MAP folder using either one of the following file configurations.
When including both the definition of physical server mapping and the definition of VM management software in the same file, do not give the descriptions as follows:
Specify the definition file that defines the VM pool to which the VM host belongs.
When this option is specified, the switchover operation is performed assuming that the VM host has been pre-configured.
Create the file defining VM hosts on which the switchover target virtual L-Server is operating under the switchover information storage folder as follows.
Example
#vmpool_name,vmhost_name,vmhost_type /VMHostPool,192.168.2.1,VMware /VMHostPool,192.168.2.2,OVM-SPARC /tenant1/TenantVMHostPool,vmhost1.example.org,VMware /tenant1/TenantVMHostPool,vmhost2.example.org,OVM-SPARC /tenant2/TenantVMHostPool,192.168.10.15
Specify the VM host type for vmhost_type.
"VMware" and "OVM-SPARC" can be specified for vmhost_type. If this option is omitted, "VMware" is set.
If omitted, the vm_pool.csv file under the folder (hereinafter, import definition folder) specified for import=directory will be specified in the following folder.
[Windows Manager]
Installation_folder\SVROR\Manager\etc\custmize_data\fa_dr.rcxprop
[Linux Manager]
/etc/opt/FJSVrcvmr/customize_data/fa_dr.rcxprop
-mirror storage_file
Specify the intermediate files for output mapping using the -recovery option and -mode prepare option of the rcxstorage command on the switchover source site.
If the -dir option and this option are omitted, the storage_file under the import definition folders will be assigned. When there is no storage_file under the import definition folder, mapping of storage will not be performed.
-vmmgr vmmgr_file
Specify the VM management software definition file to register VM management software on the switchover destination site.
If the -dir option and this option are omitted, the vmmgr_file.txt under the import definition folder will be assigned. When there is no vmmgr_file.txt under the import definition folder, VM management software cannot be registered.
Create the information in the switchover information storage folder in order to register VM management software of Resource Orchestrator on the switchover destination site.
Example
#name soft name ip user name password physical-lserver vcenter, vmware-vc, 192.168.1.24, admin, admin, no scvmm, ms-scvmm, 192.168.100.77, root, root, yes
Each item to specify is explained below. Use the information registered on the switchover source site.
name:
The name of VM management software to register in Resource Orchestrator.
soft name:
Specify the type of VM management software. The only specifiable values are vmware-vc (vCenter) and ms-scvmm (SCVMM).
ip:
Specify the IP address of VM management software.
user name:
Specify the user ID used when logging in to VM management software.
password:
Specify the password used when logging in to VM management software.
physical-lserver:
Specify "yes", when creating VM management software on a physical L-Server.
Specify "no", when not creating VM management software on a physical L-Server.
When "no" is specified, as messages to recover VM management software are output during command execution and the process is stopped, perform recovery while operations are stopped.
Specify this option when not clearing the configuration definition information of a switchover destination site during switchover when a disaster occurs.
This option is valid during switchover including global environments.
When this option is omitted, the environment of the switchover destination site will be cleared. When clearing environments, whether the environments must be deleted or not is confirmed during the command execution. When "y" is entered for an inquiry, switchover destination site environments are cleared and the switchover operation continues. When "n" is entered, the switchover operation is aborted.
After switchover, specify this option when powering on all L-Servers.
When this option is omitted, L-Servers will be powered on based on their startup status when the switchover information was obtained.
Specify this option to power off all L-Servers after switchover.
When this option is omitted, L-Servers will be powered on based on their startup status when the switchover information was obtained.
Specify this option when switching over resources in the global pool.
When this option and the -tenant option are omitted, all resources on the switchover source site will be switched over. When this option is specified, configuration definition information on the switchover destination site will be cleared.
Specify the tenant for switchover.
When this operand is omitted by specifying the global option, the resources included in the tenant cannot be switched over.
When this option is specified and -global option is omitted, configuration definition information on the switchover destination site will not be cleared.
Use this option to recover the resources that were degraded by the limitation of switchover scope after failback.
When this option is specified, it is assumed that the -nocleanup option and the -config_file_switchover off option are also specified.
For how to use this option, refer to "4.6 Additional Recovery Operation after Failback".
Note
When the automatic collection of switchover information is enabled, executing rcxrecovery disables the setting.
After the switchover is completed, enable the setting referring to "3.7 Configuring Automatic Collection of Switchover Information".
Use this option to forcibly enable or disable automatic takeover of configuration files.
When "on" is specified
Automatic takeover of configuration files is enabled regardless of the value of "#Config File Switchover" in the DR definition file (fa_dr.rcxprop).
When "off" is specified
Automatic takeover of configuration files is disabled regardless of the value of "#Config File Switchover" in the DR definition file (fa_dr.rcxprop).
Refer to "5.1.2 Roles and Available Operations" in the "Design Guide CE".
Admin server
This command returns the following values:
>rcxrecovery <RETURN> ------------------------------------------------------------ The following administrative information that exists on the manager will be deleted. - L-Platform templates - L-Platform configuration information - Resource information - L-Servers - L-Server templates - Tenants - Resource folders - Image resources - Customized role - Users - User groups - Network resources - Address resources - Resource pools * Resources registered in pools will be unregistered. - Accounting information - Metering logs Please specify the "-nocleanup"option when you do not want to delete the administrative information. Caution: In the following case, reply "n" to this prompt to quit the command and rerun the command with "-nocleanup" option. - rcxrecovery had been executed to failover the whole site or global resources, and - "-nocleanup" had not been specified, and - rcxrecovery had exited with some error after the 2nd process "cleanup of resources" had completed, and - rcxrecovery has rerun after the error had been recovered. ------------------------------------------------------------ Press [y] to continue rcxrecovery, or [n] to cancel rcxrecovery. : y [xx:xx:xx] (1/8)check of input data : completed [xx:xx:xx] (2/8)cleanup of resources : completed [xx:xx:xx] (3/8)copy and configure the definition files : completed [xx:xx:xx] (4/8)import physical resources : completed ------------------------------------------------------------ When this is in the process of physical/virtual L-Server switchover (VM host/VM guest) and the VM management software (vCenter Server/SCVMM) is not installed on physical L-Servers which are in switchover scope, the configuration of VM management software in switchover source site needs to be restored to the VM management software in switchover destination site here. After the restoration of the VM management software configuration is complete, press Y to continue. ------------------------------------------------------------ Press [y] when restoration is complete. : y [xx:xx:xx] (5/8)register/refresh VM management software : completed [xx:xx:xx] (6/8)import virtual resources : completed [xx:xx:xx] (7/8)import middleware information : completed [xx:xx:xx] (8/8)start/stop L-Platform, L-Servers : completed [xx:xx:xx] rcxrecovery finished