[PVE-User] Error when add quorum

Gilberto Nunes gilberto.nunes32 at gmail.com
Mon Jul 7 18:01:30 CEST 2014


Hi...

I set cluster with two or three nodes, and a iSCSI storage...
Everything is going fine, but after I added a quorum disk, I get this error:


Jul  7 12:51:38 pve01 kernel: dlm: no local IP address has been set
Jul  7 12:51:38 pve01 kernel: dlm: cannot start dlm lowcomms -107

This error appears when I boot the nodes...
But, if I go to CLI and restart both cman and rgmanager...

Somebody knows what the reason of this error??

The /etc/hosts:

127.0.0.1 localhost.localdomain localhost
192.168.1.125 pve01.home.lan pve01
192.168.1.126 pve02.home.lan pve02

Cluster.conf:

<?xml version="1.0"?>
<cluster config_version="35" name="CLUSTER">
  <cman expected_votes="3" keyfile="/var/lib/pve-cluster/corosync.authkey"/>
   <quorumd allow_kill="0" interval="3" label="quorum" tko="10" votes="1">
   <heuristic interval="3" program="ping 192.168.1.100 -c1 -w1" score="1"
tko="4"/>
   <heuristic interval="3" program="ip addr | grep eth0 | grep -q UP"
score="2" tko="3"/>
 </quorumd>
 <totem token="54000"/>
  <clusternodes>
    <clusternode name="pve01" nodeid="1" votes="1">
    </clusternode>
    <clusternode name="pve02" nodeid="2" votes="1">
    </clusternode>
  </clusternodes>
  <rm>
   <failoverdomains>
     <failoverdomain name="serverfailover" ordered="1" restricted="0">
       <failoverdomainnode name="pve01" priority="1"/>
       <failoverdomainnode name="pve02" priority="2"/>
     </failoverdomain>
   </failoverdomains>
    <pvevm autostart="1" vmid="100"/>
  </rm>
</cluster>


As a workaround, I always put the following in /etc/rc.local (in all nodes)

/etc/init.d/cman restart
/etc/init.d/rgmanager restart

After this, when I restart the nodes, everything goes ok...

But I wanna avoid rc.local...

Thanks
-- 
Gilberto Ferreira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20140707/63f40a22/attachment-0014.html>


More information about the pve-user mailing list