Latest Posts



Translate

Total Pageviews

Thursday, 14 May 2015

NSX Deepdive Part 11 - Configuring NSX Edge High Availability


1. Configure NSX Edge High Availability
You configure perimeter gateway for high availability.
1. In the left navigation pane, select NSX Edges.
2. In the edge list, double-click the Perimeter Gateway entry to manage that object.
3. In the middle pane, click the Manage tab and click Settings.
4. In the Settings category list, select Configuration.
5. On the Configuration page, in the Status panel (the panel on the right in the first row of panels),
determine the current HA status of the edge.
The status is Not Configured.
6. In the HA Configuration panel (the panel on the left in the second row of panels), click the
Change link to configure and enable HA.
7. In the Change HA configuration dialog box, perform the following actions.
a. Click Enable.
b. Select Transit-Interface from the vNIC drop-down menu.
Only internal interfaces can be selected or used to carry HA heartbeat traffic.
c. In the two text boxes for configuring Management IPs, enter the following IP addresses in
Classless Inter-Domain Routing (CIDR) format as shown.
• 192.168.222.1/30
• 192.168.222.2/30
d. Leave all remaining settings at the default value and click OK.
8. Wait for the HA configuration update to finish, and verify that the HA status in the HA
Configuration panel is Enabled.
In the Management and Edge Cluster inventory, find all virtual machines with names starting
with Perimeter Gateway.


In the PuTTY  (Perimeter Gateway) window, run the following command to show the status of the high availability
service.
show service high availability
1. At the command prompt, run the following command to display HA heartbeat packets captured
on the transit network interface.
debug packet display interface vNic_1 net_192.168.222.0_mask_255.255.255.252
This command displays HA heartbeat packets captured on the transit network interface.

2. Examine the exchange and verify that the two HA nodes are actively communicating status to
each other. You should see packets exchanged between the following IP addresses.
• 192.168.222.1
• 192.168.222.2

3. Keep the traffic capture running and restore the Firefox window.

2. Force a Failover Condition
You power off the high availability active node to force a failover to the standby node.
1. In the Hosts and Clusters inventory tree, select Perimeter Gateway-0, or whichever of the two
perimeter gateway nodes was listed as active in the preceding task.
2. Select Shut Down Guest OS from the Actions drop-down menu and click Yes when prompted
to confirm.
3. Monitor the appliance shutdown until the task shows as complete in the recent tasks pane and a
running indicator icon no longer appears on the virtual machine in the cluster inventory.
4. Minimize the Firefox window.
5. Click OKto dismiss the PuTTY alert and close the PuTTY window.
The SSH session to the perimeter gateway has been terminated because the virtual machine has
been shut down.
6. On the ControlCenter desktop, double-click the PuTTY shortcut.
7. In the PuTTY window, double-click the Edge Services GW saved session.
8. Log in as admin and enter the password VMware1!VMware1!.
9. Run the following command to show the status of the high availability.
show service highavailability
10. At the command prompt, run the following command to display HA heartbeat packets captured
on the transit network interface.
debug packet display interface vNic_1 net_192.168.222.0_mask_255.255.255.252
This command displays HA heartbeat packets captured on the transit network interface.
11.  Examine the packet exchange and verify that only the active node is communicating heartbeat information and is receiving no replies from the peer node.
12. Keep the traffic capture running and restore the Firefox window.

3. Restore the Failed Node
You power on the stopped node to restore the high availability pair and use command-line tools to
examine changes in the high availability service configuration.
1. In the Hosts and Clusters inventory, verify that the shut-down HA node is still selected, and
select Power On from the actions menu.
2. Minimize the Firefox window.
3. In the PuTTY window, monitor the packet capture until you observe both nodes communicating
heartbeat information again.
4. Press Ctrl+C to stop the packet capture.
5. Run the following command to show the status of the high availability service.
show service highavailability