Thursday, January 14, 2016

Shrink a CLARiiON LUN on Windows Server 2008

Shrink a CLARiiON LUN on Windows Server 2008

Follow these steps:
  1. Install the Host Agent and Naviseccli for FLARE Release 29 on the server.
  2. Install the EMC VDS Provider and Solutions Enabler.  You can download  EMC VDS from EMC Support Site. The VDS provided at EMC Support site conveniently contains Solutions Enabler.
  3. Install the DiskRAID.exe that supports LUN shrinking on Windows 2008. DiskRAID.exe is provided by Microsoft.
  4. Configure the Solutions Enabler and discover CLARiiON within Solutions Enabler.

    a. Add the Solutions Enabler base license:

    C:\program files\EMC\SYMCLI\bin\symlmf
    register License Key (y/[n])?  y
    Enter License Key:  xxxx-xxxx-xxxx-xxxx

    b. Within Solutions Enabler run the authorization for each SP that is connect to the host:

    C:\program files\EMC\SYMCLI\bin > symcfg authorization add –host IP_Address_Of_SPA  –username xxxx –password xxx
    C:\program files\EMC\SYMCLI\bin > symcfg authorization add –host IP_Address_Of_SPB  –username xxxx –password xxx
    C:\program files\EMC\SYMCLI\bin > symcfg authorization add –host IP_Address_Of_The_Server  –username xxxx –password xxx

    Note: Use the Navisphere username and password.

    c. Within Solutions Enabler discover connected arrays:

    C:\program files\EMC\SYMCLI\bin > symcfg discover –clariion
    C:\program files\EMC\SYMCLI\bin > symcfg list –clariion
  5. Shrink the disk in Disk Management of Windows Server.
  6. Use DiskRAID.exe on Windows Server to free up the disk space from the server side.

    a. DISKRAID>  list provider   #iVDS provider is for iSCSI, VDS provider is for FC
    b. DISKRAID>  list subsystems
    c. DISKRAID>  detail provider   #Use this command to check that you are selecting the correct subsystem.
    d. DISKRAID>  list lun #The LUN number list here is not actually the LUN number in the Navisphere GUI.
    e. DISKRAID>  select lun x    #Select the lun that you want to shrink
    f. DISKRAID>  detail lun   #Compare the LUN name and Identifier here with the LUN name and UUID in the Navisphere GUI, make sure you are selecting the correct LUN.
    g. DISKRAID>  shrink lun size=xxGB     #The number must be an integer.

     8.Check the LUN capacity to confirm that the LUN size has been decreased.

No comments:

Post a Comment