Hi,
I had a 2 host cluster setup and working. I wanted to change the cluster to use my LAN IPs (was using my WAN nic I think). Long story short, I thought it would be a good idea to delete the cluster and start again.. but it went wrong and now im stuck.
I went to host1 and deleted host2. I then also deleted /etc/pve/cluster.conf and then tried to create a new cluster with pvecm create xxx.
It didnt work. I tried rebooting the systems and now I cant do anything.
cman (corosync) is not running. It wont start.
The clustered file system isnt working correctly. I cant edit or delete clustered files. I believe this may be because I dont have "quorum" .. but thats impossible as there is now only 1 node.
My /etc/pve/cluster.conf (note i cant edit this file or create a .new one)
How can I reset the cluster?
Thanks
I had a 2 host cluster setup and working. I wanted to change the cluster to use my LAN IPs (was using my WAN nic I think). Long story short, I thought it would be a good idea to delete the cluster and start again.. but it went wrong and now im stuck.
I went to host1 and deleted host2. I then also deleted /etc/pve/cluster.conf and then tried to create a new cluster with pvecm create xxx.
It didnt work. I tried rebooting the systems and now I cant do anything.
cman (corosync) is not running. It wont start.
# /etc/init.d/cman start
Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... Cannot find node name in cluster.conf
Unable to get the configuration
Cannot find node name in cluster.conf
cman_tool: corosync daemon didn't start Check cluster logs for details
[FAILED]
The clustered file system isnt working correctly. I cant edit or delete clustered files. I believe this may be because I dont have "quorum" .. but thats impossible as there is now only 1 node.
tail /var/log/syslog -n 20
May 9 12:40:25 host11 pmxcfs[2956]: [dcdb] crit: cpg_initialize failed: 6
May 9 12:40:31 host11 pmxcfs[2956]: [quorum] crit: quorum_initialize failed: 6
May 9 12:40:31 host11 pmxcfs[2956]: [confdb] crit: confdb_initialize failed: 6
May 9 12:40:31 host11 pmxcfs[2956]: [dcdb] crit: cpg_initialize failed: 6
May 9 12:40:31 host11 pmxcfs[2956]: [dcdb] crit: cpg_initialize failed: 6
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:33 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:36 host11 pvedaemon[1672]: <root@pam> successful auth for user 'root@pam'
May 9 12:40:36 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
May 9 12:40:36 host11 pmxcfs[2956]: [status] crit: cpg_send_message failed: 9
My /etc/pve/cluster.conf (note i cant edit this file or create a .new one)
<?xml version="1.0"?>
<cluster name="TME2" config_version="1">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="host11" votes="1" nodeid="1"/>
</clusternodes>
</cluster>
How can I reset the cluster?
Thanks