Please help me I do not know more to do with the Cluster Proxmox

frank.gabry

Renowned Member
Jan 15, 2012
5
0
66
Hi all,


I'm trying to configure the cluster but I'm not having problems, these are the steps I performed:


Hardware 2 Server HP380G7 with iL0 V3
Storage Fibre Channell HP P2000 G3 FC




1) Configuration multipath.conf
defaults {
udev_dir /dev
polling_interval 10
selector "round-robin 0"
path_grouping_policy failover
prio_callout "/bin/true"
path_checker tur
rr_min_io 100
rr_weight uniform
failback immediate
no_path_retry 12
user_friendly_names yes
}


devnode_blacklist {
devnode "^(ram|sda|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z]"
devnode "^cciss!c[0-9]d[0-9]*"
}


devices {


device {
vendor "HP"
product "P2000 G3 FC"
path_grouping_policy group_by_prio
path_checker tur
path_selector "round-robin 0"
prio_callout "/sbin/mpath_prio_alua /dev/%n"
rr_weight uniform
failback immediate
hardware_handler "0"
no_path_retry 18
rr_min_io 100
}


}


2) Configuration LVM
pvcreate /dev/mapper/mpath1
vgcreate vg_name /dev/mapper/mpath1
Configuration on all nodes with the option duei shared




3) Configuration Cluster
pvecm create sfarm-kvm


4) Configuration Cluster.conf
<?xml version="1.0"?>
<cluster config_version="4" name="sfarm-kvm">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1" expected_votes="1"></cman>


<clusternodes>
<clusternode name="sfarm-kvm1sc" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="sfarm-kvm1sc" action="reboot"/>
</method>
</fence>
</clusternode>
<clusternode name="sfarm-kvm2sc" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="sfarm-kvm2sc" action="reboot"/>
</method>
</fence>
</clusternode>
</clusternodes>


<fencedevices>
<fencedevice agent="fence_ilo" ipaddr="10.104.27.120" login="hpilologin" name="sfarm-kvm1sc" passwd="hpilopword"/>
<fencedevice agent="fence_ilo" ipaddr="10.104.27.121" login="hpilologin" name="sfarm-kvm2sc" passwd="hpilopword"/>
</fencedevices>


</cluster>


5)Configuration User iLO
username hpilologin passwd hpilopword group admin


6) Edit /etc/default/redhat-cluster-pve
# CLUSTERNAME=""
# NODENAME=""
# USE_CCS="yes"
# CLUSTER_JOIN_TIMEOUT=300
# CLUSTER_JOIN_OPTIONS=""
# CLUSTER_SHUTDOWN_TIMEOUT=60
# RGMGR_OPTIONS=""
FENCE_JOIN="yes"


7) Status Fence
# fence_tool ls
fence domain
member count 2
victim count 0
victim now 0
master nodeid 2
wait state none
members 1 2




Now if I try to test the Fence I get this error:
root@sfarm-kvm1sc ~ # fence_ilo -l hpilologin -p hpilopword -a 10.104.27.120 -o status -v
Unable to connect/login to fencing device


Or tried this way but it should not be:
fence_ilo_mp -l hpilologin -p hpilopword -a 10.104.27.120 -o status -v


If I do a connection test ssh seems to work:


root@sfarm-kvm1sc ~ # ssh hpilologin@10.104.27.120
hpilologin@10.104.27.120's password:
User:hpilologin logged-in to ILOCZ22160L83.(10.104.27.120)
iLO 3 Advanced 1.28 at Jan 13 2012
Server Name: 10.104.27.120
Server Power: On


</>hpiLO->


Thanks in advance
 

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!