/RECOVER-VM-DEFINITION
recovers a VM definition, i.e. a VM definition is transferred from a remote Server Unit to the local Server Unit.
The remote Server Unit has to be in the same SU cluster as the local Server Unit. The remote Server Unit must not run. This check has to be done by the caller.
This command is reserved for the VM2000 administrator.
RECOVER-VM-DEFINITION |
VM-NAME = <name 1..8> ,SERVER-UNIT-NAME = *UNIQUE / <composed-name 1..64> |
VM-NAME = <name 1..8>
Name of the VM definition to be recovered from the remote Server Unit.
SERVER-UNIT-NAME =
Name of the Server Unit from which the VM definition is to be recovered.
SERVER-UNIT-NAME = *UNIQUE
If an SU cluster consists of only two Server Units, the remote SU is unique and chosen automatically. Otherwise, the name of the remote SU has to be specified.
SERVER-UNIT-NAME = <composed-name 1..64>
Name of the remote Server Unit.
In case of a remote SU /390, this is the BS2000 host name of the monitor system.
Command return codes
(SC2) | Main code | Meaning |
0 | CMD0001 | Command successfully executed |
Guaranteed messages
VMS2340
Example
/recover-vm-definition vm-name=g4ivn
VMS2340 DEFINITION OF VM 'G4IVN' RECOVERED FROM REMOTE SU 'D021ZE01'