Skip to content

Import clusters

This topic introduces how to import clusters using Dashboard. The current version only supports importing clusters deployed by the official DEB or RPM packages and clusters created by Dashboard. Currently, importing clusters deployed by Docker and Kubernetes is not supported.

Steps

Caution

In the same cluster, the service versions need to be unified. Importing NebulaGraph examples from different versions in the same cluster is not supported.

  1. In the configuration file of each service, change the IP in <meta|graph|storage>_server_addrs and local_ip to the server's IP, and then start NebulaGraph.

    For details, see Configurations and Manage NebulaGraph services.

  2. In the Cluster management page, click Import cluster.

  3. In the Import cluster page, enter the information of Connect to NebulaGraph.

    • Graphd Host: :n. In this example, the IP is 192.168.8.157:9669.
    • Username: The account to connect to NebulaGraph. In this example, the username is vesoft.
    • Password: The password to connect to NebulaGraph. In this example, the password is nebula.

    Note

    By default, authentication is disabled in NebulaGraph. Therefore, you can use root as the username and any password to connect to NebulaGraph. When authentication is enabled in NebulaGraph, you need to use the specified username and password to connect to NebulaGraph. For details of authentication,see NebulaGraph manual.

    connect

  4. In the Connect to NebulaGraph page, fill in the following:

    • Enter the cluster name, 15 characters at most. In this example, the cluster name is create_1027.
    • Authorize the node. The SSH username and password of each node are required.
    • Batch authorization requires uploading the CSV file. Edit the authentication information of each node according to the downloaded CSV file. Ensure that the node information is correct, otherwise upload failure may happen.

      Batch authentication

    • If the node status on the page becomes authorized, the node authentication is successful.

      Authorize

  5. Ensure that all nodes are authorized successfully. Click Import cluster.

Next to do

After the cluster is successfully imported, you can operate the cluster. For details, see Overview.


Last update: March 13, 2023