Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Part05-(Picture and text) NSX series check NSX Controller status

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

NSX Controller is responsible for providing a Control Plane for hosts to obtain distributed network messages. The previous section (Part04) discussed how to prepare a Cluster for NSX Controller and related considerations. NSX Controllers will form a control cluster, and the existence of Cluster requires more machines to avoid brain fissure scenarios. It is because of this that the total number of NSX Controllers is required to be odd, such as 3, 5, 7 and so on. It exists to manage the routing and switching modules in hypervisor. For its management, message query, etc., all need to be completed through the command line. From the command line of NSX Controller, you can use a series of commands to execute

If you want to see the status of NSX Controller Cluster, you can execute the command:

1. # show control-cluster status

As shown in figure 01:

Figure 01

With the output of the command shown in figure 01, we can see several more important parameters:

Majority status-check if Controller Cluster is connected to cluster majority

Join status-verify that the current NSX Controller has been successfully added to the NSX Controller Cluster

Cluster ID-displays the current Cluster ID, and all NSX Controller will share the same ID

Node UUID-UUID message of the current node

Configured status-displays the current configuration status of the current related roles (api_provider,persistence_server,switch_manager,directory_server,nvp-controller) these roles

Active status-displays the activity status of related roles

Restart status-indicates whether the current Controller Node can be restarted without affecting the business

If you want to view the connection status of NSX Control Cluster, you can use the command:

1. # show control-cluster connections

This command displays the communication port status of the relevant components in the current environment. For example, the communication port of persistence_server is 2878. When its listening status is Y, it means that it is currently in the Listening state. At the same time, you can also see that the ports of client, election and other services are 2888 and 3888, as shown in figure 02:

Figure 02

In a 3-node Cluster, Control Node will have 2 connections, as will other nodes in the same Controller Cluster, as shown in figures 03 and 04:

Figure 03, figure 04.

In NSX Control Cluster, there will also be related roles, and each Controller Node will have a different role. The view command is as follows:

1. # show control-cluster roles

The execution of this command outputs the result shown in figure 05:

Figure 05

Figure 05 consists of the output results of different nodes. From the result, you can see that there will be Master node status in it. If a role of a Master NSX Controller object fails, the entire Controller Cluster elects a new, available NSX Controller. The new Master NSX Controller will reassign the working roles of the remaining NSX Controller to replace the failed NSX Controller. All NSX Controller objects are on Control Plane, so a NSX Controller failure will not affect the Data Plane part, that is, the communication part (at this point, you should know if you have played with vDS).

To view the history of the entire NSX Controller Cluster, you can use the command:

1. # show control-cluster history

As shown in figure 06, it records what happened in the past time of the Cluster, including messages such as restart, upgrade, failure and warning when the quantity is insufficient.

Figure 06

You can see more below this command line, but the main purpose of this article is to explain how to view the status messages of NSX Controller, so I won't list other features one by one.

To be continued. Please download the details of the picture and text from the blogger's download center. Thank you.

Your attention will prove yourself for you!

WeChat:vmanager_forum

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report