Forum Discussion

Chris_f2_154442's avatar
Chris_f2_154442
Icon for Nimbostratus rankNimbostratus
May 15, 2014

Load Balancing - bind IP to virtual server?

We are trying to set up a load balancer for testing purposes, and are getting stuck.

 

We simply have 2 hosts that are set up as web servers with a different index.html on both (one red, one blue). The hosts work as intended (can ping, etc).

 

We have been assigned ip address that is set to our source and host. (Is this where we went wrong?)

 

We just want to go to our assigned IP address, which will then round robin between the red page and the blue page to demonstrate how the load balancer works and can direct traffic to different servers.

 

Virtual server details that we set are as follows:

 

Available (enabled)

 

Type: Standard

 

Source: ip address with /32

 

Destination: Host, same ip address as source

 

Service port: 80

 

Protocol: TCP

 

Default Pool: TestPool1

 

TestPool1 details:

 

Available (enabled)

 

Health Monitors: http

 

TestPool1 members:

 

Red:80 (Active)

 

Blue:80 (Active)

 

All of our Interfaces are UNINITIALIZED. Is this a problem?

 

Are we missing a step to bind our assigned IP address to our virtual server?

 

4 Replies

  • You need to assign a vlan (or a trunk) to an interface to get it to work. Once assigning a vlan to an interface, it should either become UP or DOWN.

     

    • Chris_f2_154442's avatar
      Chris_f2_154442
      Icon for Nimbostratus rankNimbostratus
      Interface is now UP. We can ping both our pool members and the ip we're wanting to assign to our load balancer, everything is enabled and available. What step are we missing? We haven't made many changes aside from what I described.
  • Your virtual server, change the source to 0.0.0.0/0. Looks like your current configuration is restricting access only to itself which will never work.

     

    Also, you may need to enable Source Address Translation if the servers you are load balancing to do not route back out through the BIG-IP by default. SNAT auto map should work for you.

     

  • We just want to go to our assigned IP address, which will then round robin between the red page and the blue page to demonstrate how the load balancer works and can direct traffic to different servers.

     

    just in case if you have not yet seen this sol about load balancing behavior in cmp enabled virtual server.

     

    sol14358: Overview of Clustered Multiprocessing (11.3.0 and later)

     

    http://support.f5.com/kb/en-us/solutions/public/14000/300/sol14358.html