Oracle® Fabric OS 1.0.2 Command Reference

Exit Print View

Updated: November 2016
 
 

system

The system command provides system commands to perform system maintenance, backups, logouts, and shutdowns.

Syntax

system access-core-files
system broadcast message
system cancel {restart|shutdown}
system clear {config|garbage|logs}
system export filename
system import filename
system install ssh-key key
system logout session message
system restart-ofos [–noconfirm]
system restart-ilom [–noconfirm]
system shutdown message [–delay=sec] [–force] [–noconfirm] [–now]
system verify

where:

  • filename is the name of the file to back up or restore.

  • key is the SSH key that you are installing.

  • message is a text message.

  • session is the session ID of the user that will be logged out.

This command has subcommands. This table describes the subcommands and provides their syntax.

Subcommand
Description
access-core-files
Sets the system core files as readable.
broadcast
Sends a message to all CLI users who are logged in.
cancel
Cancels one of these pending operations:
  • restart

  • shutdown

clear
Optional. Performs one of the following actions:
  • config – Clears your configuration by completely wiping it out and starting over. This command resets all values in the fabric's configuration database to the factory defaults. When you use the system clear config command, you are prompted for confirmation before the configuration is cleared. When prompted, type confirm to clear the configuration. Any answer other than confirm aborts the system clear config command.

  • garbage – Removes failed processes, such as failed image installations.

  • logs – Removes existing error and warning logs.

export
Before you upgrade the software through a chassis upgrade, export your system configuration to an XML file. The system export command is also used to back up the configuration of an I/O module. For more information about modules, refer to Managing a Module in Oracle Fabric OS 1.0.2 Administration Guide.
import
Loads a configuration file into the system.
If you import a configuration, the system migrates the old configuration to the new. The file is imported in XML format. If your running configuration gets lost during a chassis software upgrade, you can import the old one.
install ssh-key
Installs SSH software on the system.
logout
Forces a user to logout (administrator only).
restart-ilom
restart-ofos
Restarts Oracle Fabric OS and the base OS on the hardware. For more information, refer to Controlling the Switch (Oracle ILOM Web) in Oracle EDR InfiniBand Switch and Virtualized I/O Systems Administration Guide.
shutdown
Stops all processes and shuts off power to all components in the chassis. All power is deactivated.
verify
Verifies the integrity of the installation.

Options

Option
Description
–delay
Defines the number of seconds before the shutdown begins.
–force
Performs the shutdown immediately, prompting for confirmation.
–noconfirm
Switches off confirmation prompts. The shutdown completes without prompting you for confirmation. The argument automatically answers yes to any prompts.
–now
Performs the shutdown immediately.

Example: Clear All Configuration

This example shows how to clear all configuration information from the system and restart. If you are running OpenSM, disable the IB subnet manager first and then run the system clear config command. After you shut down the IB subnet manager, its status changes to standby mode.

[OFOS] set ib sm down
Disabling IB Subnet Manager will disrupt traffic on the network.  Are you sure (y/n)?
[OFOS] system clear config
This is a destructive operation. Your configuration will be cleared and the system will be restarted.
Please type 'confirm' to clear the configuration and restart the system.
[OFOS] confirm

Example: Save and Restore System Configuration

This example shows how to export a saved configuration and restore the system.

[OFOS] system export myconfig.xml 
[OFOS] system import myconfig.xml 

DISK STATUS
Partition             Size  Available       Used %used
Base OS           253.967M    77.037M   163.816M  64%  |#############--------|
Oracle Fabric OS    1.192G   330.699M   827.602M  67%  |##############-------|
System logs         9.169G     8.531G   175.754M   1%  |---------------------|
Database            8.249G     7.646G   188.738M   2%  |---------------------|
Temporary data      6.040G     5.701G    32.062M   0%  |---------------------|
User data           2.752G     2.522G    92.645M   3%  |---------------------|
Volatile data     184.901M   175.334M     0.021M   0%  |---------------------|
Config data        44.292M    41.952M     0.053M   0%  |---------------------|