Re-create the load balancer instance
You can rebuild the balancer instance if:
- you have changed the network settings on the subnet where the load balancer is running, and you need to apply the new settings on the load balancer;
- you've changed the balancer settings, and instance configuration status went to
ERROR
.
When recreating, a new instance is created, traffic is switched to it, and then the old instance is deleted. If the balancer is redundant, the redundant instance is recreated first, then the primary instance.
The rebuild may take up to five seconds, during which time the balancer will not accept traffic. All balancer settings, rules, and target groups will be saved.
Re-create the balancer instance
Control panel
OpenStack CLI
-
В control panels from the top menu, press Products and select Cloud servers.
-
Go to the section Balancers → tab Balancers.
-
On the menu load balancer, select Re-create the balancer instance.
-
Click Re-create.
When instance configuration status will change to
ACTIVE
, the recreation will be completed. If the instance configuration status changes toERROR
— recreation of one or both instances has not occurred, old instances with the same settings continue to work. To diagnose file a ticket.
-
Re-create the instance:
openstack loadbalancer failover <loadbalancer>
Specify
<loadbalancer>
— ID or name of the balancer. The list can be viewed using the commandopenstack loadbalancer list
.When instance configuration status change to
ACTIVE
, the recreation will be completed. If the instance configuration status changes toERROR
— recreation of one or both instances has not occurred, old instances with the same settings continue to work. To diagnose file a ticket.