OpenVZ Forum


Home » Mailing lists » Users » how to make an exact copy of the VPS
how to make an exact copy of the VPS [message #3134] Sun, 14 May 2006 18:53 Go to next message
abhishek jain is currently offline  abhishek jain
Messages: 9
Registered: May 2006
Junior Member
Dear Friends,
I need to
1)Install openVZ will i get a Control panel for mine clients
2) make an exact copy of the VPS from old to new IPs. Tell me how to do so.
3)Also can anyone point me to articles relating with the difference between
OpenVZ and Xen based VPS., I need to know which is best, in terms of which
can be installed easily,control panel for the client and ease to use/operate
and system resources etc.

Thanks,
Abhishek jain
Re: how to make an exact copy of the VPS [message #3135 is a reply to message #3134] Sun, 14 May 2006 19:27 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

abhishek jain wrote:

> Dear Friends,
> I need to
> 1)Install openVZ will i get a Control panel for mine clients

OpenVZ does not provide any web interfaces. Of course you can use, say,
Webmin or something like this.

Or, if you want all the features of OpenVZ plus control panels plus much
more -- you can buy Virtuozzo.

> 2) make an exact copy of the VPS from old to new IPs. Tell me how to
> do so.

I am not sure what you mean by "from old to new IPs". Do you want to
change the IP address(es) of the VPS? Do you want to clone a VPS, and
give a different IP to the clone?

> 3)Also can anyone point me to articles relating with the difference
> between OpenVZ and Xen based VPS.

In very short: http://openvz.org/documentation/tech/virtualization

In very short: the difference is Xen runs *multiple* kernels on top of
the hypervisor, while OpenVZ enables multiple Virtual Environments (VEs,
otherwise known as VPSs) on top of the *single* kernel. Single kernel
approach gives close-to-native performance and much better density
(number of VEs per server), also there are other benefits like higher
scalability (VE is as scalable as ordinary Linux) and the fact that you
can change/"resize" a VE dynamically -- say, you can give it more or
less RAM without any need to reboot.

From the other side, Xen makes possible to run *different* kernels, so
it's the way to go if you want different OSs on your server.

> , I need to know which is best, in terms of which can be installed
> easily,control panel for the client and ease to use/operate and system
> resources etc.

As I am very subjective here you can't rely on my words for it. :)
Some people say OpenVZ is easier to install and use (say here:
http://forum.openvz.org/index.php?t=rview&goto=3119#msg_ 3119).

Sorry I do not know much about control panels.

>
> Thanks,
> Abhishek jain
>
> ------------------------------------------------------------ ------------
>
Re: how to make an exact copy of the VPS [message #3136 is a reply to message #3134] Sun, 14 May 2006 19:34 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

abhishek jain wrote:

> Dear Friends,
> I need to
> 1)Install openVZ will i get a Control panel for mine clients
> 2) make an exact copy of the VPS from old to new IPs. Tell me how to
> do so.

Oh I now read the subject and know what you want to do.

Say there is a VE with ID 100, and you want to make a clone of it; a new
VE will have ID 200. Here is how:

# Stop source VE
vzctl stop 100
# Copy VE private area:
cd /vz/private/
mkdir 200
cp -a 100/* 200/
# Copy VE config file
cd /etc/sysconfig/vz-scripts/
cp 100.conf 200.conf
# Change VE 200 IP address: remove old ones than add some new ones
vzctl set 200 --ipdel all --ipadd x.x.x.x --save
# Start original VE and the clone
vzctl start 100
vzctl start 200

One can write a simple shell script for that if you want to do it
regularly. As you can see, this is just a few copy and vzctl set operations.

> 3)Also can anyone point me to articles relating with the difference
> between OpenVZ and Xen based VPS., I need to know which is best, in
> terms of which can be installed easily,control panel for the client
> and ease to use/operate and system resources etc.
>
> Thanks,
> Abhishek jain
>
> ------------------------------------------------------------ ------------
>
Previous Topic: cani install OpenVZ remotely
Next Topic: how to make an exact copy of the VPS
Goto Forum:
  


Current Time: Tue Aug 06 21:26:21 GMT 2024

Total time taken to generate the page: 0.05907 seconds