5600 FCLI Commands

From HEComputing

Jump to: navigation, search

FCLI Commands

bind/b -     bind physical disks into logical RAID levels
    or create a RAID Group configuration.
clearlog/cl - Destroy contents of RAID storage controller's error log
ddt/ddt - Device Driver Tester
debug/d - catch-all command
getlog/l - returns specified portions of the storage processor unsolicited log
getwwn/w - get the world wide name currently stored in nonvol
help/? - list all available commands with summary
lock/lk - lock the console input from making config changes
lustat/ls - Logical Unit Status -- summary info for all LU's
memstat/m - memory usage statistics
panic/panic - immediately panic the SP, debug only
promburn/pb - flashes a prom image already loaded into memory via debugger
quit/quit - exit FCLI and enter Serial Application Mode
setcache/c - modify cache configuration and state information
setcon/con - set/display console TTY parameters
setcontrol/ctr - Set RAID control's configuration
setdate/da - set the Storage Processor date and time
setdisk/di - Set disk configuration parameters
seterr/e - set/display periodic error reporting
sethost/h - set/display the host interface options
setopt/o - set/display the system options package number
setpass/pa - set the FCLI password for console unlocking
setport/po - allow front end fiber ports to be enabled or disabled
setser/ser - set/display system serial number
setstats/st - set statistics logging on/off for RAID storage processor
setucache/uc - sets unit cache parameters
setunit/u - sets unit parameters not associated with cache
setverify/v - sets unit verify parameters
spstat/sp - show summary of various statistics/revisions
trespass/tr - trespass
unbind/ub - deconfigure physical disks from current logical configuration
setgroup/sg - Create or change the configuration of a RAID GROUP.
unlock/ulk - unlock the console input to allow making config changes
zero_disk/zd - Initiate/abort factory-zeroing of disks
#/# - Return Control to Serial_Man


<font size="3">
bind/b -     bind physical disks into logical RAID levels
    or create a RAID Group configuration.
Usage: bind -h
       bind raid_type disk_names <options>
       bind all <options>

raid_type:r0 / r1 / r3 / r5 / r1_0 / id / hs / all
disk_names: e_d or e.d:’e’ is enclosure address in hexidecimal(0-B)
            ‘d’ is slot address(0-9) example:1.2 0_3
options:
   -a <1/0> enable / disable auto-trespass, default 0
   -c <none/read/write/rw> cache flags, default: none
       no-caching/read-caching/write-caching/read-and-write-caching
   -nm1    setup Raid-3 unit as N minus 1 and go
   -r <#>  rebuild time (in hours). default 4
   -s <#>  stripe size: number of sectors per element (disk)
           default: 1(RAID-3),128(non-RAID-3)
   -u <#>  logical unit number, default: -1(system determines the LUN)
   -z <#>  stripe-count. range: >=0  default: 0 (maximum number available)
   -addr <addr>  specify a logical address offset(hex) for the new LUN
   -ff     use first fit strategy for computing lun’s address offset
   -g <#>  raid group, can be used instead of disk-names
   -zm <#> LUN capacity, in Megabytes. range: >=1   (short-bind)
   -zg <#> LUN capacity, in Gigabytes. range: >=1   (short-bind)
   -repeat <#> bind multiple LUNs; do not use with ‘-u’

</font>


clearlog/cl - Destroy contents of RAID storage controller's error log
Usage: clearlog -h
       clearlog


ddt/ddt - Device Driver Tester
Usage: ddt -h
       ddt [switches] <operation> <frunum> <lba> [count]
Switches:
     -sb   - Save Buffer (use with 'r' or 'w' operations)
     -ws   - Use 'Write Same' (use with 'w' operations)
     -nd   - Do not display data (use with 'r' operations)
Operations:
     r  - Read
     w  - Write
     s  - Seek
     g  - Get buffer
     f  - Free buffer
     k  - Kill fru (use this command format: 'ddt k <frunum> dead' )


debug/d - catch-all command
Usage: debug -h
       debug <options>
  -m    <1/2>  operation mode.1:ENG mode,2:USER mode
  -emem <alloc/free>   alloc-100K,free-free mem,display
  -fcf_abts <1/0> set abts panic upon error / don't panic
  -fcb_meter   displays loop and isr meters from the fcb_gdb
  -fcf_meter   read/display FE Tachyon error registers
  -fcb_clrmeter clears the fcb metering info from the fcb_gdb
  -fcf_clrmeter clears the fcf metering info from the fcf_gdb
  -scsi_meter  display SCSI error counts
  -scsi_clear  clear the SCSI error counts
  -dmtest      display values of diskamil variables(diskmail only)
  -dmcsi #     set the cheap sniff interval(diskmail only)
  -dcmi [0/1]  causes dcmi communication to fail [0] (or not fail [1]) (diskmail
 only)
  -drv_flt [0/1] Disable/Enable QA Drive fault testing


