Managing Network Datalinks in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

How to Configure Probe-Based Failure Detection for DLMP

Before You Begin

Create a DLMP aggregation. For more information, see How to Create a Link Aggregation.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. (Optional) Display all the existing aggregations to identify the aggregation for configuring probe-based failure detection.
    # dladm show-aggr
  3. Set the probe targets for the aggregation for which you want to configure probe-based failure detection.
    # dladm set-linkprop -p probe-ip=IP-address[/prefix-length]|hostname+[target] aggr

    The source and destination addresses for the probe-ip property can be specified in the following ways:

    • probe-ip=IP-address[/prefix-length]|hostname+[target]

      IP address and its prefix length. For example, 10.130.10.1/24+.

    • probe-ip=addr-obj-name+[target]

      Address object name. For example, vnic1/addr1+192.168.0.1.

    • probe-ip=interface-name+[target]

      Interface name, which can be either the name of the aggregation interface itself or any VNIC configured over the aggregation. For example, [aggr1]+.

    • probe-ip=+[target]

      No IP address is specified. When the source IP address is not specified, all the IP addresses configured on the aggregation and the VNICs are considered as the potential source IP addresses of ICMP probes. For example, +10.130.10.1.

  4. (Optional) Set the failure detection time.
    # dladm set-linkprop -p probe-fdt=fdt aggr

    where fdt is the failure detection time specified in seconds. The default value is 10 seconds.

  5. (Optional) Display the aggregation to see the probe-related information.
    # dlstat show-aggr -n -P [[t],[i],[all]]
Example 2-6  Configuring Probe-Based Failure Detection
  1. Display the existing aggregations.

    # dladm show-aggr
    LINK    MODE       POLICY  ADDRPOLICY      LACPACTIVITY   LACPTIMER
    aggr0   dlmp       --      --              --             --    
    aggr1   dlmp       --      --              --             -- 
  2. Set the probe targets for aggr1.

    # dladm set-linkprop -p probe-ip=+ aggr1

    Since the source IP address is not specified, all the IP addresses configured on the aggregation aggr1 and the VNICs become the source IP addresses of ICMP probes.

  3. Set the failure detection time.

    # dladm set-linkprop -p probe-fdt=15 aggr1
    
  4. Display the properties that are set.

    # dladm show-linkprop -p probe-ip,probe-fdt aggr1
    LINK     PROPERTY         PERM   VALUE           EFFECTIVE    DEFAULT      POSSIBLE
    aggr1    probe-ip         rw     192.168.85.137   --           --	   	   -- 
    aggr1    probe-fdt        rw     15               15           10       	  1-600 
  5. Display the statistics of the probes for the aggregation.

    # dlstat show-aggr -n -P t,i aggr1
    TIME   AGGR   PORT  LOCAL           TARGET          PROBE  NETRTT     RTT
    0.45s  aggr1  net0  net0            net1            t16148  --         --
    0.45s  aggr1  net0  net0            net1            t16148  0.63ms     0.81ms
    1.08s  aggr1  net1  net1            net0            t16148  --         --
    1.08s  aggr1  net1  net1            net0            t16148  0.72ms     0.99ms
    2.07s  aggr1  net1  192.168.85.137  192.168.85.137  i15535  --         --
    2.07s  aggr1  net1  192.168.85.137  192.168.85.137  i15535  0.18ms     0.54ms