Monday, January 30, 2017

IBM SVC Storage Lun Allocation Procedure

Below are the list of Pre-check, Implementation & Back out commands, which will help you to complete the Lun allocation easy and without any effort. Do follow the procedure and feel free to post your comments in case of any queries or suggestions.

Pre-check Commands:

1. Command to check the Mdisk Group Capacity.

svcinfo lsmdiskgrp

2. Command to check number of Vdisk associated per IOGrp.

svcinfo lsiogrp

3. Command to check the IOGrp associated for a host in case, you are assigning a lun to an existing host.

svcinfo lshostiogrp <Host ID/Name>

Note:- Below commands to get the Vdisk information of existing host.

4. Command to check the luns assigned to a host incase of naming convention.

svcinfo lshostvdiskmap <Host ID/Name>

5. Command to check the Vdisk information in detailed, which shows the individual disk IOGrp, MdiskGrp & Other information.

svcinfo lsvdisk <Vdisk name/id>


Implementation Commands:

1. Command to create a Vdisk.

svctask mkvdisk -mdiskgrp <mdisk group Name/ID> -iogrp <IOGrp Name/ID> -size <Vdisk Capacity> -unit <gb/mb/tb> -name <Vdisk Name> 

2. Command to map the Vdisk to a Host.

svctask mkvdiskhostmap -host <Host Name/ID> <Vdisk Name/ID>

3. Command to map the same lun to multiple host.

svctask mkvdiskhostmap -force -host <Host Name/ID> <Vdisk Name/ID>

Back out Plan:

1. Command to unmap the same lun to multiple host.

svctask rmvdiskhostmap -host <Host Name/ID> <Vdisk Name/ID>

2. Command to delete the disk.

svctask rmvdisk <Vdisk Name/ID>

Friday, January 27, 2017

IBM SVC(SAN Volume Controller) Commands Book

Most of you have been facing trouble in preparing the regular allocation and general commands multiple times. Losing time in validating the command that was it correct or not Don't worry let me make your daily thing easy. Just click on download to get the excel spreadsheet which helps completing your tasks easy and save your time. Just place your requirements and you will get the commands where you can copy and execute. Come on give it a shot which will decrease your time.

Basic idea of Excel will make your understand the things easier the spredsheet was prepared for 10 consecutive commands if you need more add more rows and copy the command to the below line it should work as expected.

Any queries feel free to post your comments.


OR