help me proxmox (ERROR CLUSTER)

juliano caserta

New Member
Mar 10, 2017
6
0
1
36
People need a help, what happens I have a proxmox server in production and I created a secondary.

I went into the shell and typed pvecm create sunway "cluster name", it created everything normal, normal status, but now I can not back up the vms it error, I can not create vm it gives the following error, I will put everything Please, please help me, because if you put a stick on the server, I can not backup these vms in production. I need your help if possible, THANK YOU.

PS: IM NOT SPEAK ENGLISH... LOL..
 

Attachments

  • Sem título.png
    Sem título.png
    176.6 KB · Views: 9
  • Sem título2.png
    Sem título2.png
    135.7 KB · Views: 10
  • Sem título3.png
    Sem título3.png
    188.4 KB · Views: 9
Last edited:
You created a cluster with two nodes, but one node is offline (vm2). So your cluster is not quorate, and write activity is blocked.

If there is only one node (vm), you can set expected votes manually there:

# pvecm extected 1

Then remove the second node (vm2) ...
 
  • Like
Reactions: juliano caserta
Dietmar .. I did not quite understand how to do the cluster process because when I had done that I gave this error I did this procedure.

200.7.120.253 - primary server (master)
I put the command

Pvecm create sunway (create cluster)

Pvecm Status
Quorum information
------------------
Date Tue Mar 14 13:44:25 2017
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1/8
Quorate: Yes

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

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


Now in secondary
200.7.120.66 - secondary server (client)

What do I do to connect this secondary server to the master?

Does anything need to be done?
 

Attachments

  • hostname.png
    hostname.png
    52.2 KB · Views: 4
  • hostname1.png
    hostname1.png
    88.8 KB · Views: 3
  • hostname2.png
    hostname2.png
    89.9 KB · Views: 3
OK.

Are Settings for Clustering Correct?

Being the "vm" the master connection of the cluster, and vm3 which will cluster in the "vm".
Hi,
vm3 must be empty! all VM-configs are gone during clustering - the data from "vm" will overwrite on vm3.
But do you think it's an good idea to run the cluster on the official IPs? directly in the internet?? I would not recommend this!

Anyway - before you start you should take a backup of /etc/pve (for savety) on vm first (like "tar cvf /root/etc_pve.tar /etc/pve" ).
Join from vm3 the excisting cluster vm (and test multicast-ping before).

Udo
 
Hi,
vm3 must be empty! all VM-configs are gone during clustering - the data from "vm" will overwrite on vm3.
But do you think it's an good idea to run the cluster on the official IPs? directly in the internet?? I would not recommend this!

Anyway - before you start you should take a backup of /etc/pve (for savety) on vm first (like "tar cvf /root/etc_pve.tar /etc/pve" ).
Join from vm3 the excisting cluster vm (and test multicast-ping before).

Udo

Udo, thank you for your attention.

So what happens, can I do it this way?

Being
"VM" MASTER CLUSTER
"VM3" CLIENT CLUSTER

Could I call them via vmbr1?

If yes what is the best procedure, since the "vm" is in production.

Ps: need to change something in /etc/hosts
 

Attachments

  • hostname.png
    hostname.png
    52.2 KB · Views: 4
  • Sem título.png
    Sem título.png
    144.5 KB · Views: 3
  • Sem título2.png
    Sem título2.png
    145.4 KB · Views: 3
  • PING.png
    PING.png
    301 KB · Views: 2
  • PING2.png
    PING2.png
    256.1 KB · Views: 2
Hi,
yes - an internal network is the right choice.

/etc/host must changed - pvelocalhost (and vm) must set to the private network address.

See also here:
https://pve.proxmox.com/wiki/Proxmox_VE_4.x_Cluster
https://pve.proxmox.com/wiki/Separate_Cluster_Network

Udo

All, I was reading and uploaded a question, I created a cluster as it is currently in / etc / hosts and the ips, I would need to remove this cluster and create a new one or not ??

Sorry for the questions, but I'm a little proxmox and I wanted to understand how it works so as not to make a crap on the production server.

Changing the ip in / etc / hosts would I have to restart proxmox?

What's the difference between these two links?
 
All, I was reading and uploaded a question, I created a cluster as it is currently in / etc / hosts and the ips, I would need to remove this cluster and create a new one or not ??
Hi,
you can remove the cluster (stop corosync), change /etc/hosts and create an cluster again. Or you change /etc/hosts and edit /etc/corosync/corosync.conf from host vm and use instead of names the IP and restart corosync - then your cluster use the right IPs. But this is not really recommended for beginners...
Sorry for the questions, but I'm a little proxmox and I wanted to understand how it works so as not to make a crap on the production server.

Changing the ip in / etc / hosts would I have to restart proxmox?
no
What's the difference between these two links?
the content?!

perhaps you should find an buddy in your town who know proxmox/corosync?

Udo
 

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!