Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\CreateLServer - Creates a New Server
[Linux Manager]
/opt/FJSVcfmg/bin/CreateLServer.sh - Creates a New Server
Synopsis
[Windows Manager]
CreateLServer -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverName server name -serverType server type [-lserverType server type] -diskImageId disk image ID -controlNetworkId the ID of the network connected to the control NIC [-networkId the ID of a network other than the control NIC] [-pool the resource name of the VM pool or server pool] [-storagePool the resource name of the storage pool] [-cpuPerf CPU performance] [-numOfCpu number of CPUs] [-cpuReserve reserved CPU performance] [-cpuShare CPU allotment ratio] [-memorySize amount of memory] [-memoryReserve reserved memory capacity] [-memoryShare memory allotment ratio] [-macAddress address set resource name of the MAC address] [-priority priority startup levels when performing batch power supply controls]
[Linux Manager]
CreateLServer.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverName server name -serverType server type [-lserverType server type] -diskImageId disk image ID -controlNetworkId the ID of the network connected to the control NIC [-networkId the ID of a network other than the control NIC] [-pool the resource name of the VM pool or server pool] [-storagePool the resource name of the storage pool] [-cpuPerf CPU performance] [-numOfCpu number of CPUs] [-cpuReserve reserved CPU performance] [-cpuShare CPU allotment ratio] [-memorySize amount of memory] [-memoryReserve reserved memory capacity] [-memoryShare memory allotment ratio] [-macAddress address set resource name of the MAC address] [-priority priority startup levels when performing batch power supply controls]
Function description
This command creates a server within an L-Platform. The user must always specify the ID of the disk image that is used as the initial content required for the startup disk.
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.
Note
When creating a physical server, only two commands can be simultaneously executed, due to the limitations of the hardware that is set.
When creating more than two physical servers, leave some time between the executions of this command.
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 name.
Specify the server type.
Specify the server type.
Specify the disk image ID.
Specify the network ID connecting the control NIC.
Specify a network ID other than the control NIC.
Specify the VM pool or server pool resource name.
Specify the storage pool resource name.
Specify CPU performance.
Specify the number of CPUs.
Specify CPU reserve performance.
[When VM type is VMware]
Specify the CPU share.
[When VM type is Hyper-V]
Specify CPU weight.
Specify memory size.
[When VM type is VMware]
Specify memory reserve size.
[When VM type is Hyper-V]
Specify memory reserve size.
[When VM type is VMware]
Specify memory share.
[When VM type is Hyper-V]
Specify memory weight.
Specify the address set resource name of the MAC address.
Specify the startup priority when using batch power control.
Requirements
User with OS administrator privilege
Admin server
Example
> CreateLServer -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverName server02 -serverType economy -lserverType Virtual -diskImageId image-13820fa6e3e -cotrolNetworkId M3PGGWCFX-N-seg -pool /VMHostPool -storagePool /StoragePool -cpuPerf 1.0 -numOfCpu 1 -cpuReserve 0.7 -cpuShare 1000 -memorySize 1.0 -memoryReserve 0.5 -memoryShare 1000 -priority 64 <?xml version="1.0" encoding="UTF-8"?> <CreateLServerResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> <lserverId>tenantA-M3PGGWCFX-S-0002</lserverId> </CreateLServerResponse>
# CreateLServer.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverName server02 -serverType economy -lserverType Virtual -diskImageId image-13820fa6e3e -cotrolNetworkId M3PGGWCFX-N-seg -pool /VMHostPool -storagePool /StoragePool -cpuPerf 1.0 -numOfCpu 1 -cpuReserve 0.7 -cpuShare 1000 -memorySize 1.0 -memoryReserve 0.5 -memoryShare 1000 -priority 64 <?xml version="1.0" encoding="UTF-8"?> <CreateLServerResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> <lserverId>tenantA-M3PGGWCFX-S-0002</lserverId> </CreateLServerResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.