getlog/l - returns specified portions of the storage processor unsolicited log
Usage: getlog -h
       getlog               entire unsolicited eventlog
       getlog <switches>
Switches:
   -h              help
   -n              display the NONVOL log instead of ulog
   -<num>          start ulog display <num> lines from the END of the ulog
   +<num>          start ulog display <num> lines from the START of the ulog
   -b <MM/DD/YY> <HH:MM:SS> beginning time (only show events after this time)
   -e <MM/DD/YY> <HH:MM:SS> ending time (only show events before this time)
   -d <num>        dump <num> lines total (no display paging)
   -c              show count of # of lines in ulog
   -cru <string>   Apply filter: only display entries with cru = <string>

   -event <value>  Apply filter: only display entries with event=<value>
   -ext <value>    Apply filter: only display entries with ext = <value>

               Note 1. 'event' and 'ext' values are interpreted in hex
               Note 2. filters accept '!' (not) and '*' (wildcard) chars
                       Examples:  getlog -event 63*  ; getlog -cru !spa



getwwn/w - get the world wide name currently stored in nonvol
Usage: getwwn -h
       getwwn


lock/lk - lock the console input from making config changes
Usage: lock -h
       lock


lustat/ls - Logical Unit Status -- summary info for all LU's
Usage: lustat -h
       lustat
       lustat <switches>
Switches:
    -rg      - display sorted in Raid Group order
    -rg <n>  - display only LUNs in Raid Group <n>

    -sp      - display sorted by SP
    -sp <x>  - display only LUNs owned by SP <x>
Default output format (no switches) lists units sorted by LU #


memstat/m - memory usage statistics
Usage: memstat -h
       memstat


panic/panic - immediately panic the SP, debug only
Usage: panic -h
       panic


promburn/pb - flashes a prom image already loaded into memory via debugger
Usage: promburn -h
       promburn



quit/quit - exit FCLI and enter Serial Application Mode
Usage: quit -h
       quit


setcache/c - modify cache configuration and state information
Usage: setcache -h
       setcache
       setcache <options>
options:
enable/disable  system write caching. must be first argument if specified
   -are <1/0> enable/disable SP A read caching
   -bre <1/0> enable/disable SP B read caching
   -b <1/0>   enable/disable BBU
   -bd  <#>   BBU day of the week. (1-7)
   -bh  <#>   BBU hour of the day. Valid values: (0-23)
   -bm  <#>   BBU minute. Valid values: (0-59)
   -f   <#>   r3_memory_size
   -hi  <#>   high water mark (0-100)
   -lo  <#>   low water mark (0-100)
   -m <1/0>   mirrored/non-mirrored
   -p   <#>   size (in KB) of pages to partition cache into. 2/4/8/16
   -rca <#>   read cache size for SP A
   -rcb <#>   read cache size for SP B
   -ro  <#>   raid Optimization option. 1:mixed mode 2:raid 3 luns only
   -sma <#>   system memory on SP A
   -smb <#>   system memory on SP B
   -u   <#>   usable size (in megabytes) for write caching.0/(2-max available)
   -fm        override prom rev for sbc>

   -nops      override ps state
   -nosps     override sps state
   -nosafe    override safe width


setcon/con - set/display console TTY parameters
Usage: setcon -h
       setcon
      setcon <options>
options:
  -b <#> set the console baud rate. 1200/2400/4800/9600.
         19200 available on sauna only
  -d     reset the console to the default values.
  -p <#> set the consol parity. 0/1/2  0-none, 1-odd, 2-even


setcontrol/ctr - Set RAID control's configuration
Usage: setcontrol -h
       setcontrol
       setcontrol <options>

options:
       -f <1/0>   enable/disable auto-format
       -page <#>  modifies display page-size. 0:default size


setdate/da - set the Storage Processor date and time
Usage: setdate -h
       setdate -d <date - MM/DD/YYYY> -t <time - HH:MM:SS>


setdisk/di - Set disk configuration parameters
Usage: setdisk -h
       setdisk enclosure
       setdisk enclosure <options>
       setdisk -l

enclosure:  enclosure address in hexidecimal (0-B)
options:
    -d <#>  disk address in decimal (0-9)
    -f      format disk. must specify disk address before it.
    -l      list basic disk info.

  example:  setdisk 1 -d 2 -f  format disk 2 in enclosure 1


seterr/e - set/display periodic error reporting
Usage: seterr -h
       seterr
       seterr <#>  error reporting period in hours. (0,200)  0-disable


