Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rb:evadeletelun [28/08/2019 13:45] (current)
andrew created
Line 1: Line 1:
 +====== Delete EVA LUN ======
 +
 +
 +===== CLI using sssu =====
 +
 +
 +
 +array02> ls vdisk
 +
 +Vdisks available on this Cell:
 +  \Virtual Disks\Database\clust02\db_disk1\ACTIVE
 +  \Virtual Disks\TestSystems\rac\aktest1\ACTIVE
 +  \Virtual Disks\TestSystems\rac\db-disk\ACTIVE
 +  \Virtual Disks\TestSystems\rac\ocr-disk1\ACTIVE
 +  \Virtual Disks\TestSystems\rac\ocr-disk2\ACTIVE
 +  \Virtual Disks\TestSystems\rac\vote-disk1\ACTIVE
 +  \Virtual Disks\TestSystems\rac\vote-disk2\ACTIVE
 +  \Virtual Disks\TestSystems\rac\vote-disk3\ACTIVE
 +  \Virtual Disks\TestSystems\test01\Vdisk001\ACTIVE
 +  \Virtual Disks\test2vdisk\ACTIVE
 +  ​
 +  ​
 +  array02> delete vdisk "​\Virtual Disks\TestSystems\test01\Vdisk001"​
 +  ​
 +  Error: Cannot delete Vdisks when LUNs are still present.
 +         ​Delete all LUNS associated with this STORAGE first
 +  ​
 +  array02> ls lun
 +  ​
 +  LUNs available on this Cell:
 +    ...edited...
 +    \Hosts\Test\test-rac01\6
 +    \Hosts\Test\test-rac02\6
 +    \Hosts\Test\test01\1
 +  array02> ​
 +
 +In sssu speak on the cli, “deleting a LUN” is the GUI equivalent of “Unpresenting a vdisk”, deleting the vdisk actually does delete the virtual disk.
 +
 +  array02> delete lun \Hosts\Test\test01\1
 +  ​
 +  array02> delete vdisk "​\Virtual Disks\TestSystems\test01\Vdisk001"​
 +  ​
 +  array02> delete folder "​\Virtual Disks\TestSystems\test01"​
 +  ​
 +  array02> ​
 +  ​
 +VDISK is now deleted on EVA8000. ​
 +
 +
 +
 +===== GUI Method via Web interface =====
 +
 +
 +===== Process =====
 +
 +
 +  - Log in to management interface.
 +  - Select Storage array, Select vdisk.
 +  - Check WW LUN id and presentation.
 +  - On the presented server (if any), check if LUN is in use or has paths available.
 +  - If LUN is not mounted, unpresent disk. This may cause an alert in Nagios if previously available paths disappear.
 +  - Delete LUN. Check and agree to multiple levels of warnings. Check again if in doubt.
 +
 +
 +===== Details =====
 +
 +
 +==== 1 ====
 +
 +Log in to the management interface on sma01, https://​sma01:​2372/​Login\\
 +
 +==== 2 ====
 +{{rb:​deletelun1.png?​direct&​200 |deletelun1.png}} Select the LUN you wish to delete in the left hand side.  \\
 +Ensure you select the correct EVA (array01 or array02). \\
 +Expand out the "​Virtual Disks" link and any contained virtual drive folders. \\
 +This will show some tabs, General, Presentation and Data Replication. \\
 +
 +==== 3 ====
 +
 +{{rb:​deletelun3.png?​direct&​200|vdisk Properties}} Vdisk Properties, \\
 +{{rb:​deletelun2.png?​direct&​200|Disk Presentation}} Check Disk Presentation. \\
 +Check the ww LUN name and the host(s) it is presented to, look in ''/​etc/​multgipath.conf''​ to see if it is configured, but the LUN may have discovered by multipath, so a ''​multipath -ll''​ may show the LUN as presented. If this is the case, Nagios may detect a path loss when the LUN is unpresented. This is the be expected. The LUN may not mounted as a visible filesystem, check Oracle ASM disks, see [[rb:​view_asm_disks|View ASM disks]].
 +
 +
 +
 +==== 5 ====
 +
 +On the Presentation Tab, click ''​Unpresent'',​ this will take you to the following screen:- \\
 +
 +{{rb:​deletelun4.png?​direct&​100|Unpresent LUN}} \\
 +Select the hosts to Unpresent to and click ''​Unpresent hosts(s)''​. You will be prompted several times about the severity of making a mistake.
 +
 +Dire Warning:- \\
 +{{rb:​deletelun7.png?​direct&​100|}}
 +
 +After a successful unpresent, you should see ''​Operation succeeded''​. Click OK and select the same disk again to continue with the deletion of the LUN.
 +
 +==== 6 ====
 +
 +
 +
 +{{rb:​deletelun6.png?​direct&​100|}}
 +
 +
 +
 +{{rb:​deletelun8.png?​direct&​100|}}
 +
 +{{rb:​deletelun9.png?​direct&​100|}}
 +
 +
 +
 +{{:​rb:​capture1.png?​direct&​100 |}}
 +
 +
 +
 +
  

rb/evadeletelun.txt · Last modified: 28/08/2019 13:45 by andrew