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

D.6.2 Setup example for creating a highly reliable network of guest domains on KVM hosts (Tagged VLAN)

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

1) Setting up the system

1-1) Define IP addresses and hostnames in /etc/hosts file.

192.168.80.1    hosta    # virtual IP address of the KVM host
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 the /etc/sysconfig/network-scripts/ifcfg-ethX files (X is 0,1) as follows:

1-3) Configure the /etc/sysconfig/network file to enable the network and tagged VLAN settings.

NETWORKING=yes
VLAN=yes

2) Creating a virtual interface

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

3) Setting the virtual bridge

Create /etc/sysconfig/network-scripts/ifcfg-br0 as a new interface setup file for the virtual bridge.

4) Setting a virtual interface

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

5) Adding tagged VLAN interfaces

To add tagged VLAN interfaces sha0.10 on the virtual interface sha0, add the /etc/sysconfig/network-scripts/ifcfg-sha0.10 file. In addition, define the virtual bridge name (BRIDGE=br0) of the connection target.

6) Setting the network monitoring function

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

7) Reboot

Run the following command to reboot the system.

/sbin/shutdown -r now