Hitachi

JP1 Version 12 JP1/Automatic Operation Service Template Reference


3.2.2 Usage example of Migrate Virtual Machine service template

This section provides assumed system configurations and examples of properties to be specified when using the Migrate Virtual Machine service template.

This template allows you to use vMotion to move a virtual server to another instance of VMware vSphere ESXi (or VMware ESX Server).

Assumed system configuration

This service template assumes the following system configuration:

Web browser

A terminal used to operate JP1/AO. The user uses this terminal to set property values in the service template.

IT operation automation server

A server with JP1/AO and JP1/Base installed.

vCenter operation server

A server with VMware vSphere Power CLI installed.

vCenter server

A server with VMware vCenter Server installed.

ESX server

A server with VMware vSphere ESXi (or VMware ESX Server) installed. This server manages the virtualization server.

Virtual server

A virtual server managed by the ESX server. The Migrate Virtual Machine service template moves this virtual server.

Figure 3‒2: System configuration assumed for the Migrate Virtual Machine service template

[Figure]

Processing flow

  1. A user enters property values in the Web browser and submits the service for execution.

  2. The IT operation automation server executes automated processing on the vCenter operation server.

  3. The target virtual server is migrated from the ESX01 server to the ESX02 server.

    If the virtual server is on, a hot migration (migration with the power on) is performed. If the virtual server is off, a cold migration (migration with the power off) is performed.

Example of specifying property values

To use the Migrate Virtual Machine service template, a user must specify the appropriate property values for the user environment. Specify the property values in the Service Definition window and the Submit Service window.

Table 3‒3: Example of property values specified in the Service Definition window (Migrate Virtual Machine)

Property group

Property name

Property key

Description

Specification example

Storage information

DP volume (LU) capacity (in GB)

hdvm.hdvmCapacity

Specify the capacity of the DP volume (LU) in GB.

100

DP volume (LU) device number

hdvm.hdvmDevNumber

Specify the device number of the DP volume (LU) as a decimal.

1001

ID of DP pool

hdvm.hdvmPoolId

Specify the pool ID of the pool to be linked with the volume(LU) you are creating.

10

Path port name

hdvm.hdvmPathPortName

Specify the port name of the path to the DP volume (LU).

CLT0-A

Host group ID

hdvm.hdvmDomainId

Specifies the ID, in decimal or hexadecimal, of the host group where the DP volume (LU) is to be added. In the case of hexadecimal, the prefix "0x" must be used.

123

LU number (LUN)

hdvm.hdvmLun

Specify the LU number (LUN).

127

Virtual environment information

ESX server name

vmware.vmHostName

Specify the ESX server name to be displayed in the Hosts and Clusters inventory view managed by VMware vCenter server.

ESXhost

Datastore name

vmware.dataStoreName

Specify the datastore name.

datastore

HBA name

vmware.hbaName

Specify the name of the preferred HBA, in the format displayed for the runtime name of the storage adapter in VMware vCenter Server. For example: vmhba0

hba

Table 3‒4: Example of property values specified in the Submit Service window (Migrate Virtual Machine)

Property group

Property name

Property key

Description

Specification example

Virtual server information

Virtual server name(s)

vmware.foreachVmName

Specify the virtual server name or names. Specify server names as they appear in VMware vCenter Server, not by host name. Separate multiple virtual servers with commas. The maximum number of virtual servers you can specify is 99.

host01

Virtual server destination

vmware.destinationName

Specify the name of the destination VMware vSphere ESXi (or VMware ESX Server), resource pool, cluster, or folder.

ESX02