Re: Mysql Sockets? [message #35808 is a reply to message #35799] |
Thu, 23 April 2009 23:14  |
althalus
Messages: 12 Registered: April 2009
|
Junior Member |
|
|
maratrus wrote on Thu, 23 April 2009 02:15 |
Quote: |
Using mount and unmount scripts makes sure everything happens in the right order?
|
Yes, a nice explanation is given in the "OpenVZ Users's Guide" (Managing OpenVZ scripts)
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
|
Ah, somehow I missed that.
Ok, that thread cleared up a lot of questions regarding the problems I've been running into. I understand how it all fits together a little better now. (So if I'm understanding correctly, changing anything in /vz/private is a Very Bad Idea as far as quota management, and so changing files with the VE turned off would subsequently be a Very Bad Idea.)
Quote: |
Quote: |
What I want isn't possible short of applying a patch that seems like it could cause unwanted stability issues?
|
2.6.18 kernels should handle it properly I believe.
|
Since that's obviously going backwards, is there anything I need to be aware of when downgrading the kernel?
EDIT: So I successfully grabbed the 2.6.18 kernel from the Git and compiled it.
The only bump in the road was that the make script didn't create the initrd.img for the 2.6.18 kernel. In the end, I unpacked the initrd image for the 2.6.24 kernel, replaced the directory in lib/modules/ with the correct /lib/modules/ directory, and then repacked the new modified initrd.img.
So far everything seems to be working, and I have successfully shared the mysql socket of one machine with various others. No obvious problems, so far.
(As a side note, why does Ubuntu provide a DEV version of the OpenVZ kernel in their packages...? That seems to me a little.... odd, even if it is relatively stable... o.O)
[Updated on: Fri, 24 April 2009 05:57] Report message to a moderator
|
|
|