Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.3Redundant Line Control Function

C.8.1 Setup example for creating a highly reliable network of guest domains using GLS on domain-0 (Untagged VLAN and single network configuration)

This section describes a configuration setup example for the following network configuration.

1) Setting up the network on the host OS

1-1) Define the IP addresses and host names you use in the /etc/hosts file.

192.168.80.1 hosta    # virtual IP address of the host OS
192.168.80.100 swhub1 # IP address of the primary monitoring destination's HUB
192.168.80.101 swhub2 # IP address of the secondary monitoring destination's HUB

1-2) Edit /etc/sysconfig/network-scripts/ifcfg-ethX (X is 0,1) file as follows.

1-3) Configure the /etc/sysconfig/network file to enable the network setting.

NETWORKING=yes

2) Setting the redundant line switching mode

2-1) Setting the virtual interface

/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m v -t eth0,eth1

2-2) Setting an IP address and a subnet mask

Define an IP address or a subnet mask in /etc/sysconfig/network-scripts/ifcfg-sha0 file.

2-3) Setting the network monitoring function

/opt/FJSVhanet/usr/sbin/hanetpathmon target -n sha0 -p 192.168.80.100,192.168.80.101

3) Setting up the virtual network

3-1) Define the virtual bridge (xenbr0). For details, see the RHEL manuals.

3-2) Save the created script in "/etc/xen/scripts".

# cp network-bridge-gls /etc/xen/scripts
# cd /etc/xen/scripts
# chmod +x network-bridge-gls

3-3) Register with the xend service

3-4) Edit the domain configuration file

The network interface for the guest OS should be connected to the primary virtual bridge (xenbr0) that you set in "3-1)". The following shows an example of the domain configuration file. Set the virtual bridge name in the "vif" parameter. For details on the domain configuration file, see the RHEL manuals.

3-5) Reboot

To enable the network settings for Domain-0, execute the following command and reboot the system. After rebooting the system, use the ifconfig command to check that sha0 is activated.

/sbin/shutdown -r now

4) Setting up a guest OS

Set up an IP address. Edit the "/etc/sysconfig/network-scripts/ifcfg-ethX" file as you would for the host OS.