Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

"become-primary-on node-name" in a manual primary/secondary fail over environment

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


roberto.fastec at gmail

Jul 31, 2010, 11:02 AM

Post #1 of 1 (261 views)
Permalink
"become-primary-on node-name" in a manual primary/secondary fail over environment

One kind clarification:
||

|become-primary-on /|node-name|/|

Sets on which node the device should be promoted to primary role by
the init script. The /|node-name|/ might either be a host name or
the key word |both|. When this option is not set the devices stay in
secondary role on both nodes. Usually one delegates the role
assignment to a cluster manager (e.g. heartbeat).

Let say I need to configure |become-primary-on| because my environment
is cluster manager free. So I set the two drbd.conf with|

||become-primary-on PC1/||/|

Obviously there is not any setting to allow two primaries.
*
Let say that one day the fail over happen.*
PC1 (the drbd primary) fails. For the time needed to fix PC1 it will
work PC2 instead and to do this, obviously, somebody manually sets
drbdadm primary on the PC2.

Well:
what happen if PC1 is restored and turned on and they (or me) forget to
set PC2's drbd to secondary?

Nothing happen?
Some error message happen?
Warning or error is logged and Sync starts automatically? And later it
will be my business to swap the primary role...

I suppose the correct answer is the third one, but confirmations and
(expecially) WARNINGS are welcome.

Thank you
Robert


_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.