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 API can be executed on the physical server only if the server virtualization software is REHL-KVM.
This command cannot be executed in the following cases:
The target L-Platform has Solaris Zones servers not managed by BladeLogic.
The target L-Platform has OVM for SPARK management servers.
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 tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -diskResourceId diskresource01 -diskName DISK01 <?xml version="1.0" encoding="UTF-8"?> <AttachDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> <diskId>tenantA-M3PGGWCFX-D-0001</diskId> </AttachDiskResponse>
# AttachDisk.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -diskResourceId diskresource01 -diskName DISK01 <?xml version="1.0" encoding="UTF-8"?> <AttachDiskResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> <diskId>tenantA-M3PGGWCFX-D-0001</diskId> </AttachDiskResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.