Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.2Redundant 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 | -c]

[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.


-c

Displays the number of assigned connections defined in GS/SURE linkage mode (operation mode "c"). The number of connections is displayed as "-" if the concerned virtual interface is not activated. The number of connections is displayed as "-" also if the communication target monitoring function is not set or no connection is yet established.

[Display format]

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

Item

Explanation

[IPv4,Patrol]

Displays virtual interface information of an IPv4 address and standby patrol form.

[IPv6]

Displays virtual interface information of an IPv6 address form.

Name

Outputs a virtual interface name.

Status

Outputs the status of a virtual interface.

Status

Active

Active status

Inactive

Inactive status

Mode

Outputs the operation mode of a virtual interface.

Mode

t

Fast switching mode

r

RIP mode

b

Fast switching/RIP mode

n

GS/SURE linkage mode (physical interface definition)

c

GS/SURE linkage mode (virtual interface definition)

d

NIC switching mode (logical IP address takeover function)

e

NIC switching mode (physical IP address takeover function)

p

Standby patrol function (automatic failback if a failure occurs)

q

Standby patrol function (immediate automatic failback)

CL

Cluster definition status

CL

ON

Cluster resource

OFF

None cluster resource

Device

Outputs the physical interface names bundled by a virtual interface and, enclosed in parentheses, the statuses of the physical interfaces.

Device

ON

Enabled
Displays 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
Displays the status if the virtual interface in disabled. For Fast switching and GS/SURE modes, 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.

STOP

Ready for use
Displays 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.

CUT

Unused
Displays the status if temporally dispatched by hanetnic delete command.

LOST

System unstable
Displays the status when the physical interface is disabled by a third person. NIC switching mode automatically recovers this symptom. However, the other redundant modes require manual recovery.

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

Item

Explanation

NIC

Outputs a physical interface name.

Destination Host

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

Status

Outputs the status of the communication target.

Status

Active

Active status

Inactive

Inactive status

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

Item

Explanation

Name

Outputs a virtual interface name in GS/SURE linkage mode (operation mode "c").

IFName

Outputs a virtual interface name in GS/SURE linkage mode (operation mode "n").

Connection

Outputs the number of connections.
When a virtual interface is not activated, "-" is displayed. When a function to monitor the other end of communication is not set, or when a connection is not established, "-" is displayed as well.

[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

The following shows an example of displaying the number of assigned connections of virtual interfaces in GS/SURE linkage mode (operation mode "c") properly defined in the configuration information for Redundant Line Control function.

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