Wednesday, 9 October 2013

How to Map / UnMap a LUN (HYPER) in a DMX and Symmetrix System from SYMCLI

This is a pretty easy symcli change, with solutions enabler installed the customer should be able to perform this change very easily. The command line should be used as follows. Save the file as a .txt file which is called your command file.
map dev SymDevName to dir DirectorNum:PortNum,
vbus=FibreVbus, target=scsitarget, lun=scsilun;

Parameters:
SymDevName is the symmetrix device name of the device to be mapped DirectorNum is the number of the FA the device is being mapped to PortNum is the port on the FA the device is being mapped to FibreVbus is the virtual bus address scsitarget is the scsi target id scsilun is the scsi logical unit number or lun address

Once the command file has been created, the following command needs to be run to actually make the changes.

symconfigure -sid xxxx -f commit

In order to unmap a device from an FA, the device should first be made write disabled on the FA from which it is being unmapped:

symdev -sid xxxx write_disable SymDevName

Next, a command file with the following syntax should be created:

unmap dev SymDevName from dir DirectorNum:PortNum;

Parameters:

SymDevName is the symmetrix device name of the device to be mapped DirectorNum is the number of the FA the device is being mapped to PortNum is the port on the FA the device is being mapped to
Once the command file has been created, the following command needs to be run to actually make the changes.

symconfigure -sid xxxx -f commit

0 comments:

Post a Comment