Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Server Development (http://www.linux-archive.org/ubuntu-server-development/)
-   -   SV: Upstart problems with cluster (http://www.linux-archive.org/ubuntu-server-development/356715-sv-upstart-problems-cluster.html)

"Allan Jacobsen" 04-14-2010 12:20 PM

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

Ante Karamatić 04-14-2010 02:18 PM

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

Mathias Gug 04-14-2010 07:01 PM

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

Mathias Gug 04-14-2010 07:29 PM

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


All times are GMT. The time now is 09:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.