ページの先頭行へ戻る
ServerView Resource Orchestrator Cloud Edition V3.2.0 リファレンスガイド (コマンド/XML編)
FUJITSU Software

14.3.4 CreateImage (サーバのクローニングイメージを採取)

名前

【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\CreateImage - サーバのクローニングイメージを採取

【Linuxマネージャー】
/opt/FJSVcfmg/bin/CreateImage.sh - サーバのクローニングイメージを採取

形式

【Windowsマネージャー】

CreateImage -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID -name イメージ名 -imagePool イメージプール名 -comment コメント [-allDisk 拡張ディスク込のクローニングマスタを採取]

【Linuxマネージャー】

CreateImage.sh -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID -name イメージ名 -imagePool イメージプール名 -comment コメント [-allDisk 拡張ディスク込のクローニングマスタを採取]

機能説明

サーバのクローニングイメージを採取します。

オプション

-version

L-Platform APIのバージョンIDを指定します。

-locale

L-Platform APIと通信するための言語を指定します。

-userId

L-Platform APIを実行するユーザーIDを指定します。

-password

L-Platform APIを実行するユーザーIDのパスワードを指定します。

-orgId

L-Platform APIを実行するユーザーのテナント名を指定します。

-lplatformId

L-Platform IDを指定します。

-lserverId

サーバ IDを指定します。

-name

作成するイメージにつけるイメージ名を指定します。

-imagePool

イメージプール名を指定します。

-comment

コメントを指定します。

-allDisk(省略可)

拡張ディスク込でクローニングマスタを採取するかどうかを指定します。

必要な権限・実行環境

権限

OSの管理者権限をもつユーザー

実行環境

管理サーバ

使用例

【Windowsマネージャー】
> CreateImage -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001  -name disk1image -imagePool /ImagePool -comment disk1 -allDisk true
<?xml version="1.0" encoding="UTF-8"?>
<CreateImageResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</CreateImageResponse>
【Linuxマネージャー】
# CreateImage.sh -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -name disk1image -imagePool /ImagePool -comment disk1 -allDisk true
<?xml version="1.0" encoding="UTF-8"?>
<CreateImageResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</CreateImageResponse>

終了ステータス

以下の終了ステータスが返されます。

0

正常に処理されました。

0以外

エラーが発生しました。