Get the App
SLTechnology News&Howtos  ›  Development  › 

How to install and maintain Rocks Cluster system

Shulou Source: shulou.com Published: 2022-06-01 04:56:17 09月28日 Update

This article mainly introduces the relevant knowledge of "how to install and maintain Rocks cluster system". The editor shows you the operation process through an actual case, and the operation method is simple, fast and practical. I hope this article "how to install and maintain Rocks cluster system" can help you solve the problem.

Management and maintenance of Rocks 1. Add nod

If you want to add a node to cluster, use the

Insert-ethers then sets the network startup in the child node. Realize automatic installation. two。 Add user

Use the general command to add the user.

Adduser usernamepasswd username rocks sync users

In particular, the last line of command is used to inform the child node of the added user information, otherwise the user will not be able to log in to the child node.

3. Delete Node rocks remove host compute-0-0 rocks sync config Delete the child node and update the database, you must update the database, otherwise there may be a problem the next time you add the node. 4. Force the child node to restart and install rocks set host pxeboot compute-0-0 action=install rocks set host pxeboot compute-0-0 action=os the first command is to start the child node network to reinstall the system, and the second is to start the child node network to enter the system directly. This can be used when the child node restarts directly into the grub after the power outage of the cluster. Batch reinstall and restart # rocks set host boot compute action=install # rocks run host compute "shutdown-r now"

Delete Node # rocks remove host compute-0-0 # rocks sync config Delete the child node and update the database, you must update the database, otherwise there may be a problem the next time you add the node. Insert-ethers-hostname= "compute-0-3" # installation compute node specifies the name 5. This is the end of displaying the list of cluster nodes rocks list host on "how to install and maintain Rocks cluster systems". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Tags: Node system cluster update data database user command knowledge network problem time industry different practical one line information content available in name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Linux Docker MariaDB Shulou Information