Changes

Jump to: navigation, search

A managed OpenVZ installation

380 bytes added, 20:46, 4 August 2012
m
Reverted edits by StevenCook (talk) to last revision by Kir
d-i mirror/country string enter information manually
''#This is our APT-PROXY address''
d-i mirror/http/hostname string youraptproxy:9999
d-i clock-setup/ntp boolean true
''#NTP Server''
d-i clock-setup/ntp-server string yourtimeserver
''#The partition setup , be careful! #By default the OpenVZ debian packages are using /var/lib/vz''
d-i partman-auto/method string lvm
d-i partman-auto/purge_lvm_from_device boolean true
d-i apt-setup/security_host youraptproxy:9999
''#Our private internal repository for some packages''
d-i apt-setup/local0/repository string \
http://yourprivaterepository:10000/debian hns stable
d-i passwd/make-user boolean false
''#The encrypted root password (this is only an example :) )''
d-i passwd/root-password-crypted password $1$v4rfe7wv$gEkbCLxCPhKaj92s.uJbD1
d-i grub-installer/only_debian boolean true
tasksel tasksel/first multiselect standard
''#Additional base packages''
d-i pkgsel/include string openssh-server build-essential vim snmpd lib32z1-dev rsync ntp ntpdate
d-i finish-install/reboot_in_progress note
select 1024x768 @ 60 Hz
''#Packages that gets installed AFTER the base installation#hns* packages are build by our own to fasten the setup and management''
d-i preseed/late_command string apt-install hp-health hp-snmp-agents hpsmh \
hp-smh-templates hpacucli cpqacuxe ethtool linux-headers-2.6-openvz-amd64 \
*hns-openvz-common
:creates a backup cronjob and installs a backup script
:installs a set of scripts for Zabbix monitoringand therefore depends on the hns-zabbix-agentd package
*hns-openvz-ubuntu-hosting
:installs our pre-created Ubuntu<ref>http://www.ubuntu.com/</ref> templatefor automated guest-installation
*hns-puppet
:installs the PuppetMaster client
==The Puppet Master configuration management==
If your preseeded setup was successful you have to configure your fresh server to fit your expectations. At our site we have ten OpenVZ servers in different countries and it is really important that they have the same configuration.
To make life easier we decided to use a configuration management like cfengine<ref>http://www.cfengine.org/</ref> but not as complex in setup and management. We found our solution in Puppet Master.
The only dependency Puppet Master has is Ruby. This should be installable on every distribution in minutes.
After the installation you have to configure the Puppet Master to do things. Typically this means accepting the public private key pair and doing some configuration stuff. At our site we use Puppet Master to manage an installation of about 100 servers.
One thing it does is to change the sysctl.conf file.
}
</pre>
 
==Further information==
 
For further information on the particular tools like apt-proxy/Debian repository/... we will add some documentation links!
Write us if you have questions or if you want to see practical documentations on some of the tools.
==References==
<references/>
 
[[Category: Installation]]
[[Category: Debian]]
[[Category: HOWTO]]

Navigation menu