Dell Unity,VNX: How to run the check vdm script to detect problems in the vdm.cfg before rebooting or upgrading (User Correctable)
Summary: Running the checkvdm script potentially reduces DU events associated with vdm.cfg missing information.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Reboot or failing over a datamover can create a data unavailable condition if the vdm.cfg is missing data.
Cause
The cause is presently unknown.
Resolution
- Prior to any reboots do the following
- Transfer the attached file (checkVdmsV9.py) from this KB Article to the control station. (see Attachments below)
- chmod 775 to checkVdmsV9.py
- execute the file via ./checkVdmsV9.py
- This is an example of a clean check
[nasadmin@cpsc40140 work.emc]$ ./checkVdmsV9.py
Running Sanity check on vdm airplane(example vdm) ... done
Running Sanity check on vdm airplane(example vdm) ... done
- The script will flag any vdm.cfg with missing information.
- This is a example of a failure
---------------------------------------------------------------
Run Time : 08/16/16 17:25:45
VDM BAMBA1 configuration does not match with running configuration!
=====================
Current Configuration
=====================
Id = 5
Name = BAMBA1
Server = server_2
Slot = 2
VDM Interfaces = 1 / CFG VDM Interfaces = 0
CIFS Interfaces = 1 / CFG CIFS Interfaces = 0
CIFS Server = 1 / CFG CIFS Server = 0
Exports = 0 / CFG Exports = 0
the information to the left of forward slash represents information running in memory.
the information to the right of forward slash represents information running in the vdm.cfg file.
As you can see there is one cifs server running in memory, but no cifs server in the vdm.cfg
- When the vdm fails the sanity check we need to recover the vdm.cfg before any reboots.
- We should notify the customer that the script has found a potential problem and any reboot/failover will create a DU situation.
- We should run ls -l on the vdm.cfg effect and note the timestamps.
- We should engage Support to recover a backup version of vdm.cfg making sure to run ls -l against the vdm.cfg before any recovery.
- At this point the vdm.cfg would need to be recovered from an old collect support material or sccs.
- The script also makes copies in your present working directory/vdmcfg
- This would require escalation to level 2 to perform recovery
- .After a datamover reboot of an effected system we should verify the vdm information is valid. Another words check to make sure any cifs server are online and the vdm has all of the exports.
- Execute the script again post reboot to validate the vdm.cfg file
- It is recommended that the script be executed pre and post upgrade.
Additional Information
This is a example of a failure that does not require a recovery
---------------------------------------------------------------
VDM BAMBA2 configuration does not match with running configuration!
=====================
Current Configuration
=====================
Id = 6
Name = BAMBA2
Server = server_2
Slot = 2
VDM Interfaces = 1 / CFG VDM Interfaces = 1
CIFS Interfaces = 1 / CFG CIFS Interfaces = 1
CIFS Server = 1 / CFG CIFS Server = 1
Exports = 0 / CFG Exports = 1
You can see the information on the left of the forward slash matches the information on the right side with the exception of the exports.
We have information in the vdm.cfg but not in running memory.
This is because we have a export that refers to a invalid path that did not load during boot.
please note you cannot ignore the opposite scenario.
Exports = 1 / CFG Exports = 0
In this case there is one export running in memory, but not in the vdm.cfg file.
This would require recovery.
---------------------------------------------------------------
VDM BAMBA2 configuration does not match with running configuration!
=====================
Current Configuration
=====================
Id = 6
Name = BAMBA2
Server = server_2
Slot = 2
VDM Interfaces = 1 / CFG VDM Interfaces = 1
CIFS Interfaces = 1 / CFG CIFS Interfaces = 1
CIFS Server = 1 / CFG CIFS Server = 1
Exports = 0 / CFG Exports = 1
You can see the information on the left of the forward slash matches the information on the right side with the exception of the exports.
We have information in the vdm.cfg but not in running memory.
This is because we have a export that refers to a invalid path that did not load during boot.
please note you cannot ignore the opposite scenario.
Exports = 1 / CFG Exports = 0
In this case there is one export running in memory, but not in the vdm.cfg file.
This would require recovery.
Affected Products
Dell EMC Unity, VNX/VNXe, Dell EMC Unity FamilyArticle Properties
Article Number: 000052274
Article Type: Solution
Last Modified: 31 Jan 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.