opachassisadmin(8) | Master map: IFSFFCLIRG (Man Page) | opachassisadmin(8) |
opachassisadmin
(Switch) Performs a number of multi-step chassis initialization and verification operations, including initial chassis setup, firmware upgrades, chassis reboot, and others.
opachassisadmin [-c] [-F chassisfile] [-H 'chassis']
[-P packages]
[-a action] [-I fm_bootstate] [-S] [-d upload_dir] [-s
securityfiles]
operation...
For chassis upgrade:
push Ensures firmware is in primary or alternate.
select Ensures firmware is in primary.
run Ensures firmware is in primary and running.
For chassis fmconfig :
push Ensures the configuration file is in chassis.
run After push, restarts FM on master, stops on secondary.
runall After push, restarts FM on all management modules.
For chassis fmcontrol :
stop Stops FM on all management modules.
run Ensures FM running on master, stopped on secondary.
runall Ensures FM running on all management modules.
restart Restarts FM on master, stops on secondary.
restartall Restarts FM on all MM.
For chassis fmsecurityfiles :
push Ensures FM security files are in chassis.
restart After push, restarts FM on master, stop on slave.
restartall After push, restarts FM on all MM
disable Disables FM start at chassis boot.
enable Enables FM start on master at chassis boot.
enableall Enables FM start on all MM at chassis boot.
reboot Reboots chassis, ensures they go down and come back.
configure Runs wizard to perform chassis configuration.
upgrade Upgrades install of all chassis.
getconfig Gets basic configuration of chassis.
fmconfig FM configuration operation on all chassis.
fmgetconfig Fetches FM configuration from all chassis.
fmcontrol Controls FM on all chassis.
fmsecurityfiles FM security files operation on all chassis.
fmgetsecurityfiles Fetches FM security files from all chassis.
For more information on the operations that can be performed, see Operation Details
opachassisadmin -c reboot
opachassisadmin -P /root/ChassisFw4.2.0.0.1 upgrade
opachassisadmin -H 'chassis1 chassis2' reboot
CHASSIS='chassis1 chassis2' opachassis_admin reboot
opachassisadmin -a run -P '*.pkg' upgrade
The following environment variables are also used by this command:
(Switch) All chassis operations log into the chassis as chassis user admin. Intel recommends using the -S option to securely prompt for a password, in which case the same password is used for all chassis. Alternately, the password may be put in the environment or the opafastfabric.conf file using FF_CHASSIS_ADMIN_PASSWORD.
All versions of Intel(R) Omni-Path Switch 100 Series firmware permit SSH keys to be configured within the chassis for secure password-less login. In this case, there is no need to configure a FF_CHASSIS_ADMIN_PASSWORD ; and, FF_CHASSIS_LOGIN_METHOD can be SSH. Refer to the Intel(R) Omni-Path Fabric Suite FastFabric User Guide
for more information.
and Intel(R) Omni-Path Fabric Switches Release Notes
opachassisadmin provides detailed logging of its results. During each run, the following files are produced:
The -c option removes all log files.
When performing operations against chassis, Intel recommends setting up SSH keys. If SSH keys are not set up, all chassis must be configured with the same admin password. In this case, Intel recommends using the -S option. The -S option avoids the need to keep the password in configuration files.
Results from opachassisadmin are grouped into test suites, test cases, and test items. A given run of opachassisadmin 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 opachassisadmin 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 opachassisadmin 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 opachassisadmin are appended to test.log. Intel recommends reviewing failures and using the -c option to remove old logs before subsequent runs of opachassisadmin.
opachassisadmin 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.
Intel Corporation | Copyright(C) 2015-2018 |