[Linux-HA] Setup HA on Openvz

Gary gchen00 at insightbb.com
Wed Apr 2 12:07:27 MDT 2008


  ----- Original Message ----- 
  From: Michael Schwartzkopff 
  To: General Linux-HA mailing list 
  Sent: Wednesday, April 02, 2008 1:24 PM
  Subject: Re: [Linux-HA] Setup HA on Openvz


  Am Mittwoch, 2. April 2008 17:45 schrieb Gary:
  > Yes, I am very interested in your setup. I am new to Linux-HA and still
  > struggling to setup it up on OpenVZ. Right now my two VE's (on different
  > host) does not talk to each other. One always think the other one is dead
  > and auto start the resources.
  >
  > Can you post your sample config files(ha.cf, hareources ...) here?
  >
  > Thank you very much.
  >
  > Gary Chen

  Hi,

  machines not seeing each other is NOT a problem of heartbeat, but of the 
  virtualization. Please first fix theis problem and ONLY then start HA. i.e. 
  the virtual machines should be able to ping each other.

  My HA config will not help you if you have a problem in your setup of the 
  virtual machines.

  Greetings,

  The VE's can ping each other. Heartbeat won't see each other. Here is the part of log file:

  Apr  2 11:25:07 cluster-dev1 heartbeat: [1403]: ERROR: Unable to set scheduler parameters.: Operation not permitted
  Apr  2 11:25:07 cluster-dev1 heartbeat: [1408]: ERROR: Unable to set scheduler parameters.: Operation not permitted
  Apr  2 11:25:07 cluster-dev1 heartbeat: [1404]: ERROR: Unable to set scheduler parameters.: Operation not permitted
  Apr  2 11:25:07 cluster-dev1 heartbeat: [1407]: ERROR: Unable to set scheduler parameters.: Operation not permitted
  Apr  2 11:27:06 cluster-dev1 heartbeat: [1397]: WARN: node cluster-dev2 : is dead
  Apr  2 11:27:06 cluster-dev1 heartbeat: [1397]: info: Comm_now_up(): updating status to active
  Apr  2 11:27:06 cluster-dev1 heartbeat: [1397]: info: Local status now set to: 'active'
  Apr  2 11:27:06 cluster-dev1 heartbeat: [1397]: WARN: No STONITH device configured.
  Apr  2 11:27:06 cluster-dev1 heartbeat: [1397]: WARN: Shared disks are not protected.
  Apr  2 11:27:06 cluster-dev1 heartbeat: [1397]: info: Resources being acquired from cluster-dev2.
  Apr  2 11:27:06 cluster-dev1 harc[1413]: [1427]: info: Running /etc/ha.d/rc.d/status status
  Apr  2 11:27:07 cluster-dev1 heartbeat: [1414]: info: No local resources [/usr/share/heartbeat/ResourceManager listkeys cluster-dev1] to acquire.
  Apr  2 11:27:07 cluster-dev1 heartbeat: [1397]: info: Initial resource acquisition complete (T_RESOURCES(us))
  Apr  2 11:27:07 cluster-dev1 mach_down[1439]: [1460]: info: Taking over resource group MailTo
  Apr  2 11:27:07 cluster-dev1 ResourceManager[1461]: [1472]: info: Acquiring resource group: cluster-dev2 MailTo  HA_master asterisk httpd
  Apr  2 11:27:07 cluster-dev1 MailTo[1484]: [1503]: INFO:  Resource is stopped
  Apr  2 11:27:07 cluster-dev1 ResourceManager[1461]: [1517]: info: Running /etc/ha.d/resource.d/MailTo start
  Apr  2 11:27:08 cluster-dev1 MailTo[1519]: [1544]: INFO:  Success
  Apr  2 11:27:08 cluster-dev1 ResourceManager[1461]: [1562]: info: Running /etc/ha.d/resource.d/HA_master  start
  Apr  2 11:27:08 cluster-dev1 ResourceManager[1461]: [1597]: info: Running /etc/init.d/asterisk  start
  Apr  2 11:27:09 cluster-dev1 asterisk: safe_asterisk startup succeeded


More information about the Linux-HA mailing list