Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
130 views3 pages

SVC Realtime Cmds

1. The document provides information on performing various storage tasks like LUN allocation, flash copy operations, mapping LUNs to hosts, unmapping LUNs, deleting LUNs and flash copy relations. 2. It includes commands for creating IO groups, hosts, virtual disks, adding disks to disk groups, clearing and backing up configurations. 3. Tasks like migrating virtual disks between tiers, changing sync rates, and load balancing IO groups are also summarized.

Uploaded by

ik reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
130 views3 pages

SVC Realtime Cmds

1. The document provides information on performing various storage tasks like LUN allocation, flash copy operations, mapping LUNs to hosts, unmapping LUNs, deleting LUNs and flash copy relations. 2. It includes commands for creating IO groups, hosts, virtual disks, adding disks to disk groups, clearing and backing up configurations. 3. Tasks like migrating virtual disks between tiers, changing sync rates, and load balancing IO groups are also summarized.

Uploaded by

ik reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

=======================================================================

lseventlog
catauditlog-----It will give all actions what we did.
===================================================================================
=============================================================
LUN ALLOcation:

svcinfo lsfabric --> Wwpn number

svcinfo lsiogrp --> lists io grp

svcinfo lshostvdiskmap <servername> --> vdiskname and Scsi id(if required)

svcinfo lsvdisk <vdiskname> --> Lists iogrp

svcinfo lsmdiskgrp --> RAID free capacity T1= RAID10 T2= RAID 5 T3 & T4 = RAID 6

svctask mkvdisk -mdiskgrp <mdiskgrpp> -iogrp <io_grp0> -size <size> -unit gb -name
<vdisk_name>

svctask mkvdiskhostmap -host <hostname> -scsi <scsi_no> vdiskname

svcinfo lsvdiskhostmap <vdiskname> : To take output

svcinfo lsvdisk -filtervalue vdisk_UID=60050768019082B8C8000000000008C1-by using


uid we find the disk name

svcinfo lsvdiskfcmappings vdiskname--by using this we have to find how many fcs
===================================================================================
=============================================================

FLASH COPY:

svcinfo lsvdisk <vdisk_name> --> gives vdiskid , RAID , IO grp -- properties of


vdisk

svctask mkfcconsistgrp -name <consist_name>

svctask mkfcmap -source <source_name> -target <target_name> -name <relation_name>


-consistgrp <consitgrp_name> -copyrate 50 -incremental

===================================================================================
=============================================================

START FLASH COPY :

svcinfo lsconsistgrp

svctask startfcconsistgrp -prep <fc_groupname>

svcinfo lsconsistgrp
svcinfo lserrlogbyfcconsistgrp FC_ERP_SVG1

===================================================================================
=============================================================

Mapping the LUN:


1.Take the wwpn and find out the host.

svcinfo lsfabric

2.Take the vdisk-uid from the given sheet and find out the vdisk name and vdisk id.

svcinfo lsvdisk

3.Find out ths scsi id. (Take both wwpn and check)

svcinfo lshostvdiskmap <wwpn>

4.Mapping

svctask mkvdiskhostmap -host <hostname> -scsi <scsino> vdiskname

svctask mkvdiskhostmap -force -host <hostname> -scsi <scsino> vdiskname

===================================================================================
========================================================

Unmapping:

svcinfo lsvdisk

svcinfo lsvdiskhostmap <vdiskname>

svctask rmvdiskhostmap -host <hostname> <vdiskname>

===================================================================================
==========
Delete:

svctask rmvdisk < Vdisk name>

===================================================================================
====

Delete FC relation:

svctask rmfcmap <FC_Name>

===================================================================================
===================================

checking FC group name:

svcinfo lsvdisk : gives the relation name

svcinfo lsfcmap <relation_name>

===================================================================================
=============================================

to create new host


svctask mkhost -name hostone -hbawwpn 210100E08B251DD4 -force -mask 1001

6) Creating host entries in svc

svctask mkhost -name USDC2PTDDM02 -hbawwpn 2100001B329D1EAC -iogrp io_grp2 -force


svctask addhostport -hbawwpn 2101001B32BD1EAC USDC2PTDDM02
svctask addhostiogrp -iogrp io_grp3 USDC2PTDDM02

===========================================================================
create vdisk

svctask mkvdisk -mdiskgrp Group0 -size 0 -iogrp 0 -vtype striped -mdisk mdisk1
-node 1
================================

svctask chiogrp -feature remote -size 80 io_grp1------to increase the remote copy
services size in particular io grp

svctask chlicense -remote 400 -to increase the license

=================
svctask addmdisk -mdisk 313:314:315:316:317:318:341:342:343:344:345:346
BHPCVDSS06_1_T2
svatask addmdisk -mdisk 369:370:371:372:381:382:383:384 BHPCVDSS06_1_T1
svctask addmdisk -mdisk 88:89:90:91:92:93:94:95:109:110:111:112:113:114:115:116
BHPCVDSS06_5_T1
================

svcconfig clear -all


svcconfig backup
===========

task is migrated to tier1 storage to tier2 storage


svcinfo lsmdiskgrp
svcinfo lsmdiskgrp (where we get to know how much space is available in Raid 5)
svctask addvdiskcopy -mdiskgrp <Tier2 MdiskGRP name> <Tier1 Vdisk name>
svctask chvdisk -syncrate 70 <Vdisk Name> --- To increase the copy rate 8 MBPS
Check the progress of the mirroring by executing the following command.
svcinfo lsvdisksyncprogress <Vdisk Name>
svctask chvdisk -primary 1 (Vdisk_name)
Execute svcinfo lsvdisk <Vdisk name> ---> To ensure another copy of the vdisk is
created in Tier 2
svctask rmvdiskcopy -copy 0 (Vdisk_name

svctask addvdiskcopy -mdiskgrp BHPCCDSS13_1_T4 M_DC1PEEXT01_30


svctask chvdisk -syncrate 70 M_DC1PEEXT01_30
svctask chvdisk -primary 1 M_DC1PEEXT01_30
svctask rmvdiskcopy -copy 0 M_DC1PEEXT01_30
========================================================
Iogroup load balancing
addvdiskaccess -iogrp 3 USCVQVI107h_93
movevdisk -iogrp 3 USCVQVI107h_93
rmvdiskaccess -iogrp 1 USCVQVI107h_93

To increase speed of FCrelation


chfcmap -copyrate 70 FCCQVi215a_90

You might also like