|
Packit |
857059 |
.\" .\" *********************************************************************
|
|
Packit |
857059 |
.\" .\" * *
|
|
Packit |
857059 |
.\" .\" * Copyright 2015-2019, Intel Corporation *
|
|
Packit |
857059 |
.\" .\" * *
|
|
Packit |
857059 |
.\" .\" * All Rights Reserved. *
|
|
Packit |
857059 |
.\" .\" * *
|
|
Packit |
857059 |
.\" .\" *********************************************************************
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TH opadisablehosts 8 "Intel Corporation" "Copyright(C) 2015\-2019" "IFSFFCLIRG (Man Page)"
|
|
Packit |
857059 |
.SH NAME
|
|
Packit |
857059 |
opadisablehosts
|
|
Packit |
857059 |
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.PP
|
|
Packit |
857059 |
|
|
Packit |
857059 |
\fB(Linux)\fR
|
|
Packit |
857059 |
Searches for a set of hosts in the fabric and disables their corresponding switch port.
|
|
Packit |
857059 |
.SH Syntax
|
|
Packit |
857059 |
opadisablehosts [-h \fIhfi\fR] [-p \fIport\fR] \fIreason\fR \fIhost ...\fR
|
|
Packit |
857059 |
.SH Options
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
--help
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Produces full help text.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-h \fIhfi\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Specifies the HFI, numbered 1..n. Using 0 specifies that the -p \fIport\fR port is a system-wide port number. Default is 0.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-p \fIport\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Specifies the port, numbered 1..n. Using 0 specifies the first active port. Default is 0.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
\fIreason\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Specifies the text describing the reason hosts are being disabled. \fIreason\fR is saved in the reason field of the output file.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.IP
|
|
Packit |
857059 |
Information about the links disabled is written to a CSV file. By default, this file is named /etc/opa/disabled:hfi:port.csv where the hfi:port part of the file name is replaced by the HFI number and the port number being operated on (such as 1:1 or 2:1). This CSV file can be used as input to opaenableports.
|
|
Packit |
857059 |
.IP
|
|
Packit |
857059 |
The list is of the form: NodeGUID;PortNum;NodeType;NodeDesc;NodeGUID; PortNum;NodeType;NodeDesc;Reason For each listed link, the switch port closer to this is the one that has been disabled.
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
\fIhost ...\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Defines one or more hosts that are affected by the \fIreason\fR.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.SH -h and -p options permit a variety of selections:
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-h 0
|
|
Packit |
857059 |
|
|
Packit |
857059 |
First active port in system (Default).
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-h 0 -p 0
|
|
Packit |
857059 |
|
|
Packit |
857059 |
First active port in system.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-h \fIx\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
First active port on HFI \fIx\fR.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-h \fIx\fR \fI\fR-p 0
|
|
Packit |
857059 |
|
|
Packit |
857059 |
First active port on HFI \fIx\fR.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-h 0 -p \fIy\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Port \fIy\fR within system (no matter which ports are active).
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-h \fIx\fR \fI\fR-p \fIy\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
HFI \fIx\fR, port \fIy\fR.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.SH Examples
|
|
Packit |
857059 |
opadisablehosts \[aq]bad DRAM\[aq] compute001 compute045
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
opadisablehosts -h 1 -p 2 \[aq]crashed\[aq] compute001 compute045
|