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

How to install and maintain Rocks Cluster system

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

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.

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

Development

Wechat

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

12
Report