Changeset 1861


Ignore:
Timestamp:
May 22, 2011, 10:22:44 PM (13 years ago)
Author:
quentin
Message:
More host configuration instructions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/doc/install-xen

    r1860 r1861  
    1414
    1515# install useful utility packages
    16     aptitude install htop ipmitool emacs23-nox vim memtest86 memtest86+ ntp ntpdate git
     16    aptitude install htop ipmitool emacs23-nox vim memtest86 memtest86+ ntp ntpdate git smartmontools kpartx
    1717    git config --global color.ui auto
    1818
     
    5454    git clone -b squeeze ssh://scripts@scripts.mit.edu/mit/scripts/git/xen.git /etc/xen
    5555# copy conserver config (we need to version this)
     56  aptitude install sudo conserver-{server,client}
    5657# setup conserver
    57     cat /etc/conserver/console.cf # add the correct entires here
     58  cat <<EOF > /etc/conserver/conserver.cf
     59config * {
     60        sslrequired no;
     61}
     62default full {
     63        rw *;
     64}
     65default * {
     66        logfile /var/log/conserver/&.log;
     67        timestamp "1lab";
     68        include full;
     69        sslrequired no;
     70        options reinitoncc;
     71}
     72default xen {
     73        type exec;
     74        exec sudo xm console f;
     75        execsubst f=cs;
     76}
     77access * {
     78        trusted 127.0.0.1;
     79}
     80EOF
    5881    visudo # add conservr to sudoers list with:
    5982        conservr ALL=(ALL) NOPASSWD: /usr/sbin/xm console *
     83
     84# setup munin and nagios 
     85    aptitude install munin-node
     86cat <<EOF >> /etc/munin/munin-node.conf
     87allow ^18\.187\.1\.128$
     88allow ^18\.181\.0\.65$
     89allow ^18\.181\.0\.51$
     90EOF
     91
Note: See TracChangeset for help on using the changeset viewer.