deb package upgrade, adds startup links

Asked by Rocco on 2013-03-18

Hi,

I have a question about Percona server (5.5). When upgrading the Percona debs via Percona repository I see that the package adds back /etc/rc*.d links, and starts mysql. This is probably nice in most situations but in a cluster environment it's not very good to have either of these things. MySQL is started by the cluster. And since startup links are created MySQL will try to start on secondary node also and so on.

So is there a preferred way of handling a situation like mine?

Question information

Language:
English Edit question
Status:
Open
For:
Percona Server Edit question
Assignee:
No assignee Edit question
Last query:
2013-03-18
Last reply:
Rocco (rocco) said : #1

Hmm it's even worse since the upgrade fails on the secondary since no datadir is available (drbd).

Hardly installation scripts may (or should) know about clustering solution you use or datadir not being mounted or usable. So, installing missing /etc/rc*.d links is hardly avoidable.

Do you think that NOT starting server during the upgrade if it was NOT started at the moment of upgrade is a useful solution?

Please, add your reply to the related bug report, https://bugs.launchpad.net/percona-server/+bug/1156996, also.

Can you help with this problem?

Provide an answer of your own, or ask Rocco for more information if necessary.

To post a message you must log in.