Isilon OneFS CLI Command Guide PDF
Isilon OneFS CLI Command Guide PDF
isi_radish –q (helpful for finding bay-to-twe mapping and drive serial numbers)
fs61-7# isi_radish -q
Bay 1/twed0 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62VM7AE, 490234752 blks
Bay 2/twed1 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62VN2ME, 490234752 blks
Bay 3/twed2 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62WDAKE, 490234752 blks
Bay 4/twed3 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62VMYEE, 490234752 blks
Bay 5/twed4 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62X1J4E, 490234752 blks
Bay 6/twed5 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62Y1BXE, 490234752 blks
Bay 7/twed6 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62VN57E, 490234752 blks
Bay 8/twed7 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62VN6CE, 490234752 blks
Bay 9/twed8 is Maxtor 7Y250P0 FW:YAR41BW0 SN:Y62VN8ME, 490234752 blks
isi stat –n # (helpful for finding which bay the dead drive is in)
jerryb@TSUPPORT2-2:~$ isi stat -n 4
Node ID: 4
Node Name: TSUPPORT2-4
Node IP Address: 172.16.0.222
Node Health: [ATTN]
Node Capacity 931GB
Available 874GB ( 6%)
Used 57GB ( 6%)
Intravision-2# /root/isi_hw_sane
isi_hwcheck (Show temps from the node. Note a “-1” means there was no reading from
the probe. /usr/bin/isi_hwtools/isi_hwcheck)
Intravision-2# /usr/bin/isi_hwtools/isi_hwcheck
Chassis: 9-Bay (AIC 9-Bay Chassis)
Mobo: Force4201 (Force 4201 Motherboard)
NVRam: MM5415 (MicroMemory 5415 33MHz NVRam Card) (size 536870912B)
DskCtl: TWE7500-12 (3Ware 7500 12-port Controller) (12 ports)
IMB: Board Version 3
Power Supplies OK
CPU Operation (raw 0x0) = Normal
Fan 1 (MB Fan 0) = -1
Fan 2 (MB Fan 1) = -1
Fan 3 (F1) = 4643
Fan 4 (F2) = 4488
Fan 5 (F3) = 4691
Fan 6 (F4) = 4488
Voltage Vcc = 1.43
Voltage 3.3v = 3.30
Voltage 2.5v = 2.46
Voltage 5v = 4.91
Voltage 12v = 12.07
Voltage 5v (IMB) = 4.94
Voltage 12v (IMB) = 12.25
Temperature Management Chip = 30 Degrees C
Temperature Drives 1-6 (T1) = 23 Degrees C
Temperature Drives 7-9 (T2) = 22 Degrees C
Temperature PCI Riser Exhaust (T3) = 34 Degrees C
Temperature NIC area (T4) = 28 Degrees C
Temperature CPU Exhaust (T5) = 28 Degrees C
Temperature IMB = 25 Degrees C
Temperature CPU = 32 Degrees C
isi_dmilog (Show the BIOS DMI log. Note, a POST error is normal. It means the
motherboard didn’t detect a keyboard on boot. Also, since the Bios log is full, no new
messages will be written. The log will have to be cleared before new messages will
be written.)
Intravision-2# isi_dmilog
Current change-id: 245
Note: Bios event log is full.
Log:
04/29/04 20:57:10 POST error: 00000200 00000000
04/29/04 21:36:09 POST error: 00000200 00000000
04/29/04 21:58:27 POST error: 00000200 00000000
04/29/04 22:03:03 POST error: 00000200 00000000
04/30/04 17:41:02 POST error: 00000200 00000000
04/30/04 19:11:29 POST error: 00000200 00000000
05/03/04 21:20:42 POST error: 00000200 00000000
05/03/04 21:34:45 POST error: 00000200
00000000
05/03/04 22:30:58 POST error: 00000200 00000000
05/03/04 22:50:46 POST error: 00000200 00000000
05/04/04 16:31:50 POST error: 00000200 00000000
05/04/04 16:52:56 POST error: 00000200 00000000
Totals:
12 of POST error
isi_bug_info (Way too much output to show a sample here. Engineering will sometimes
ask for this output. Here’s how to capture it.)
isi_dav_cp – Copy utility that uses the dav protocol (http). This is very
useful when ftp is not good enough.
isi_distill –The distill tool is used to capture the file and directory structure of a
customer’s data. This tool is useful to understand file size usage. It can also be useful to
determine empirically the performance of the cluster given a specific file structure.
Usage: isi_distill [-hq] [-o outfile] path
Options:
-h Print this message.
-p Preserve file names.
-q Be quiet about errors.
-o <outfile> Redirect output to <outfile> instead of stdout.
isi_fixjournal –
isi_flush – Flushes the content of cache to disk (syncing to disk). This tool is useful when
trying to unmount the filesystem. Usually invoked by another script.
isi_get_itrace – Automated script for obtaining “itraces”. This script takes a 5 second
snapshot of performance information often required to debug problems with the cluster. It
generates a .gz file that is saved by default on /ifs/itraces/ directory.
isi_get_mbinfo – This script loads a debugging .ko to obtain mbuf information about a
node. It creates a .gz file that is saved by default on /ifs/itraces directory.
isi_restill – The restill tool is used to regenerate a file and directory structure using a distill
file. It can take a –j argument that parellizes the job of restilling files thereby making the
process faster.
Usage: isi_restill [-hiq] [-j job#/#jobs] basepath
Options:
-h Print this message.
-i <infile> Input file.
-j job#/#jobs Only do work for job# out of #jobs.
-n Ignore protection and coalescer settings.
-q Be quiet about errors.
-v Print files and directories as they are created.
isi_save_journal – This tools automates the process of saving the contents of the journal to
the /var/crash/ partition. This is one of the utilities used in the “disk tango” process.
isi_restore_journal – The restore_journal tool is used to recover a saved journal from the /
var/crash partition to the NVRAM.
isi_update - The isi_reimage tool installs a specified version of OneFS to a cluster or node
while preserving all of the cluster data. Unlike isi update, the tool by default attempts to
mount buildbiox. Typing ‘ls’ at the prompt shows the images available for upgrade
installation.
isi_kill_busy – The kill_busy tool attempts to kill any services that can cause prevent the
/ifs partition from being unmounted cleanly (filesystem is busy). This tool should only be
used when attempting to unmount the filesystem.
isi alerts
The isi alerts command provides access to active and historical alerts on the
cluster, and the ability to quiet, unquiet, or cancel any active alerts. To perform
one of the actions, specify the command followed by one or more alert ids or all.
>>> isi alerts [-w] [args [...]]
The isi alerts command with no argument appended returns a list of all currently
active alerts, with their ids, time of occurrence, severity, quiet status, and
message. If history is specified, then historical alerts are listed.
The -w argument specifies a wide view, to see all aspects of the alerts.
isi config
When a user executes isi config at the command line, the system opens a subset
of configuration commands directed at managing configuration settings. The isi
config command brings the user to an interactive configuration system where
various node and cluster settings may be altered.
NOTEWhile Isilon IQ is in the isi config subsystem, the other Isilon IQ commands
are unavailable.
>>> help
The help command lists all of the commands available in the current Isilon IQ CLI
context.
The user can append the help command with another Isilon IQ command to get
details on how the specified command operates.
>>> close
The close command disconnects the user from the current isi_config session.
>>> config
The config command commits the latest configuration settings to the system.
The date command sets the date and time the cluster uses for time/date
stamping.
If the user executes the date command with no arguments, it displays the current
system date and time. Or the user can set a new date and time using two-digit
month (01-12) and day (01-31), and a four-digit year, and then a space to
separate the time using 24-hour format for hour values (00-23) and two-digit
values for minutes and seconds (00-60).
The dns command, when executed with no argument, displays the DNS
information the cluster currently uses:
>>> dns
Primary DNS server is set to 172.16.0.1.
The dns delete command deletes all DNS information if used without any other
argument. If delete is followed by primary, secondary or domain, only that
information is deleted.
>>> exit
The exit command disconnects the user from the current isi_config session.
The list command displays a list of clusters on the same subnet as the node
executing the command, when appended with the 'clusters' argument.
It displays a list of unconfigured nodes on the same subnet as the node executing
the command, when appended with the 'unconfigured' argument.
The add command attempts to export the configuration settings from the cluster
executing the command to an unconfigured node on the same subnet, thus making
it part of the cluster. The node is specified in the argument by its MAC address, or
by the number corresponding to its position in the list of unconfigured nodes
(obtained by executing the 'list unconfigured' command). Multiple machines can be
added simultaneously.
The join command attempts to join a node to a cluster, specified by its name or by
the number that corresponds to its position in the list of clusters (see list).
The joinmode command determines how the system will behave when new Isilon
IQ nodes come online on the subnet occupied by the Isilon IQ cluster:
The manual argument configures the system to join new nodes into the cluster in
a separate manual process (see join and add). This is the default join mode
setting.
The secure argument configures the cluster to disallow any new node from joining
the cluster externally. It also makes some other aspects of operation more secure.
The remove command deletes a node from the cluster, as specified by its node ID.
If no argument specifying a node is appended, remove will act upon the node that
is running the current isi_config session.
If the 'all' argument is appended, it removes all cluster nodes. In all cases, the
system returns a confirmation prompt before executing the command.
Once executed, any removed node will reboot and return to its unconfigured state
with all data removed.
The system returns a warning prompt, asking the user to confirm execution:
The default entry at this prompt is [no]; so if the user presses Enter without
typing a response, remove will not execute.
The deliprange command removes the IP addresses in the range specified in the
argument from the list of IP addresses reserved for use in the particular named
interface.
When the system has successfully executed the deliprange command, it returns a
confirmation message:
The interface command displays the IP ranges, netmask and MTU of all network
interfaces when issued with no argument. It displays the IP ranges, netmask and
MTU of the given interface when issued with a network interface name argument.
It enables or disables the given network interface when issued with the enable or
disable argument.
>>> name < name >
The name command displays the name currently assigned to the Isilon IQ cluster,
when executed with no argument. It sets the name of the cluster, when appended
with a name. The name will appear in the list of masters and should be used if the
cluster is named on a DNS server.
The netmask command displays the subnet IP mask that the named interface is
currently using, when executed with no argument. It sets the subnet IP mask that
the named interface will use, when appended by a valid subnet IP mask.
The gateway command displays the IP address of the gateway machine the
cluster users to communicate with systems external to its Ethernet subnet, when
executed with no argument. Designates the gateway machine the cluster uses to
communicate with systems external to its Ethernet subnet, when appended with
the IP address of the gateway machine. Removes the gateway machine the cluster
currently uses, when appended with the 'delete' argument.
The mtu command displays the size of the Maximum Transmission Unit (MTU) the
named interface uses in network communications, when executed with no
argument. Sets the size of the MTU the named interface uses, when appended with
a value. Common settings are 1500 (standard frames), 9000 (jumbo frames), and
Mixed (1500 external, 9000 internal).
It is highly recommended that users configure the network interface used for
internal communications for Jumbo Frames. Jumbo Frames enable the Isilon IQ
cluster to more efficiently communicate to all storage nodes within the cluster,
improving read and write performance up to 30 percent.
NOTEChanges to the MTU setting will not be applied until the nodes are rebooted.
>>> quit
The quit command disconnects the user from the current isi_config session.
The reboot command reboots the node from which the command is executed,
when executed with no argument. Reboots a specified node, when appended with a
node's ID. Reboots all cluster nodes, when appended with the 'all' argument.
>>> rediscover
The timezone command sets the timezone on the cluster to the specified
timezone. Valid timezone identifiers are: GMT, Greenwich Mean Time, Eastern,
Eastern Time Zone, Central, Central Time Zone, Mountain, Mountain Time Zone,
Pacific, Pacific Time Zone, Arizona, Alaska, Hawaii.
The virtip command displays the configured virtual IP address when issued with no
argument. Adds a new IP address to the list of configured virtual IP addresses
when appended with 'add' and an IP address. Removes an existing IP address from
the list of configured virtual IP addresses when appended with 'delete' and an IP
address.
>>> version
>>> wizard
The wizard command puts the user into a scripted series of commands that
manipulate the basic configuration settings.
isi get
The isi get command displays the the properties of the files and directories stored
in the Isilon IQ cluster, including their policy, protection level, and caching level. It
also contains color coded status information.
At any level of output, the protection policy appears in one of three colors: green,
yellow, or red. The color indicates the protection status of the file, with green
corresponding full protection, yellow corresponding to a degraded protection under
a mirroring policy, and red corresponding to a loss of one or more data blocks
under a parity policy.
More succinctly, yellow indicates that a file "needs reprotect", while red indicates
that it "needs repair".
isi services
The isi services command controls the enabling or disabling of the various kinds of
services that are available in the Isilon environment, including NTP, smbtime, NIS,
NFS, Telnet, SSh, HTTP, Samba, FTP, and two Isilon utilities, isi spy and isi
restripe.
The isi services command with no argument appended returns a list of the
activation status of each service:
Available Services:
If the isi services command is used with the disable argument, the service will be
turned off.
-lWhen appended with the -l flag, the isi serv command will display all services
that the user may change, along with a short description and their state.
-aWhen appended with the -a flag, the services list will be augmented to include all
services and their current status, even those that the user cannot change.
isi set
The isi set command controls the protection policy settings on files and folders in
the Isilon IQ file system. There are several ways a protection policy can be set on a
file:
Protection Policy
To set a protection policy explicitly on a particular file, execute the isi set
command appended with the –p flag followed directly with a protection policy, and
then the path to the file on which you want to set the policy, as in the following
example:
• The i argument configures the file to inherit its protection policy from the
nearest parent folder that has an explicitly set policy. The i setting is the
implicit state.
• The <n>x argument configures the file system to mirror the file n times,
where n cannot exceed the number of nodes in the cluster.
• The <n>+1 argument configures the file system to stripe the file n
times with parity protection.
For example, the following command would protect the designated file with twice-
over mirroring:
Write-Coalescing Policy
Write-coalescing may be set to either on or off , and is specified with the -c flag.
By default, only the files specified on the command-line are modified, as in the
following example:
Scope
The file upon which the protection policy acts can be further defined by prepending
the file path with one of the following scope operators/delimiters:
• The -n argument outputs the list of files that would be changed without
actually taking any action.
The isi status command returns real-time information about the status of the
cluster, including data on the health, capacity, space available, detailed throughput
data, and operations whether finished, active, waiting, or failed. The Cluster Health
and Node Health status indicators are color coded, with green indicating healthy,
red indicating offline, and yellow indicating attention needed.
No active operations.
No waiting operations.
No failed operations.
The isi status -q flag ("quiet" output) is used to return the cluster status without
information on operations.
The isi status -w flag ("wide" output) specifies that no truncation of operations
status should take place.
The isi status -n flag ("node" output) returns information about each node in the
cluster. By using this command a user can quickly tell which nodes and/or disks
are up and down, as in the following example:
isi stat -n
Node ID: 1
Node Name: Isilon-1
Node IP Address: 172.16.0.131
Node SN:
Node Health: [ OK ]
Node Capacity 1.4TB
Available 1.4TB ( 0%)
Used 469MB ( 0%)
Network Status:
Prim / bc0
172.16.0.131
26K / 5.4K
Node ID: 2
Node Name: Isilon-2
Node IP Address: 172.16.0.132
Node SN:
Node Health: [ OK ]
Node Capacity 1.4TB
Available 1.4TB ( 0%)
Used 468MB ( 0%)
Network Status:
Prim / bc0
172.16.0.132
27K / 5.1K
Node ID: 3
Node Name: Isilon-3
Node IP Address: 172.16.0.133
Node SN:
Node Health: [ATTN]
Node Capacity 1.2TB
Available 1.2TB ( 0%)
Used 454MB ( 0%)
Network Status:
Prim / bc0
172.16.0.133
34K / 4.7K
1) Soft Fail the drive. This is what would occur in 99% of the cases
of a drive falling out of the acceptable Isilon specifications and
needing to be removed before a hard failure of the drive.
1) This will put the selected drive into softfail mode as would the
OS or Isilon Customer Service determined the drive was no
longer acceptable to be part of the overall cluster. The system
will begin a restripe of the contents on this drive and re-stripe
the contents to other drives in the cluster. Once the restripe is
complete the drive is then logically removed the system.
Please note: during this restripe the drive can still be read
from, but is no longer available for writes.
2) Repeat the procedure for another drive if you have N+2 set for
the entire system as you have planned.