Hitachi

JP1 Version 12 JP1/Automatic Operation Service Template Reference


3.2.1 Usage example of Create Datastore on VMware vSphere service template

This section provides assumed system configurations and examples of properties to be specified when using the Create Datastore on VMware vSphere service template.

By using this service template, you can create a DP volume on a storage system or a data store on 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.

HDvM CLI server

A server with Hitachi Device Manager Software CLI installed.

HDvM server

A server with Hitachi Device Manager installed.

Storage system

A storage system managed by Hitachi Device Manager.

ESX server

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

Figure 3‒1: System configuration assumed for the Create Datastore on VMware vSphere 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 automatic processing on the HDvM CLI server and the vCenter operation server.

  3. The HDvM CLI server creates one DP volume on the storage system.

  4. The HDvM CLI server registers the created volume in the host group of the ESX server.

  5. The vCenter operation server allows the ESX server to recognize the added H-LUN.

  6. The vCenter operation server adds the data store to the ESX server.

  7. From the vCenter operations server, set the FC path to the added data store to Preferred.

Example of specifying property values

To use the Create Datastore on VMware vSphere 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‒1: Example of property values specified in the Service Definition window (Create Datastore on VMware vSphere)

Property group

Property name

Property key

Description

Specification example

Virtual system environment information

Host name of Device Manager CLI server

hdvm.targetHost

Specify the host name or IP address of the server where Device Manager CLI is installed. You cannot specify an IPv6 address.

storagehostCL

Installation path of Device Manager CLI

hdvm.cliInstallPath

Specify the installation path of Device Manager CLI.

C:\HDVM

Protocol for HDvM communication

hdvm.hdvmProtocol

Specify the protocol (http or https) to use when connecting to Device Manager server.

http

HDvM server host name

hdvm.hdvmHostName

Specify the host name or IP address of the Device Manager server.

storagehostM

Port number for HDvM connection

hdvm.hdvmPortNumber

Specify the port number used to connect to the Device Manager server.

2001

User name for HDvM connection

hdvm.hdvmUserName

Specify the user ID to use when connecting to Device Manager server.

System

Password for HDvM connection

hdvm.hdvmPassword

Specify the password to use when connecting to Device Manager server.

password

Host name of VMware vCenter control server

vmware.targetHost

Specify the host name or IP address of the server (a server with vSphere PowerCLI installed) that will be used to control VMware vCenter. You cannot specify an IPv6 address.

Vspcli

VMware vCenter server name

vmware.vCenterServerName

Specify the host name or IP address of the VMware vCenter server. You cannot specify an IPv6 address.

Vcenterhost

User name for VMware vCenter Server connection

vmware.userName

Specify the user name to use when connecting to the VMware vCenter server.

User01

Password for VMware vCenter Server connection

vmware.password

Specify the password to use when connecting to the VMware vCenter server.

password

Protocol for VMware vCenter Server connection

vmware.protocol

Specify the protocol to use when connecting to the VMware vCenter server.

https

Storage information

Storage system serial number

hdvm.hdvmSerialNumber

Specify the serial number of the target storage system.

123456789

Storage system family

hdvm.hdvmArrayFamily

Specify the family name of the storage system. You can specify AMS, USP_V, USP_VM, VSP, HUS, HUS VM, or VSP G1000.

AMS

Table 3‒2: Example of property values specified in the Submit Service window (Create Datastore on VMware vSphere)

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