Isilon Commands
Isilon Commands
Isilon Commands
CLI tips:
Tab-completion: Use the Tab key to complete commands or directory paths.
e.g. type “isi_fo” then press Tab and the system completes “isi_for_array”
e.g. type “cd /var/cra” then press Tab and the system completes “cd /var/crash”
If there are multiple options available. The Isilon CLI will display the various options.
e.g. type “isi_f” and the system offers
isi_fixjournal isi_flush
isi_flexprofile_config isi_for_array
Arrow Keys: use the up and down arrow keys to scroll through previously run commands
There are two sets of Isilon commands. The “isi” command is the general tool for
administering an Isilon Cluster and offers a number of operations. Additionally there is
an assortment of commands that start with “isi_”. Use isi_ with the Tab key to view the
available commands.
1
>>> help <cmd>' for command-specific help.
o e.g.
[cash] >>> help reboot
reboot [<node lnn> | all]
isi networks – Used to modify the FlexNet profiles for external-1 and external-2
isi restripe - monitor current and prior restripe operations (only OneFS 4.X and newer)
Make a change to a current restriper operation
#isi restripe pause autobalance
isi update – upgrade the cluster to the version of OneFS provided in upgrade file
Follow the prompts, when it asks for the image file, it expects a .tar file not .tgz
isi_drivenum – for checking drive status and serial numbers in version 3.5.2 and prior
2
isi_hw_status - Collect current hardware status
Detailed NVRAM Battery information
# isi_hw_status -bg
Display node serial number (includes EX)
# isi_hw_status –i
isi batterystatus - determine the current state of the batteries in X-series Nodes (only X-series).
isi servicelight – turn on or off blue indicator light on the back of X-series Nodes (only X-series).
#isi servicelight on
#isi servicelight off
isi readonly - configure read-only mode of nodes (OneFS v4.7.2 and newer)
Disallow read-only mode forcing the node into read/write status. Needed if quorum is not
reached due to multiple nodes in read-only state.
#isi readonly disallow
sysctl efs.gmp.group – verify the current group status of the cluster. Determine if a FlexProtect is
required to repair a cluster in a degraded state.
If any nodes or drives report as “down”, “dead”, or “gone” a FlexProtect should be
started using the “isi restripe” command
Good result:
efs.gmp.group: <1,1865>: { 1:0-23, 2,4-5:0-10,12-24, 6:0-
17,19-24, 7:0-10,12-24, 9-11:0-23, 12-13, diskless: 12-13 }
Bad result:
efs.gmp.group: <1,1227>: { 1:0-23, 2,4-5:0-10,12-24, 6:0-
17,19-23, 7:0-10,12-24, down: 8, dead: 3, soft_failed: 8 }
isi_for_array - Run commands on multiple nodes
e.g. #isi_for_array uptime
Options: -s = displays results in sequential order
-q = queries for password
-n = run on specific nodes (#, #-#)
-x = exclude specific nodes (#, #-#)
isi_gather_info – Collect the system logs from every node in the cluster
Did not exist in 3.5.2 – patch available in Isilon Insight.
With OneFS v4.0 use –t with path and file name “isi_gather_info –t /ifs”
With OneFS v4.5 use –I to redirect logs to /ifs/.ifsvar
Use --varlog_all to collect all compressed logs in addition to current files.
cp - copy files
#cp <existing file> <new file>
Options: -v = verbose (print to screen what is being copied)
You can use a dot ( . ) to keep the same name in target directory.
e.g. # cp -v /ifs/data/test.file /ifs/.
/ifs/data/test.file -> /ifs/./test.file
grep - To search for a string within a log: grep (will search for exact case)
#grep <string> <file>
e.g. “grep flexprotect /var/log/messages”
Useful options: -i: ignore case when matching string
-v: exclude matches from results. e.g. grep –v Nov /var/log/messages display
every line from messages except for those with Nov in the line.
3
gzip/gunzip – compress and uncompress files
Options: -v = verbose (print to screen what is being copied)
e.g. # gzip -v test.file
test.file: 0.0% -- replaced with test.file.gz
or: # gunzip -v test.file.gz
test.file.gz: 0.0% -- replaced with test.file
man - view help pages for UNIX commands when a command is specified
Reviews usage and complete list of options
e.g. #man isi detailed information on the isi commands
mv – move files
#mv <original location> <new location>
Options: -v = verbose (print to screen what is being copied)
You can use a dot ( . ) to keep the same name in target directory.
e.g. # mv -v /ifs/test.file /ifs/data/.
/ifs/test.file -> /ifs/data/./test.file
4
ping – check response of target over the network
use ctrl-c to stop
5
wc - word, line, character, and byte count
#wc –l (lower-case “el”)
Provides total count of lines printed to screen. Often used with grep too see how
many processes are running.
e.g. #ps awwx | grep smbd | wc -l