78e8b42c37
The sample web server, using nc, currently does not close the connection after serving the content. This can cause clients to hang waiting for the connection to close after the content has been served. This patch includes the content length in the response so that the connection will close. Change-Id: I9b7d120099c2652a2a91e3471e3152c1b02ce7f6 |
||
---|---|---|
.. | ||
README-Vagrant.md | ||
README.md | ||
Vagrantfile | ||
local.conf | ||
local.sh | ||
webserver.sh |
README.md
This directory contains sample files for configuring neutron LBaaS using devstack. By copying these files into the main devstack directory (not the neutron-lbaas/devstack directory directly above this one), and running stack.sh, you will create a fully functioning OpenStack installation running a neutron-lbaas load balancer.
-
Copy the files into place:
cp local.conf local.sh webserver.sh <DEVSTACK_DIR>
where
<DEVSTCK_DIR> is the main devstack directory. Note: this is not
neutron-lbaas/devstack.
-
Build your devstack:
cd <DEVSTACK_DIR> ./stack.sh
-
Test your loadbalancer:
a) Determine the loadbalancer IP:
source openrc admin admin neutron lbaas-loadbalancer-show lb1 | grep vip_address curl <LB_IP>
where <LB_IP> is the VIP address for lb1. The subsequent invocations of "curl <LB_IP>" should demonstrate that the load balancer is alternating between two member nodes.