The procedure to add the configuration information using NIC unused in the other virtual interfaces is as follows:
Set up a virtual interface using the "hanetconfig create" command. For information, see Section "7.1 hanetconfig Command".
Set up the standby patrol function using the "hanetconfig create" command (only if the standby patrol function is used). For information, see Section "7.1 hanetconfig Command".
Set up the HUB monitoring function using the "hanetpoll create" command. For information, see Section "7.7 hanetpoll Command".
The procedure to share NIC used in a virtual interface of the already defined NIC switching mode and to add the configuration information is as follows (when using an NIC sharing function):
Set a virtual interface with "hanetconfig copy" command. See "7.1 hanetconfig Command" for the detail.
Set standby patrol with "hanetconfig create" command. (Only when using a standby patrol function.) It is not necessary to set if a standby patrol function is already set in a virtual interface that already shares NIC. See "7.1 hanetconfig Command" for the detail.
Set the HUB monitoring function with "hanetpoll copy" command. See "7.7 hanetpoll Command" for the detail.
When a shared-IP zone is used
If you want to use a redundant physical interface of NIC switching in a shared-IP zone, it is necessary to add the configuration as follows:
Set up a virtual interface using the "hanetconfig create" command.
Set up the standby patrol function using the "hanetconfig create" command (only if the standby patrol function is used). It is not necessary to set if a standby patrol function is already set in a virtual interface that already shares NIC.
Set up the HUB monitoring function using the "hanetpoll create" command.
Specify "plumb" to deactivate a standby interface using the "hanetparam -d" command.
After creating the configuration information, activate the concerned virtual interface using the "strhanet" command.
Start the HUB monitoring function to monitor the routers/hubs using "hanetpoll on" command.
Create a non-global zone. For information on how to create a zone, see "C.5 Configuration Procedure for Redundant Line Switching Mode on Solaris Zones".
Start the non-global zone. The logical virtual interface (hme0:X) will be added to the primary interface (hme0) from the redundant physical interface (sha0) by staring the non-global zone. The IP address specified during creation of the non-global zone will be allocated.
Note
In NIC switching mode, physical interfaces are activated or deactivated when switching over the transfer path. However, these changes are not recorded to a log file by default. For recording logs of these processes, refer to "3.2.3 syslog setup".
In NIC switching mode with tagged VLAN interfaces, configure the standby patrol function on only one of virtual interfaces, if multiple virtual interfaces exist on the same pair of physical interfaces, and do not configure the standby patrol function on the other virtual interfaces. Note that, in general, the standby patrol function is not need to be configured on every single virtual interface.
You cannot build an environment in which only one NIC is shared on multiplex physical interface on NIC switching mode using tagged VLAN interface.
When configuring a standby patrol function for a virtual interface which is using the tagged VLAN interfaces, it is required to reboot the OS in order to enable the standby patrol function. GLS withholds a modification of MAC address of the secondary interface, so that it prevents communication errors on other tagged VLAN interfaces which are sharing a physical communication line.
In cluster environments other than the physical IP takeover II, do the following. For details on a cluster environment of the physical IP takeover II, see "B.4.10 Example of the Cluster system in Physical IP address takeover function II."
[Solaris 10]
Ensure to specify the same IP address configured in "/etc/hostname.interface" when specifying physical IP addresses by "hanetconfig" command using '-i' or '-e' option.
[Solaris 11 or later]
Ensure to specify the same IP address configured with the ipadm(1M) command when specifying physical IP addresses by "hanetconfig" command using '-i' or '-e' option.
When setting a cluster environment of the physical IP takeover II on Solaris 10, create "/etc/hostname.interface" as an empty file.
If your HUB is using STP (Spanning Tree Protocol), NIC switching occurs while a failure does not occur on a transmission route. In such a case, it is necessary to tune a monitoring parameter of the HUB monitoring function. See "7.7 hanetpoll Command" or "G.3.3.1 Switching takes place in NIC switching mode regardless of failure at the monitoring end".
If you specify a physical interface of NIC switching for the network setting of a shared-IP zone, it is necessary to set the method of deactivating a standby interface to "plumb" using the "hanetparam -d" command (however for 4.5A00 or later, default setting is "plumb"). For details, see "7.6 hanetparam Command."