OpenVZ Forum


Home » General » Support » Problem migrating Debian 3.1 physical server to OpenVZ container
Re: Problem migrating Debian 3.1 physical server to OpenVZ container [message #51434 is a reply to message #51430] Sun, 01 June 2014 10:28 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
Probably you will need to debug this yourself, or give a lot of details for us.

which instructions you have followed?
this one?
https://wiki.openvz.org/Physical_to_container

I would not use ftp for such things. a lot of permission and other problems might be.
use rsync or other tools which supports permissions, symlinks, hardlinks transfering or keeping in place.


Or if this possible, setup new CT from http://download.openvz.org/template/precreated/unsupported/d ebian-3.1-x86.tar.gz

install needed packages, replace needed config files (from physical server), copy data.

Centos 6.5
kernel 2.6.32-042stab088.4
vzctl 4.7

used template from openvz
# vzctl create 98 --layout simfs --ostemplate debian-3.1-x86
Container private area was created

# vzctl start 98
Starting container...
Container is mounted
Setting CPU units: 1000
Container start in progress...

]# vzctl enter 98
entered into CT 98
# ps faux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1592 520 ? Ss 14:10 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 14:10 0:00 [kthreadd/98]
root 3 0.0 0.0 0 0 ? S 14:10 0:00 \_ [khelper/98]
root 175 0.0 0.2 1636 540 ? Ss 14:10 0:00 /sbin/syslogd
root 184 0.0 0.3 3552 892 ? Ss 14:10 0:00 /usr/sbin/sshd
root 191 0.0 0.2 2248 772 ? Ss 14:10 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive
root 268 0.0 0.6 6792 1672 ? Ss 14:10 0:00 sendmail: MTA: accepting connections
root 282 0.0 0.2 1828 648 ? Ss 14:10 0:00 /usr/sbin/cron
root 287 0.0 0.8 7216 2208 ? Ss 14:10 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 289 0.0 0.6 7216 1696 ? S 14:10 0:00 \_ /usr/sbin/apache2 -k start -DSSL
root 294 0.0 0.1 1580 448 ? Ss+ 14:10 0:00 /sbin/mingetty console
root 295 0.0 0.1 1580 460 tty2 Ss+ 14:10 0:00 /sbin/mingetty tty2
root 296 0.0 0.2 27528 716 ? Ss 14:11 0:00 vzctl: pts/0
root 297 0.0 0.5 2628 1400 pts/0 Ss 14:11 0:00 \_ -bash
root 301 0.0 0.3 2568 812 pts/0 R+ 14:11 0:00 \_ ps faux

# cat /etc/debian_version
3.1


 
Read Message
Read Message
Read Message
Previous Topic: VPS remains offline.
Next Topic: file system in / vz / private / xxx backup / restore
Goto Forum:
  


Current Time: Wed Aug 07 22:25:23 GMT 2024

Total time taken to generate the page: 0.02756 seconds