Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxadm config - import and export of configuration information
[Linux Manager]
/opt/FJSVrcvmr/bin/rcxadm config - import and export of configuration information
Format
rcxadm config map -file resource_map_file -dir directory rcxadm config filter {-tenant tenant_name|-global|-type vm|-exclude vm |-exclude type -name name |-convert} -indir indir -outdir outdir rcxadm config show -type type -name name -dir directory -format xml rcxadm config cleanup [-tenant tenant_name] [-deluser] [[-predr]|[-postdr]] rcxadm config vsfilter [-tenant tenant1[,tenant2[,...]]] [-global] [-dir dir] [-vm_pool vm_pool] -outfile file.csv
Description
rcxadm config is the command to import or export configuration information, when executing DR (Disaster Recovery).
Subcommands
Links exported configurations of Resource Orchestrator with resources of the switchover destination site.
Perform filtering in order to divide and import exported configurations of Resource Orchestrator.
Displays the detailed information of exported configurations of Resource Orchestrator.
Deletes the resource management information of the manager.
Outputs the information of the storage in which the virtual disks for cloning images/L-Servers in the scope specified by -tenant or -global have been deployed and the information of the VM host on which such storage is mounted to a file.
The types of the storage for extraction and the virtual storage information to be extracted are as follow:
Datastore
The file which is output is used as the input for the script which mounts multiple storage units in a batch to the VM host (dsmount.pl).
When executing this command, specify all tenants and global in which cloning images/L-Servers for which the virtual storage to be extracted is specified as the disk deployment destination have been registered, at the same time. If the specification is insufficient, a command error will occur.
Options
Specify the folders to store configuration information for linking with resources.
Specify XML files which describe storage links.
Specify the names of the tenants to performing filtering for.
Specify when performing filtering of resources commonly used among tenants.
Specify when performing filtering of resources related to virtual L-Servers.
Specify when performing filtering of resources other than those related to virtual L-Servers.
Specify the resource types to perform filtering of. The following types can be selected:
lserver
lplatform
Specify the names of the resources to perform filtering for or display details of.
The information that links a configured physical server with an L-Server is created in outdir.
Specify the folders for storing the configuration information of filtering targets.
Specify the folders for storing filtered configuration information.
Specify the type of resources to display details of. The following types can be selected:
lserver
network
Specify the xml format to use when displaying details.
Example
convert.txt
[command] |
For the vsfiler Subcommand
Extracts the images/L-Servers in the tenant specified for tenant_name.
For the config Subcommand
For tenant name, specify the information of the tenant which the resources to be deleted belong to (the value specified using rcxrecovery -tenant when performing failback using DR).
Deletes the user information associated with the resource management information that was deleted from the manager, from the user management software.
Unregisters the VM guest information associated with the resource management information that was deleted from the manager, from the VM management software.
Unregisters the VM guest information and VM image information that are associated with the resource management information that was deleted from the manager, from the VM management software.
Extracts the storage information of the images registered in the global pool and L-Servers from tenants.
When this option and the -tenant option are omitted, all storage information of all cloning images/L-Servers in the configuration definitions will be extracted.
Specify the folder to store the information for the target of switchover due to Disaster Recovery. 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\custmize_data\fa_dr.rcxprop
[Linux Manager]
/etc/opt/FJSVrcvmr/customize_data/fa_dr.rcxprop
Specify the definition file that defines the VM pool to which the VM host belongs. For details on the content to include in the file, refer to "B.2 rcxrecovery".
If omitted, the vm_pool.csv file under the folder (hereinafter, an 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
Use this option to specify the name of the file to which the extracted virtual storage information is output.
For each virtual storage, the following information is stored in CSV format:
Virtual storage type (vmfs, nfs)
Device path name on the VM host
The list of the VM hosts to which the storage will be mounted
The information is extracted from the VM pool definition file. The target of extraction is the definition file of the VM pool in which the VM hosts with L-Servers deployed were registered.
Specify a relative or absolute path.
Note
When the automatic collection of switchover information is enabled, performing cleanup disables the setting.
After the switchover is completed, enable the setting referring to "3.7 Configuring Automatic Collection of Switchover Information".
Output Example
RCXVSFILTER_v1.0 [VMware] #operation,type,vstorage_name,datastore_name,mountpath,vmhosts mount,vmfs,storage_A,storage_A,/vmfs/volumes/UUID1,vmhost1.example.org:vmhost2.example.org mount,vmfs,storage_B,storage_B,/vmfs/volumes/UUID2,vmhost1.example.org:vmhost2.example.org mount,vmfs,storage_E,storage_E,/vmfs/volumes/UUID3,192.168.10.1 mount,nfs,storage_X,storage_X,/vmfs/volumes/UUID4,192.168.10.2:192.168.10.3 |