OpenVZ Forum


Home » General » Support » Porting old server inside VE
Porting old server inside VE [message #29209] Tue, 08 April 2008 17:30 Go to next message
dahas is currently offline  dahas
Messages: 14
Registered: April 2008
Junior Member
I have a question.
How can I port inside VE an old server like slack 9.1.0 distribution with allot things who working now w/o reinstall them into a new distribution.
I also owned anoter 1 who use ubuntu 6.6 distribution 2 days ago but I did upgrade to 7.10 to can move him on 7.10 template. If i don't make mistakes i hope this will work.
Thanks for in advance for any suggestion.
Re: Porting old server inside VE [message #29229 is a reply to message #29209] Wed, 09 April 2008 07:10 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

I think it should work but it's difficult to say for sure. Anyway, please look at this page I think it might be helpful.
http://wiki.openvz.org/Physical_to_VE
Re: Porting old server inside VE [message #29257 is a reply to message #29229] Wed, 09 April 2008 20:27 Go to previous messageGo to next message
dahas is currently offline  dahas
Messages: 14
Registered: April 2008
Junior Member
He he this kind of info I looking for.
That is the easy way I guess. My way for Ubuntu will be reinstall application on clean VE and move date like mysql database and email inside we using normal way (phpmyadmin or similar).
Till now i deal with 3 problems 1 was time drifting but was fixed w/o my know intervention Razz strange not? 2 was the pure-ftpd-mysql who need some strange permissions b4 can work (I use it for a long time and never got a security problem from that) and 3 netstat i guess need to be patched because he dont show UDP used ports yelling for about that.
Here 1 example:
On VE give this netstat -atpun
root@ubuntu-7-10:/# netstat -atpun
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN     877/apache2         
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN     554/mysqld          
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     877/apache2         
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN     790/pure-ftpd (SERV 
tcp        0      0 10.10.10.101:53         0.0.0.0:*               LISTEN     438/named           
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN     438/named           
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     777/master          
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN     438/named           
netstat: no support for `AF INET (udp)' on this system.

if I run same command on HN I see named udp ports used.
HV is CentOS 5.1 x64
VE is Ubuntu 7.10 x64 (i will reconsider to move it on i386 because i still have old P4 at 3Ghz w/o x64 flag and if i will plan to make a backup 1 of them i cant run the VE inside that machine and i bet i don't get to much speed from x64 programs Razz )

Btw I like spell checker and use it Razz

[Updated on: Wed, 09 April 2008 20:29]

Report message to a moderator

Re: Porting old server inside VE [message #29278 is a reply to message #29257] Thu, 10 April 2008 05:41 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Are you using the 2.6.24 OpenVZ Kernel ?

on 2.6.24 the bug is fixed, see (-> http://git.openvz.org/?p=linux-2.6.24-openvz;a=commit;h=452bdf6ea996f2e9e030822d87d9106bf33e0677 )

Re: Porting old server inside VE [message #29475 is a reply to message #29278] Mon, 14 April 2008 15:12 Go to previous message
dahas is currently offline  dahas
Messages: 14
Registered: April 2008
Junior Member
Thanks for the info
I got the vanila kernel and patch combined and that patch-s from that git repository. And finally now working on 2.6.24ovz4.1 + UDP patch. It is stable now other major problem.
Thanks again
P.S. I didn't find a proper how to compile kernel from git or I didn't know what to looking for Smile
Previous Topic: [SOLVED] live migration checkpointing/dump error: iptables-save exited with 255
Next Topic: Share /etc/passwd among VEs
Goto Forum:
  


Current Time: Sun Jul 14 08:10:10 GMT 2024

Total time taken to generate the page: 0.02344 seconds