名前
【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\DestroyLServer - サーバを削除
【Linuxマネージャー】
/opt/FJSVcfmg/bin/DestroyLServer.sh - サーバを削除
形式
【Windowsマネージャー】
DestroyLServer -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID [-force 強制削除]
【Linuxマネージャー】
DestroyLServer.sh -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID [-force 強制削除]
機能説明
サーバを削除します。
本コマンドは、非同期で実行されます。本コマンドの実行に成功すると、処理の実行中はL-Platformの状態が構成変更中(RECONFIG_ING)に遷移し、処理が完了すると、L-Platformの状態が正常稼働中(NORMAL)に戻ります。
L-Platformの状態が構成変更中の場合は、L-Platformに対する操作ができません。
L-Platformの状態をGetLPlatformStatusで監視し、正常稼働中に遷移するのを待ってから次の操作を行ってください。
以下の場合、本コマンドは実行できません。
対象のL-Platform内にBladeLogicで管理されていないSolarisゾーンのサーバが存在する場合
対象のサーバがBladeLogicで管理されていないOVM for SPARC管理のサーバである場合
オプション
L-Platform APIのバージョンIDを指定します。
L-Platform APIと通信するための言語を指定します。
L-Platform APIを実行するユーザーIDを指定します。
L-Platform APIを実行するユーザーIDのパスワードを指定します。
L-Platform APIを実行するユーザーのテナント名を指定します。
L-Platform IDを指定します。
サーバ IDを指定します。
サーバロードバランサーの分散対象になっているサーバを強制的に削除するかを指定します。
必要な権限・実行環境
OSの管理者権限をもつユーザー
管理サーバ
使用例
>DestroyLServer -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 <?xml version="1.0" encoding="UTF-8"?> <DestroyLServerResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </DestroyLServerResponse>
# DestroyLServer.sh -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 <?xml version="1.0" encoding="UTF-8"?> <DestroyLServerResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </DestroyLServerResponse>
終了ステータス
以下の終了ステータスが返されます。
正常に処理されました。
エラーが発生しました。