This section describes an example configuration procedure of the network shown in the diagram below.
[HOST-A zone0]
1) Login to the non-global zone
1-1) Login to the non-global zone by executing the following command:
/usr/sbin/zlogin zone0
2) Setting up the system
2-1) Define IP addresses and hostnames in /etc/inet/hosts file.
192.168.70.1 zone0 # HOST-A zone0 Virtual IP 192.168.70.2 zone1 # HOST-B zone1 Virtual IP 192.168.70.100 swhub1 # primary HUB IP 192.168.70.101 swhub2 # secondary HUB IP |
2-2) Write the hostnames defined above in /etc/hostname."interface-name" files. If a file does not exist, create a new file.
Contents of /etc/hostname.fjgi1
zone0 |
2-3) Define the subnet mask in /etc/inet/netmasks file.
192.168.70.0 255.255.255.0 |
3) Reboot
Run the following command to reboot the non-global zone. Run this command from the global zone. Make sure fjgi1 are enabled by running the ifconfig command after rebooting the system.
/usr/sbin/zlogin zone0 shutdown -y -g0 -i6
4) Creation of virtual interface
/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m e -i 192.168.70.1 -t fjgi1,fjgi2
Note
Ensure that the physical IP address specified using option '-i' is the same IP address configured in /etc/hostname.fjgi1.
5) Setting up the HUB monitoring function
/opt/FJSVhanet/usr/sbin/hanetpoll create -n sha0 -p 192.168.70.100,192.168.70.101 -b off
6) Setting up the standby patrol function
/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha1 -m p -a 00:00:00:00:00:00 -t sha0
Note
If Solaris 10 is installed and the patch 914233-05 or later for GLS is applied to non-global zones, you can set the standby patrol function.
If the standby patrol is set in non-global zones, you cannot allocate MAC address to the standby interface. Specify 00:00:00:00:00:00 for -a.
7) Activation of virtual interface
/opt/FJSVhanet/usr/sbin/strhanet
8) Starting the HUB monitoring function
/opt/FJSVhanet/usr/sbin/hanetpoll on
[HOST-B zone1]
1) Login to the non-global zone
1-1) Login to the non-global zone by executing the following command:
/usr/sbin/zlogin zone1
2) Setting up the system
2-1) Define IP addresses and hostnames in /etc/inet/hosts file. Defined information is the same as for HOST-A zone0.
2-2) Write the hostnames defined above in /etc/hostname."interface-name" files. If a file does not exist, create a new file.
Contents of /etc/hostname.fjgi1
zone1 |
2-3) Define the subnet mask in /etc/inet/netmasks file. Defined content is same as HOST-A zone0.
3) Reboot
Run the following command to reboot the non-global zone. Run this command from the global zone. Make sure fjgi1 are enabled by running the ifconfig command after rebooting the system.
/usr/sbin/zlogin zone1 shutdown -y -g0 -i6
4) Creation of virtual interface
/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha0 -m e -i 192.168.70.2 -t fjgi1,fjgi2
Note
Ensure that the physical IP address specified using option '-i' is the same IP address configured in /etc/hostname.fjgi1
5) Setting up the HUB monitoring function
/opt/FJSVhanet/usr/sbin/hanetpoll create -n sha0 -p 192.168.70.100,192.168.70.101 -b off
6) Setting up the standby patrol function
/opt/FJSVhanet/usr/sbin/hanetconfig create -n sha1 -m p -a 00:00:00:00:00:00 -t sha0
Note
If Solaris 10 is installed and the patch 914233-05 or later for GLS is applied to non-global zones, you can set the standby patrol function.
If the standby patrol is set in non-global zones, you cannot allocate MAC address to the standby interface. Specify 00:00:00:00:00:00 for -a.
7) Activation of virtual interface
/opt/FJSVhanet/usr/sbin/strhanet
8) Starting the HUB monitoring function
/opt/FJSVhanet/usr/sbin/hanetpoll on