Thursday, January 22, 2009

General Commands for Navisphere CLI



Physical Container-Front End Ports Speeds
naviseccli –h 10.124.23.128 port –list -sfpstate
naviseccli –h 10.124.23.128 –set sp a –portid 0 2
naviseccli –h 10.124.23.128 backendbus –get –speeds 0

SP Reboot and Shutdown GUI
naviseccli –h 10.124.23.128 rebootsp
naviseccli –h 10.124.23.128 resetandhold

Disk Summary
naviseccli –h 10.124.23.128 getdisk
naviseccli –h 10.124.23.128 getdisk 0_0_9 (Bus_Enclosure_Disk - specific disk)

Storage System Properties- Cache Tab
naviseccli –h 10.124.23.128 getcache
naviseccli –h 10.124.23.128 setcache –wc 0 –rca 0 –rcb 0 (to disable Write and Read Cache)
naviseccli –h 10.124.23.128 setcache –p 4 –l 50 –h 70 (Set Page Size to 4 KB, Low WaterMark to 50%, and High WaterMark to 70%)
naviseccli –h 10.124.23.128 setcache –wc 1 –rca 1 –rcb 1 (to enable Write and Read Cache)


Storage System Properties- Memory Tab
naviseccli –h 10.124.23.128 setcache –wsz 2500 –rsza 100 –rszb 100
naviseccli –h 10.124.23.128 setcache –wsz 3072 –rsza 3656 –rszb 3656 (maximum amount of cache for CX3-80)

Creating a RAID Group
naviseccli –h 10.124.23.128 createrg 0 1_0_0 1_0_ 1 1_0_2 1_0_3 1_0_4 –rm no –pri med (same Enclosure)
-rm (remove/destroy Raid Group after the last LUN is unbound for the Raid Group) -pri (priority/rate of expansion/defragmentation of the Raid Group)
naviseccli –h 10.124.23.128 createrg 1 2_0_0 3_0_0 2_0_1 3_0_1 2_0_2 3_0_2 -raidtype r1_0 (for RAID 1_0 across enclosures)

RAID Group Properties - General
naviseccli –h 10.124.23.128 getrg 0

RAID Group Properties - Disks
naviseccli –h 10.124.23.128 getrg 0 –disks

