Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\CreateDisk - Adds Additional Disks
[Linux Manager]
/opt/FJSVcfmg/bin/CreateDisk.sh - Adds Additional Disks
Synopsis
[Windows Manager]
CreateDisk -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID -diskSize size_of_the_extension_disk -diskName the_name_of_the_extension_disk [-storagePool the_resource_name_of_the_storage_pool]
[Linux Manager]
CreateDisk.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID -diskSize size_of_the_extension_disk_to_be_attached -diskName the_name_of_the_extension_disk [-storagePool the_resource_name_of_the_storage_pool]
Function description
This command attaches a new extension disk to a server.
This command is executed asynchronously. After the command is successfully executed, the status of the L-Platform changes to Reconfiguring (RECONFIG_ING) during the execution of the operation, and changes back to Operating Normally (NORMAL) when the operation is completed.
When the status of an L-Platform is Reconfiguring, the L-Platform cannot be operated. Use GetLPlatformStatus to check the status of the L-Platform, and execute subsequent operations after waiting for the status to change to Operating Normally.
This command cannot be executed in the following cases:
The server virtualization software is RHEL-KVM, Solaris Zones or OVM for SPARC.
The target L-Platform has Solaris Zones servers not managed by BladeLogic.
Options
Specify the version ID of the L-Platform API.
Specify the language used to communicate with the L-Platform API.
Specify the user ID for executing the L-Platform API.
Specify the password for the user ID for executing the L-Platform API.
Specify the tenant name of the user for executing the L-Platform API.
Specify the L-Platform ID.
Specify the server ID.
Specify the size of the expansion disk to be attached.
Specify the name of the expansion disk to be attached.
Specify the resource name of the storage pool creating the expansion disk.
Requirements
User with OS administrator privilege
Admin server
Example
> CreateDisk -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -diskSize 20 -diskName DISK01 -storagePool /StoragePool <?xml version="1.0" encoding="UTF-8"?> <CreateDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> <diskId>tenantA-M3PGGWCFX-D-0001</diskId> </CreateDiskResponse>
# CreateDisk.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -diskSize 20 -diskName DISK01 -storagePool /StoragePool <?xml version="1.0" encoding="UTF-8"?> <CreateDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> <diskId>tenantA-M3PGGWCFX-D-0001</diskId> </CreateDiskResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.