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

14.3.3 ChangeDiskSize (Increases Data Disk Capacity)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\ChangeDiskSize - Increases Data Disk Capacity

[Linux Manager]

/opt/FJSVcfmg/bin/ChangeDiskSize.sh - Increases Data Disk Capacity

Format

[Windows Manager]

ChangeDiskSize -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID -diskId the_ID_of_the_extension_disk -diskSize the_size_of_the_data_disk

[Linux Manager]

ChangeDiskSize.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID -diskId the_ID_of_the_extension_disk -diskSize the_size_of_the_data disk

Description

Increases the capacity of the data disk of a server.

This command is executed asynchronously. When this command is successfully executed, the status of the L-Platform shifts to "RECONFIG_ING" (configuration modification in progress) during the process. When the process is complete, the L-Platform returns to "NORMAL" (normal operation).
While the L-Platform is in the "RECONFIG_ING" status, operation of the L-Platform is not possible.
Monitor the status of the L-Platform using GetLPlatformStatus and wait for the L-Platform to shift to "NORMAL" before performing another operation.

This command can only be used if the server virtualization software on the server is VMware or Hyper-V.

This command cannot be executed in the following cases:

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.

-diskId

Specify the disk ID.

-diskSize

Specify the size of the data disk.

Requirements

Permissions

User with OS administrator privilege

Location

Admin server

Examples

[Windows Manager]
> ChangeDiskSize -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -diskId tenantA-M3PGGWCFX-D-0001 -diskSize 30
<?xml version="1.0" encoding="UTF-8"?>
<ChangeDiskSizeResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</ChangeDiskSizeResponse>
[Linux Manager]
# ChangeDiskSize.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -diskId tenantA-M3PGGWCFX-D-0001 -diskSize 30
<?xml version="1.0" encoding="UTF-8"?>
<ChangeDiskSizeResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</ChangeDiskSizeResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.