Top
ServerView Resource Orchestrator Cloud Edition V3.1.2 Reference Guide (Command/XML)
FUJITSU Software

14.3.3 CreateImage (Collects the Cloning Image of a Server)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\CreateImage - Collects the Cloning Image of a Server

[Linux Manager]
/opt/FJSVcfmg/bin/CreateImage.sh - Collects the Cloning Image of a Server


Synopsis

[Windows Manager]

CreateImage -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID -name image_name -imagePool the_resource_ID_of_the_image_pool -comment comment [-allDisk collect_the_cloning_master_together_with_the_expanded_disk]

[Linux Manager]

CreateImage.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID -name image_name -imagePool the_resource_ID_of_the_image_pool -comment comment [-allDisk collect_the_cloning_master_together_with_the_expanded_disk]

Function description

This command collects the cloning image of a server.

Options

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.

-lplatformId

Specify the L-Platform ID.

-lserverId

Specify the server ID.

-name

Specify the name of the image to be created.

-imagePool

Specify the image pool name.

-comment

Specify a comment.

-allDisk (optional)

Specify whether to collect the cloning master together with the expanded disk.


Requirements

Permissions

User with OS administrator privilege

Location

Admin server


Example

[Windows Manager]
> CreateImage -version 2.0 -locale en -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 Manager]
# CreateImage.sh -version 2.0 -locale en -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>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.