opadisableports
- Provided by: opa-fastfabric (Version: 10.10.3.0.11-1ubuntu4)
- Source: opa-ff
- Report a bug
opadisableports [-R] [-h hfi] [-p port] [ reason] < disable.csv
Produces full help text.
Does not attempt to get routes for computation of distance. Instead, it disables the port of the switch with the lower LID (which is often the side closest to the SM) assuming that it is closer to this node.
Specifies the HFI, numbered 1..n. Using 0 specifies that the -p port port is a system-wide port number. Default is 0.
Specifies the port, numbered 1..n. Using 0 specifies the first active port. Default is 0.
Specifies optional text describing why ports are being disabled. If used, text is saved in the reason field of the output file.
Specifies the input file listing the links to disable. The list is of the form: NodeGUID;PortNum;NodeType;NodeDesc;NodeGUID;PortNum; NodeType;NodeDesc;Reason
Information about the links disabled and the reason is saved (in the same format) to an output file 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.
opadisableports 'bad cable' < disable.csv
opadisableports -h 1 -p 1 'dead servers' < disable.csv
opaextractsellinks -F lid:3 | opadisableports 'bad server'
opaextractmissinglinks -T /etc/opa/topology.0:0.xml | opadisableports