Allocate Fabric Aware Volumes and Create Datastore for ESX Cluster: Service details

Ops Center Automator User Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99AUT001-22

The Allocate Fabric Aware Volumes and Create Datastore for ESX Cluster service template enables you to allocate volumes to VMware ESX cluster hosts, configure zoning, and create a VMware datastore under a datastore cluster.

The following service template details apply to the Allocate Fabric Aware Volumes and Create Datastore for ESX Cluster service template.

Software and setup prerequisites

For software and setup prerequisites, see Service template prerequisites.

Edit Service settings

The following table lists the Edit Service settings for the Allocate Fabric Aware Volumes and Create Datastore for ESX Cluster service template.

Navigation pane Settings pane Description
Target ESX Cluster vCenter Connection Specify a vCenter Server that is registered as a Web Service Connection in the Administration Tab.
ESX Cluster Specify the ESX Cluster name.
Perform LIP Reset Perform LIP reset on the ESX host.

If you enable LIP Reset, you must also register agentless remote connection settings for each ESX Server.

ESX Prompt Pattern Specifies the command prompt pattern to use when running esxcli on the ESX server. You do not need to specify this if "Perform LIP Reset" is disabled.
Target Storage Configuration Manager Connection Select the Configuration Manager server which is registered as a Web Service Connection in the Administration Tab.
Storage System Select a storage system.
Resource Group Specify the resource group from which resources are used (for example LDEV ID and host group ID). You must specify the resource group for VSM when allocating volumes in VSM.
Virtual Model Select the Virtual Model associated with VSM.

This is needed when allocating volumes to VSM. This field is inactive when the Virtual Storage System ID is 0 in the Resource Group.

Virtual Serial Number Specify the Virtual Serial Number associated with VSM when allocating volumes in VSM.
Port Selection Select the storage port selection criteria:
  • "Smaller number of hosts": Select the port with the smallest registered WWN. (Default value)
  • "Smaller number of volumes": Select the port with the smallest registered LUN.
Resource Criteria Storage Port Specify the Storage Port Configuration Expressions (Name and Value) that meets the specified criteria (Equals, Not Equals, Starts with, and Ends with) based on the selected condition (All or Any).
Volume Settings Number of Volumes Specify the number of volumes to create.
LDEV ID Starts From Specify the starting LDEV ID as a hexadecimal number for the volume to allocate.
Volume Capacity Specify the volume capacity.
Pool Shows a table from which you can choose the pool.
Volume Label Specify the volume label.
LUN Starts From Specify the starting logical unit number assigned to the volume for a host.
Virtual LDEV ID Starts From Specify the starting Virtual LDEV ID as a hexadecimal number for the volume to allocate.
Host Group Settings Script for Host Group Naming Specify a naming rule for the Host Group name as a script.
Host Mode Specify the host mode.
Host Mode Options Specify the host mode options.
Fabric Settings Use Fabric Settings Determines whether to use fabric information from the FC switch manager services for LUN path selection.
Connections Specify the connection for the FOS_PrimarySwitch defined in the Web Service Connections on the Administration tab. If this value is omitted, the system uses all connections that are defined for the product name listed in the Web Service Connections.
Target Fabrics Specify the fabric name. Separate multiple values by commas. If omitted, all fabrics defined as the FOS_PrimarySwitch specified in Connections will be used.
Use Existing Zone Specify whether to select a predefined zone or any connectable path. If you specify True, the system selects paths within the range of the existing Zone setting. If you specify False, the system selects connectable paths regardless of the existing Zone setting.
Use Active Zone Only Specify whether to use the active zone only if Use Existing Zone is true. Specifying True selects paths with an active Zone setting only. Specifying False selects connectable paths including those with an inactive Zone setting.
Num. of Hops Restriction Determines whether restrict path selection to within an assigned number of hops. When this property enabled, the service will fail if there is no path that matched the specified collection range.
Maximum Num. of Hops Specify the maximum number of hops when "Num. of Hops Restriction" is set to True.
Zone Settings Update Zone Configurations Specify whether to add or create zones.
Use Existing Zone Aliases Specify whether to update existing zone alias.
Update Current Active Zone Configuration Determines whether to use Zone Active configuration when adding or creating a zone.
Zone Configurations to Update Specify a range of zones in which zones are created when "Update Current Active Zone Config" is False.
Interval for each Fabric Settings Specify the wait time in minutes between configuring fabrics.
Script for Zone Naming Enables zone naming using javascript.
Script for Host Zone Alias Naming Enables naming of the Host Zone Alias for host WWNs using javascript.
Script for Storage Zone Alias Naming Enables naming of the Storage Zone Alias for storage ports using javascript.
Datastore Settings Datastore Cluster Name Select a Datastore Cluster name.
Datastore Name Prefix Specify the prefix of the Datastore name. A 4-digit sequential number is automatically added after the prefix.
VMFS Version Specify the VMFS version of the Datastore.
Block Size Specify the block size of the Datastore.
Storage I/O Control Specify whether to enable storage I/O control of the Datastore.
Threshold Type Specify the type of threshold, either "Latency Threshold" or "Throughput Threshold".
Threshold Value Specify the value of the threshold.
Notification Settings To Addresses Specify the To email addresses. Use a comma to separate multiple addresses.
Cc Addresses Specify the Cc email addresses. Use a comma to separate multiple addresses.
Subject Specify the email subject.
Body Specify the email body.
Response Input Dialog Box Specify HTML or text in the Response Entry dialog box. To change a service property value in the Response Entry dialog box, specify the property key for the "name" attribute of an input tag (<input>) or a select tag (<select>).

