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

14.54 UpdateLServerConfiguration (Changes the Performance of a Server)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\UpdateLServerConfiguration - Changes the Performance of a Server

[Linux Manager]
/opt/FJSVcfmg/bin/UpdateLServerConfiguration.sh - Changes the Performance of a Server

Synopsis

[Windows Manager]

UpdateLServerConfiguration -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID [-cpuPerf CPU performance] [-numOfCpu number of CPUs] [-cpuReserve CPU reserve performance] [-cpuShare CPU share] [-memorySize memory size] [-memoryReserve memory reserve size] [-memoryShare memory share] [-serverType server type] [-priority startup priority when using batch power control]

[Linux Manager]

UpdateLServerConfiguration.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID [-cpuPerf CPU performance] [-numOfCpu number of CPUs] [-cpuReserve CPU reserve performance] [-cpuShare CPU share] [-memorySize memory size] [-memoryReserve memory reserve size] [-memoryShare memory share] [-serverType server type] [-priority startup priority when using batch power control]

Function description

This Command changes the performance of a virtual server.
This Command cannot be executed for a physical server.
Always specify any one of the following:

This command cannot be executed in the following cases:

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.

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

-serverType(optional)

Specify the server type.

-priority(optional)

Specify the startup priority when using batch power control.

Requirements

Permissions

User with OS administrator privilege

Location

Admin server

Example

[Windows Manager]
> UpdateLServerConfiguration -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -cpuPerf 1.4 -cpuReserve 1.0 -memorySize 2.0 -memoryReserve 1.0 -priority 128
<?xml version="1.0" encoding="UTF-8"?>
<UpdateLServerConfigurationResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</UpdateLServerConfigurationResponse>
[Linux Manager]
# UpdateLServerConfiguration.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -cpuPerf 1.4 -cpuReserve 1.0 -memorySize 2.0 -memoryReserve 1.0 -priority 128
<?xml version="1.0" encoding="UTF-8"?>
<UpdateLServerConfigurationResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</UpdateLServerConfigurationResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.