Revert cluster to single instance systems

tirili

Member
Sep 19, 2018
55
1
8
50
Having a 2 node cluster like

Code:
# pvecm status
Quorum information
------------------
Date:             Wed May  1 13:33:16 2019
Quorum provider:  corosync_votequorum
Nodes:            2
Node ID:          0x00000001
Ring ID:          1/8
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   2
Highest expected: 2
Total votes:      2
Quorum:           2
Flags:            Quorate

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 10.40.20.47 (local)
0x00000002          1 10.40.20.54

I was able to remove on the master all nodes:

Code:
# pvecm delnode n2054

Now I have

Code:
# pvecm status
Quorum information
------------------
Date:             Wed May  1 14:04:29 2019
Quorum provider:  corosync_votequorum
Nodes:            1
Node ID:          0x00000001
Ring ID:          1/12
Quorate:          No

Votequorum information
----------------------
Expected votes:   2
Highest expected: 2
Total votes:      1
Quorum:           2 Activity blocked
Flags:

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 10.40.20.47 (local)

Which is the recommended way to make the last(local) reverting to a standalone system again?
 
When I go to the system n2054 (which I removed before), (although I rebooted it), it still shows in the GUI the "master"/cluster in the "Datacenter" view. How can this being reverted as well?

Any help is appreciated.
 
Hello Wolfgang,

Something went wrong, my last node is readonly!

Code:
 # rm /etc/pve/corosync.conf
rm: cannot remove '/etc/pve/corosync.conf': Permission denied
# pvecm expected 1
Cannot initialize CMAP service

Code:
# pmxcfs -l
[main] notice: unable to acquire pmxcfs lock - trying again
[main] crit: unable to acquire pmxcfs lock: Resource temporarily unavailable
[main] notice: exit proxmox configuration filesystem (-1)

Do you have any idea / hint?
 
I Solved by myself :)

Code:
# rm /var/lib/pve-cluster/.pmxcfs.lockfile
# pmxcfs -l
[main] notice: forcing local mode (although corosync.conf exists)
# mv /etc/pve/corosync.conf{,.disabled}
# shutdown -r now
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!