Clariion beginners post!
Assumptions:
==========
Clarrion Address: 192.168.11.12
Host name: w2k3 (ip 172.12.88.122)
HBA UID: 50:06:04:82:D5:2F:07:F2:60:06:04:85:E5:2E:08:F2
Storage Group name: SG
Prerequisites:
==========
1. Have capability to perform secure CLI commands, if not create a security key file
naviseccli -h 192.168.11.12 –addusersecurity –user admin –password pass –scope 0
2. Registration is performed automatically when a HBA is connected to an array, if not follow this manual procedure
naviseccli -h 192.168.11.12 storgaegroup -setpath -o -gname SG -hbauid 50:06:04:82:D5:2F:07:F2:60:06:04:85:E5:2E:08:F2 -sp A -spport 0 -host w2k3 -ip 172.12.88.122 -type 0x03 -failovermode 1 -arraycommpath 1 -unitserialnumber array
Step: 1 RAID group creation
Create RAID Group 3 on clariion 192.168.11.12 consisting of (bus 0, enclosure 0) disks 6, 7, 8, 9.
Delete RAID Group when last LUN is unbound. Set expansion/defragmentation priority to high
naviseccli –h 192.168.11.12 createrg 3 0_0_6 0_0_7 0_0_8 0_0_9 –rm yes –pri high
Step: 2 Bind LUNS
Bind RAID 5 LUN 3 on RAID Group 3. Enable read cache and write cache for this LUN
Set the size to 100 GB. Make the owner of the LUN SPA
naviseccli –h 192.168.11.12 bind r5 3 -rg 3 –rc 1 –wc 1 –sq gb –cap 100
Step: 3 Storage group Creation
Create a storage group with name SG
naviseccli –h 192.168.11.12 storagegroup -create -gname SG
Step: 4 Add LUNS to storage group
naviseccli –h 192.168.11.12 storagegroup –addhlu –gname SG –hlu 2 –alu 14
Step: 5 Connect Hosts
Connect host "w2k3" to storage group SG
naviseccli –h 192.168.11.12 storagegroup –connecthost –host w2k3 –gname SG
Oh wait! What if I want to create a Meta-LUN?
Step: 6
Assuming you have four existing RAID groups 2,3,4,5 with LUNS 12,13,15,15. Lets create a 100 GB meta LUN
navicli –h 192.168.11.12 bind r5 12 -rg 2 -rc 1 -wc 1 -sq mb -cap 25 -sp a
navicli –h 192.168.11.12 bind r5 13 -rg 3 -rc 1 -wc 1 -sq mb -cap 25 -sp a
navicli –h 192.168.11.12 bind r5 14 -rg 4 -rc 1 -wc 1 -sq mb -cap 25 -sp a
navicli –h 192.168.11.12 bind r5 15 -rg 5 -rc 1 -wc 1 -sq mb -cap 25 -sp a
naviseccli -h 192.168.11.12 metalun -expand -base 12 -lus 13 14 15 -name "LUN 12" -type S -o
Step: 7 Verification
Display status of RAID group
naviseccli –h 192.168.10.11 getrg 3 –lunlist
Display status of a LUN, for example LUN 14
naviseccli –h 192.168.10.11 getlun 14 -element
Display information about Storage Group SG
naviseccli –h 192.168.11.12 storagegroup –list –gname SG
Verify the Meta LUN just created
navicli -h 192.168.11.12 metalun -list metalun 12
No comments:
Post a Comment