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.
>
--
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
04-14-2010, 02:18 PM
Ante Karamatić
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
04-14-2010, 07:01 PM
Mathias Gug
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.
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
04-14-2010, 07:29 PM
Mathias Gug
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.
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam