Professional Documents
Culture Documents
EMC Symmetrix disk array configuration in Common Serial Number Mode [C-bit setting]
Solution
Dynamic Multi-Pathing (DMP) works with the EMC Symmetrix disk array only if the disk array is
configured in the Common Serial Number Mode [C-bit set]. Without this mode, DMP cannot
provide multipathing functionality.
Until EMC Symmetrix started supporting devices above FFF, if digits 6 to 8 of the EMC
Symmetrix disk serial number are zeroed out then the C-bit is set and the array is configured in
the Common Serial Number Mode as required by DMP. But after EMC Symmetrix started
supporting devices above FFF, they used the last bit to set it to 8 to represent a device above
0xFFF. This "8" is added with a logical "OR" operation so that you device would end with 378
(370 or 008) on port 7dA and 3A8 (3A0 or 008) on port 10dA.
With the "C" bit, the serial number must be identical (common) on all the ports. The "8" remains
to represent a device above 0xFFF, the the rest is set to 0. 000 or 008 = 008.
The disk serial number can be obtained with various commands including the VERITAS
vxdmpinq, vxdmpdebug command or the vxexplorer output.
/etc/vx/diag.d/vxdmpinq /dev/rdsk/c3t12d15s2
Vendor id : EMC
Product id : SYMMETRIX
Revision : 5266
Serial Number : 1004E000a
or
/etc/vx/diag.d/vxdmpinq /dev/rdsk/c3t5006048C52A820D6d766s2
Inquiry for /dev/rdsk/c3t5006048C52A820D6d766s2, evpd 0x0, page code 0x0
Vendor id : EMC
Product id : SYMMETRIX
Revision : 5772
Serial Number : 273E2008a
The serial number above shows that digits 6-8 are zeroed out. The array is setup in Common
Serial Number Mode as required by DMP.
DMP needs to see identical device serial numbers from each path.
If the C-bit is not set then DMP sees multiple disks of the same device through different paths.
If the C-bit is set then DMP sees one unique disk device through multiple paths.
The layout for the EMC Symmetrix disk serial number is:
1004E000a (or) 273E2008a
SSVVVDDPx
Note: If the C-bit is not set, data on an existing disk can easily be wiped out by disk operations
to the other path which appears like a different disk all together. Setting the C-bit nulls out digits
6 through 8 of the serial number.
Consult the Storage Foundation Hardware Notes for a complete list of DMP pre-requisites
regarding EMC Symmetrix arrays.
Legacy ID
325308
1. 1. What are the "port flags" settings for 5875 Enginuity and what do they mean?
Port flags in Enginuity are used to set behavior that enables a connected server/operating system
combination to work with the Symmetrix port (seen as a disk drive to the server) and to optimize
the operation of that server and “disk” combination. Symmetrix VMAX with 5875 is delivered
with the correct default port flag settings for most users so that few or no changes will be needed
during installation of the new system.
EMC strives to make setup and operation of our products as simple and easy as possible. We
believe that Enginuity 5875 for VMAX is delivered to you with correct default port flag settings
for most users and that few or no changes will be needed during installation of your new system.
Here is a summary of the default flag settings for the most popular operating systems. and
changes required by some of those operating systems.
2. What Servers can connect to 5875 Enginuity without changing Port Flags?
Operating Environment Port Settings
EMC Celerra Enable 'ARB' and 'D' flags
IBM AIX 5875 Defaults, Unchanged
INM i Enable 'AS4' flag
LINUX Enable 'D' flag
Hewlett-Packard OpenVMS Enable 'OVMS' flag
Hewlett-Packard True64 Enable 'OVMS' flag, Disable 'SC3 flag
Hewlett-Packard HP-UX 11i V1 Enable 'V' flag, Disable 'SC3' and 'OS07'
&V2 flag
Hewlett-Packard HP-UX 11i V3 Enable 'V' flag, Disable 'SC3'
Microsoft Windows Server 2008 5875 Defaults, Unchanged
Microsoft Windows Server 2003 5875 Defaults, Unchanged
Oracle Solaris 5875 Defaults, Unchanged
VMware ESX 5875 Defaults, Unchanged
Using Fujitsu (formerly Siemens), Novell Netware or Teradata systems, please look at the
support matrix at EMC.com for specific recommendations.
Use of Clusters can impact port flag settings. Please look at ELab's Host Connectivity Guide of
the particular operating system for information for details of a cluster's required port flag
settings.
Script behavior can change based upon these new 5875 default Port Flag settings. Existing
scripts should be tested to ensure port flag settings and scripts are compatible.
Your VMAX is set to operate with the ACLX flag ENABLED, which enables masking of
specific devices to specific ports on the array. Note that user must still provision ACLX volumes
to enable hosts management via Solution Enabler.
The OS07 flag, ENABLED by default, can generate warnings (I/O retry) on Solaris, OpenVMS,
and some other hosts. Some high performance or sensitive applications may be degraded by the
additional retry. EMC believes we support the SCSI standard correctly, and retries should not
occur, but that said, it can happen on some systems. Such environments should DISABLE this
flag. Although the OS07 flag is on by default, specifically for VMWARE ESX this setting may
need to be disabled.
Note: that if you DISABLE the OS07 flag and wish to re-ENABLE it, you must be sure that
theSPC2 flag is ENABLED first. Also note that the SPC2 flag value should not be changed from
DISABLED to ENABLED on installed servers as it changes the disk name utilized by the server
and the disks will no longer be visible to that server.
If SCSI-3 persistent device reservation bit (“PER”) is used (note that this flag is assigned to
devices and not to ports and so is not covered by this document), then the SC3 bit should be set.
Please refer to the Elab Host Connectivity Guide for documentation on the platforms that can
utilize the SCSI-3 reservation bit.
For additional information regarding to port flags, specific flags for a given server, impacts of
changing flags and any other known issues, please go to EMC.com and search PRIMUS for
additional port flag information.
5. How did 5875 Enginuity Port Flag Defaults Change from earlier releases?
The following is the table of default settings for the commonly set flags for 5875 Enginuity
versus other recent Enginuity releases:
Flags come in two types. The first type are flags set only on the array’s storage port. These flags
affect the connectivity behavior of all servers connected to that port. The second type of flags
can be set per storage port or initiator group, a group defined on the array as one or more
initiators (HBAs) for a given server. With this type, the flags settings for the initiator group
override, for the group, the settings on the port itself. In this way, a port can be shared by servers
with different flag requirements.
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:
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.
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
$ symmaskdb -sid <####> list database -v -wwn <HBA port pWWN> (e.g 10000000c951c57c)
$ symcfg list -sid 0426 -v -dir all | grep -E "[a-zA-Z1_ ]+\(.*\)" | grep abled | sort | uniq
Auto_Negotiate(EAN) : Disabled
Auto_Negotiate(EAN) : Enabled
Avoid_Reset_Broadcast(ARB) : Disabled
Common_Serial_Number(C) : Enabled
Disable_Q_Reset_on_UA(D) : Enabled
Environ_Set(E) : Disabled
HP3000_Mode(B) : Disabled
Init_Point_to_Point(PP) : Enabled
Negotiate_Reset(N) : Disabled
Non_Participating(NP) : Disabled
OpenVMS(OVMS) : Disabled
SCSI_Support1(OS2007) : Disabled
SPC2_Protocol_Version(SPC2) : Disabled
Sequent(SEQ) : Disabled
Siemens(S) : Disabled
Soft_Reset(S) : Disabled
Sunapee(SCL) : Disabled
Unique_WWN(UWN) : Enabled
VCM_State(VCM) : Enabled
Volume_Set_Addressing(V) : Disabled
Volume_Set_Addressing(V) : Enabled
Device Masking (VCM) Config State : Enable