You are on page 1of 4

Navisphere CLI cheat sheet Raid Groups | LUN config | Storage Groups | Cache config Raid Groups navcli

-h <san> createrg rgID disks <options> example: navicli -h fc4700 createrg 16 0_0_0 0_0_1 0_0_2 -rm yes pri high Creating a raid group rgID = decimal raid group id 0_0_0 = bus_enclosure_disk rm = delete raid group when last LUN is unbound pri = expansion / defragmentation priority navicli -h <san> chgrg rgID <options> expanding a raid group example: navicli -h fc4700 chgrg 16 -expand 0_0_4 0_0_5 -lex yes pri high lex = is LUN expansion also allowed navicli -h <san> destroyrg rgID disks <options> destroying a raid group example: navicli -h fc4700 destroyrg 16 0_0_0 0_0_1 0_0_3 -rm yes -pri high

modifying a raid group parameters (priority navicli -h fc4700 chgrg 16 -pri high etc) display status of a raid group navicli -h fc4700 getrg 16 -lunlist

LUN and Meta LUN configuration navicli -h <san> bind raid-type <lun #> -rg rgID <options> example: navicli -h fc4700 bind r5 3 -rg 0 -rc 1 -wc 1 -sq mb -cap 250 Binding a LUN r5 = raid 5 rc = read cache (0=disable, 1=enable) wc = write cache (0=disable, 1=enable) sq = size qualifier (MB, GB) cap = size of the raid navicli -h fc4700 unbind 3 navicli -h fc4700 getlun 3 -element navicli -h fc4700 metalun -expand -base <number> -lun <numbers> -type [c|s] <options> expanding a meta LUN c = concatenate s = stripe destroying a meta LUN displaying meta LUN status Modifying a meta lun navicli -h fc4700 metalun -destroy -metalun <number> navicli -h fc4700 metalun -info <options> (general information) navicli -h fc4700 metalun -list metalun <number> (specific info on a meta LUN) navicli -h fc4700 metalun -modify -metalun <number>

unbinding a LUN display LUN properties

Storage Groups navicli -h fc4700 storagegroup -create -gname storage_1 create a storage group gname = group name navicli -h fc4700 storagegroup -addhlu -gname storage_1 -hlu 19 -alu 16 add LUNS to a storage group register a host connect host to storage group display storage group information destroy a storage group (all hosts must be removed from the group first) hlu = LUN number display to hosts i.e c0t0d19 alu = LUN 16 as per the san storage navicli -h fc4700 uksap01 register navicli -h fc4700 storagegroup -connecthost -host uksap01 -gname storage_1 navicli -h fc4700 storagegroup -list -gname storage_1 navicli -h fc4700 storagegroup -destroy -gname storage_1

Cache Configuration get cache information navicli -h fc4700 getcache navicli -h fc4700 setcache -wsza 550 -rsza 100 -wszb 100 -rszb 100 wsza = SPA write cache in MB rsza = SPA read cache in MB wszb = SPB write cache in MB rszb = SPB read cache in MB p = page size (2, 4, 8 or 16) l = low watermark h = high watermark wc/rc = disable/enable read/write cache wca/rca = disable/enable read/write SPA cache

Configure the cache

You might also like