[DRBD-user] Re: sdb or sdbx?

Todd Denniston Todd.Denniston at ssa.crane.navy.mil
Thu Apr 6 15:14:03 CEST 2006

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


Ugo Bellavance wrote:
> Andreas J. Koenig wrote:
> 
>>>>>>> On Wed, 05 Apr 2006 17:41:04 -0400, Ugo Bellavance 
>>>>>>> <ugob at camo-route.com> said:
>>
>>
>>   > 3- Start drbd
<SNIP>
>>  10 - Disable OS from starting mysql (on both nodes)
>>
>>   # rm /etc/rc?.d/[SK]*mysql
> 
> 
> or chkconfig --del mysql
> 
>>
>> Talk about the need to prevent your upgrade mechanism (here yum) from
>> reinstalling those start/stop symlinks.
> 
> 
> Ok
> 

Actually, instead of using `chkconfig --del` which means you can no longer 
manage the service with chkconfig, the better option would be

`chkconfig --level 12345 mysql off`

which simply tells the system 'unless I (the admin) explicitly run chkconfig 
to change it in the future, never run the mysql service at boot', but it is 
still controlled by chkconfig.

I have never had a heartbeat controlled service problem after doing this.

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter



More information about the drbd-user mailing list