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

7.4 dsphanet Command

[Name]

dsphanet - Displaying the operation status of virtual interfaces

[Synopsis]

/opt/FJSVhanet/usr/sbin/dsphanet [-n devicename1[,devicename2,...] | -o]

[Feature description]

The dsphanet command displays the current operation status of virtual interfaces and logical virtual interfaces.

[Option]

You can specify the following options:


-n devicename1[,devicename2,...]:

Specify the name of a virtual interface whose status should be displayed. You can specify more than one virtual interface by listing them delimited with a comma (,). If this option is not specified, this command displays all the virtual interfaces that are properly defined.


-o:

Displays all communication parties of virtual interfaces defined in Fast switching mode (operation mode "t"). This option does not display communication parties of virtual interfaces not yet activated using the strhanet command.

[Display format]

The following shows the display formats used when no option is specified and when the -n option is specified.

# /opt/FJSVhanet/usr/sbin/dsphanet                                       
[IPv4,Patrol / Virtual NIC]                                              
 Name       Status   Mode CL  Device                                      
+----------+--------+----+----+-----------------------------------------+
 sha0       Active    d   OFF  eth0(ON),eth1(OFF)                        
 sha1       Active    p   OFF  sha0(ON)                                  
 sha2       Active    c   OFF  eth2(ON),eth3(ON)                         
 sha3       Active    t   OFF  eth4(OFF),eth5(OFF)                       
 sha4       Active    v   OFF  eth6(ON),eth7(OFF)                        
[IPv6]                                                                   
 Name       Status   Mode CL  Device                                     
+----------+--------+----+----+-----------------------------------------+
 sha0       Active    d   OFF  eth0(ON),eth1(OFF)                        
 sha3       Active    t   OFF  eth4(ON),eth5(ON)                         

Display

Contents

[IPv4,Patrol / Virtual NIC]

The information of a virtual interface for IPv4 and standby patrol and a virtual interface in Virtual NIC mode

[IPv6]

Virtual interface information of an IPv6 address form.

Name

A virtual interface name.
Even if the virtual interface is changed, the original name is displayed.

Status

Active

The status of a virtual interface is active status.

Inactive

The status of a virtual interface is inactive status.

Mode

t

Fast switching mode

d

NIC switching mode (logical IP address takeover function)

e

NIC switching mode (physical IP address takeover function)

p

Standby patrol function (automatic fail-back if a failure occurs)

q

Standby patrol function (immediate automatic fail-back)

v

Virtual NIC mode

c

GS linkage mode

CL

ON

Cluster resource

OFF

None cluster resource

Device

(ON)

Enabled.
The status if the interface is enabled and also available. For the standby patrol interface, the status is displayed if the transfer path is valid.

(OFF)

Disabled.
The status if the virtual interface in disabled. For Fast switching mode and GS linkage mode, it also displays the status when the failure is detected in the remote systems. In NIC switching mode, it displays the status when the standby patrol function is disabled.

If the virtual interface is in the active state in Virtual NIC mode, this shows the status of interfaces in standby.

(STOP)

Ready for use.
The status immediately after configuring the environment for NIC switching mode.

(FAIL)

Error in one system.
Displays the status if the failure is detected on standby patrol function.
Displays the status when an interface detects a link down in Virtual NIC mode.

(CUT)

Unused.
Displays the status if temporally dispatched by hanetnic delete command, or no NIC is provided on startup of the operating system.

The following shows the display format used when the -o option is specified.

Display

Contents

NIC

A physical interface name.

Destination Host

The host name of the communication target. (If the target host does not exist, it will display "none".)

Status

Active

The status of the communication target is active status.

Inactive

The status of the communication target is inactive status.

[Related commands]

strhanet
stphanet

[Notes]

[Examples]

The following shows an example of displaying the active or inactive status of all virtual interfaces that are properly defined in the configuration information for Redundant Line Control Function.

# /opt/FJSVhanet/usr/sbin/dsphanet

The following shows an example of displaying all the communication parties of virtual interfaces in Fast switching mode (operation mode "t") properly defined in the configuration information for Redundant Line Control Function.

# /opt/FJSVhanet/usr/sbin/dsphanet -o