Re-create the load balancer instance
You can recreate 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 changed the balancer settings and the 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
-
In the Control panel, on the top menu, click Products and select Cloud Servers.
-
Go to Balancers → Balancers tab.
-
From the Load Balancer menu, select Recreate Load Balancer Instance.
-
Click Recreate.
When the instance configuration status changes to
ACTIVE
, the recreation will be completed.If the instance configuration status changes toERROR
— the recreation of one or both instances did not occur, the old instances with the same settings continue to work.To diagnose the issue, create a ticket.
-
Re-create the instance:
openstack loadbalancer failover <loadbalancer>
Specify
<loadbalancer>
— balancer ID or name. The list can be viewed using theopenstack loadbalancer list
command.When the instance configuration status changes to
ACTIVE
, the recreation will be completed.If the instance configuration status changes toERROR
— the recreation of one or both instances did not occur, the old instances with the same settings continue to work.To diagnose the issue, create a ticket.