OpenVZ Forum


Home » General » Support » VZ+DRBD+HA and load balancing
Re: VZ+DRBD+HA and load balancing [message #42612 is a reply to message #42608] Fri, 06 May 2011 08:50 Go to previous message
tsndcb is currently offline  tsndcb
Messages: 4
Registered: May 2011
Junior Member
Hello golly,

Thanks for your return, actually I tried to done a fail-over VE (LAMP).

I've two RHEL 5.5 servers (HN)with openvz (ovzkernel-2.6.18-238.9.1.el5.028stab089.1.x86_64.rpm)

I've follow this howto HAclusterwithDRBDandHeartbeat on the wiki with drbd 8.3.10,pacemaker-1.0.11 and heartbeat-3.0.3, corosync 1.2.7 (not running).

"HA" configuration seems OK

I've a VE11 with LAMP (Apache + php + mysql)

Actually, I've done two drbd "FS" /VE11 and /data, on /VE11 there are OS + binary for (apache, php, mysql ...) on /data there are data for apache and mysql database.
In fact I've done a FS mount point /data on the VE11 so /data is a FS for the VE11

My question is how the "primary" VE11 must to migrate on the secondary HN2 when the first HN1 failed ?

Must I need to use drbd only for /data and need to setup an other VE on the secondary HN2 it use only data ? Or must must I need to used drbd for /VE11 and /data ? I wanted to done a fail-over configuration.



so

HN1
VE11 with @IP1
/VE11 and /data with drbd

HN2
VE11 with @IP1
/VE11 and /data with drbd

or


HN1
VE11 with @IP1
only /data with drbd

HN2
VE21 with @IP2
only /data with drbd

thanks for your answer

[Updated on: Fri, 06 May 2011 08:56]

Report message to a moderator

 
Read Message
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Iptables the owner module from HN
Next Topic: kernel issue
Goto Forum:
  


Current Time: Fri Jul 26 03:20:52 GMT 2024

Total time taken to generate the page: 0.05652 seconds