OpenVZ Forum - RDF feed
type: channel
items: Linux High Availability issue in openvz
items: Re: Linux High Availability issue in openvz

Linux High Availability issue in openvz
type: item
description: I am trying to configure Linux HA between two open vz containers. Here is my ha.cf logfile /var/log/ha-log debug 3 debugfile /var/log/ha-debug logfacility local0 keepalive 2 deadtime 10 initdead 120 bcast venet0 ucast venet0 192.168.1.50 udpport 694 auto_failback on node Master node Slave Here is my haresources Master IPaddr:192.168.1.52/24 apache. But when I run the heartbeat service I get this error Starting High-Availability services: IPaddr2[19948]: INFO: Resource is stopped Please help for configuring HA between containers.
creator: muyousif
date: 2012-10-13T21:13:46-00:00

Re: Linux High Availability issue in openvz
type: item
description: The IPAddr script won't work because it brings up the IP between the two virtual machines. You can't do that from within a VE. You need to figure out how to assign the IP from the HN as part of the heartbeat config. We replaced IPAddr with a shell script that connects to the parent HN and assigns the IP address to the node. sean
creator: seanfulton
date: 2012-11-11T03:20:45-00:00