OpenVZ Forum


Home » General » Discussions » DRBD with OpenVZ - versions and configurations
Re: DRBD with OpenVZ - how can I shutdown the cluster ina safe way? [message #23077 is a reply to message #23068] Mon, 12 November 2007 07:42 Go to previous messageGo to previous message
wfischer is currently offline  wfischer
Messages: 38
Registered: November 2005
Location: Austria/Germany
Member
You should not get a split brain scenario at all when you shut down the cluster nodes.

During shutdown, heartbeat and drbd should be stopped cleanly through the initscripts. On halt, heartbeat should be stopped, e.g. via /etc/rc0.d/K05heartbeat, and DRBD should be stopped, e.g. via /etc/rc0.d/K08drbd

When you have both nodes running, and you shut down the active node first, the second node will then start all the services. So it is faster to shut down the passive node first (then you won't have a switchover). Then you shut down the active node - so both machines are off.

When you boot the cluster again, you need to boot both nodes. If you would only start up one single node, DRBD will print a message on the console that it waits for the other node to come up.

best regards,
Werner


Werner Fischer, Developer of a Virtuozzo-out-of-the-box-cluster solution at Thomas-Krenn.AG
http://static.openvz.org/userbars/openvz-user.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dual Opteron 248's
Next Topic: Kernel binaries for Ubuntu
Goto Forum:
  


Current Time: Fri Jun 14 08:59:46 GMT 2024

Total time taken to generate the page: 0.00408 seconds