Binding a LUN
naviseccli –h 10.124.23.128 bind r5 0 –rg 0 –rc 1 –wc 1 –sp a –sq gb –cap 10
bind raid type (r0, r1, r1_0, r3, r5, r6) -rg (raid group) -rc / -wc (read and write cache) -sp (storage processor) -sq (size qualifier - mb, gb, tb, bc (block count) -cap (size of the LUN)

LUN Properties
naviseccli –h 10.124.23.128 getlun 0
naviseccli –h 10.124.23.128 chglun –l 0 –name Exchange_Log_Lun_0

RAID Group Properties - Partitions
naviseccli –h 10.124.23.128 getrg 0 –lunlist

Destroying a RAID Group
naviseccli –h 10.124.23.128 removerg 0

Creating a Storage Group
navicli –h 10.127.24.128 storagegroup –create –gname ProductionHost

Storage Group Properties - LUNs with Host ID
navicli –h 10.127.24.128 storagegroup –addhlu –gname ProductionHost –alu 6 –hlu 6
navicli –h 10.127.24.128 storagegroup –addhlu –gname ProductionHost –alu 23 –hlu 23

Storage Group Properties - Hosts
navicli –h 10.127.24.128 storagegroup –connecthost –host ProductionHost –gname ProductionHost

Destroying Storage Groups
navicli –h 10.127.24.128 storagegroup –destroy –gname ProductionHost

22 comments:

Anonymous said...

nice blog... thanks for taking effort for others benefit. find more information of clariion on http://www.emcclariion.com

colchaos said...

These are great. I have a general question to ask you San Guy. I want to study for E20-522 and I am not sure what the best stuff would be to study. Any recommendations? Manuals, white papers, etc? Thanks!

Anonymous said...

THis one is realy useful
COuld you please tell me why sometimes auto registeration fails on VMWare ESX server to the CLariion

san guy said...

as far as i am aware, vmware is not able to auto-register the hba's to the clariion. there are only 2 ways in which i know it can be done...a navipshere host agent, and the windows navisphere server utility...

i am not sure if vmware has an agent do to the registration...it has been my understanding that they have to be manually registered...

ToddH said...

Nope, VMware ESX can auto-register the HBA's to the Clariion. All my ESX servers were registered this way.

1. Download Navisphere Host Agent / CLI from EMC Powerlink.

2. Extract and run ./linux/ESX_installer.sh to open required ports.

3. Install or upgrade the RPM (naviagentcli.noarch.rpm)

4. Start or restart the service service naviagent start

5. Go to Navisphere Control Center and update the host and make sure it reflect the same agent version. Might take a minute or two.

ToddH said...

San Guy, now I have a real basic question as I am still fairly new with the Clariion SAN's.

How are you connecting to the SAN to run these commands? Are you using EMC Remote, SSH Client, etc?

I also wanted to say that I've posted here before and the information you provide is invaluable. It's helped me grow professionally during a time when our SAN administrator left and I was asked to fill the gap -- Thank you!

ToddH said...

One last thing, Anonymous, if you've already done the ESX install you might need to check the naviagent run level and start up; #chkconfig --list.

To enable the service for runlevel 3 you need to run #chkconfig naviagent on. Then run #chkconfig --list naviagent and you should see: naviagent 0:off 1:off 2:on 3:on 4:off 5:off 6:off

Hope this helps.

Anonymous said...

29047126483369175 I play dofus Replica Watches for one year, I Replica Rolex Watches want to get some Replica Watch kamas to buy Replica Chanel Watches item for my character. So, I search "Replica Swiss Watches" on google and found many website. As Exact Replica Graham Watch the tips from the forum, I just review the Swiss Replica Watches websites and choose some Replica Montblanc Watches quality sites to Replica Cartier Watches compare the price, and go to their Replica Breguet Watches online support to make Replica Breitling Watches the test. And Last Chaos Gold I decide to use Replica BRM Watch at the end. And Tag Heuer Replica Watch that is the Replica IWC Watch beginning..

Karin said...

I extended a disk using a metalun through navisphere. The disk was never extended on the server that needed the disk space. I would like to reclaim that 200 GB that I allocated to that LUN. Since, it was never extended on the server that uses the lun, I should be able to unbind the metalun without affecting the original lun? Ture or False. I need help.
Thanks

san guy said...

Karin,

Sorry, but that disk space that was allocated to the MetaLUN is gone off the the MetaLUN world forever. There is no way to reclaim LUNs from a MetaLUN.

剩沒底天 said...

Learning makes life sweet...................................................

開心唷 said...

0401影音成人影片交流愛撫淫叫色情照片性愛圖片女生如何自慰激突成人論壇美女脫胸罩走光一夜正妹視訊情人性愛論壇85cc影城性伴侶85cc色情影片打手槍情色視訊聊天室色情a片色情色情圖片限制級照片色情電話520sex免費色情網情色性愛一夜情聊天網成人聊天網視訊成人台灣性網av一夜女情色av淫女免費視訊美女挑逗情色影音聊天作愛影片辣妹清涼秀美女做愛成人自拍貼圖成人資訊色論壇台灣色情成人網站色情視訊聊天露三點打砲情色性愛貼圖av成人網成人影片

manupanic said...

can you please help me.. i made a Metalun for testing.. but its not getting detroyed now. when i try from NAVispher it says the disk is used by a feature of the storage system. is ther any way i can destroy the metalun & get the free space back in the raid gropus.?

manupanic said...

oh okay.. got that working should had done it from the SP node..\
thanks anyways..

Aarti said...

Hello, I have CX380 with multiple RAID 5 groups (each of 5 disks) but I am hitting performance issues. On server, with iostat, most of the luns are 100% busy most of the time. Where do I start looking into ? I know it is very generic but....

Abraj Dubai said...

تواصل مع اكبر شركة بالمملكة العربية تعمل علي التخلص من جميع انواع الحشرات في شركة مكافحة حشرات بالخبر والتي تستخدم بعض المواد الفعالة في التخلص من جميع الحشرات بكل سهولة وباقل التكاليف التي تميزها وتجعل الكثير من العملاء تتعامل معنا .

Syanat 3 said...

احدث التقنيات يمكنك التعرف عليها من صيانة كاريير التي تعمل باحدث الطرق والاساليب في مهام انتج الاجهزه الكهربائية من توكيل كاريير حيث اننا فريق عمل متخصص في ذلك تواصل الان مع رقم صيانة كاريير لارسال فريق العمل

3nod Makka said...

افضل الخدمات في تنظيف موكيت بمكة من شركة العنود التي توفر كل المواد والالات اللازمة للعمل علي تنظيف موكيت بالبخار بمكة وتوفير فريق عمل متخصص مؤهل ومدرب علي تلك المهام والتي يمكنها اتمام اعمال تنظيف سجاد بمكة باقل التكاليف وعلي ايدي فريق متخصص في تنظيف سجاد بالبخار بمكة عند التواصل معنا يمكننا ارسال فريق العمل فورا .

anti.insects7@gmail.com said...

خدمات ابادة حشرات من الشركة الفرنسية والتي اصبحت في الوقت الحالي من اكبر الشركات في مصر التي تعمل بمواد متخصصة في مكافحة حشرات علي ايدي فريق عمل متخصص ومدرب علي ايدي خبراء في هذال المجال وباقل اسعار شركات مكافحة حشرات بمصر تعرف عبليها الان في اي وقت .

Unknown said...

تحتاج شركة الحارس الخاص الي توفير افراد امن مؤهلين في شركه حراسات امنية لحماية الافراد والممتلكات من خلال وضع برنامج امني متفق عليه من خلال شركه امن وحراسة بمصر وباقل التكاليف يمكنك ضمان الحماية الكاملة .

care olders said...

تعمل دار مسنين بمدينة نصر علي توفير افضل الخدمات وباقل الاسعار حتي يمكننا توفير الرعاية الطبية والصحية بالاضافه الي خدمات دار مسنين بالمعادي والتي توفر افضل الخدمات والرعاية الطبية اللازمة عن طريق اطباء لتشخيص الامراض وعلاجها من خلال دار مسنين بمصر الجديدة ويمكنك التواصل معنا الان للتعرف علي المزيد .

صيانة كاريير said...

عروض وخدمات من صيانة كاريير تواصل الان معنا عبر رقم صيانة كاريير للتعرف عيل افضل العروض واقل الاسعار التي توفرها علي اصلاح وصيانة التكييفات من خلال خبراء صيانة تكييفات كاريير مجهزين باحدث الادوات وقطع الغيار اللازمة

http://www.carrier-maintenance.com