system コマンドは、システム保守、バックアップ、ログアウト、およびシャットダウンを実行するシステムコマンドを提供します。
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
ここでは:
filename は、バックアップまたは復元するファイルの名前です。
key は、インストールする SSH 鍵です。
message はテキストメッセージです。
session はログアウトされるユーザーのセッション ID です。
このコマンドにはサブコマンドがあります。この表では、サブコマンドについて説明し、それらの構文を示します。
|
|
この例は、システムからすべての構成情報をクリアして再起動する方法を示します。OpenSM を実行している場合は、IB サブネットマネージャーを無効にしてから system clear config コマンドを実行します。IB サブネットマネージャーをシャットダウンしたあと、そのステータスはスタンバイモードに変更されます。
[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
この例は、保存した構成をエクスポートしてシステムを復元する方法を示します。
[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% |---------------------|