Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Operation Service Template Reference


5.2.2 Delete DP volume

Function

Deletes a specified virtual volume (DP volume) by using Hitachi Device Manager Software (hereafter called HDvM).

This plugin assumes the following servers:

• HDvM server

Server on which HDvM is installed.

• HDvM CLI server (Execution target server)

Server on which HDvM CLI is installed. The plugin is sent to this server by JP1/AO and then is executed.

Only in the case of a RAID storage system, the volume is formatted (normal formatting) before it is deleted.

Use situation

When you have deleted a virtual server, you use this plugin to delete the LU that stores the virtual server data. The related plugins are as follows:

• storageDeleteHostgroupLU

Prerequisites

For the latest support information about [Required product in the System]/[Required products on the execution target server]/[Prerequisite product OS running in the execution target server], see the release notes.

[Required product in the System]

Job Management Partner 1/Automatic Operation 10-50 or later

[Required products on the execution target system]

(1) The following product has been set up on the HDvM server.

• Hitachi Device Manager Software 07-00 or later

(2) As the storage system within the system, either of the following has been set up.

• Hitachi Adaptable Modular Storage 2000

• Hitachi Universal Storage Platform

• Hitachi Virtual Storage Platform

• Hitachi Unified Storage 100

• Hitachi Unified Storage VM

• Hitachi Virtual Storage Platform G1000

[Usage conditions for required products in the execution target system]

(1) The storage system is managed by Hitachi Device Manager Software.

(2) Operation target LUs and host groups have been created in the storage system.

[Required products on the execution target server]

• Hitachi Device Manager Software CLI 07-00 or later

[Prerequisite product OS running in the execution target server]

• Windows Server 2003, Standard Edition/Enterprise Edition (x86/x64) SP1 or later,Windows Server 2003 R2, Standard Edition/Enterprise Edition (x86/x64)

• Windows Server 2008 Standard/Enterprise (x86/x64),Windows Server 2008 R2 Standard/Enterprise/Datacenter

• Windows Server 2012 Standard/Datacenter,Windows Server 2012 R2 Standard/Datacenter

Execution privilege

(1) The user who will be connecting to HDvM must have the following permissions:

User with All Resources assigned as the resource group, and Modify permission granted

Version

01.13.00

Category

HCS/HDvM

Plug-in name displayed in the task log

storageDeleteLU2

Return code

0: Normal

21: Error (invalid environment) Command cannot be found (error detected in the plugin script)

27: Error (check task logs for the nature of error)

41: Error (error detected in plugin) Missing property (error detected in plugin script)

Property list

The following table lists the properties:

Property key

Property name

Description

Default value

I/O type

Required

HDvM.cliInstallPath

HDvM CLI installation path

Specify the HDvM CLI installation path.

--

Input

R

HDvM.httpType

Protocol for communication with HDvM

Specify either HTTP or HTTPS as the protocol to be used for communication with HDvM.

http

Input

R

HDvM.hostName

Host name of the HDvM server

Specify the host name or IP address of the HDvM server. IPv6 addresses are not supported.

--

Input

R

HDvM.portNumber

Port number for connecting to HDvM

Specify the port number for connecting to HDvM.

2001

Input

R

HDvM.userName

User name for connecting to HDvM

Specify the user name for connecting to HDvM.

System

Input

R

HDvM.password

Password for connecting to HDvM

Specify the password for connecting to HDvM.

manager

Input

R

HDvM.serialNumber

Serial number of the storage system

Specify the serial number of the target storage system.

--

Input

R

HDvM.family

Storage system's family name

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

--

Input

R

HDvM.deletionOption

DP volume deletion method

Specify "force" to delete the DP volume even if it is still linked to the DP pool.

--

Input

O

HDvM.arrayGroupName

Virtual parity group name (for USP only)

Specify the virtual parity group name in Xn-1 format (n: number).

--

Input

O

HDvM.devNumber

Device number for the DP volume

Specify a decimal number as the device number of the DP volume.

--

Input

O

plugin.destinationHost

Host name of the execution target server

Specify the host name or IP address of the server on which this plugin will be executed. IPv6 addresses are not supported.

--

Input

R

HDvM.familyText

Storage system family name (custom option)

Specifies the family name of the storage system that is not on the selection list of the HDvM.family property. If you specify this property, the value specified in the HDvM.family property is ignored.

--

Input

O

HDvM.luFormatOption

LU format requirement (custom option)

Specifies whether to format the LU before deleting it. Select "yes" to format it or "no" to not format it. This property is enabled only if a family name that cannot be specified by the HDvM.family property in the HDvM.familyText property is specified.

--

Input

R

common.returnValue

Return value for the plugin

The return value of this plugin stored.

--

Output

O