Name
[Windows]
Installation_folder\Manager\bin\rcxadm lserver - L-Server operations
[Linux]
/opt/FJSVrcvmr/bin/rcxadm lserver - L-Server operations
Format
rcxadm lserver create -file file.xml [-nowait] rcxadm lserver delete -name name [-allow deldisk] [-nowait] rcxadm lserver modify -name name -file file.xml [-nowait] rcxadm lserver list rcxadm lserver show -name name [-format {text|xml}] rcxadm lserver start -name name [-nowait] rcxadm lserver stop -name name [-force] [-nowait] rcxadm lserver restart -name name [-force] [-nowait] rcxadm lserver move -name name [-to folder] [-nowait] rcxadm lserver attach -name name {-size size [-disk disk] [-from {pool|vstorage}]|-disk disk} [-exist] [-shared] [-index index] [-system] [-nowait] rcxadm lserver detach -name name -disk disk [-shared] [-online] [-system] [-force] [-allow deldisk] [-nowait] rcxadm lserver detach -name name -type server [-nowait] rcxadm lserver migrate -name name [-to vmhost] [-mode {live|cold}] [-nowait] rcxadm lserver setup -name name -type network [-dryrun] rcxadm lserver set -name name -attr boot={default|pxe} [-net network_name]
rcxadm lserver convert [-name name] -with with [-label label] [-comment comment] [-to folder] [-nowait] rcxadm lserver revert -name name [-nowait]
Description
rcxadm lserver is the command used to perform L-Server management and operations.
Subcommands
Creates an L-Server.
Deletes an L-Server. The resources allocated to the L-Server are automatically released, and the L-Server definition is also deleted.
Modifies the resources comprising an L-Server.
Displays a list of the defined L-Servers.
The following detailed information is displayed:
For virtual L-Servers
Item Name | Description |
---|---|
NAME | L-Server name |
TYPE | Server type |
SPEC | CPU performance, number of CPUs, and memory size |
DISKS | Disk size When there are multiple disks, they are displayed separated by commas. |
IPADDRESSES | IP address When there are multiple IP addresses, they are displayed separated by commas. |
STATUS | L-Server operation status |
RESOURCES | Resource allocation status |
For physical L-Servers
For rack mount servers, if agents have not been registered, the following items are not displayed:
CPU performance
Number of CPUs
Memory Size
Item Name | Description |
---|---|
NAME | L-Server name |
TYPE | Server type |
DISKS | Disk size |
IPADDRESSES | IP address |
STATUS | L-Server operation status |
RESOURCES | Resource allocation status |
To display the detailed information for an L-Server.
The following detailed information is displayed:
For virtual L-Servers
Item Name | Description |
---|---|
Name | L-Server Name |
Label | Label |
Comment | Comment |
Template | L-Server template name |
ServerImage | Image name and version When the L-Server version cannot be distinguished, it will not be displayed. |
ServerType | Server type |
VMType | VM type |
OSType | Type of OS |
CPUArch | CPU architecture |
CPUPerf | CPU performance When the limit is not set, a hyphen ("-") is output. |
CPUReserve (*1) | The minimum number of CPU resources to be allocated |
CPUShare (*1) | The relative proportion for allocation of CPU resources |
CPUWeight (*2) | The priority for allocation of CPU resources |
NumOfCPU | Number of CPUs |
MemorySize | Memory Size |
MemoryReserve (*1) | The minimum amount of memory resources to be allocated |
MemoryShare (*1) | The relative proportion for allocation of memory resources |
StartupRAM (*2) | Initial memory capacity to be allocated at startup |
MemoryBuffer (*2) | Available memory to be reserved as a buffer |
MemoryWeight (*2) | The priority for allocation of memory resources |
VmHost | VM host name This is displayed when an L-Server status is one of the following:
|
VmGuest | VM name for an L-Server This is displayed when an L-Server status is one of the following:
|
OriginalServer | VM host or resource pool to create a virtual machine to allocate to L-Servers |
LastServer | VM host that started the last L-Server virtual machine This is displayed when an L-Server status is one of the following:
|
Status | L-Server operation status |
PowerStatus | L-Server power status |
Resources | Resource allocation status |
ControlledResources | Scope of controlled resources This is displayed for L-Servers linked to configured virtual machines. |
NumOfDisk | The number of disks |
Disk[num] | The disk name to allocate to L-Servers The index number of the disk element is configured in num. The number is 0 or larger. This is displayed when an L-Server status is one of the following:
|
DiskSize[num] | The disk size to allocate to L-Servers The index number of the disk element is configured in num. The number is 0 or larger. |
DiskType[num] | Virtual disk type of the disk to be allocated to the L-Server The index number of the disk element is configured in num. The number is 0 or larger. |
OriginalStorage | Virtual storage or resource pool to create the disk to allocate to L-Servers |
NumOfNIC | Number of NICs |
NIC[num] | The network resource name assigned to L-Servers The network element of index number is configured in num. The number is 0 or larger. |
NIC[num][IPAddress] | IP address to allocate to L-Servers The network element of index number is configured in num. The number is 0 or larger. |
NIC[num][MACAddress] | MAC address to allocate to the L-Server The network element of index number is configured in num. The number is 0 or larger. |
Redundancy | Server redundancy to assign to L-Servers The following are displayed:
|
Positioning | Physical location of the server to allocate to L-Servers |
Exclusion | Exclusion When an operation, in which a resource set to be operated exclusively is outside the range of their user access, is performed, only the resource name is displayed. |
Priority | Priority order for L-Server creation or startup |
ReserveResources | Retaining server resources |
OverCommit | Setting for overcommit Only displayed when overcommit settings are enabled. |
Snapshot[num] | Snapshot collected from L-Servers Displays the version, collected date, and comments. |
DevicePath[num] | Device path of the disk to be allocated to the L-Server The index number of the disk element is configured in num. The number is 0 or larger. |
SecondaryServer | VM host name on which a VMware FT secondary virtual machine operates If access to the VM host failed, a hyphen ("-") is displayed. |
*1: When values are set for VMware, it is displayed.
*2: When values are set for Hyper-V, it is displayed. The values cannot be set using Resource Orchestrator.
For physical L-Servers
For rack mount servers, if agents have not been registered, the following items are not displayed:
CPU performance
Number of CPUs
Memory Size
Item Name | Description |
---|---|
Name | L-Server Name |
Label | Label |
Comment | Comment |
ServerType | Server type |
OSType | Type of OS |
CPUArch | CPU architecture |
CPUPerf | CPU performance |
NumOfCPU | Number of CPUs |
MemorySize | Memory Size |
Model | Model name of the server to allocate to L-Server This is displayed when an L-Server status is one of the following:
|
PhysicalServer | Physical server name This is displayed when an L-Server status is one of the following:
|
OriginalServer | The physical server or resource pool to allocate to L-Servers |
LastServer | The physical server that last started the L-Server This is displayed when a physical L-Server status is one of the following:
|
Status | L-Server operation status |
PowerStatus | L-Server power status |
Resources | Resource allocation status |
ControlledResources | Scope of controlled resources This is displayed for L-Servers linked to configured physical servers. |
NumOfDisk | The number of disks |
Disk[num] | The disk name to allocate to L-Servers The index number of the disk element is configured in num. The number is 0 or larger. This is displayed when an L-Server status is one of the following:
|
DiskType[num] | The connection method of the disk to allocate to the L-Server The index number of the disk element is configured in num. The number is 0 or larger. |
DiskSize[num] | The disk size to allocate to L-Servers The index number of the disk element is configured in num. The number is 0 or larger. |
DiskType[num] | Virtual disk type of the disk to be allocated to the L-Server The index number of the disk element is configured in num. The number is 0 or larger. |
Shared[num] | Shared attributes of disks The index number of the disk element is configured in num. The number is 1 or larger. |
OriginalStorage | Virtual storage or resource pool to create the disk to allocate to L-Servers |
NumOfNIC | Number of NICs |
NIC[num] | The network resource name assigned to L-Servers The network element of index number is configured in num. The number is 0 or larger. |
NIC[num][IPAddress] | IP address to allocate to L-Servers The network element of index number is configured in num. The number is 0 or larger. |
NIC[num][netlinknum][IpAddress] | IP address |
NIC[num][netlinknum][VlanMode] | VLAN mode |
NIC[num][netlinknum][DNSServer] | DNS server address |
NIC[num][netlinknum][DefaultGateway] | Default gateway address |
NICGroup[num][netlinknum][IpAddress] | IP address |
NICGroup[num][netlinknum][VlanMode] | VLAN mode |
NICGroup[num][netlinknum][DNSServer] | DNS server address |
NICGroup[num][netlinknum][DefaultGateway] | Default gateway address |
NICGroup[num][netlinknum][NicLinks] | NIC number to be bound |
Redundancy | Server redundancy to assign to L-Servers |
Positioning | Physical location of the server to allocate to L-Servers |
WWNN[num] | WWNN to assign to an L-Server The index number of the disk element is configured in num. The number is 0 or larger. |
WWPN[num] | WWPN to assign to an L-Server The index number of the disk element is configured in num. The number is 0 or larger. |
Priority | Priority order for L-Server creation or startup |
ReserveResources | Retaining server resources |
iSCSI | Name of the disk resource to allocate to the L-Server |
iSCSI DISK Index | Index number of the disk to allocate to the L-Server |
iSCSI IQN[num][IQN] | IQN name used for the disk connected to the L-Server using iSCSI The index number of the disk element is configured in num. The number is 1 or larger. |
iSCSI IpAddress | IP address used for the disk connected to the L-Server using iSCSI The index number of the disk element is configured in num. The number is 1 or larger. |
iSCSI port | iSCSI communication port number used for the disk connected to the L-Server using iSCSI The index number of the disk element is configured in num. The number is 1 or larger. |
Starts an L-Server.
Stops an L-Server.
Restart the L-Server.
Moves an L-Server to the specified resource folder.
Connects a disk resource to an L-Server and enables it to be accessed.
Note
When an L-Server is powered on, the disk to be attached to must be recognized by the L-Server. Follow the procedure provided by the OS.
When using physical L-Servers, disks cannot be attached to L-Servers that use iSCSI boot.
Releases a disk resource from an L-Server and disables it from being accessed.
When specifying the -type option, if the "Boot Location" of the physical L-Server is set as "Relocate at startup", the physical server can be released from the L-Server.
Note
When deleting the disk while the physical L-Server is powered on, it is necessary to detach the disk to be deleted in advance.
Changes the location of an L-Server to a specified host.
Specify either to perform a live migration, which changes the location of the L-Server without stopping it, or a cold migration, which changes the location of the L-Server after temporarily stopping it.
For physical L-Servers, specification is not possible.
When using a physical L-Server, the network information is sent to a specified L-Server.
The information is stored as a file in the destination server.
The storage location and file are as follows:
File name
net_info.conf
Storage location of the file
[Windows]
Agent_installation_folder\Resource Orchestrator\Agent\etc\net
[Linux]
/etc/opt/FJSVrcxat/net
Configure specific parameters, for a physical L-Server.
When the -attr option is specified, the boot mode can be set.
Links an L-Server with a configured virtual machine or physical server.
Cancels the link between an L-Server and a configured physical server or virtual machine.
Note
When the disk resource is a LUN that has been created in advance, the data on the disk will not be deleted.
When using delete or detach on a LUN that has been created in advance, it is recommended to delete the data on the disk.
For details on the method for deleting the data on a disk, refer to cautionary notes in "5.3.3 Storage Resources" of the "ServerView Resource Orchestrator User's Guide".
Options
In file.xml, specify the path of the XML file that defines the resources that comprise the L-Server. For details on the XML file definition, refer to "2.3 L-Servers".
[Xen]
When the VM type is "RHEL-Xen", the image name cannot be specified.
Specify the display format. You can specify text or xml format.
When -format is omitted, it is displayed in text format.
When performing the following operation, specify the XML and obtain the information.
For XML, refer to "2.2 L-Server Template" or "2.3 L-Servers".
When changing an L-Server using a command
When creating an L-Server template from an existing L-Server
When creating an L-Server with the same configuration as an existing L-Server using a command
Note
When outputting the XML for a virtual L-Server with Hyper-V specified for the VM type, units are displayed for the values of Startup RAM and Memory Buffer. However this has no effect on operation.
Use this option to return directly to the command prompt without waiting for the operation of the L-Server specified in the subcommand to complete its execution.
In name, specify the name of the target L-Server to perform an operation with. To specify an L-Server that is located in a tenant folder or a resource folder, it is necessary to also specify the tenant folder name or the resource folder name connected with a slash ("/").
When specifying the convert subcommand, specify the name for the L-Server. For the characters that can be used for L-Server names, refer to the list of items specified in XML Definitions in "2.3.1 For Physical L-Servers" and "2.3.2 For Virtual L-Servers".
When specifying the convert subcommand and omitting the -name option, the L-Server name is set as follows.
When linking a physical server to an L-Server
If the physical server name of the configured physical server is a possible value for the L-Server name described in "Table 2.3 List of Items Specified in XML Definitions for Physical L-Servers" in "2.3.1 For Physical L-Servers", the physical server name will be set as the L-Server name. If not, an error will occur and the operation will be aborted.
When linking a configured virtual machine to an L-Server
If the VM name of the configured virtual machine is a possible value for the L-Server name described in "Table 2.5 List of Items Specified in XML Definitions for Virtual L-Servers" in "2.3.2 For Virtual L-Servers", the VM name will be set as the L-Server name. If not, an error will occur and the operation will be aborted.
For virtual L-Servers, specify the name of the destination VM host in vmhost. The VM host must be registered in a VM pool. If this option is not specified, a VM host is automatically selected from the VM pools.
Specify a destination VM host with available CPU capacity and memory. If there is insufficient CPU capacity or memory, migration between servers or starting of L-Servers may fail.
For virtual L-Servers, specify the migration method Specify "live" to perform a live migration. Specify "cold" to perform a cold migration. This may not be able to be specified, depending on the power state of the VM guest. When omitted, the appropriate type will be chosen depending on the state of the VM guest.
For stop/restart, use this option to forcibly stop or restart an L-Server without shutting down the operating system it is running on.
For detach, also use this option to release disk resources, ignoring any errors which occur when releasing disk resources for physical L-Servers. Specify this option only for physical L-Servers.
Specify a resource folder to place an L-Server in for folder. For the hierarchized resource folder, specify the resource folder name using slashes ("/"). When omitted, the L-Server is placed in the home folder.
When executed by a user who has multiple access scopes specified, it cannot be omitted. Specify a resource folder.
In size, specify the disk capacity, in units of GB. Up to one decimal place can be specified.
Specify the name of the resource pool or virtual storage resource from which to take the disk capacity to allocate to the L-Server.
For a resource pool or a virtual storage resource located in the resource folder, specify the resource folder name using slashes ("/").
When omitted, resource selection is performed automatically with priority given to storage pools.
Specify the name of the disk resource to allocate to the L-Server or release from the L-Server.
Specify the disk number of the disk resource. By default, the number of the last disk allocated plus one is used. The maximum value differs according to the server type.
Use this option to remove the disk from the L-Server while the server is running. Setting is only possible when the server type is "VM". If you remove a disk in use while the server is running, inconsistencies may occur in the data or the OS management information. Use this option after checking the status of the OS and applications.
[Oracle VM]
The disk cannot be removed while the L-Server is running.
For physical L-Servers, specify an already created LUN for connection.
Specify this option only for physical L-Servers.
For physical L-Servers, specify a disk resource to share with other L-Servers.
Specify this option only for physical L-Servers.
When attach/detach is specified, the system disk will be the target. If omitted, the system disk is not the target.
Specify this option only for physical L-Servers.
The network information file is output.
NIC0_MacAddress="xx:xx:xx:xx:xx:xx" # Single NIC Information SingleNics="0" NIC0_NetworkLinks="0" NIC0_0_VlanMode="untagged" NIC0_0_IpAddress="192.168.24.124" NIC0_0_Vlanid=1 NIC0_0_Netmask="255.255.255.0" NIC0_0_DefaultGateway="192.168.24.254" |
When using a physical L-Server, configure the boot mode by specifying default or pxe.
When setting the boot mode to PXE, specify "pxe". When returning the boot mode to the default mode, specify "default".
In network_name, specify the network resource name to perform PXE boot.
When PXE is set for the boot mode, perform PXE boot from the network of the specified network resource.
This option can only be specified for deldisk.
Specify this option when there are no problems even if disk contents are deleted by the following operations.
Omitting this option will cause an operational failure when there is the possibility that disk contents will be deleted by these operations.
Deleting an L-Server
Releasing disk resources from an L-Server
For physical L-Servers, specify in order to release a physical server from an L-Server.
For physical L-Servers, specify in order to send network information to the L-Server that is specified for the -name option.
In label, specify the label for the L-Server.
In comment, specify the comments for the L-Server.
In with, specify the virtual machine or physical server linked to an L-Server.
Specify the resource folder name or the resource pool name connected with slashes ("/").
/Resource_folder_name/Resource_pool_name/VM_host_name/Virtual_machine_name /Resource_folder_name/Resource_pool_name/Physical_server name /Resource_pool_name/VM_host_name/Virtual_machine_name /Resource_pool_name/Physical_server_name |
Examples
To display the list of defined L-Servers:
>rcxadm lserver list <RETURN>
NAME TYPE SPEC DISKS IPADDRESSES STATUS RESOURCES
---- ---- -------------- -------------- ----------- ------ ---------
L-Server1 Virtual 1.0GHz,1,2.0GB 30.0GB,100.0GB 10.20.30.40,10.20.40.50 normal allocated
L-Server2 Virtual 1.0GHz,1,2.0GB 30.0GB,100.0GB 10.20.30.41 stop preserved
L-Server3 Virtual 1.0GHz,1,2.0GB 30.0GB,100.0GB - stop defined
L-Server11 Physical 2.3GHz,2,72.0GB 30.0GB 10.30.40.2 normal allocated
L-Server12 Physical 2.3GHz,2,72.0GB 30.0GB 10.30.40.3 stop preserved
L-Server13 Physical 2.3GHz,2,72.0GB 30.0GB - stop defined |
To display the detailed information for an L-Server:
>rcxadm lserver show -name /TenantA/test4 <RETURN>
Name: test4
ServerType: Virtual
VMType: VMware
OSType: Microsoft Windows Server 2008 (32-bit)
CPUArch: IA
CPUPerf: 1GHz
CPUReserve: 0.7GHz
CPUShare: 1000
NumOfCPU: 1
MemorySize: 1GB
MemoryReserve: 0.7GB
MemoryShare: 1000
VmHost: vmhost
VmGuest: test4-62
Status: stop
PowerStatus: off
Resources: allocated
NumOfDisk: 1
Disk[0]: test4-0-disk0
DiskSize[0]: 4GB
NumOfNIC: 1
NIC[0]: vnet1
NIC[0][IPAddress]: 192.168.1.2
NIC[0][MACAddress]: 00:50:56:91:09:21
Redundancy: None
Positioning: Fixed
Priority: 128
Repurpose: true
OverCommit: true |