sethost/h - set/display the host interface options
Usage: sethost -h
       sethost
       sethost <options>

options:
  -b          apply changes to both SPs. otherwise,just to local SP
  -af <1/0>   enable/disable auto-format
  -am <l/t/m> address model. lun/target/mixed addressing
  -at <1/0>   enable/disable auto-trespass
  -dw <1/0>   disk-write caching on/off
  -fb         loop fail back
  -fp <1/0>   private loop enable/disable
  -fe <1/0>   loop failover enable/disable
  -fm <1/0>   manual discovery enable/disable
  -fd         discover loop
  -fc         initiate a failcheck
  -fo         initiate a failover
  -m  <1/0>   mode page 8 support enable/disable
  -n  <1/0>   non-mirrored cache enable/disable
  -r  <1/0>   recovered error log reporting enable/disable
  -ro <#>     raid optimization option. 1:mixed mode 2:raid 3 luns only
  -s  <1/0>   substitute busy for qfull enable/disable
  -t  <1/0>   target initiated negotiation enable/disable



setopt/o - set/display the system options package number
Usage: setopt -h
       setopt
       setopt <#>   new system options package number, in hex
supported options:
  3: FIBRE_OPEN_SYSTEM_TYPE
  9: SGI_SYSTEM_TYPE
  13: DELL_SYSTEM_TYPE
  14: OPEN_SCSI2_SYSTEM_TYPE


setpass/pa - set the FCLI password for console unlocking
Usage: setpass -h
       setpass


setport/po - allow front end fiber ports to be enabled or disabled
Usage: setport -h
       setport <options>
options:
 -a <on/off> enable/disable port a
 -b <on/off> enable/disable port b



setser/ser - set/display system serial number
Usage: setser -h
       setser
       setser  <#>   new serial number


setstats/st - set statistics logging on/off for RAID storage processor
Usage: setstats -h
       setstats
       setstats <on/off>


setucache/uc - sets unit cache parameters
Usage: setucache -h
       setucache unit_num <options>
unit_num:  logical unit number
options:
  -c <none/read/write/rw>   caching flags
  -i  <#>  idle-thresh
  -mp <#>  max-prefetch length, maxinum number of disk blocks to prefetch
  -pc <#>  prefetch idle count
  -pd <#>  prefetch disabled.
  -pf <0/1/2> prefetch-type. disabled/constant length/variable length
  -pm <#>  prefetch size/multiplier
  -r <1/0> read retention priority.
           0:all data treated equally
           1: prefetched data retained over requested data
  -s       set-defaults
  -sm <#>  segment-size/multiplier
  -t  <#>  idle-delay-time
  -w  <#>  write-aside, the smallest write request size(in blocks), that
           bypass the cache and go directly to the disks



setunit/u - sets unit parameters not associated with cache
Usage: setunit -h
       setunit unit_num
       setunit unit_num <options>
unit_num:  logical unit number
options:
  -a     toggle auto-assign
  -d     toggle default owner
  -t     toggle auto trespassing
  -r <#> rebuild-time(in hours)
  -nm1 <on/off>  (N-1) option for RAID-3 units on/off

setverify/v - sets unit verify parameters
Usage: setverify -h
       setverify unit_num
       setverify unit_num <options>
options:
 -cr  <1/0> clear/no  all verify reports for this lun
 -sne <1/0> enable/disable sniff verify
 -snr <#>   amount of time(in 100ms intervals) between sniffs



spstat/sp - show summary of various statistics/revisions
Usage: spstat -h
       spstat


trespass/tr - trespass
Usage: trespass -h
       trespass trespass <lun>


unbind/ub - deconfigure physical disks from current logical configuration
Usage: unbind -h
       unbind unit_num <options>
       unbind -rg # <options> unbind raid group
       unbind -a <options>  unbind all units

unit_num:  logical unit to deconfigure. (0,TBD)
options:   -o override-prompting



setgroup/sg - Create or change the configuration of a RAID GROUP.
Usage: setgroup -h
       setgroup raid_group_id <option> <disk-names>

   setgroup  raid_group_id <option>
     <-l> Show raid group layout

   setgroup  raid_group_id <option> disk-names
     <-exp> Start an expansion
     <-defrag> Start a defragmentation
     <-crg> Create a RAID Group
     <-rrg> Remove a RAID Group
     <-xl> Increase capacity on expansion
     <-r> (0,1,2) Set expansion rate
     <-er> (0,1) Remove/Set the explicit removal flag
     <-o override-prompting>



unlock/ulk - unlock the console input to allow making config changes
Usage: unlock -h
       unlock


zero_disk/zd - Initiate/abort factory-zeroing of disks
Usage: zero_disk -h
       zero_disk <diskname>/all [abort]
Personal tools