Automatic insert new machine in load balance.

asked 2018-11-01 20:26:54 -0600

Matt gravatar image

Hello everyone, I have a question about openstack autoscaling and loadbalance. In my labs, I actually have create a loadbalance manually. Can I just scaling instances and insert this machines in this loadbalance? In my research the templates create the load balance based in lb.yaml but I don't need create a load balance. Thanks for helping.

edit retag flag offensive close merge delete

Comments

A load balancer member is not an instance, but a fixed IP address:

neutron lbaas-member-create --subnet SUBNET --address FIXED_IP --protocol-port 80 --name MEMBER POOL

So I guess you could define members like this, then create instances with those fixed IP addresses.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-01 22:44:35 -0600 )edit