Minimizing Network Downtime on Host Reboot

When a host with a DVR router reboots, there is a temporary loss of network connectivity from the host to the provider network or the external network. This can be minimized by manually moving the DVR router to another host.

In order to manually move or reschedule DVR routers from the current host to a new host, you must reassign the SNAT agent from the current host to the new host.

Follow the steps given below to manually reassign the SNAT agent from one host to another. Repeat the process for each router associated with the host that is rebooting.

1. Get a list of all hosts running Neutron L3 agents to find another SNAT-capable L3 agent.

Bash
Copy

2. Look for an agent with the agent_mode setting as dvr_snat.

If this agent is set only for DVR, it is not SNAT-capable. This is configured when you set up the host.

Confirm the agent_mode setting with the following command.

Bash
Copy

</l3_agent_uuid>

3. Identify the L3 agent that currently provides centralized SNAT for the given router. You can get a list of routers with the openstack router list command. You can then identify the routers associated with the host that is rebooting.

Bash
Copy

</port_uuid></router_uuid>

4. Un-assign the SNAT agent from the host.

Bash
Copy

</router_uuid></l3_agent_uuid>

5. Assign the SNAT agent to one of the SNAT capable L3-agents found in step 2.

Bash
Copy

</router_uuid></new_l3_agent_uuid>

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard