opadisablehosts

(Linux) Searches for a set of hosts in the fabric and disables their corresponding switch port.

Syntax

opadisablehosts [-h hfi] [-p port] reason host ...

or

opadisablehosts --help

Options

--help

Produces full help text.

-h hfi

HFI to send through. The default is the first HFI.

-p port

Port to send through. The default is the first active port.

reason

Text describing the reason hosts are being disabled. reason is saved at the end of any new lines in disabled file. For ports already in disabled file, this is ignored.

Examples

opadisablehosts 'bad DRAM' compute001 compute045
opadisablehosts -h 1 -p 2 'crashed' compute001 compute045