opaswitchadmin(8) | IFSFFCLIRG (Man Page) | opaswitchadmin(8) |
opaswitchadmin
(Switch) Performs a number of multi-step initialization and verification operations against one or more externally managed Intel(R) Omni-Path switches. The operations include initial switch setup, firmware upgrades, chassis reboot, and others.
opaswitchadmin [-c] [-N 'nodes'] [-L nodefile] [-O]
[-P packages]
[-a action] [-t portsfile] [-p ports] operation
...
Produces full help text.
Overwrites result files from any previous run before starting this run.
Specifies the list of nodes to execute the operation against.
Specifies the file with nodes in the cluster. Default is /etc/opa/switches file.
For upgrades: Specifies the file name or directory where the firmware image is to install. For the directory specified, .emfw file in the directory tree is used. shell wild cards may also be used within quotes.
Specifies the file with list of local HFI ports used to access fabrics for switch access. Default is /etc/opa/ports file.
Specifies the list of local HFI ports used to access fabrics for switch access.
0:0 First active port in system.
0:y Port y within system.
x:0 First active port on HFI x.
x:y HFI x, port y.
Specifies an action for firmware file for switch upgrade. The action argument can be one or more of the following:
select Ensures firmware is in primary (Default).
run Ensures firmware is in primary and running.
Specifies the override for firmware upgrades, bypasses the previous firmware version checks, and forces the update unconditionally.
Performs the specified operation, which can be one or more of the following:
reboot Reboots switches, ensures they go down and come back.
configure Runs wizard to set up switch configuration.
NOTE: You must reboot the switch for any new settings to be applied.
upgrade Upgrades installation of all switches.
info Reports firmware and hardware version, part number, and data rate capability of all nodes.
hwvpd Completes hardware Vital Product Data (VPD) report of all nodes.
ping Pings all nodes and tests for presence.
fwverify Reports integrity of failsafe firmware of all nodes.
getconfig Gets port configurations of an externally managed switch.
For more information on operations, see Operation Details
opaswitchadmin -c reboot
opaswitchadmin -P /root/ChassisFw X.X.X.X.X upgrade
opaswitchadmin -a run -P '*.emfw' upgrade
The following environment variables are also used by this command:
List of nodes, used in absence of -N and -L options.
File containing list of nodes, used in absence of -N and -L options.
Maximum concurrent operations.
Serialize output of parallel operations (yes or no).
Multiplier for all timeouts associated with this command. Used if the systems are slow for some reason.
opaswitchadmin provides detailed logging of its results. During each run, the following files are produced:
The -c option removes all log files.
Results from opaswitchadmin are grouped into test suites, test cases, and test items. A given run of opaswitchadmin represents a single test suite. Within a test suite, multiple test cases occur; typically one test case per chassis being operated on. Some of the more complex operations may have multiple test items per test case. Each test item represents a major step in the overall test case.
Each opaswitchadmin run appends to test.res and test.log and creates temporary files in test_tmp$PID in the current directory. the test.res file provides an overall summary of operations performed and their results. The same information is also displayed while opaswitchadmin is executing. test.log contains detailed information about what was performed, including the specific commands executed and the resulting output. The test_tmp directories contain temporary files that reflect tests in progress (or killed). The logs for any failures are logged in the save_temp directory with a directory per failed test case. If the same test case fails more than once, save_temp retains the information from the first failure. Subsequent runs of opaswitchadmin are appended to test.log. Intel recommends reviewing failures and using the -c option to remove old logs before subsequent runs of opaswitchadmin. opaswitchadmin also appends to punchlist.csv for failing switches.
opaswitchadmin implicitly performs its operations in parallel. However, as for the other tools, FF_MAX_PARALLEL can be exported to change the degree of parallelism. 1000 parallel operations is the default.
(Switch) All operations against Intel(R) Omni-Path Fabric externally-managed switches (except ping) securely access the selected switches. If a password has been set, the -S option must be used to securely prompt for a password. In this case, the same password is used for all switches.
Reboots the given switches.
Upgrades the firmware on each specified switch. The -P option selects a directory containing a .emfw file or provides an explicit .emfw file for the switches. If more than one .emfw file is specified, the operation is undefined. The -a option selects the desired minimal state for the new firmware. Only the select and run options are valid for this operation.
and Intel(R) Omni-Path Fabric Switches Release Notes
Runs the switch setup wizard, which asks a series of questions. Once the wizard has finished prompting for configuration information, all the selected switches are configured according to the entered responses. The following items are configurable for all Intel(R) Omni-Path Switch 100 Series :
NOTE: Typically, the Node Description is updated automatically during a firmware upgrade, if it is configured properly in the switches file. Updating the node description is also available using the configure option without performing a firmware upgrade.
NOTE: You must reboot the switch for any new settings to be applied.
Queries the switches and displays the following information:
Queries the switches and displays the Vital Product Data (VPD) including:
Issues an inband packet to the switches to test for presence and reports on presence/non-presence of each selected switch.
NOTE: It is not necessary to supply a password (using -S) for this operation.
Verifies the integrity of the firmware images in the EEPROMs of the selected switches.
Gets port configurations of an externally managed switch. This operation also outputs a summary of various configuration settings for each switch within a fabric. For example, in a fabric with seven switches, a report similar to the following is displayed.
Intel Corporation | Copyright(C) 2015-2019 |