This section explains operations that need to be performed in order to be able to perform disaster recovery switchover.
Notes on Setting of Resources
When creating resources, there are restrictions on the setting of resource names, etc.
For details, refer to the following:
"Items to be Different between the Primary and Backup Sites" in "2.6 Configuration of the Primary and Backup Sites"
"Storage Location of Switchover Target Resources for Tenant Switchover" and "Creation of Information on L-Platform Templates for Active-Active Operation" in "3.3 Manager Installation and Configuration"
Collecting Switchover Information
If updating is performed, such as resource configuration information to do with an L-Platform deployment, or patches are applied to ROR managers, perform the following to collect the information for Disaster Recovery switchover. Collect information either automatically or periodically to ensure the latest configuration information is available.
Export the Required Information from the Primary Site
Export the Required Information
As a backup in case of failure of the primary site, and where an environment has been constructed on the backup site that can be used for recovery, export the information as explained below. The information can be automatically collected by configuring the settings. For how to configure the automatic collection settings, refer to "3.7 Configuring Automatic Collection of Switchover Information".
L-Platform Templates
L-Platform Configuration Information
Resource Information
Execution Information of Sample Scripts
Accounting Information
Metering Logs
Usage Charges
One of the following operations is recommended.
When changing the configurations of managed servers, export the information first, and maintain the latest system information
Export regularly, and update the data
Execute the command shown below to collect the information.
[Windows Manager]
>Installation_folder\SVROR\Manager\bin\rcxmgrexport <RETURN> |
[Linux Manager]
# /opt/FJSVrcvmr/bin/rcxmgrexport <RETURN> |
For details on the rcxmgrexport command, refer to "B.1 rcxmgrexport".
Export Network Configuration Information
When you change the target network device configuration, keep the latest system configuration by exporting the information.
Execute the command shown below to collect the information.
[Windows Manager]
>Installation_folder\SVROR\Manager\bin\rcxadm netconfig export -file switchover_installation_folder\OtherBackupfiles\networkconfiginfo.xml <RETURN> |
[Linux Manager]
# /opt/FJSVrcvmr/bin/rcxadm netconfig export -file Switchover_installation_folder/OtherBackupfiles/networkconfiginfo.xml <RETURN> |
Specify the XML file of the output destination used as the -file option argument so that it will be stored in switchover_information_folder\OtherBackupFiles.
For details on the rcxadm netconfig command, refer to "3.7 rcxadm netconfig" in the "Reference Guide (Command/XML) CE".
Note
Operations such as L-Platform deployment, cancellation, or configuration modifications that change various information must not be performed during the export of information.
If the accounting setting is on, it is recommended to export switchover information every day.
This ensures the exported information of the primary site will be updated with the newest information.
When using VMware as the server virtualization software, note the following regarding execution of rcxmgrexport:
Do not execute rcxmgrexport immediately after performing any operations that move the files of the virtual machines (e.g. VM migration involving changes of datastores, storage vMotion). Be sure to execute rcxmgrexport after the information is reflected on ROR by a regular update.
When a virtual machine is moving a VM host (e.g. vMotion), do not execute rcxmgrexport. Execute rcxmgrexport after such operations are completed.
Confirm Switchover Scope
Perform this procedure when configuring the limitations of switchover scopes.
After executing rcxmgrexport, execute the following commands to confirm that the switchover scope is correct.
rcxmgrexport -drlist : Displays the list of the resources that are switchover targets. rcxmgrexport -drlist -error : Displays the list of resources which use both targeted storage and non-targeted storage for Disaster Recovery, and therefore cannot be switched over. |
Example
> rcxmgrexport -drlist TYPE NAME ---- ---- L-Server /tenant_1/l-server_1 Image /image_1 Image /image_2 > rcxmgrexport -drlist -error TYPE NAME ---- ---- L-Server /tenant_1/l-server_1 |
For details on the rcxmgrexport command, refer to "B.1 rcxmgrexport".
If the displayed switchover targets are not appropriate, check if the limitation of switchover scope is correctly configured. For details on the limitation of switchover scope, refer to "3.5 Configuring for Limiting Switchover Scope".
Back Up the Configuration Files of the Primary Site
Copy the configuration files of the primary site to the backup site, in case the contents of the configuration files are different between the primary and backup sites. Copy the files listed in "Configuration Files for Matching Details between the Primary and Backup Sites" in "2.6 Configuration of the Primary and Backup Sites" into the "OtherBackupFiles" folder in the switchover information folder.
Obtain the Storage Replication Information
Create a replication definition file describing the relationship of LUNs in the primary and backup sites when replicating storage units.
When "3.7 Configuring Automatic Collection of Switchover Information" is performed, this operation is not necessary, because the information is collected automatically.
Create a replication definition file that describes LUN relations.
When using dynamic LUN mirroring storage of ETERNUS, as the target LUNs to be replicated are changed by the deployment or cancellation of L-Platforms, and the addition or removal of disks, create the replication definition file using the rcxrepdef command.
When using a LUN that was created in advance, if the replication definition is created, modified, or deleted by the storage management software, create a replication definition file using the rcxrepdef command.
For configurations where LUNs connected with L-Servers are not replicated (Configuration example: The LUN connected with an L-Server is copied to another LUN using One Point Copy for replication), the rcxrepdef command cannot be used. Create replication definition files manually.
For details on replication definition files, refer to "Replication Definition Files" in "18.1.3 High Availability for Storage Chassis" in the "Operation Guide CE".
Example
[Windows Manager]
>Installation_folder\SVROR\Manager\bin\rcxrepdef ccm -local 192.168.0.X -remote 192.168.0.Y -file file1 <RETURN> |
[Linux Manager]
# /opt/FJSVrcvmr/bin/rcxrepdef ccm -local 192.168.0.X -remote 192.168.0.Y -file file1 <RETURN> |
After creating the replication definition file, specify it and create the file to perform mapping of LUNs in the backup site resources from the relation lists during import.
To create this file, execute the rcxstorage command with the -recovery, -mode, and -outfile options specified. Specify "prepare" for the -mode option, and switchover_information_folder\storage_file for the -outfile option.
For details on the switchover information folder, refer to "3.2 Creating Switchover Information Folders".
Example
[Windows Manager]
>Installation_folder\SVROR\Manager\bin\rcxstorage -recovery -mode prepare -file file1 -outfile D:\Export\storage_file <RETURN> |
[Linux Manager]
# /opt/FJSVrcvmr/bin/rcxstorage -recovery -mode prepare -file file1 -outfile /DRExport/Export/storage_file <RETURN> |
For details on replication definition files, refer to "Replication Definition Files" in "18.1.3 High Availability for Storage Chassis" in the "Operation Guide CE".
For details on the rcxrepdef command, refer to "5.22 rcxrepdef" in the "Reference Guide (Command/XML) CE".
For details on the rcxstorage command, refer to "5.23 rcxstorage" in the "Reference Guide (Command/XML) CE".
Back Up Directory Service Information
Back up the directory service information. Back up the information, after performing operations such as registration, modification, or deletion of a user. For the backup procedure, refer to the manual for the directory service product being used.
Back Up VM Management Software Information
When not configuring VM management software on a physical L-Server using the physical/virtual L-Server switchover (VM host/VM guest) method, it is necessary to restore the VM management software information during switchover. Therefore, back up the VM management software information as well. For details on how to back up and restore VM management software information, refer to the manual of each VM management software. It is necessary to collect the VM management software information when registering, modifying, or deleting an L-Platform on which a virtual L-Server is deployed.
Back up Firewall Configurations
When configuring a firewall automatically using the auto-configuration function for network devices, it is recommended to use the network device configuration backup command or the management software configuration backup function, and operate as follows:
After configuring auto-configuration of the firewall, back up the configuration automatically and collect the newest configuration.
To enable this function, refer to "9.4.8.2 When Using the Network Device File Management Function" in the "Design Guide CE" for required settings.
For details on auto-configuration function of the network devices, refer to "2.2.7.4 Network Device Automatic Configuration" in the "Design Guide CE".
Back up firewall configurations regularly.
When backing up a firewall configuration regularly, the -event option of the rcxmgrexport command must be disabled.
Collect the firewall configuration immediately after executing the rcxmgrexport command, which exports configuration information of Resource Orchestrator, to synchronize the timing of backup of network device configuration files.
Note that this operation is not necessary for NS appliance.
Use the rcxadm netdevice cfbackup command for the backup of network device configuration files.
For details on the rcxadm netdevice command, refer to "3.8 rcxadm netdevice" in the "Reference Guide (Command/XML) CE".
When not using the auto-configuration function of network devices, it is recommended to perform the operation in step b.
Reflect Changes of Settings and Back Up Configuration Files
After a Disaster Recovery environment is configured, if the settings of the primary site are changed according to "Chapter 8 Changing Settings" in the "Operation Guide CE", the changes of the following settings need to be reflected in the backup site before switching.
"8.2 Settings for Sending Email"
"8.4 Editing Information in the Home Window"
"8.5.1 Settings for Permissions to Change L-Platform Templates"
"8.5.2 Subnet Settings at Segment Editing"
"8.5.3 Settings for the Simplified Reconfiguration Function"
"8.5.4 Distribution Ratio Settings"
"8.5.5 Application Process Settings"
"8.5.7 Editing the License Agreement"
"8.5.9 Default Password Setting for Sent Emails"
"8.5.10 Settings for the Maximum Number of Connections for the L-Platform Template"
"8.6.1 Settings for Tenant Management and Account Management"
"8.6.2 Editing the User Agreement when Registering a User"
"8.7 Accounting Settings"
"8.8 System Condition Server List Settings"
"8.9 Settings for Event Log Output for CMDB Agent"
Back up the following files if they have been modified.
[Windows Manager]
Installation_folder\RCXCFMG\config\mail_config.xml
Installation_folder\RCXCFMG\config\vsys_config.xml
Installation_folder\RCXCTMG\Charging\conf\accounting.properties
Installation_folder\RCXCTMG\Charging\conf\metering_log.properties
Installation_folder\RCXCTMG\MyPortal\config\application_process.properties
Installation_folder\RCXCTMG\MyPortal\config\custom_config.xml
Installation_folder\RCXCTMG\MyPortal\config\managerview_config.xml
Installation_folder\RCXCTMG\SecurityManagement\conf\portal.properties
Installation_folder\SWRBAM\CMDB\FJSVcmdbm\axis2\WEB-INF\services\mdr_cfmg\cmdb.properties
Installation_folder\SWRBAM\CMDB\FJSVcmdbm\axis2\WEB-INF\services\mdr_ror\cmdb.properties
Installation_folder\SWRBAM\CMDB\FJSVcmdbm\CMDBConsole\WEB-INF\classes\viewlist_en.xml
Installation_folder\RCXCTMG\MyPortal\config\license\create\default
Installation_folder\RCXCTMG\MyPortal\config\license\reconfigure\default
Installation_folder\RCXCTMG\MyPortal\config\license\return\default
Installation_folder\IAPS\F3FMihs\servers\FJapache\htdocs\sopdocs\pub\html\en\cRegApply_agreement.forUse_en.html
[Linux Manager]
/etc/opt/FJSVcfmg/config/mail_config.xml
/etc/opt/FJSVcfmg/config/vsys_config.xml
/etc/opt/FJSVctchg/conf/accounting.properties
/etc/opt/FJSVctchg/conf/metering_log.properties
/etc/opt/FJSVctmyp/config/application_process.properties
/etc/opt/FJSVctmyp/config/managerview_config.xml
/etc/opt/FJSVctmyp/config/license/create/default
/etc/opt/FJSVctsec/conf/portal.properties
/opt/FJSVcmdbm/axis2/WEB-INF/services/mdr_cfmg/cmdb.properties
/opt/FJSVcmdbm/axis2/WEB-INF/services/mdr_ror/cmdb.properties
/opt/FJSVcmdbm/CMDBConsole/WEB-INF/classes/viewlist_ja.xml
/etc/opt/FJSVctmyp/config/license/create/default
/etc/opt/FJSVctmyp/config/license/reconfigure/default
/etc/opt/FJSVctmyp/config/license/return/default
/var/opt/FJSVihs/servers/FJapache/htdocs/sopdocs/pub/html/en/cRegApply_agreement.forUse_en.html
Also, if roles are customized on the primary site, ensure the same changes are made on the backup site.
For details on how to customize roles, refer to "5.1.3 Customizing Roles" in the "Design Guide CE".
Checking Using the DR Configuration Check Tool
Check whether the settings of the created Disaster Recovery environment are complete using the DR configuration check tool through the procedure below.
Information
After setting up the DR environment or when the resource configuration is changed for reasons such as addition of network resources or L-Platform deployment, execute the DR configuration check tool again.
Execute the following commands on the switchover destination site to collect information for the DR configuration check tool of the switchover destination site.
[Windows Manager]
>Installation_folder\SVROR\Manager\bin\rcxdrcheck -mode prepare <RETURN> |
[Linux Manager]
# /opt/FJSVrcvmr/bin/rcxdrcheck -mode prepare <RETURN> |
The command execution results are stored in the folder specified using "rcxdrcheck_prepare_define" in the DR configuration check tool definition file.
For details, refer to "B.6 rcxdrcheck".
Note
Check that the folder specified using "rcxdrcheck_prepare_define" in the DR configuration check tool definition file is empty before executing the command for collecting information for the DR configuration check tool.
Copy the collected information for the DR configuration check tool on the switchover destination site to the switchover source site. Store the copy in the folder specified using "rcxdrcheck_check_define" in the DR configuration check tool definition file.
For details, refer to "B.6 rcxdrcheck".
Execute the following commands on the switchover source site to run the DR configuration check tool.
[Windows Manager]
>Installation_folder\SVROR\Manager\bin\rcxdrcheck -mode check <RETURN> |
[Linux Manager]
# /opt/FJSVrcvmr/bin/rcxdrcheck -mode check <RETURN> |
For details, refer to "B.6 rcxdrcheck".
When DR_switchover_method has not been set in the definition file for the DR configuration check tool, the following message is displayed.
Please select the DR switchover method. |
Enter the number of the desired switchover method to continue the command.
When DR_operation_method has not been set in the definition file for the DR configuration check tool, the following message is displayed.
Please select the type of DR operation method. |
Enter the number of the desired DR switchover operation method to continue the command.
After execution of the DR configuration check tool is completed, the result is output as follows.
[Windows Manager]
Stored in the %temp%drcheckresult-YYYY-MM-DD-hhmmss.txt file. YYYY-MM-DD-hhmmss indicates the check completion time.
Check results are automatically displayed using a text editor.
[Linux Manager]
Check results are written to the standard output.
Confirm that the check results are neither "WARNING" nor "ERROR".
If an item judged as "ERROR" exists, remove the cause of the error. Then execute the DR configuration check tool again to confirm the item does not appear again. Repeat these steps until all "ERROR" items no longer appear.
If an item judged as "WARNING" exists, check the content and remove the cause of the "WARNING" as necessary.
For details, refer to "C.3 Messages Regarding rcxdrcheck".
Collecting Additional Recovery Information
When additional recovery is planned, copy all information in the switchover information folder into the additional recovery information storage folder. However, it is not necessary to copy the Image folder under the switchover information folder or the images of physical servers stored in the Image folder.
Place the configuration information that includes resources that will be recovered through additional recovery (i.e. resources removed by the function of switchover scope limitation) in the additional recovery information folder.
For details on the switchover information folder, refer to "3.2 Creating Switchover Information Folders".
For additional recovery, refer to "2.4 Limitation of Switchover Scope and Additional Recovery".
For details on how to specify additional recovery information folders, refer to "3.3 Manager Installation and Configuration".