Forum Discussion

Erlend_123973's avatar
Erlend_123973
Icon for Nimbostratus rankNimbostratus
Sep 26, 2014

Load balancing two hosts, multiply services, redundancy between those, but as single vs

I am faced with a LTM scenario, where I have Host A and Host B. Host A have services on port 1000, 1001 and 1002 Host B have services on port 1000, 1001 and 1002

From the clients perspective, it is not important which Host who provide the service, as long as it is able to reach a backend server.

What I have done, is create 3 Virtual Servers:

  • vs_service_1000

    *   pool_service_1000
    
            *   node_Host_A:1000
    
            *   node_Host_B:1000
    
  • vs_service_1001

    *   pool_service_1001
    
        *   node_Host_A:1001
    
        *   node_Host_B:1001
    
  • vs_service_1002

    *   pool_service_1002
    
        *   node_Host_A:1002
    
        *   node_Host_B:1002
    

Each VS have the same ip. I have attached a tcp-half-open monitor on each of these pools, and I have the redundancy required. But it is not pretty.

Is there a way, to achieve the same redundancy using a single VS?

1 Reply

  • Hi, what you could do is :

     

    • using a virtual with port *
    • deactivate port translation in vs advanced properties
    • no pool
    • use an irule to select the correct pool based on user destination port, with a default reject

    irule could be replace by LTM policy in newest release.