Hi, I'm trying to setup a two node cluster for demonstration to my students in my country about proxmox, I was trying with the following scenario:
Two node cluster running proxmox 2.3.-12.
One node running Openfiler 2.3 version.
I already had made the cluster setup of the two nodes based in http://pve.proxmox.com/wiki/Two-Node_High_Availability_Cluster but I don't want to use DRBD I want to use ISCSI connection.
I added a LUN to my cluster and both of the server in the cluster see that LUN. After that i modified the file /etc/pve/cluster.conf.new (cp /etc/pve/cluster.conf /etc/pve/cluster.conf.new) and increased by one the version when i made changes. When I change it in the primary server the configuration get copy to the second server.
I created a VM and added to the HA, but when I try to start the machine and error occurred :
clusvcadm -e pvevm failed: exit code 1
I know the important about fences devices, I'm trying to do it by a manual script because its just for demonstration and testing purposes. Here are my configurations files
root@proxmox01:~# cat /etc/hostname
proxmox01
root@proxmox02:/etc/pve# cat /etc/hostname
proxmox02
/etc/pve/cluster.conf
<?xml version="1.0"?>
<cluster config_version="9" name="cluster">
<cman two_node="1" expected_votes="1"> </cman>
<fencedevices>
<fencedevice agent="fence_manual" name="human"/>
</fencedevices>
<clusternodes>
<clusternode name="proxmox01" nodeid="1" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox01"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox02" nodeid="2" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox02"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="0" vmid="101"/>
</rm>
</cluster>
Any help will be appreciated
Two node cluster running proxmox 2.3.-12.
One node running Openfiler 2.3 version.
I already had made the cluster setup of the two nodes based in http://pve.proxmox.com/wiki/Two-Node_High_Availability_Cluster but I don't want to use DRBD I want to use ISCSI connection.
I added a LUN to my cluster and both of the server in the cluster see that LUN. After that i modified the file /etc/pve/cluster.conf.new (cp /etc/pve/cluster.conf /etc/pve/cluster.conf.new) and increased by one the version when i made changes. When I change it in the primary server the configuration get copy to the second server.
I created a VM and added to the HA, but when I try to start the machine and error occurred :
clusvcadm -e pvevm failed: exit code 1
I know the important about fences devices, I'm trying to do it by a manual script because its just for demonstration and testing purposes. Here are my configurations files
root@proxmox01:~# cat /etc/hostname
proxmox01
root@proxmox02:/etc/pve# cat /etc/hostname
proxmox02
/etc/pve/cluster.conf
<?xml version="1.0"?>
<cluster config_version="9" name="cluster">
<cman two_node="1" expected_votes="1"> </cman>
<fencedevices>
<fencedevice agent="fence_manual" name="human"/>
</fencedevices>
<clusternodes>
<clusternode name="proxmox01" nodeid="1" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox01"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox02" nodeid="2" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox02"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="0" vmid="101"/>
</rm>
</cluster>
Any help will be appreciated