Submit Service Request settings

The following table lists the Submit Service Request settings for the Allocate Fabric Aware Volumes and Create Datastore for ESX Cluster service template.

Navigation pane Settings pane Description
Target ESX Cluster vCenter Connection Specify a vCenter Server that is registered as a Web Service Connection in the Administration Tab.
ESX Cluster Specify the ESX Cluster name.
Target Storage Configuration Manager Connection Select the Configuration Manager server which is registered as a Web Service Connection in the Administration Tab.
Storage System Select a storage system.
Resource Group Specify the resource group from which resources are used (for example LDEV ID and host group ID). You must specify the resource group for VSM when allocating volumes in VSM.
Virtual Model

Select the Virtual Model associated with VSM.

This is needed when allocating volumes to VSM. This field is inactive when the Virtual Storage System ID is 0 in the Resource Group.

Virtual Serial Number Specify the Virtual Serial Number associated with VSM when allocating volumes in VSM.
Port Selection

Select the storage port selection criteria:

  • "Smaller number of hosts": Select the port with the smallest registered WWN. (Default value)
  • "Smaller number of volumes": Select the port with the smallest registered LUN.
Resource Criteria Storage Port Specify the Storage Port Configuration Expressions (Name and Value) that meets the specified criteria (Equals, Not Equals, Starts with, and Ends with) based on the selected condition (All or Any).
Volume Settings Number of Volumes Specify the number of volumes to create.
LDEV ID Starts From Specify the starting LDEV ID as a hexadecimal number for the volume to allocate.
Volume Capacity Specify the volume capacity.
Pool Shows a table from which you can choose the pool.
Volume Label Specify the volume label.
LUN Starts From Specify the starting logical unit number assigned to the volume for a host.
Virtual LDEV ID Starts From Specify the starting Virtual LDEV ID as a hexadecimal number for the volume to allocate.
Host Group Settings Script for Host Group Naming Specify a naming rule for the Host Group name as a script.
Host Mode Specify the host mode.
Host Mode Options Specify the host mode options.
Fabric Settings Connections Specify the connection for the FOS_PrimarySwitch defined in the Web Service Connections on the Administration tab. If this value is omitted, the system uses all connections that are defined for the product name listed in the Web Service Connections.
Target Fabrics Specify the fabric name. Separate multiple values by commas. If omitted, all fabrics defined as the FOS_PrimarySwitch specified in Connections will be used.
Use Existing Zone Specify whether to select a predefined zone or any connectable path. If you specify True, the system selects paths within the range of the existing Zone setting. If you specify False, the system selects connectable paths regardless of the existing Zone setting.
Use Active Zone Only Specify whether to use the active zone only if Use Existing Zone is true. Specifying True selects paths with an active Zone setting only. Specifying False selects connectable paths including those with an inactive Zone setting.
Num. of Hops Restriction Determines whether restrict path selection to within an assigned number of hops. When this property enabled, the service will fail if there is no path that matched the specified collection range.
Connections Specify the connection for the FOS_PrimarySwitch defined in the Web Service Connections on the Administration tab. If this value is omitted, the system uses all connections that are defined for the product name listed in the Web Service Connections.
Maximum Num. of Hops Specify the maximum number of hops when "Num. of Hops Restriction" is set to True.
Zone Settings Update Zone Configurations Specify whether to add or create zones.
Use Existing Zone Aliases Specify whether to update existing zone alias.
Update Current Active Zone Configuration Determines whether to use Zone Active configuration when adding or creating a zone.
Zone Configurations to Update Specify a range of zones in which zones are created when "Update Current Active Zone Config" is False.
Interval for each Fabric Settings Specify the wait time in minutes between configuring fabrics.
Script for Zone Naming Enables zone naming using javascript.
Script for Host Zone Alias Naming Enables naming of the Host Zone Alias for host WWNs using javascript.
Script for Storage Zone Alias Naming Enables naming of the Storage Zone Alias for storage ports using javascript.
Datastore Settings Datastore Cluster Name Select a Datastore Cluster name.
Datastore Name Prefix Specify the prefix of the Datastore name. A 4-digit sequential number is automatically added after the prefix.
VMFS Version Specify the VMFS version of the Datastore.
Block Size Specify the block size of the Datastore.
Storage I/O Control Specify whether to enable storage I/O control of the Datastore.
Threshold Type Specify the type of threshold, either "Latency Threshold" or "Throughput Threshold".
Threshold Value Specify the value of the threshold.
Notification Settings To Addresses Specify the To email addresses. Use a comma to separate multiple addresses.
Cc Addresses Specify the Cc email addresses. Use a comma to separate multiple addresses.
Subject Specify the email subject.
Body Specify the email body.
Response Input Dialog Box Specify HTML or text in the Response Entry dialog box. To change a service property value in the Response Entry dialog box, specify the property key for the "name" attribute of an input tag (<input>) or a select tag (<select>).

