ccs_tool: Invalid Argument

empr

New Member
Oct 15, 2012
16
0
1
Hi,

I was following the config for two nodes HA cluster, but it seems like rgmanager doesn't start.
When I run css_tool query /cluster/rm I get:

ccs_tool query /cluster/rm
Query failed: Invalid argument

here is my cluster.conf file:

<?xml version="1.0"?>
<cluster name="pr-cluster1" config_version="5">

<cman expected_votes="3" keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<quorumd allow_kill="0" interval="3" label="proxmox1_qdisk" tko="10">
<heuristic interval="3" program="ping $GATEWAY -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" />

<fencedevices>
<fencedevice agent="fence_ipmilan" name="nnnn" lanplus="1" ipaddr="10.0.x.x" login="xxx" passwd="xxx" power_wait="5"/>
<fencedevice agent="fence_ipmilan" name="mmmm" lanplus="1" ipaddr="10.0.x.y" login="xxx" passwd="xxx" power_wait="5"/>
</fencedevices>

<clusternodes>
<clusternode name="proxmox1" votes="1" nodeid="1">
<fence>
<method name="1">
<device name="nnnn"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox2" votes="1" nodeid="2">
<fence>
<method name="1">
<device name="mmmm"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<service autostart="1" name="service" recovery="relocate">
<ip address="192.168.7.180"/>
</service>
</rm>
</cluster>

Thanks!
 
I got it working.
qdisk wasn't configured correctly on the second server.

EM
 

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!