Difference between revisions of "Category:HOWTO"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(C)
Line 25: Line 25:
  
 
Dr. Sichendra Bista
 
Dr. Sichendra Bista
eParliament.org
+
eParliament.org[http://eParliament.org]

Revision as of 10:44, 20 November 2006

This category is for various HOWTOs on all the possible topics.


C

Clone VPS

This is important if you host several VEs in the same Hardware Node so that you don't have to repeat the same process again and again.

Just do this:

  1. vzctl stop old_VEid
  2. cp /vz/root/old_VEid /vz/root/new_VEid (don't know why but a file of that name was there, so I made a copy)
  3. cp /etc/vz/conf/old_VEid.conf /etc/vz/conf/new_VEid.conf
  4. cp -r /vz/private/old_VEid /vz/private/new_VEid
  5. vzctl start new_VEid; vzctl start old_VEid

If it starts well, the VE is cloned. However, if you have created a VE with the same ID before and destroyed it (vzctl destroy VEid), then do not forget to delete files relating to that:

  1. rm /vz/root/destroyed_VEid /etc/vz/conf/destroyed_VEid.conf.destroyed

Maybe you need a HN reboot like in my case, but not sure.

I ackknowledge the help of Mr. Vasily Tarasov at [1]

Dr. Sichendra Bista eParliament.org[2]

Subcategories

This category has only the following subcategory.

Pages in category "HOWTO"

The following 142 pages are in this category, out of 142 total.

Y