OpenVZ Forum


Home » General » Support » Mysql Sockets?
Re: Mysql Sockets? [message #35808 is a reply to message #35799] Thu, 23 April 2009 23:14 Go to previous message
althalus is currently offline  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.
Quote:


Quote:


Ok, Can you explain the differences and purposes between the vz/private and vz/root directories?


Please read the following thread.
http://forum.openvz.org/index.php?t=msg&th=3988&#msg _20467
If you have any question, please ask I'll try to answer.



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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mount --bind Bug in OpenVZ?
Next Topic: ** SOLVED ** e1000e device eth0 does not seem to be found
Goto Forum:
  


Current Time: Sat Sep 20 10:55:42 GMT 2025

Total time taken to generate the page: 0.06338 seconds