Test HA on 2 server proxmox on VirtualBox

Grzesiek

New Member
Apr 2, 2015
1
0
1
Hi.
On virtualbox create 2 server : proxmox1 and proxmox2. I want to test HA on 2 nodes. I use this : https://pve.proxmox.com/wiki/Two-Node_High_Availability_Cluster .
I make https://pve.proxmox.com/wiki/DRBD it's work.
My first server name is grzesiek1
My second server name is grzesiek2
Commend fence_tool ls
fence domain
member count 2
victim count 0
victim now 0
master nodeid 2
wait state none
members 1 2

I copy and rename cluster.conf to cluster.conf.new and configure:
<?xml version="1.0"?>
<cluster name="tygrys" config_version="3">

<cman expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey" two_nodes="1"/>

<fencedevices>
<fencedevice agent="fence_ilo" hostname="192.168.151.117" login="root" name="grzesiek1" passwd="Pa$$w0rd"/>
<fencedevice agent="fence_ilo" hostname="192.168.151.134" login="root" name="grzesiek2" passwd="Pa$$w0rd"/>
</fencedevices>

<clusternodes>
<clusternode name="grzesiek1" votes="1" nodeid="1"/>
<fence>
<method name="1">
<device name="grzesiek1" action="reboot"/>
</method>
</fence>
<clusternode name="grzesiek2" votes="1" nodeid="2"/>
<fence>
<method name="1">
<device name="grzesiek2" action="reboot"/>
</method>
</fence>
</clusternodes>
</cluster>
Server 1 :
hostname: grzesiek1
password: Pa$$w0rd
IP: 192.168.151.117
Server2:
hostname: grzesiek2
password: Pa$$w0rd
IP: 192.168.151.134

Finally I go to gui > HA and click activate but :
config validation failed: unknown error (500)

Where is error?
Sorry for my english
 
Last edited:

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!