deb package upgrade, adds startup links

Asked by Rocco

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

Revision history for this message
Rocco (rocco) said :
#1

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

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) said :
#2

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.