The system command provides system commands to perform system maintenance, backups, logouts, and shutdowns.
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.
|
|
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
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% |---------------------|