[DRBD-user] New to the list and a ?

Benjamin Zachary ben at levelfive.us
Sat Nov 10 01:28:08 CET 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Okay, I think I understand better, thank you for clarifying. I spoke about
it with the other engineer involved and we think we are going to automate it
but first put in some pre-checks before it sends an alert out. Im not sure
what those are yet, but with the snmp mod, nagios snap in, and the info
coming from the /proc/drbd I think we will be able to 'validate' that it
should become primary and then have the script start it else send us an
email alert for notification.

I will end up with probably about 75-100 of these deployed around different
segments of the country thus everytime one reboots, or loses power I don't
need a service call to ssh in and start it.

-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Lars Ellenberg
Sent: Friday, November 09, 2007 4:25 PM
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] New to the list and a ?

On Fri, Nov 09, 2007 at 12:08:38PM -0500, Benjamin Zachary wrote:
> Thanks Lars, I saw talk of GFS/OCFS2 but actually Im using VMFS (vmware's
> custom FS for ESX), I am able to fail over and boot the images so the data
> and vmfs is being sync'ed correctly. I have no problem with manually
setting
> drbd primary just need to add it to my documentation.

just because the snippet of the example config,
that I dared to cite, mentions GFS,
and you don't use GFS,
does not mean that you would have to do "manually"
or by handcrafted additional scripts
what this options is intended for:
 you chose in configuration
 one or both nodes
 to be switched to primary
 by the init script
 right after configuration.

this does not mean that I think it is a good idea.
just that, when you really want to do this,
it is there already,
and you do not have to reinvent it, you can just use it.

 :)

> > Or you throw caution to he wind and right a script that does it at boot
> > in some place like rc.local (after all the other init.d scripts have 
> > run).
> 
> note that recent drbd has a config option:
> | resource ... 
> |    startup {
> |      ...
> | 
> |     # In case you are using DRBD for GFS/OCFS2 you want that the
> |     # startup script promotes it to primary. Nodenames are also
> |     # possible instead of "both".
> |     # become-primary-on both;
> |    }
> |   ...

-- 
: Lars Ellenberg                            Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user





More information about the drbd-user mailing list