Top
ServerView Resource Orchestrator Cloud Edition V3.4.0 DR Option Instruction
FUJITSU Software

B.5 vmfile_update.pl

Name

[Windows Manager]

Installation_folder\SVROR\Manager\sys\dr_vmware_script\vmfile_update.pl - Updating of virtual machine files

[Linux Manager]

/opt/FJSVrcvmr/sys/dr_vmware_script/vmfile_update.pl - Updating of virtual machine files

Format

perl vmfile_update.pl -input file [-server soft_ip] [-username username] [-password password]

Function description

This command updates virtual machine files for the datastore for which mount is specified for the operation in the specified storage information file.

To execute the script, it is necessary to install VMware: vCLI (an external tool that controls VM software) on a server which can communicate with the VM management software beforehand.

When executing the script, it operates according to the settings of vCLI Connection Options. For details on vCLI Connection Options, refer to the VMware manual.

Option

-server soft_ip

Specify the IP address of VMware vCenter Server.

When omitted, the same operation as when "--server" is omitted in vCLI Connection Options will be performed.

-username username

Enter the name of a VIOM vCenter Server user account.

Specify a user with administrative privileges.

When omitted, the same operation as when "--username" is omitted in vCLI Connection Options will be performed.

-password password

Enter the password of the user account.

When omitted, the same operation as when "--password" is omitted in vCLI Connection Options will be performed.

-input file

Specify a storage information file.

For details on the file creation procedure, refer to "B.3 rcxadm config".

Specify a relative or absolute path.

Exit Status

This command returns the following values:

0

The command executed successfully.

1

An error has occurred.

Example

>perl vmfile_update.pl -input out.csv -username Administrator <RETURN> 
Enter password: