PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function 4.1 (for Solaris(TM) Operating System)
|
Contents
Index

|
7.2 strhanet Command
[Name]
strhanet - Activation of virtual interfaces
[Synopsis]
/opt/FJSVhanet/usr/sbin/strhanet [inet | inet6 | dual] [-n devicename1[,devicename2,...]]
[Feature description]
The strhanet command activates virtual interfaces in accordance with the generated configuration information.
[Option]
It is possible to specify the following options:
[inet | inet6 | dual]
Specify an IP address form assigned to a virtual interface to be activated.
|
Inet
inet6
dual |
: IPv4 address
: IPv6 address
: IPv4/IPv6 dual stack configuration |
When omitted, virtual interfaces of all forms are to be dealt with. IPv4 and IPv6 addresses are activated at the same time in a virtual interface of dual stack configuration. It is not possible to activate only an IPv4 address or only an IPv6 address respectively. Dual stack configuration in this case does not mean IPv4 and IPv6 addresses are set on each of the stacked physical interfaces, but they are set to one virtual interface defined in a Redundant Line Control function. This option is valid only in Fast switching mode (operation mode is "t") or NIC switching mode (operation mode is "d").
-n devicename1[,devicename2,...]
Specify a virtual interface name to be activated. Multiple virtual interfaces can be specified by delimiting them with a comma (,). Configuration information for virtual interface names specified here must have been generated with the hanetconfig create command. If this option is not specified, all created virtual interfaces are activated.
[Related commands]
hanetconfig
stphanet
dsphanet
[Notes]
- If an additional virtual interface is activated in Fast switching mode, nodes that have been activated in Fast switching mode may be temporarily overloaded.
- This command can activate a virtual interface only if configuration information has already been set by using the hanetconfig command before executing this command. For details, see "Chapter 3 Environment configuration".
- Virtual interfaces used in a cluster system cannot be activated with this command.
- No logical virtual interface can be specified for the -n option. Logical virtual interfaces are automatically activated when corresponding virtual interfaces are activated.
- This command can be specified for virtual interfaces in Fast switching mode (operation mode "t"), RIP mode (operation mode "r"), Fast switching/RIP mode (operation mode "b"), NIC switching mode (operation mode "d" or "e"), and GS/SURE linkage mode (operation mode "c"). This command cannot be specified for virtual interfaces in Standby patrol function (operation mode "p" or "q"), and GS/SURE linkage mode (operation mode "n").
- A standby patrol function ("p" or "q") is automatically activated when activated a virtual interface of the corresponding NIC switching mode ("d" or "e").
- A virtual interface of GS/URE linkage mode ("n") is automatically activated when activated a virtual interface of GS/SURE linkage mode ("c") that bundles this interface.
- To add and activate a virtual interface of the other NIC switching modes ("d" or "e") with a virtual interface of NIC switching mode ("d" or "e") is already activated, stop temporarily all virtual interfaces of the activated NIC switching mode ("d" or "e") using a stphanet command. Then execute a strhanet command and activate the virtual interfaces.
- Be sure to use a strhanet command to activate a virtual interface. Do not use an ifconfig command to do the operation. Do not operate physical interfaces that a virtual interface bundles with an ifconfig command while activating a virtual interface.
- A virtual interface for the Solaris container must be activated priori to zone startup. Normally, the virtual interface is activated during system startup. When the virtual interface is added after system startup, however, it is necessary to activate the virtual interface using the strhanet command before starting the zone.
[Examples]
The following is an example in which all virtual interfaces defined in the configuration information for Redundant Line Control function are activated.
# /opt/FJSVhanet/usr/sbin/strhanet |
The following is an example in which only the virtual interface sha2 defined in the configuration information for Redundant Line Control function is activated.
# /opt/FJSVhanet/usr/sbin/strhanet -n sha2 |
The following shows an example to activate all virtual interfaces of Fast switching mode or NIC switching mode and also in an IPv6 address form from virtual interfaces defined in the configuration information.
# /opt/FJSVhanet/usr/sbin/strhanet inet6 |
All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005