FSF France machines management - Cookbook: recipe #326, Install instance from cdrom
Show feedback again
recipe #326, HowTo: Install instance from cdrom
- find or create the MAC of the VM, 52:54:ee:9d:1a:10 in this case
- define dns/dhcp/nagios/proxy etc. (out of the scope of this page)
- make iso available on all nodes (or at least ganeti master, instance primary)
- Try :
- When add is done, use gnt-instance info to see which port vnc is bound to, and connect to vnc.
- The network must be configured manually because older/simpler DHCP clients are confused when the default route is not on the same subnet as the IP address of the VM
- IP : 10.10.1.XXX
- netmask : 10.10.0.0/16
- gateway : 10.10.0.254
- DNS : 10.10.0.254
- If the installer fails, try the following in a shell:
- ip link set eth0 up
- ip addr add 10.10.1.XXX dev eth0
- route add -net 10.10.0.0 netmask 255.255.0.0 dev eth0
- route add default gw 10.10.0.254
- echo nameserver 10.10.0.254 > /etc/resolv.conf
- After installation, the DHCP client installed for Debian lenny or squeeze can handle the answer from the DHCP server and the interface must be changed from static to dhcp in /etc/network/interfaces
- After reboot, the cdrom is eject and it will not boot, the following must be done:
- gnt-instance modify -H boot_order=disk redmine.pokersource.vm.gnt
- gnt-instance reboot redmine.pokersource.vm.gnt
Last update: Thu 14 Oct 2010 04:31:06 PM UTC
Audience and Context
Audience:All Project Members
Feature:
Project Main Pages
(As there is at least one of the Audience/Feature/Action context information not set, this recipe will not show up in related recipes links)
Show feedback again

Related Recipes: