Log in to the NSX Edge console of standalone L2 VPN Edge appliances to specify the HA configuration settings and establish HA between both L2 VPN Edge appliances.
You have deployed two standalone L2 VPN Edge clients called L2VPN-Client-01 and L2VPN-Client-02 with the same configuration. The /30 IP subnet address of L2VPN-Client-01 is 192.168.1.1, and for L2VPN-Client-02 is 192.168.1.2. In this topic, Node-1 refers to L2VPN-Client-01 and Node-2 refers to L2VPN-Client-02.
Prerequisites
- Enable HA on both the L2 VPN Edge appliances.
- Make sure that HA configuration settings, such as HA IP address, HA index value, and dead interval time are configured on both nodes.
- Make sure that both standalone L2 VPN Edge clients have the same VPN configuration.
Procedure
- Log in to each node, and run the ha get-local node command on both nodes individually to retrieve the MAC addresses of the three vNIC interface cards.
For example, on Node-1:
nsx-l2vpn-edge(config)# ha get-localnode
00:50:56:90:12:ea 00:50:56:90:97:ca 00:50:56:90:d9:69
For example, on Node-2:
nsx-l2vpn-edge(config)# ha get-localnode
00:50:56:90:1c:75 00:50:56:90:34:c1 00:50:56:90:36:80
- Run the ha set-peernode command on both nodes individually to assign the MAC address of Node-1 to Node-2, and MAC address of Node-2 to Node-1.
For example, assign the MAC address of Node-2 on Node-1:
nsx-l2vpn-edge(config)# ha set-peernode 00:50:56:90:1c:75 00:50:56:90:34:c1 00:50:56:90:36:80
For example, assign the MAC address of Node-1 to Node-2:
nsx-l2vpn-edge(config)# ha set-peernode 0:50:56:90:12:ea 00:50:56:90:97:ca 00:50:56:90:d9:69
- To start HA, run the ha admin-state UP command on each node.
For example, on both Node-1 and Node-2:
nsx-l2vpn-edge(config)# ha admin-state UP
Note: Make sure that you type UP in uppercase, as shown in the example.
- Run the commit command on both nodes individually to save the HA configuration and establish HA between Node-1 and Node-2.
For example, on both Node-1 and Node-2:
nsx-l2vpn-edge(config)# commit
High Availability Feature is enabled on this appliance. Please make sure to make
similar configuration on paired Standalone Edge appliance.
Results
HA configuration is saved on both nodes, and HA is established between the nodes.
What to do next
Log in to each node, and verify the HA status by running the show service highavailability command on both nodes.
The CLI on L2VPN-Client-01 node shows the following output:
The CLI on L2VPN-Client-02 node shows the following output:
At any stage, if you want to check the link status of the HA, run the show service highavailability link command on each node. This command lists the local and peer /30 IP subnet addresses that you configured while deploying the standalone L2 VPN nodes.
For example, on Node-1:
nsx-l2vpn-edge> show service highavailability link
Local IP address: 192.168.1.1/30
Peer IP Address: 192.168.1.2/30