Sun Ethernet Fabric Operating System SLB Administration Guide

Exit Print View

Updated: July 2015
 
 

Enable the Switch Ports (Multiple SLB Group)

Before you enable the switch ports on the network, ensure that you have set up the switch, the server, and the client for each server in the SLB group, as described in the previous sections.

  1. Enter configuration mode on switch B.
    SEFOS# configure terminal
    
  2. Enable the switch ports on the server.
    SEFOS(config)# interface range extreme-ethernet 0/15-21
    SEFOS(config-if-range)# no shutdown
    SEFOS(config-if-range)# exit
    
  3. Enable the uplinks to switch A.
    SEFOS(config)# interface range extreme-ethernet 0/11-12
    SEFOS(config-if-range)# no shutdown
    SEFOS(config-if-range)# end
    
  4. Enter configuration mode on switch A.
    SEFOS# configure terminal
    
  5. Enable the uplinks to switch B.
    SEFOS(config)# interface range extreme-ethernet 0/9-10
    SEFOS(config-if-range)# no shutdown
    SEFOS(config-if-range)# end
    
  6. Enable the client network.
    SEFOS(config)# interface range extreme-ethernet 0/1-4
    SEFOS(config-if-range)# no shutdown
    SEFOS(config-if-range)# end
    
  7. View the SLB configuration.
    SEFOS# show slb
     
    SLB Group ID: 1 Virtual IP: 10.10.10.0/24
    Server Members:
    IP Address       Vlan  MacAddress        Port State     Comments
    ================ ====  ================= ==== ========= ==================
    192.0.0.1        3     00:1b:21:53:6e:e0    9 ACTIVE
    192.0.0.2        3     00:1b:21:53:6f:00    9 ACTIVE
    192.0.0.3        3     00:3e:16:20:12:01    9 ACTIVE
    192.0.0.4        3     00:3e:15:18:05:30    9 STANDBY   (up)
     
     
    SLB Group ID: 2 Virtual IP: 11.11.11.0/24
    Server Members:
    IP Address       Vlan  MacAddress        Port State     Comments
    ================ ====  ================= ==== ========= ==================
    192.0.0.1        4     00:4b:21:32:ed:34   10 ACTIVE
    192.0.0.2        4     00:4b:21:49:a4:90   10 ACTIVE
    192.0.0.3        4     00:3e:16:16:57:22   10 ACTIVE
    

    It might take up to 30 seconds for the server status to show. If executing the slb show command does not show the server status, repeat the command every few seconds until it shows the status. If no status appears after 30 seconds, ensure that you have correctly completed the preceding steps.

    For information about the status of a server member, see Conditions for a Member Participating in Load Distribution.

    The client should now be able to reach the virtual server using the VIP, as follows:

    client1% ping 10.10.10.1
     
    10.10.10.1 is alive
     
    client1% ping 11.11.11.1
     
    11.11.11.1 is alive