Issue Solved!
...and I'm going to explain you how I did it.
First of all, I have to admit that the cause has been on one my own error: in fact, after third step of those listed above, I erroneously modified the cluster.conf file from
Code:
<?xml version="1.0"?>
<cluster name="ProxMCls" config_version="4">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey" transport="udpu" expected_votes="1" two_node="1"/>
<clusternodes>
<clusternode name="proxmox" votes="1" nodeid="1"/>
<clusternode name="proxmox2" votes="1" nodeid="2"/>
</clusternodes>
</cluster>
to
Code:
<?xml version="1.0"?>
<cluster name="ProxMCls" config_version="5">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey" transport="udpu" expected_votes="1" two_node="1"/>
<clusternodes>
<clusternode name="proxmox2" votes="1" nodeid="2"/></clusternodes>
</cluster>
I did it because I thought that it was the better configuration to represent the current physical cluster condition. Instead, it was not so: having kept a cluster enviroment, I should have kept original configuration in cluster.conf file.
That admitted, my error brought the survival node in protection-mode with following two consequences:
1) CMAN service was stopped and not runnable;
2) /etc/pve folder was not writeable.
In this condition, I was freezed because it seemed there wasn't any way to change that wrong configuration and to restore the right cluster enviroment.
But I'm lucky and I found a valued info on this forum about pmxcfs.
Pmxcfs is the binary executable file which manages the Cluster File System (that is, /etc/pve: folder which is replicated among nodes) and it is NOT WELL DOCUMENTED binary!! (note to P.XMOX developer group). It get running as a service by the launching of the /etc/init.d/pve-cluster script. It has a command-line parameters which can be set by the following configuration file: /etc/default/pve-cluster. In this file there is a variable, DAEMON_OPTS="", which can be customized.
There is a switch, "-l", that it sets up a node like a standalone machine. Hence, here was the trick:
1) bring the node as a standalone machine;
2) make appropriate modifications;
3) restor the node as original cluster component.
Step by step, this meaning:
Code:
# /etc/init.d/pve-cluster stop #stop cluster service
# vi /etc/default/pve-cluster
DAEMON_OPTS="-l"
# /etc/init.d/pve-cluster start #start cluster service
{ here, make appropriate modification in any config file inside in /etc/pve/ dir }
# /etc/init.d/pve-cluster stop #stop cluster service
# vi /etc/default/pve-cluster
DAEMON_OPTS=""
# /etc/init.d/pve-cluster start #start cluster service
At this time, I was able to run CMAN service (with some no-blocking error) and I solved anything running this last command:
That's all, folk.