Zone naming conventions

The following table lists the zone naming conventions for use with the Allocate Fabric Aware Volumes and Create Datastore for ESX Cluster service template.

Type Zone name Zone alias name (Host side/Storage side)
Input One object has the following properties:
  • hostName: Host name
  • hostPortWorldWideName: WWN of HBA. Separator notation is based on FC switch manager services.
  • storagePortWorldWideName: WWN of CHA. Separator notation is based on FC switch manager services.
  • storageSystemSerialNumber: Serial number of physical storage system
  • storagePortName: Display port name of the storage system
  • serviceProperties: List of the service properties passed to the plug-in
Output Zone name to add to the specified Zone Configuration. Zone alias name to add to the zone specified in the Zone name convention.
Handling when the output is the same name Same zone name of the same fabric refers to the same zone.

In the case of an existing zone: Add an alias in the zone and add to the Zone Configuration.

null: Do not create a zone.

Same zone alias name of the same fabric refers to the same alias.

In the case of an existing alias: Add WWN in the alias and add to the Zone.

null: Do not create an alias.

Handling when unavailable characters are used for output Characters other than alphanumeric characters and "_" are converted to "_" and become part of the name.
If the output string is too long When the output string is over 60 characters, the 61st and subsequent characters are truncated. When the output string is over 64 characters or more, the 65th and subsequent characters are truncated.
Validation An error occurs if the return value is one of following:
  • Other than String
  • When starting from non-alphabetic characters.
  • When having a non-standard prefix for the zone. ("LSAN_","TI_", "QOS[HML][0-9]+_")(case ignored)
An error occurs if the return value is one of following:
  • Other than String
  • When starting from non-alphabetic characters.