EMC VMAX – Notes On Setting FA Port Flags For VMware
When configuring a VMAX for ‘VMware ESX’ connectivity, I will always firstly consult the ‘EMC Simple Support Matrix – EMC Symmetrix VMAX Series Director Bit Settings’ found here for the […]
Virtualization & Storage
When configuring a VMAX for ‘VMware ESX’ connectivity, I will always firstly consult the ‘EMC Simple Support Matrix – EMC Symmetrix VMAX Series Director Bit Settings’ found here for the […]
When configuring a VMAX for ‘VMware ESX’ connectivity, I will always firstly consult the ‘EMC Simple Support Matrix – EMC Symmetrix VMAX Series Director Bit Settings’ found here for the latest listing of port settings required. Below I will list the relevant VMware flags to be enabled on the Director FA ports which have ESX Host’s zoned:
♦ ACLX – Allows Initiator Group/Access Logix function on the port.
♦ Common Serial Number (C) – When enabled, this flag causes the serial number of a specific volume to be the same regardless of the port on which it is visible and also allows multi-path configurations.
♦ Unique WWN (UWN) – When enabled, ensures unique World Wide Names (WWNs) within the fibre environment by incorporating Symmetrix serial numbers and port numbers for each WWN. Enabled by default for all environment configuration changes and new environments.
♦ Init Point to Point (PP) – Specifies a point-to-point (direct or switched) topology.
♦ Enable Auto Negotiate (EAN) – With EAN enabled this allows the FA port to Auto Negotiate the port speed with the switch port it is connected to.
♦ SCSI-3 Interface (SC3) – SC3 provides SCSI-3 (Full range of SCSI-3 commands) support for the ESX hosts. Also note that SC3 is required for Linux VM’s with RDM’s attached.
♦ SCSI Support1 (OS2007) – OS2007 enables automatic discovery of newly created LUNs/Paths. When Enabled, this flag provides a stricter compliance with SCSI standards for managing device identifiers, multi-port targets, unit attention reports, and the absence of a device at LUN 0. If using VPLEX 5.2 and higher, the OS2007 flag MUST be enabled.
♦ SCSI Primary Commands (SPC2) – This Flag is required in order for the FA port to conform to industry standards resulting in an NAA identifier being used for the LUNs presented to the ESX hosts. To change the status the Port must be offline.
Note: These Flags may already be enabled by default for the associated Director Ports and no additional configuration change is required. Consulting the ESM for default settings will verify this.
FA Port Settings from Factory Bin File:
Green = Enabled
Yellow = Disabled
Setting director port attributes via Unisphere:
1. Select the Symmetrix system.
2. Select System > Dashboard.
3. From the Hardware panel, click Front End Directors to open the Front End Directors list view.
4. Select the director, and click Set Port Attributes to open the Set Port Attributes dialog box.
5. Optional:Select a port whose flag settings you want to copy.
VIA SYMCLI to enable flags on FA Port 1F:1, create a text file as per the following example:
symconfigure -sid xxxx -file c:\file.txt
where file.txt has the following contents:
set port 1F:1 Common_Serial_Number=enable, SCSI_3=enable, SPC2_Protocol_Version=enable, SCSI_Support1=enable;
View 1F:1 Port configuration include -v in order to view the Flag settings:
symcfg -sid xxxx list -fa 1F -p 1 -v
List all Ports:
symcfg -sid xxxx list -v -dir all
While all the port flags described above can be set at a Director Port level, in some cases you may not want the enabled flags to affect different host types connected to the Port such as Linux or Windows, in this case it may be a better option to set the Flags at an Initiator Group level. By enabling the relevant host type Flag settings at the Initiator Group level you are only affecting the ESX Hosts included in the Initiator Group.
The Initiator Group VMware Specific flags are : C, SC3, OS2007, SPC2
In this way the flag settings for the initiator group override flag settings on the port itself, thus allowing for the port to be shared by servers with differing flag requirements.
To set the required flags at an IG level use the following symaccess cmd:
symaccess -sid xxxx -type initiator -name IGName set ig_flags on C,OS2007,SC3,SPC2
There is also an option to set the Flags at the host initiator (WWN) level. For example setting the flags on a host initiator connected to port 1F:1 then use the following symmask commands:
symmask -sid xxxx -wwn xxxxxxxxxxxxx -dir 1F -p 1 set hba_flags on C,OS2007,SC3,SPC2 -enable
symmask refresh
To display what director flags have been configured per host initiator:
symmaskdb -sid xxxx list database -v
Note: If there is a requirement to enable SPC-2 in a live VMware environment then please reference EMC Support material; as doing so may result in a LUN UUID change, depending on the version of VMware. One such solution to overcome this problem was to create a new path and datastore then perform an svmotion. Also changing the OS2007, SPC2, SC3 FA flags then the hosts affected by these changes will require a reboot as the SCSI protocols in use will have changed at the FA level and the HBA needs to reinitialize communication with the FA.
Ramblings by Keith Lee
Discussions about all things VxRail.
Random Technology thoughts from an Irish Virtualization Geek (who enjoys saving the world in his spare time).
Musings of a VMware Cloud Geek
Converged and Hyper Converged Infrastructure
'Scamallach' - Gaelic for 'Cloudy' ...
Storing data and be awesome
Best Practices et alia
Every Cloud Has a Tin Lining.
Wonderful article. Very valuable./ Thanks Dave
simple and very well explained
very useful document