Go to main content

Configuring an Oracle® Solaris 11.3 System as a Router or a Load Balancer

Exit Print View

Updated: December 2018
 
 

Displaying ILB Statistics

This section describes how to use the ilbadm command to obtain information such as the printing statistics for a server or statistics for a rule. You can also display NAT table information and the session persistence mapping table.

Displaying Statistical Information

Use the ilbadm show-statistics command to view load distribution details as shown in the following example.

# ilbadm show-statistics
PKT_P   BYTES_P   PKT_U   BYTES_U   PKT_D   BYTES_D
9       636        0        0        0        0
PKT_P

Packets processed

BYTES_P

Bytes processed

PKT_U

Unprocessed packets

BYTES_U

Unprocessed bytes

PKT_D

Packets dropped

BYTES_D

Bytes dropped

Displaying the NAT Connection Table

Use the ilbadm show-nat command to display the NAT connection table. Note that the relative positions of elements in consecutive runs of this command are not significant. For example, if you execute the ilbadm show-nat 10 command twice, you might not see the same 10 items each time you execute, especially on a busy system. If a count value is not specified, the entire NAT connection table is displayed.

Example 13  NAT Connection Table Entries

The following example displays five entries from the NAT connection table.

# ilbadm show-nat 5
UDP: 192.0.2.0 > IP2 >>> IP3 . IP4
UDP: 198.51.100.0 > IP2 >>> IP3 . IP4
UDP: 203.0.113.0. > IP2 >>> IP3 . IP4
UDP

Transport protocol used in this entry

IP2

VIP and port

IP3

In half-NAT mode, the client's IP address and port.

In full-NAT mode, the client's IP address and port.

IP4

Back-end server's IP address and port.

Displaying the Session Persistence Mapping Table

Use the ilbadm show-persist command to display the session persistence mapping table.

Example 14  Session Persistence Mapping Table Entries

The following example displays five entries from the session persistence mapping table.

# ilbadm show-persist 5
rule: 192.0.2.0 → IP2
rule: 198.51.100.0 → IP2
rule: 203.0.113..0 → IP2
rule

Rule that the persistence entry is tied to.

IP2

Back-end server's IP address.