the it-madness

OpenVZ Installation auf Hetzner EQ6

by on Apr.16, 2010, under Technik

Da ich auf dem Hostsystem Debian Lenny nutze, gestaltet sich die Installation sehr sehr einfach:

apt-get install linux-image-openvz-686

Hier wird der aktuelle Kernel, und die benötigten Tools mit installiert, und automatisch in die Konfiguration von GRUB eingetragen. Jetzt muss man nur noch in der /etc/sysctl.conf folgendes anhängen, bzw. ergänzen:

# On Hardware Node we generally need

# packet forwarding enabled and proxy arp disabled

net.ipv4.conf.default.forwarding=1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward=1

# Enables source route verification
net.ipv4.conf.all.rp_filter = 1

# Enables the magic-sysrq key
kernel.sysrq = 1

# TCP Explict Congestion Notification
#net.ipv4.tcp_ecn = 0

# we do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0

Danach noch ein gemütlicher Neustart, und das Gröbste ist geschafft. Die drei zusätzlichen IP-Adressen (welche bei der EQ-Serie kostenlos mit dabei sind, aber über den Robot noch beantragt werden müssen) können jetzt einfach in den Configs der einzelnen VEs eingetragen werden (unter /etc/vz/config/xxx.conf), und funktionieren auf Anhieb. Ob das mit dem zusätzlichen Subnet auch so leicht geht, stellt sich leider erst nächste Woche raus, wenn ich es testen kann.

Edit:

Stable-Kernel gibs hier: http://download.openvz.org/debian-systs/pool/openvz/o/ovzkernel-2.6.18-686/

und eine aktuelle vzdump-Version: http://www.proxmox.com/cms_proxmox/en/virtualization/openvz/vzdump/

:,

Leave a Reply

Spam protection by WP Captcha-Free

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...