Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

14.7 CreateLServer (Creates a New Server)

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:

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

-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.

-lserverName

Specify the server name.

-serverType

Specify the server type.

-lserverType(optional)

Specify the server type.

-diskImageId

Specify the disk image ID.

-controlNetworkId

Specify the network ID connecting the control NIC.

-networkId(optional)

Specify a network ID other than the control NIC.

-pool(optional)

Specify the VM pool or server pool resource name.

-storagePool(optional)

Specify the storage pool resource name.

-cpuPerf(optional)

Specify CPU performance.

-numOfCpu(optional)

Specify the number of CPUs.

-cpuReserve(optional)

Specify CPU reserve performance.

-cpuShare(optional)

[When VM type is VMware]

Specify the CPU share.

[When VM type is Hyper-V]

Specify CPU weight.

-memorySize(optional)

Specify memory size.

-memoryReserve(optional)

[When VM type is VMware]

Specify memory reserve size.

[When VM type is Hyper-V]

Specify memory reserve size.

-memoryShare(optional)

[When VM type is VMware]

Specify memory share.

[When VM type is Hyper-V]

Specify memory weight.

-macAddress(optional)

Specify the address set resource name of the MAC address.

-priority(optional)

Specify the startup priority when using batch power control.


Requirements

Permissions

User with OS administrator privilege

Location

Admin server


Example

[Windows Manager]
> 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>
[Linux Manager]
# 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:

0

The command executed successfully.

non-zero

An error has occurred.