Skip to content

Cluster operation

This topic introduces the cluster operation of Dashboard, including cluster node, cluster service, cluster scaling, service configuration, and member management.

Node

On this page, the information of all nodes will be shown, including the cluster name, Host(SSH_User), CPU (Core), etc.

  • To add a node quickly, click Add Node and enter the following information, the Host, SSH port, SSH user, SSH password, and select a Nebula Graph package.
  • Click the plus button to view the process name, service type, status, runtime directory of the corresponding node.

    • Click Node Monitoring to jump to the detailed node monitoring page. For more information, see Cluster monitoring.
    • Click Edit Node to modify the SSH port, SSH user, and SSH password.
    • If a node has no service, you can Delete Node.

Scale

Enterpriseonly

Only when the cluster you created or imported is the Enterprise Edition, this feature is available.

  • On this page, you can add node and import node in batches quickly, and add Graph services and Storage services to the existing nodes.
  • Click the Reset button to restore to the initial state.

Caution

  • Currently, you can dynamically scale Storaged and Graphd services through Dashboard. The Metad service cannot be scaled. When scaling a cluster, it is recommended to back up data in advance so that data can be rolled back when scaling fails. For more information, see FAQ.
  • Make sure that services of the same type are not deployed on the same node, and at least one of each type of services is deployed in the cluster.

In this example, storage services with nodes 192.168.8.143 and 192.168.8.167 are added, and Graph services with node 192.168.8.169 are deleted. If the box is dotted and the service name is greyed, it means the service is removed. If the box is solid, it means the service is newly added.

In the Services section below, green indicates services that will be added soon, and red indicates services that will be removed. You can modify the port, HTTP port, and HTTP2 port of the newly added service.

scaling

Service

  • On this page, you can select the service type, service status, and host to filter the shown data, quickly select one or multiple services, and start/stop/restart the service with one click.

Danger

If you click Stop/Restart, the running task will be stopped instantly, which may cause data inconsistency. It is recommended to perform this operation during the low peak period of the business.

Update Config

On this page, you can modify configuration files of Storage and Graph services. For more information, see Storage service configuration and Graph service configuration. Updating configuration files is a batch operation, and each Storage/Graph configuration file will be modified.

  • After clicking Save, the configuration will take effect after the next service restart.
  • Click Save and Restart to directly restart the service to make the configuration take effect immediately.

    Danger

    If you click Save and Restart, the running task will be stopped and the cluster will be restarted instantly, which may cause data inconsistency. It is recommended to perform this operation during the low peak period of the business.

Member Management

Accounts with the role admin and cluster creators with the role user can add members to manage clusters. By default, the role of cluster creators is owner, and is displayed on the Member Management page. The role of added members is operator.

For more information about accounts and roles, see Authority management.

Add cluster members

The accounts of cluster members must be included in Dashboard accounts. For information about how to create an account, see Authority management.

You can follow the below steps to add cluster members.

  1. At the top navigation bar of the Dashboard Enterprise Edition page, click Cluster Management.
  2. On the right side of the target cluster, click Detail.
  3. On the left-side navigation bar of the page, click Operation->Member Management.
  4. On the Member Management page, click the search box at the top left.
  5. In the drop-down list, select the target account that you want to add to be the administrator of the cluster, and then click Add.

Other operations

  • At the top right of the Member Management page, you can search for cluster members.
  • Click delete to delete members.

Last update: April 22, 2022