Changes

Jump to: navigation, search

Category:HOWTO

332 bytes removed, 10:54, 20 November 2006
moved prev. change to the separate Cloning VE article; added a NOTE
This category is for various HOWTOs on all the possible topics.
<!-- NOTE NOTE NOTE
== C ==If you want to add a HOWTO article, the best way to do is to type its name (for example "Extranet setup") into the search box at the left and click on "Go" button. Search will tell you there is no such page, and will suggest you to create a page. Just follow the "create page" link and type in your article. In the bottom of the article, place this line:
Clone VPS[[Category:HOWTO]]
This is important if you host several VEs in the same Hardware Node so that you don't have will automatically assign your new article to repeat the same process again HOWTO category and againwill add a link to it to this very page.
Just do this:WARNING WARNING WARNING
# vzctl stop old_VEid#cp /vz/root/old_VEid /vz/root/new_VEid (don't know why but Do NOT add your contents here. Write a file of that name separate article as it was there, so I made a copy)#cp /etc/vz/conf/old_VEid.conf /etc/vz/conf/new_VEiddescribed above.conf#cp -r /vz/private/old_VEid /vz/private/new_VEid#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: #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 [http://forum.openvz.org/index.php?t=tree&th=878&mid=4749&&rev=&reveal=] Dr. Sichendra BistaeParliament.org[http://eParliament.org]-->

Navigation menu