Connectrix: Cisco DCNM web UI not correctly displaying proper enclosure names and all storage ports
Summary: Connectrix: Cisco: DCNM web UI not displaying or resolving proper enclosure names in one fabric, not listing all storage ports under the same storage device in display.
Symptoms
Symptom 1: Hosts displaying links to each individual array port, but not seeing all the array ports under a single enclosure name in the web UI.
Symptom 2: peer fabric shows correctly, the same hosts and storage show a single enclosure for the storage ports.
Symptom 3: customer uses device-aliases with this general patter or syntax:
pr-xio0001-X*-SC*_target*(where * is a number)
Cause
DCNM needs adjustment to the device alias enclosure creation expression in server.properties.
Resolution
To resolve, follow these steps:
-
In web UI, edit the server.properties file for a list of regular expressions for alias->enclosure creation as follows.
Note: This is adding a new expression to meet the device alias syntax the customer is using:Original entry:
# ALIASES # # Use FC Zone Aliases instead of Device Aliases: fabric.fcalias=false # Automatically construct alias from WWN where none exists: # (No switch config performed.) fabric.autoAlias=true # List of Regular Expressions for alias->enclosure creation: # (Disable by commenting out property.) fabric.aliasRE=(.*)[_-]HBA.*,(.*)[_-]PCIE.*,(.*)[-_]ADAPTER.*,(.*)_TD.*,(.*)[-_]FCA.*,(.*)-QIP.*, (.*)[_-]JNI.*,(.*)[-_]QLA.*,(.*)-SLOT.*,(\w*)-\d.*,(\w*-[A-Z]\w*)-\d.*,(.*)[-_]FC.*
Customer alias syntax:
pr-xio0001-X*-SC*_target*(where * is a number)New expression for customer device alias syntax:
(.*)[-_]X.*[-_]SC.*,Add the new expression to the beginning of the above fabric.alaisRE= expresion list:
fabric.aliasRE= (.*)[-_]X.*[-_]SC.*,(.*)[_-]HBA.*,(.*)[_-]PCIE.*,(.*)[-_]ADAPTER.*,(.*)_TD.*,(.*)[-_]FCA.*,(.*)-QIP.*, (.*)[_-]JNI.*,(.*)[-_]QLA.*,(.*)-SLOT.*,(\w*)-\d.*,(\w*-[A-Z]\w*)-\d.*,(.*)[-_]FC.*
-
Restart DCNM server.
-
Once the DCNM server is back online, you can also manually edit the alias enclosure info in the DCNM San UI client:
- Launch DCNM SAN UI client.
- Open the wanted Fabric
- Click Hosts or Storage under Physical Attributes->End Devices
- Click the Enclosure Name field and click the Alias->Enclosure button on top. Click Apply from the dialog box to get the enclosure name changed.
- Click the green arrow on the top to apply the changes.
The customer can manually change the enclosure name in step 4 if they do not want to define their own regex patterns.