PowerFlex Remove Multiple MDM entry from an SDC configuration
Summary: How to remove an MDM entry for a PowerFlex system from an SDC configuration.
Symptoms
drv_cfg --query_mdms
Above command shows that SDC is configured to connect to multiple PowerFlex or ScaleIO systems, one of which does not exist anymore and must be removed.
For example:
c:\Program Files\EMC\scaleio\sdc\bin>drv_cfg.exe --query_mdms Retrieved 2 mdm(s) MDM-ID 24bdeaaaaaaaaaaa SDC ID 5aaaaaaa00000006 INSTALLATION ID XXXXXXXXXXXXXX IPs [0]-10.XX.XX.XX [1]-10.XX.XX.XX [2]-10.XX.XX.XX MDM-ID bf5cebbbbbbbbbbb SDC ID ebbbbbbb0000000b INSTALLATION ID YYYYYYYYYYYYYY IPs [0]-10.YY.YY.YY [1]-10.YY.YY.YY [2]-10.YY.YY.YY
In this case, MDM ID 24bdeaaaaaaaaaaa is the system that does not exist and must be removed.
Note: For Linux and Windows SDC hosts, use
drv_cfg --query_mdms
To verify MDM cluster information for single and multiple PowerFlex or ScaleIO systems. However, for ESXi SDC hosts verify MDM cluster information for single and multiple PowerFlex or ScaleIO systems from esx.conf file.
Cause
Resolution
Linux:
- For Linux SDC host, open /bin/emc/scaleio/drv_cfg.txt file.
- There are multiple MDM cluster entries in the file. Delete the MDM cluster entry for the PowerFlex or ScaleIO system that does not exist anymore.
- Save and exit the file.
- Reboot Linux SDC host to apply changes.
Note: There is no parameter for drv_cfg.exe to remove the MDM cluster.
Note: After reboot, run "drv_cfg --query_mdms" to confirm MDM cluster IP addresses for the PowerFlex or ScaleIO system that does not exist anymore, are removed.
Note: "drv_cfg --mob_mdm_ip" utility is only used to modify IPs for a single PowerFlex or ScaleIO system.
Linux: /opt/emc/scaaleio/sdc/bin/drv_cfg
Windows:
- For Windows SDC host, find the IP address list of multiple MDM cluster entries in the Windows Host registry under the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\scini\Parameters\mdms
Important Note: Export the registry before making any changes.
Edit or delete the "mdms" parameter entry for the PowerFlex or ScaleIO system that does not exist anymore.
- Close "Registry Editor" after making the changes.
- Reboot the Windows SDC host to apply the changes.
Windows: C:\Program Files\emc\scaaleio\sdc\bin\drv_cfg
ESXi:
- For the ESXi SDC host, verify the IP address list of multiple MDM cluster entries from esxi.conf file:
cat /etc/vmware/esx.conf |grep scini |grep -i mdm /vmkernel/module/scini/options = "IoctlIniGuidStr=25288a6a-81d4-4f82-99a5-bd2dccbc2935 IoctlMdmIPStr=192.168.100.100,192.168.200.100+192.168.300.100,192.168.400.100"
Note: Separate the IP addresses of the same MDM cluster with a "," symbol.
- Remove the MDM cluster IP addresses for the PowerFlex or ScaleIO system that does not exist anymore using the below esxcli command:
esxcli system module parameters set -m scini -p "IoctlIniGuidStr=25288a6a-81d4-4f82-99a5-bd2dccbc2935 IoctlMdmIPStr=192.168.100.100,192.168.200.100"
- Reboot ESXi SDC host to apply changes.
cat /etc/vmware/esx.conf |grep scini |grep -i mdm /vmkernel/module/scini/options = "IoctlIniGuidStr=25288a6a-81d4-4f82-99a5-bd2dccbc2935 IoctlMdmIPStr=192.168.100.100,192.168.200.100"