


Node completely evacuates from Proxmox VE and rejoins the cluster
Node completely evacuates from Proxmox VE and joins the cluster again
Scene description
When a node in the Proxmox VE cluster is damaged and cannot be repaired quickly, the faulty node needs to be kicked out of the cluster cleanly and the remaining information must be cleaned up. Otherwise, new nodes using the IP address used by the faulty node will not be able to join the cluster normally; similarly, after the faulty node that has separated from the cluster is repaired, although it has nothing to do with the cluster, it will not be able to access the web management of this single node. In the background, information about other nodes in the original Proxmox VE cluster will appear, which is very annoying.
Evict nodes from the cluster
If Proxmox VE is a Ceph hyper-converged cluster, you need to log in to the host system Debian of any node in the cluster (except the node you want to delete), and completely delete all OSDs of the node you want to evacuate from the command line [see my book "Proxmox VE Hyper-converged Cluster Practice" Chapter 12 Related Content], continue to use the command line "pvecm delnode nodename" to evict the node. Switch to the Proxmox VE cluster web management background, refresh the browser, and check whether there are still evicted nodes in the "Server View" on the left side of the page. Even if the Web page no longer has information about the evicted nodes remaining, the information about the evicted nodes is not completely cleaned up and further processing is required.
Switch to the Debian command line of the host system of any node in the Proxmox VE cluster, enter the directory "/etc/pve/priv", and edit the files "authorized_keys" and "known_hosts".
Use the Vi editor or Sed command to delete the node information that was expelled from the cluster, save and exit. Other nodes in the cluster will also be automatically synchronized by corosync, so there is no need to repeat the process.
The file "Known_hosts" is also processed accordingly. After completing this step, use the command "grep pve169 /etc -r" to search to determine whether it is completely cleared.
Processing of residual information of the evacuated node cluster
The nodes that were evacuated from the Proxmox VE cluster have restored their functions without reinitializing (reinstalling the system) and want to join the original cluster again. When we use a browser to access the single-node Proxmox VE Web management backend, we may still see other nodes in the cluster clearly visible, and refreshing the page and restarting the system will not work. So, how to get rid of this annoying display?
In addition to stopping the cluster service, stopping the synchronization service Corosync, deleting corosync.conf and other operations, you also need to enter the Proxmox VE single-node hosting system Debian, enter the directory "/etc/pve/nodes", and delete except this node other node directories.
After deletion, refresh the browser, Proxmox VE single node Web management background, only the single node itself is left.
After completing the above two steps, the outlier node will join the cluster with its original IP and will no longer be excluded by the cluster.
The above is the detailed content of Node completely evacuates from Proxmox VE and rejoins the cluster. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Scenario description for nodes to completely evacuate from ProxmoxVE and rejoin the cluster. When a node in the ProxmoxVE cluster is damaged and cannot be repaired quickly, the faulty node needs to be kicked out of the cluster cleanly and the residual information must be cleaned up. Otherwise, new nodes using the IP address used by the faulty node will not be able to join the cluster normally; similarly, after the faulty node that has separated from the cluster is repaired, although it has nothing to do with the cluster, it will not be able to access the web management of this single node. In the background, information about other nodes in the original ProxmoxVE cluster will appear, which is very annoying. Evict nodes from the cluster. If ProxmoxVE is a Ceph hyper-converged cluster, you need to log in to any node in the cluster (except the node you want to delete) on the host system Debian, and run the command

Building a Kubernetes (K8S) cluster usually involves multiple steps and component configurations. The following is a brief guide to setting up a Kubernetes cluster: Prepare the environment: at least two server nodes running the Linux operating system, these nodes will be used to build the cluster. These nodes can be physical servers or virtual machines. Ensure network connectivity between all nodes and that they can reach each other. Install Docker: Install Docker on each node to be able to run containers on the node. You can use corresponding package management tools (such as apt, yum) to install Docker according to different Linux distributions. Install Kubernetes components: Install Kuber on each node

DRBD (DistributedReplicatedBlockDevice) is an open source solution for achieving data redundancy and high availability. Here is the tutorial to install and configure DRBD on CentOS7 system: Install DRBD: Open a terminal and log in to the CentOS7 system as administrator. Run the following command to install the DRBD package: sudoyuminstalldrbd Configure DRBD: Edit the DRBD configuration file (usually located in the /etc/drbd.d directory) to configure the settings for DRBD resources. For example, you can define the IP addresses, ports, and devices of the primary node and backup node. Make sure there is a network connection between the primary node and the backup node.

PHP database optimization method in high concurrency environment With the rapid development of the Internet, more and more websites and applications need to face high concurrency challenges. In this case, database performance optimization becomes particularly important, especially for systems that use PHP as the back-end development language. This article will introduce some database optimization methods in PHP high concurrency environment and give corresponding code examples. Using connection pooling In a high-concurrency environment, frequent creation and destruction of database connections may cause performance bottlenecks. Therefore, using connection pooling can

In today's cloud computing era, containerization technology has become one of the most popular technologies in the open source world. The emergence of Docker has made cloud computing more convenient and efficient, and has become an indispensable tool for developers and operation and maintenance personnel. The application of multi-node cluster technology is widely used based on Docker. Through multi-node cluster deployment, we can utilize resources more efficiently, improve reliability and scalability, and also be more flexible in deployment and management. Next, we will introduce how to use Docker to

Common clusters in PHP include LAMP cluster, Nginx cluster, Memcached cluster, Redis cluster and Hadoop cluster. Detailed introduction: 1. LAMP cluster. LAMP refers to a combination of Linux, Apache, MySQL and PHP. It is a common PHP development environment. In a LAMP cluster, multiple servers run the same application and are balanced through a load balancer. Requests are distributed to different servers; 2. Nginx cluster, Nginx is a high-performance web server and so on.

Workerman is a high-performance PHPSocket framework that allows PHP to handle asynchronous network communication more efficiently. In Workerman's documentation, there are detailed instructions and code examples on how to implement a server cluster. In order to implement a server cluster, we first need to clarify the concept of a server cluster. A server cluster connects multiple servers to a network to improve system performance, reliability and scalability by sharing loads and resources. In Workerman, you can use the following two methods

How to use MongoDB to implement data clustering and load balancing functions Introduction: In today's big data era, the rapid growth of data volume has put forward higher requirements for database performance. In order to meet these requirements, data clustering and load balancing have become indispensable technical means. As a mature NoSQL database, MongoDB provides rich functions and tools to support data clustering and load balancing. This article will introduce how to use MongoDB to implement data clustering and load balancing functions, and provide specific code
