名前
【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\CreateNic - サーバにNICを追加
【Linuxマネージャー】
/opt/FJSVcfmg/bin/CreateNic.sh - サーバにNICを追加
形式
【Windowsマネージャー】
CreateNic -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID -networkId ネットワークID [-ipAddress IPアドレス]
【Linuxマネージャー】
CreateNic.sh -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID -networkId ネットワークID [-ipAddress IPアドレス]
機能説明
サーバにNICを追加します。
仮想化ソフトウェアが、VMware、Hyper-V、およびRHEL-KVMのサーバにだけ実行可能です。
対象のサーバにスナップショットが存在する場合、NICの追加はできません。
対象のL-Platform内にSolarisコンテナのサーバが存在する、かつ、BladeLogicが存在しない場合、本コマンドは実行できません。
オプション
L-Platform APIのバージョンIDを指定します。
L-Platform APIと通信するための言語を指定します。
L-Platform APIを実行するユーザーIDを指定します。
L-Platform APIを実行するユーザーIDのパスワードを指定します。
L-Platform APIを実行するユーザーのテナント名を指定します。
L-Platform IDを指定します。-
サーバIDを指定します。
追加したNICを接続するネットワークIDを指定します。
追加したNICに割り当てるIPアドレスを指定します。
必要な権限・実行環境
OSの管理者権限をもつユーザー
管理サーバ
使用例
> CreateNic -version 2.0 -locale jp -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -networkId M3PGGWCFX-N-seg1 -ipAddress 192.xxx.xxx.xxx <?xml version="1.0" encoding="UTF-8"?> <CreateNicResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </CreateNicResponse>
# CreateNic.sh -version 2.0 -locale jp -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -networkId M3PGGWCFX-N-seg1 -ipAddress 192.xxx.xxx.xxx <?xml version="1.0" encoding="UTF-8"?> <CreateNicResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </CreateNicResponse>
終了ステータス
以下の終了ステータスが返されます。
正常に処理されました。
エラーが発生しました。