The setup procedure when using Xen as server virtualization software is as follows:
Create Storage Connection Definition Files
Give descriptions, separating the admin IP addresses of VM hosts belonging to the scope of PRIMECLUSTER GDS shared classes using commas, and giving the scopes of shared clusters on individual lines.
When changing the shared class configuration, modify the definition files.
[Linux]
/etc/opt/FJSVrcvmr/customize_data
storage_vmhost.rcxprop
vmhost_ipaddr,vmhost_ipaddr,... |
Register Resources
Register storage management software
Register PRIMECLUSTER GDS on VM hosts as storage management software.
Register 1 of the VM hosts belonging to the scope of PRIMECLUSTER GDS shared classes. It is not necessary to register all VM hosts which belong to the scope.
When registering PRIMECLUSTER GDS as storage management software, single disks which were created in advance during pre-setup preparations, are automatically registered in Resource Orchestrator as virtual storage resources.
Execute the rcxadm storagemgr command to register storage management software.
For details on the rcxadm storagemgr command, refer to "1.7.1 rcxadm storagemgr" of the "Reference Guide (Resource Management) CE".
Register managed servers (domain 0)
Register Managed Servers
Refer to "2.5.1 Registering Rack Mount or Tower Servers" of the "User's Guide for Infrastructure Administrators (Resource Management) CE".
Register LAN Switches
Refer to "2.5.2 Registering LAN Switches" of the "User's Guide for Infrastructure Administrators (Resource Management) CE".
Register Resources in Resource Pools
Register VM host resources (domain 0)
In the ROR console orchestration tree, right-click the target VM pool, and select [Register Resources] from the popup menu.
The [Register Resources] dialog is displayed.
Select the VM host to register.
Click <OK>.
Register virtual storage resources
In the ROR console orchestration tree, right-click the target storage pool, and select [Register Resources] from the popup menu.
The [Register Resources] dialog is displayed.
Select the virtual storage resource to register.
Click <OK>.
Register network resources
If the NIC and network resources are connected when an L-Server is created, the settings matching the network resource definition will be registered automatically for the VM host that the L-Server will operate on.
For details, refer to "Manual Network Configuration".
In the ROR console orchestration tree, right-click the target network pool, and select [Create Resource] from the popup menu.
The [Create a network resource] dialog is displayed.
Enter the items necessary for network resources.
For details, refer to "7.3 Network Resources" of the "User's Guide for Infrastructure Administrators (Resource Management) CE".
Register address set resources (MAC addresses)
Create and register an address set resource (MAC address) in the address pool.
For details, refer to "7.6 Address Set Resources" of the "User's Guide for Infrastructure Administrators (Resource Management) CE".
Create an L-Server Template
Create an L-Server using an L-Server template.
The L-Server is the L-Server to collect cloning images from.
Export an L-Server template
Refer to "8.2.1 Exporting a Template" of the "User's Guide for Infrastructure Administrators (Resource Management) CE".
Edit an L-Server template
For details on the XML definition of L-Server templates, refer to "2.2.2 Virtual L-Server Templates" of the "Reference Guide (Resource Management) CE".
In this case, perform the following configuration:
Specify RHEL-Xen for the VM type.
Specify "None" for the redundancy.
Specify "Fixed" for the positioning.
Import an L-Server template
Refer to "8.2.3 Importing a Template" of the "User's Guide for Infrastructure Administrators (Resource Management) CE".
Manual Network Configuration
For the virtual bridge created in advance, only provide the function for connection with the virtual bridge. Manually perform virtual bridge settings in advance.
Use a different VLAN ID for each virtual bridge to connect with the virtual bridge.
Additionally, the following settings must be performed in advance.
Create a Virtual Bridge
Create a virtual bridge with the same name (including upper and lower case characters) for all VM hosts comprising the cluster.
This enables migration of VM guests between VM hosts.
When a virtual bridge has already been manually configured and server virtualization software other than RHEL5-Xen is being used with the same manager, set a different name from the one used by the virtual switch, virtual network, and virtual bridge on the other virtualization software.
Configure Virtual Bridge Communication Settings
Right-click the LAN switch in the server resource tree, and select [Modify]-[Network Settings] from the popup menu.
Configure LAN switches to enable communication using the tagged VLAN between virtual bridges using the same name.
The ROR console can be used for VLAN configuration of LAN switch blade external ports.
For details, refer to "2.4.4 Configuring VLANs on LAN Switch Blades" of the "User's Guide for Infrastructure Administrators (Resource Management) CE".
Define the Supported Virtual Bridge and VLAN ID
Supported virtual bridges and VLAN IDs are defined in the virtual bridge definition file of Resource Orchestrator.
For details on definition file format, refer to "File Format for Virtual Bridge Definitions".
Create Network Resources
From the GUI:
In the [Create a network resource] dialog containing the VLAN ID that was specified in 2. and 3., check the "Use configured virtual switches." checkbox and create a network resource.
From the Command-line:
Create the XML file that defines network resources.
Define the VLAN ID specified at 2. and 3. in the XML file.
In this case, specify auto="false" in the Network tag.
To create the network resource, execute the rcxadm network create command specifying the XML file created in a.
The network resources are created.
For details on the rcxadm network command, refer to "1.3.5 rcxadm network" of the "Reference Guide (Resource Management) CE".
For details on Network elements, refer to "2.5 Network Resources" of the "Reference Guide (Resource Management) CE".
An example of virtual NIC configuration and connection with virtual bridge using network resources is given below:
File Format for Virtual Bridge Definitions
[Linux]
/etc/opt/FJSVrcvmr/customize_data
vnetwork_rhelxen.rcxprop
Describe the virtual bridge definition file in one line as below:
"Virtual_bridge_name"=VLAN ID |
For the VLAN ID, a value from 1 to 4094 can be specified.
Example
"xenbr0"=10
Blank spaces before and after equal signs ("=") are ignored.
Describe the virtual bridge correctly, as the entry is case-sensitive.
Save files using the UTF-8 character code.
When there are multiple lines with the same virtual bridge name, all specified lines are valid.
When the same VLAN ID is included in a line with a different virtual bridge name, the first occurrence in the file is valid and the lines after it are ignored.
An error occurs during L-Server creation if the definition of the VLAN ID of the network resource connected to the NIC cannot be found.
L-Server Creation
Use the following procedure to create L-Servers:
Create an L-Server using an L-Server template.
Create an L-Server using an L-Server Template.
Execute the rcxadm lserver create command, and create an L-Server.
For details on the rcxadm lserver create command, refer to "1.3.1 rcxadm lserver" of the "Reference Guide (Resource Management) CE".
In this case, perform the following configuration:
For the name of an L-Server template, specify the name of the L-Server template that has been created in advance.
For VM host, specify the VM host (admin OS) to allocate to the L-Server.
Install an OS
For manual OS installation, use the virtual machine manager.
For manual OS installation, refer to the "Red Hat Enterprise Linux 5 Virtualization Guide".
Red Hat Enterprise Linux 5 Virtualization Guide
URL: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/index.html (As of February 2012) |
Collect Cloning Images
Collect cloning images after creating an L-Server. Execute rcxadm image create to collect cloning images.
When executing rcxadm image create, the cloning images are stored in the storage pool.
For details on the rcxadm image create command, refer to "1.4.1 rcxadm image" of the "Reference Guide (Resource Management) CE".
Point
When the destination folder for image storage is omitted during the cloning image collection, virtual storage in the same storage pool as the virtual storage used by the L-Server that is the target for collecting cloning images is automatically selected.
Create an L-Server using Systemwalker Software Configuration Manager.
For details, refer to the "Systemwalker Software Configuration Manager Operation Guide".
In this case, specify the cloning images collected during L-Server creation for images.
Note
When sharing disks among L-Servers, create the Nth L-Server, after completing creation of the Nth-1 L-Server.
When copying the data during the L-Server creation, perform the operation after powering off the L-Server that is the source of the data to be copied. When creating an L-Server while copying data, do not perform power operations on the source of the data to be copied.
L-Server Operations
When using RHEL5-Xen, L-Server operations cannot be performed using the ROR console.
Use the rcxadm lserver command, for L-Server operations.
For details, refer to "1.3.1 rcxadm lserver" of the "Reference Guide (Resource Management) CE".
Changing L-Server Specifications
To change L-Server specifications, execute rcxadm lserver modify.
For details on the specifications that can be changed, refer to "2.3.2 Definition Information for Virtual L-Servers (XML)" in the "Reference Guide (Resource Management) CE".
The value after changing the specifications can be checked in the [Resource List] tab in the orchestration tree.
From the command-line, execute rcxadm lserver list and rcxadm lserver show.
For details, refer to "1.3.1 rcxadm lserver" of the "Reference Guide (Resource Management) CE".
Check the CAP value of a guest domain that is operating, using the virsh schedinfo command.
Check the CAP value of a guest domain that has been stopped, using the domain configuration files.
For details, refer to the "Red Hat Enterprise Linux 5 Virtualization Guide".
Red Hat Enterprise Linux 5 Virtualization Guide
URL: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/index.html (As of February 2012) |
The CAP value is calculated as follows:
CAP value = ((Specified_CPU_clock_speed GHz * 1000) * CPU_number * 100) / physical_CPU_clock_speed MHz |