FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 04-14-2010, 12:20 PM
"Allan Jacobsen"
 
Default SV: Upstart problems with cluster

With upstart you can not install mysql and disable that it starts, and then it is very difficult to let corosync control it.

Best regards/MVH
Allan Jacobsen
Infrastruktur, IT-teknik, Danske Spil A/S
Korsdalsvej 135, 2605 Brøndby


-----Oprindelig meddelelse-----
Fra: ubuntu-server-bounces@lists.ubuntu.com [mailto:ubuntu-server-bounces@lists.ubuntu.com] På vegne af Mathias Gug
Sendt: 13. april 2010 16:44
Til: ubuntu-server@lists.ubuntu.com
Emne: Re: Upstart problems with cluster


Hi,

On Tue, Apr 13, 2010 at 08:52:44AM +0200, Allan Jacobsen wrote:
>
> I have been trying to set a 2 server cluster up with pacemaker and drbd running a LAMP server on 10.04, and most things work fine, but mysql is a big problem.
>

What's the problem you're running into?

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 04-14-2010, 02:18 PM
Ante Karamatić
 
Default SV: Upstart problems with cluster

On 14.04.2010 14:20, Allan Jacobsen wrote:

> With upstart you can not install mysql and disable that it starts, and then it is very difficult to let corosync control it.

Well, actually, you can. What's needed is new MySQL RA that would use
upstart functions stop, start, status, restart instead of relying on
sysV init script.

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 04-14-2010, 07:01 PM
Mathias Gug
 
Default SV: Upstart problems with cluster

On Wed, Apr 14, 2010 at 02:20:10PM +0200, Allan Jacobsen wrote:
> With upstart you can not install mysql and disable that it starts, and then it is very difficult to let corosync control it.
>

You can modify mysql upstart job to not start on boot by removing the started
on line.

Manually calling /etc/init.d/mysql start should still start mysql.

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 04-14-2010, 07:29 PM
Mathias Gug
 
Default SV: Upstart problems with cluster

On Wed, Apr 14, 2010 at 04:18:39PM +0200, Ante Karamatić wrote:
> On 14.04.2010 14:20, Allan Jacobsen wrote:
>
> > With upstart you can not install mysql and disable that it starts, and then it is very difficult to let corosync control it.
>
> Well, actually, you can. What's needed is new MySQL RA that would use
> upstart functions stop, start, status, restart instead of relying on
> sysV init script.
>

There should be a sysV init script available for mysql pointing to a generic
upstart-sysv init script.

For the longterm developing a generic upstart RA would be the best option.

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 02:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org