Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\AttachDisk - Attaches an Existing Disk
[Linux Manager]
/opt/FJSVcfmg/bin/AttachDisk.sh - Attaches an Existing Disk
Synopsis
[Windows Manager]
AttachDisk -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID -diskResourceId the_resource_ID_of_the_existing_disk -diskName the_name_of_the_existing_disk
[Linux Manager]
AttachDisk.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID -lserverId server_ID -diskResourceId the_resource_ID_of_the_existing_disk -diskName the_name_of_the_existing_disk
Function description
This command attaches an existing extension disk to a server.
Use ListDisk to get a list of existing disks to attach.
This command can only be executed on physical servers and servers with RHEL-KVM or OVM for SPARC server virtualization software.
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 target L-Platform has Solaris Zones servers not managed by BladeLogic.
The target server is an OVM for SPARC server 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 resource ID of the existing disk to be attached.
Specify the display name of the existing disk to be attached.
Requirements
User with OS administrator privilege
Admin server
Example
> AttachDisk -version 2.0 -locale en -userId user3 -password password -orgId tenantD -lplatformId tenantD-HY43YHSWA -lserverId tenantD-HY43YHSWA-S-0001 -diskResourceId diskresource01 -diskName DISK01 <?xml version="1.0" encoding="UTF-8"?> <AttachDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <diskId>tenantD-HY43YHSWA-D-0003</diskId> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </AttachDiskResponse>
# AttachDisk.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantD -lplatformId tenantD-HY43YHSWA -lserverId tenantD-HY43YHSWA-S-0001 -diskResourceId diskresource01 -diskName DISK01 <?xml version="1.0" encoding="UTF-8"?> <AttachDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <diskId>tenantD-HY43YHSWA-D-0003</diskId> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> </AttachDiskResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.