OpenVZ
Aller à la navigation
Aller à la recherche
Introduction
Migration d'une machine de lsiit-s2 vers lsiit-s1
La première fois
sur lsiit-s2
- cd /root/.ssh/
- ssh-keygen -t rsa
- (sans passphrase !!!)
- scp id_rsa.pub lsiit-s1:
sur lsiit-s1
- cd /root/.ssh/
- cat ../id_rsa.pub >> authorized_keys2
sur lsiit-s2
vzmigrate --remove-area no lsiit-s1 90077
Installation d'une machine virtuelle
vzctl create 90100 --ostemplate debian-6.0-amd64-minimal --ipadd 130.79.90.100 --hostname lsiit-imp vzctl set 90100 --nameserver 130.79.200.200 --searchdomain u-strasbg.fr --save vzctl set 90100 --onboot yes --save vzctl start 90100 vzctl set 90100 --privvmpages 250M:1G --save vzctl enter 90100 aptitude update aptitude upgrade aptitude install cfengine3 scp stephane@wilde:Documents/Cfengine3/*.cf /var/lib/cfengine3/inputs cf-agent -K => !!! System error for stat: "No such file or directory" cf-agent -K
Documentation
- download.openvz.org/doc/OpenVZ-Users-Guide.pdf
- blog-marcel.eu/index.php?article4/openvz-part-1
- man vzctl
- www.korben.info/archipel-gestionnaire-machines-virtuelles.html
- blog-marcel.eu/index.php?article5/openvz-part-2
http://wiki.openvz.org/Ssh_keys
- fr.wikipedia.org/wiki/OpenVZ
- www.com.univ-mrs.fr/ssc/info/cours/jtsiars-openvz.pdf
- www.projet-plume.org/fiche/openvz
- www.dimix.org/openvz-avec-debian-lenny/
- wiki.openvz.org/Backup_of_a_running_container_with_vzdump
- wiki.openvz.org/Checkpointing_and_live_migration
- wiki.openvz.org/Main_Page
- wiki.openvz.org/Installation_on_Debian
- wiki.openvz.org/Quick_installation
- wiki.openvz.org/Using_NAT_for_container_with_private_IPs
- wiki.openvz.org/Cloning_VE
- wiki.openvz.org/Disk_quota,_df_and_stat_weird_behaviour
- http://wiki.openvz.org/Ssh_keys
- forum.openvz.org/
- www.korben.info/archipel-gestionnaire-machines-virtuelles.html
- geekfault.org/2010/03/09/openvz-virtualisation-legere-performante-et-amusante/
- cesar.com.univ-mrs.fr/spip.php?article127