Updated on 2024-12-18 GMT+08:00

Node ID File

Check Items

Check the ID file format.

Solution

  1. On the Nodes page of the CCE console, click the name of the abnormal node to go to the ECS page.
  2. Copy the node ID and save it to the local host.
  3. Log in to the abnormal node and back up files.

    cp /var/lib/cloud/data/instance-id /tmp/instance-id
    cp /var/paas/conf/server.conf /tmp/server.conf

  4. Log in to the abnormal node and write the obtained node ID to the file.

    echo "Node ID" > /var/lib/cloud/data/instance-id
    echo "Node ID" > /var/paas/conf/server.conf