Top
ServerView Resource Orchestrator Cloud Edition V3.1.0 DR Option Instruction
ServerView

A.1 rcxmgrexport

Name

[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxmgrexport - Collecting switchover information of Disaster Recovery


Format

rcxmgrexport -help
rcxmgrexport [-dir directory] [[-noretry]|[-timeout value]]
rcxmgrexport -interval minutes | off
rcxmgrexport -event on | off

Description

rcxmgrexport is the command used to collect information necessary for switchover using DR (Disaster Recovery).


Subcommands

None.


Options

-help

Specify this option to display the instructions for using this command.

-dir directory

Specify the folder to store information necessary for switchover using Disaster Recovery. When omitted, the information is stored in the folder specified in the following file.

[Windows Manager]
Installation_folder\SVROR\Manager\etc\customize_data\fa_dr.rcxprop

-noretry

Use this option to return directly to the command prompt without waiting for the operation being executed on the admin server to complete its execution.
Export can only be performed when no other operation is being executed. If an operation is being executed, this command will return an error.

-timeout value

Use this option to wait the number of seconds specified in value for completion of the operation being performed on the admin server. If the operation is not completed within the specified time, this command will return an error.
If this option is omitted, the default value (3600 seconds) is set. When this option is specified, value can be specified between 1 and 172800 (2days).

Use this option to return an error when the operation being executed on the admin server does not complete its execution after the expiration of the number of seconds specified in value.
Periodical export may not be able to start its process while the manager is executing a time-consuming operation such as L-Server creation. Specify this option to cancel the operation after the specified number of seconds has elapsed.
The following message is output at a 600-second interval while the operation is running.
INFO:Manager operation is still running

-interval minutes | off

Specify this subcommand when periodically starting or stopping the operations to collect the information necessary for switchover to Disaster Recovery.
When starting the operation, specify the time interval for collection in minutes. Specify an integer between 1 and 1439.
The information is collected at the time interval specified in minutes. When stopping operations, specify "off".
The information necessary for switchover using Disaster Recovery is stored in the folder specified using default=directory in the following file.

[Windows Manager]

Installation_folder\SVROR\Manager\etc\customize_data\fa_dr.rcxprop

The operations to collect switchover information are the same type as operations with the -noretry option and the -timeout option omitted.
The following task will be registered in the Task Scheduler while switchover information is periodically collected.
The presence or absence of the task shows whether the operation has been enabled.

  • SVROR_rcxmgrexport

When collecting logs periodically, you can find the collected logs in the following location.

[Windows Manager]
Installation_folder\SVROR\Manager\var\dr\rcxmgrexport_interval*

-event on | off

When starting or stopping operation, specify the information necessary for switchover to Disaster Recovery to collect the information at the timing of collection of configuration definition information.
When starting operations, specify "on". When stopping operations, specify "off".
Restart the manager to reflect the settings and enable or disable the operation.
When operation is started, rcxmgrexport, rcxrepdef, and rcxstorage are executed at the timing of information collection.
The information necessary for switchover using Disaster Recovery is stored in the folder specified in the following file.
Set values for rcxmgrexport, rcxrepdef, and rcxstorage.

[Windows Manager]
Installation_folder\SVROR\Manager\etc\customize_data\fa_dr.rcxprop

The timing of information collection is as follows.

  • rcxmgrexport

    • L-Platform operations (Creation, Modification, Deletion, Starting, Stopping)

  • rcxrepdef

    • Registration of resources to a storage pool, Unregistration of resources from a storage pool

    • L-Server creation, L-Server deletion (when Dynamic LUN mirroring is used)

    • Attachment of disks to an L-Server, Detachment of disks from an L-Server (when Dynamic LUN mirroring is used)

  • rcxstorage

    • L-Server creation, L-Server deletion

    • Attachment of disks to an L-Server, Detachment of disks from an L-Server

The range of the operations to collect switchover information using the rcxmgrexport command is the same as those with the -noretry option and the -timeout option omitted.

Before starting automatic switchover information collection, edit the following file to provide necessary argument information for the rcxrepdef command which is executed for information collection.

[Windows Manager]
Installation_folder\SVROR\Manager\etc\customize_data\fa_dr.rcxprop

The content of the file should be as follows.

#rcxrepdef_define
#   (omit)
#
ccm, ,argument value for -local option, argument value for -remote option
snapmirror, ,argument value for -local option, argument value for -remote option
navisphere,argument value for -rhost option, argument value for -local option, argument value for -remote option
solutionenabler,argument value for -rhost option, argument value for -local option, argument value for -remote option

For details on the values to be set, refer to "5.22 rcxrepdef" in the "Reference Guide (Command/XML) CE".

The following file will be created when configuration definition information is updated. The presence or absence of the file shows whether the operation has been enabled.

[Windows Manager]
Installation_folder\SVROR\Manager\etc\event_handler\03_lplatform

The log of switchover information collection which is performed during configuration changes can be found in the following location.

[Windows Manager]
Installation_folder\SVROR\Manager\var\dr\rcxmgrexport_event*

Note

The collection methods enabled with the -interval option and the -event option cannot be used simultaneously. When switching the methods, execute the command specifying "off" in the option to stop the present operation. After that, execute the other command to start the new operation.