see also:

perform a minimal squeeze amd64 install (netinst)

# clear default Debian motd:
> /etc/motd.tail
aptitude update
# avoid installing fancontrol and libglib2.0-data; libgcrypt11 required for network module in collectd
aptitude install bridge-utils ifenslave-2.6 vlan collectd-core hddtemp lm-sensors libgcrypt11
...set up collectd and networking
# avoid installing libglib2.0-data as a result of sshfs, avoid installing exim4-daemon-light as a result of mdadm, avoid installing bash-completion as a result of nut...
aptitude install ethtool ntp nut psmisc screen sshfs less patch ssh lvm2 mdadm
echo '# PVE packages provided by' > /etc/apt/sources.list.d/pve.list
echo deb squeeze pve >> /etc/apt/sources.list.d/pve.list
wget -O- "" | apt-key add -
aptitude update
# make sure that postfix is installed, not citadel
aptitude install postfix proxmox-ve-2.6.32 ksm-control-daemon vzprocps open-iscsi postfix
# select "no configuration" for postfix'll encounter dependency problems while installing... we'll fix that momentarily

ifdown eth0
if you haven't already, edit /etc/network/interfaces and create a vmbr0 with STATIC IP address (bridged to eth0)
ifup eth0
edit /etc/hosts and make sure that local hostname is assigned to vmbr0's static IP (not as well as pvelocalhost

run changes in aptitude again... it should work this time

aptitude install dnsutils lsof memtest86+ parted smbfs tcpdump time strace bzip2

aptitude install unattended-upgrades
dpkg-reconfigure -plow unattended-upgrades
# select "Yes"

ln -s ../sites-available/pve-redirect.conf /etc/apache2/sites-enabled/
/etc/init.d/apache2 restart

scp -p$HOSTNAME/etc/ssh/ssh_host_* /etc/ssh/
/etc/init.d/ssh restart

scp -p"/mnt/software/$\ Admin/Proxmox\ VE/" /etc/postfix/
/etc/init.d/postfix restart


scp -p$HOSTNAME/etc/network/interfaces /etc/network/
mkdir ~/t
mount /dev/sde1 ~/t -o ro
# new format - cp -a ~/t/etc/qemu-server/* /etc/qemu-server/
# new format - cp -a ~/t/etc/pve/storage.cfg /etc/pve/
cp -a ~/t/root/iso /root/
# note: /root/.forward is no longer needed
cp -a ~/t/etc/hosts /etc/
cp -a ~/t/etc/resolv.conf /etc/
cp -a ~/t/etc/rc.local /etc/
# not sure this works anymore - cp -a ~/t/root/bridge-vlan-mtu.diff /root/
umount ~/t
rmdir ~/t

# TODO: replacement needed?  patch -p0 < /root/bridge-vlan-mtu.diff

final steps:

# temporarily disable vm's
chmod -x /etc/init.d/qemu-server


# re-enable vm's
chmod +x /etc/init.d/qemu-server

# TODO: determine cluster procedure

echo >> /etc/fstab
echo "sshfs#root@zenith:/mnt/software /mnt/software fuse ro,noauto 0 0" >> /etc/fstab
mkdir /mnt/software
cat .ssh/ | ssh "cat >> ~/.ssh/authorized_keys"

cluster instructions:

  • configure e-mail for root user through web UI

cluster setup

on first node:
pvecm create MCP
# ...where "MCP" is the name of the cluster

on other nodes:
pvecm add <ip_address_of_first_node>

high availability?

computer/proxmox_2_manual_install.txt · Last modified: 2013/01/03 20:53 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS