Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxadm server - Managed server operations
[Linux Manager]
/opt/FJSVrcvmr/bin/rcxadm server - Managed server operations
Format
rcxadm server start -name resource [-nowait] rcxadm server stop -name resource [-force] [-nowait] rcxadm server restart -name resource [-force] [-nowait] rcxadm server switchover -name resource [-spare spare_server] [-nowait] rcxadm server failback -name resource [-nowait] rcxadm server takeover -name resource [-nowait] rcxadm server list [{[-type {physical|vmguest|all}] | [-spare] | [-bootagt]}] rcxadm server migrate -name guest_name -to vmhost [-mode {live|cold}] [-nowait] rcxadm server migrate -home [-name vmhost] [-nowait] rcxadm server set -name resource -attr {vmm_mode={maintenance|active}|vmware.maintenance={maintenance|active}} [VMware] rcxadm server set -name resource -attr vmm_mode={maintenance|active|maintenance_with_move} [Hyper-V] [Xen] [Citrix Xen] rcxadm server set -name resource -attr bootagt={dos|winpe}
Information
rcxserver is an abbreviated form of the rcxadm server command. Both forms provide the same subcommands and options, and produce the same results.
Description
rcxadm server is the command used to control server resources. This function provides the following functionality:
Display of server statuses (physical OS, VM host, or VM guest)
Startup, shutdown, or restart of a designated server (physical server, physical OS, VM host, or VM guest)
Switchover, failback, or takeover of a designated server (physical OS or VM host)
VM guest migration
VM maintenance mode settings for VM hosts
Migration to VM Home Position
Change the boot agent of the specified server (physical server)
When stopping or restarting a VM host, any VM guests that are running will also be stopped.
Verify that stopping the affected VM guests will not cause any problems before stopping or restarting a VM host.
For details on the switchover, failback and takeover operations, refer to "Chapter 18 Server Switchover Settings" in the "User's Guide VE".
For details on VM guest migrations, refer to "15.1 Migration of VM Guests between Servers" in the "User's Guide VE".
For details on VM maintenance mode settings, refer to "15.2 VM Maintenance Mode of VM Hosts" in the "User's Guide VE".
Subcommands
Starts the target server (physical server, physical OS, VM host, or VM guest).
Stops the target server (physical server, physical OS, VM host, or VM guest).
Restarts the target server (physical server, physical OS, VM host, or VM guest).
Switches over the target server (physical OS or VM host) with one of its spare servers.
Switches back a server in switchover state (physical OS or VM host). The spare server that was switched over with is stopped, and the operating system will be restarted on the primary server.
Sets a post-switchover configuration as final, and allows the spare server to take over the role of the original primary server (physical OS or VM host). After takeover, both servers exchange their roles: the original spare server becomes the new primary server, while the original primary server becomes the new spare server.
Displays all registered servers (physical OS's, VM hosts, and VM guests).
The following properties are displayed for each server (when no options are specified).
Item Name | Description |
---|---|
PHYSICAL_SERVER | Physical server name |
SERVER | Server name (physical OS or VM host) |
ADMIN_IP | Admin LAN IP address |
STATUS | Server status Displays one of the following:
For an explanation of possible server statuses, refer to "11.2 Resource Status" in the "Operation Guide CE". |
MAINTENANCE | Current maintenance mode
For details on the maintenance mode, refer to "Appendix C Maintenance Mode" in the "User's Guide for Infrastructure Administrators (Resource Management) CE". |
Migrates a VM guest to a VM host on a different physical server.
Sets or releases VM maintenance mode for a given VM host.
Change the boot agent used when manipulating images.
Options
The following option can be specified for subcommands other than the list subcommand:
Specify the name of the target server in resource.
The following option can be specified when using subcommands other than the list or set subcommand:
Use this option to return directly to the command prompt without waiting for the command to complete its execution.
The following option can be specified for the stop and restart subcommands:
Use this option to forcibly stop or restart a server without shutting down its operating system.
The following option can be specified for the switchover subcommand:
This defines the spare server (physical server) to be switched over with. If omitted, an appropriate server will be automatically selected from the list of spare servers already assigned to the target server.
The following options can be specified for the list subcommand:
This defines the type of server (physical servers, VM guests, all servers) to be listed up.
The following properties are displayed for each server. The option column shows the relationship between displayed properties and the option given in -type ("always" in the table below designates properties that are always displayed, independently from the option given in -type).
Item Name | Description | Options |
---|---|---|
PHYSICAL_SERVER | Physical server name | always |
SERVER | Server name (for a Physical OS, VM host, or VM guest) | always |
TYPE | Server type Displays one of the following:
| physical all |
VM_HOST | VM host name For a VM guest, this shows the name of the VM host on which this VM guest operates. | vmguest all |
ADMIN_IP | Admin LAN IP address | always |
STATUS | Server status Displays one of the following:
For an explanation of possible server statuses, refer to "11.2 Resource Status" in the "Operation Guide CE". | always |
MAINTENANCE | Current maintenance mode
For details on the maintenance mode, refer to "Appendix C Maintenance Mode" in the "User's Guide for Infrastructure Administrators (Resource Management) CE". | physical all |
When using spare servers, this shows the spare server(s) (physical server) assigned to each server.
The following properties are displayed for each server.
Item Name | Description |
---|---|
SERVER | Server name (physical OS or VM host) |
PRIMARY | Primary server Name of the physical server that will be switched over with a spare server during a server switchover. |
SPARE | Spare server Name of the spare server (switchover destination) assigned to the primary server. |
VLAN_SWITCH (*) | Network reconfiguration flag This flag defines whether network settings will be reconfigured during a server switchover.
|
AUTO_SWITCH | Auto-Recovery flag This flag defines whether Auto-Recovery is enabled.
|
ACTIVE | Active server Displays the name of the currently active physical server. |
SWITCHOVER_STATE | Switchover state Displays the current switchover state. Displays one of the following:
|
* Note: When a LAN switch blade is in IBP mode or Converged Fabric mode, the details of settings are displayed in this parameter.
Displays the information about the boot agent used when manipulating images.
The following properties are displayed for each server.
Item Name | Description |
---|---|
PHYSICAL_SERVER | Physical server name |
BOOT_AGENT | Set boot agent Displays one of the following:
|
The following options can be specified for the migrate subcommand:
Specify the name of the destination target VM guest in guest_name.
Specify the name of the destination VM host in vmhost.
The type of migration method to perform is given for mode.
Depending on the power state of the VM guest to migrate, only one of those types may be available. When omitted, the appropriate type will be chosen depending on the state of the VM guest.
The following values can be specified.
Performs a live migration: migration of an active (powered-on) VM guest.
Performs a cold migration: migration of an inactive (powered-off) VM guest.
The power status of the VM guest after migration will be the same as it was before migration.
Specify when performing migration to the VM Home Position.
Specify the name of the operation target VM host in vmhost.
The following options can be specified for the set subcommand:
Sets or releases VM maintenance mode for the target VM host.
Sets or releases VM maintenance mode for the target VM host, or migrates the VM guest when set.
Changes the boot agent used when manipulating images to DOS or Windows PE.
When the managed server has the following configuration, this option must be specified before manipulating images to change the boot agent settings.
SAN data environments using a built-in disk boot, and a physical WWN or VIOM, must be converted to DOS.
When using the Red Hat Enterprise Linux 6 ext4 file system and one of the following conditions applies, it needs to be changed to Windows PE.
SAN boot environment using HBA address rename
Rack mount or tower servers have been registered with "Disabled" selected for "Association with server management software (ServerView)"
In a SAN boot environment using HBA address rename and where the following model or OS is used, it needs to be changed to Windows PE.
PRIMERGY BX960 S1
XenServer6 or later
This option cannot be specified for the following models:
Fujitsu M10/SPARC Enterprise
PRIMEQUEST
Requirements
One of the following permissions is required:
OS Administrator
Resource Orchestrator Privileged User
Admin server
Examples
To display a list of registered servers and their properties
>rcxadm server list <RETURN>
PHYSICAL_SERVER SERVER ADMIN_IP STATUS MAINTENANCE
--------------- ------ -------- ------ -----------
blade01 WebServer01 192.168.1.4 normal ON
rackserver01 AppServer01 192.168.1.2 normal OFF
rackserver02 DBServer01 192.168.1.6 stop OFF
rackserver03 DBServer02 192.168.1.7 normal ON |
To display spare server settings
>rcxadm server list -spare <RETURN>
SERVER PRIMARY SPARE VLAN_SWITCH AUTO_SWITCH ACTIVE SWITCHOVER_STATE
------ ------- ----- ----------- ----------- ------ ----------------
Server1 blade1-1 blade1-9 ON ON blade1-9 failback running
Server2 blade1-2 blade1-9,blade1-10 OFF ON blade1-2 normal |
To display a list of physical servers (including physical OS's and VM hosts)
>rcxadm server list -type physical <RETURN>
PHYSICAL_SERVER SERVER TYPE ADMIN_IP STATUS MAINTENANCE
--------------- ------ ---- -------- ------ -----------
blade1-1 Server1 native 192.168.3.121 stop ON
blade1-10 - - 192.168.3.130 stop -
blade1-2 Server2 native 192.168.3.122 normal OFF
blade1-3 Server3 native 192.168.3.123 stop ON
blade1-5 Server5 native 192.168.3.125 normal ON
blade1-7 vmesx1 vm_host 192.168.3.127 normal OFF
blade1-8 Server8 native 192.168.3.128 normal OFF
blade1-9 - - 192.168.3.129 stop - |
To display a list of VM guests
>rcxadm server list -type vmguest <RETURN>
PHYSICAL_SERVER SERVER VM_HOST ADMIN_IP STATUS
--------------- ------ ------- -------- ------
blade1-7 vm-1 vmesx1 192.168.3.127 normal
blade1-7 vm-2 vmesx1 192.168.3.127 normal |
To display a list of all server resources (including physical OS's, VM hosts, and VM guests)
>rcxadm server list -type all <RETURN>
PHYSICAL_SERVER SERVER TYPE VM_HOST ADMIN_IP STATUS MAINTENANCE
--------------- ------ ---- ------- -------- ------ -----------
blade1-1 Server1 native - 192.168.3.121 stop ON
blade1-10 - - - 192.168.3.130 stop -
blade1-2 Server2 native - 192.168.3.122 normal OFF
blade1-3 Server3 native - 192.168.3.123 stop ON
blade1-5 Server5 native - 192.168.3.125 normal ON
blade1-7 vmesx1 vm_host - 192.168.3.127 normal OFF
blade1-7 vm-1 vm_guest vmesx1 192.168.3.127 normal OFF
blade1-7 vm-2 vm_guest vmesx1 192.168.3.127 normal OFF
blade1-8 Server8 native - 192.168.3.128 normal OFF
blade1-9 - - - 192.168.3.129 stop -
sparcm10-1 ovm vm_host - 192.168.3.131 normal OFF
sparcm10-1 ovm-1 vm_guest ovm 192.168.3.131 normal OFF
sparcm10-1 ovm-2 vm_host ovm 192.168.3.132 normal OFF |
To migrate an active VM guest
>rcxadm server migrate -name vm_guest01 -to vm_host02 -mode live <RETURN> |
To migrate an inactive VM guest
>rcxadm server migrate -name vm_guest01 -to vm_host02 -mode cold <RETURN> |
When displaying the information for the current boot agent
>rcxadm server list -bootagt <RETURN>
PHYSICAL_SERVER BOOT_AGENT
--------------- ----------
blade1-1 DOS
blade1-10 Windows PE
blade1-2 DOS |
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.
Note
A VM guest can be configured to automatically start or stop whenever its VM host starts up or shuts down. This can be achieved by setting up the VM guest's startup and shutdown options in the server virtualization software used.
For more information, please refer to the server virtualization software manual.
As a result of power operation being performed on a VM guest, an error may occur if the VM guest is moved to another VM host and processes executed.
Refer to "D.3 Functional Differences between Products" in the "Design Guide VE" for details.
VM guests should be properly configured in order to use the "stop" or "restart" subcommands.
Stopping or restarting a VM guest that was not properly configured will result in an error unless the -force option is specified.
Refer to "D.2 Configuration Requirements" in the "Design Guide VE" for details.
For PRIMEQUEST servers, the warning message will not be displayed, even if there is a chance that the switchover will not be correctly performed using Reserved SB settings.
If ServerView Deployment Manager is used on the admin LAN, the switchover and failback subcommands cannot be used if the managed servers do not fulfill the following conditions.
For more details, please refer to "Appendix B Co-Existence with ServerView Deployment Manager" in the "Setup Guide VE".
Servers in local boot environments
Servers in SAN boot environments without VIOM profiles
The changes to the boot agent are valid while the physical server is registered. After reregistering the physical server, change the boot agent using the command if necessary.
This section explains the additional functions of the Cloud Edition.
Only the additional functions can be used for a server that has been allocated to an L-Server.
Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxadm server - Managed server operations
[Linux Manager]
/opt/FJSVrcvmr/bin/rcxadm server - Managed server operations
Format
rcxadm server set -name resource -mode {active|maintenance}
Description
The additional functions of rcxadm server are indicated below.
Set or release server maintenance mode.
Options
For resource, specify a server name to place into or release from maintenance mode.
Specify whether the server is to be placed into or released from maintenance mode.
Release maintenance mode.
Places into maintenance mode.