ViPR 2.2 naming variables and functions

ViPR variables and functionsBy default, ViPR creates resources (such as zones and masking views) using global hard-coded naming convention. From ViPR C v2.2 we can override the default and provide our own naming convention for some types of resources.

The table below contains detailed description of variables and functions used for naming customisation.

Note: Custom naming convention applies to all new instances of the resource. It does not rename existing instances.

For reference: http://www.emc.com/techpubs/vipr/customize_resource_names-1.htm
Variables marked with an asterisk (*) are recommended for uniqueness.
Name Sample Description Default systax Example of default naming
SAN Zoning SDS_{host_name.FIRST(32)}_{hba_port_wwn.REPLACE(“:”, “”).LAST(12)}_{array_serial_number.LAST(4)}_{array_port_name.REPLACE(“_|-“, “”).LAST(9)} SDS_xyz015companycom_009DFA344CEE_6789_FA10E0
hba_port_wwn * 10:00:00:90:FA:34:4C:EE The initiator port WWN
hba_name hba01 The initiator port name
array_port_wwn * 50:00:09:73:00:18:95:24 The array port WWN
array_port_name FA-10E:0 The array port name
host_name xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
vsan/fabric fid3100 Vsan/Fabric
array_serial_number 123456789 The array serial number
array_type vmax The array type
VMAX Host Masking View Name {host_name.FIRST(60)}_{array_serial_number.LAST(3)} hyz015companycom_789
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Cluster Masking View Name {cluster_name.FIRST(60)}_{array_serial_number.LAST(3)} clusterABC_789
host_name xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name * clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Host Storage Group Name ({host_name.FIRST(20)}_{array_serial_number.LAST(3)}_SG_{auto_tiering_policy_name.LAST(16)}_{host_IO_limit_bandwidth.FIRST(8)}_{host_IO_limit_iops.FIRST(10)}).REPLACE(“__”, “_”).TRIM(“_”) hyz015companycom_789_SG_FAST_bw100_iops2000
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name clusterABC The cluster name
auto_tiering_policy_name FAST The auto tiering policy name
host_IO_limit_bandwidth bw100 The host IO limit bandwidth
host_IO_limit_iops iops2000 The host IO limit IOPS
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Cluster Storage Group Name ({cluster_name.FIRST(20)}_{array_serial_number.LAST(3)}_SG_{auto_tiering_policy_name.LAST(16)}_{host_IO_limit_bandwidth.FIRST(8)}_{host_IO_limit_iops.FIRST(10)}).REPLACE(“__”, “_”).TRIM(“_”) clusterABC_789_SG_FAST_bw100_iops2000
host_name xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name * clusterABC The cluster name
auto_tiering_policy_name FAST The auto tiering policy name
host_IO_limit_bandwidth bw100 The host IO limit bandwidth
host_IO_limit_iops iops2000 The host IO limit IOPS
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Host Cascaded Storage Group Name {host_name.FIRST(56)}_{array_serial_number.LAST(3)}_CSG hyz015companycom_789_CSG
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Cluster Cascaded Storage Group Name {cluster_name.FIRST(56)}_{array_serial_number.LAST(3)}_CSG clusterABC_789_CSG
host_name xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name * clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Host Initiator Group Name {host_name.FIRST(57)}_{array_serial_number.LAST(3)}_IG hyz015companycom_789_IG
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Cluster Initiator Group Name {cluster_name.FIRST(56)}_{array_serial_number.LAST(3)}_IG clusterABC_789_IG
host_name xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name * clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Host Cascaded Initiator Group Name {host_name.FIRST(56)}_{array_serial_number.LAST(3)}_CIG hyz015companycom_789_CIG
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Cluster Cascaded Initiator Group Name {cluster_name.FIRST(56)}_{array_serial_number.LAST(3)}_CIG clusterABC_789_CIG
host_name xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name * clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Host Port Group Name {host_name.FIRST(57)}_{array_serial_number.LAST(3)}_PG hyz015companycom_789_PG
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
Cluster Port Group Name {cluster_name.FIRST(57)}_{array_serial_number.LAST(3)}_PG clusterABC_789_PG
host_name xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name * clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
VNX Storage Group Name ({cluster_name.FIRST(19)}_{host_name.FIRST(40)}_{array_serial_number.LAST(3)}).TRIM(“_”) clusterABC_xyz015companycom_789
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
VPLEX Storage View Name (V{vplex_cluster_number}_{cluster_name}_{host_name.FIRST(57)}_{array_serial_number.LAST(3)}).REPLACE(“__”, “_”) V1_clusterABC_xyz015companycom_789
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
host_type Windows The host type
cluster_name * clusterABC The cluster name
array_serial_number * 123456789 The array serial number
array_type vmax The array type
vplex_cluster_number * 1 VPlex cluster number
XtremIO Volume Folder Name {project_name} AbcApp
project_name * AbcApp The project name
array_serial_number 123456789 The array serial number
Initiator Group Name {host_name} xyz015companycom
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
array_serial_number 123456789 The array serial number
Host Initiator Group Name {host_name} xyz015companycom
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
cluster_name * clusterABC The cluster name
array_serial_number 123456789 The array serial number
Cluster Initiator Group Name {cluster_name} clusterABC
cluster_name * clusterABC The cluster name
array_serial_number 123456789 The array serial number
HDS Host Group Name ({cluster_name.FIRST(19)}_{host_name.FIRST(40)}_{array_serial_number.LAST(3)}).TRIM(“_”) clusterABC_xyz015companycom_789
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
cluster_name clusterABC The cluster name
array_serial_number * 123456789 The array serial number
Host Group Nickname {host_name.FIRST(27)}_{hds_storage_port_number.FIRST(4)} xyz015.company.com_12
host_name * xyz015.company.com The DNS name of the host
host_assigned_name xyz015 The host assigned name in ViPR
array_serial_number 123456789 The array serial number
hds_storage_port_number * 12 The HDS storage port number

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s