Changes

Jump to navigation Jump to search
no edit summary
Line 68: Line 68:  
  yum install etckeeper bash-completion git-core strace munin-node duplicity postfix vim devtodo man
 
  yum install etckeeper bash-completion git-core strace munin-node duplicity postfix vim devtodo man
   −
* TODO: See [[Sysadmin/Template_virtual_machine]] for missing configuration steps
+
* insert into /etc/munin/munin-node.conf
 +
 
 +
#SMParrish
 +
allow ^140\.186\.70\.53$      # sunjammer.sugarlabs.org
 +
allow ^10\.3\.3\.1$          # trinity.trilan
 +
allow ^2001:4830:1100:48::2$  # sunjammer.sugarlabs.org (IPv6)
 +
 
 +
cd /etc/munin/plugins
 +
rm if_err_eth0 entropy
 +
 
 +
* turn on munin-node
 +
 
 +
chkconfig munin-node on
 +
service munin-node start
 +
 
 +
* generate key for root
 +
 
 +
ssh-keygen -N "" -f /root/.ssh/id_rsa -t rsa
 +
 
 +
* create /etc/system-full-backup.conf
 +
 
 +
#bernie: This file MUST have permissions 600
 +
echo "Please configure /etc/system-full-backup.conf and run"
 +
echo "  ssh-copy-id -i /root/.ssh/id_rsa.pub sugarbackup@backup.sugarlabs.org"
 +
echo "then, comment out these lines to enable backups"
 +
exit 1
 +
 
 +
PASSPHRASE=ChangeMe
 +
TARGET="scp://sugarbackup@backup.sugarlabs.org/backup/`hostname`"
 +
 
 +
* Install /root/.ssh/id_rsa.pub key on sugarbackup@backup.sugarlabs.org
 +
 
 +
ssh-copy-id -i /root/.ssh/id_rsa.pub sugarbackup@backup.sugarlabs.org
 +
 
 +
* log in for the first time on backup server to accept ssh fingerprint
 +
 +
ssh sugarbackup@backup.sugarlabs.org
 +
 
 +
* create /etc/profile.conf
 +
 
 +
#SMParrish
 +
HOST_COLOR='\033[1;33m'
 +
HOST_CFLAGS='-march=core2'
 +
HOST_CORES=2
 +
 
 +
* Add the machine to /etc/munin/munin.conf on Machine/sunjammer for monitoring.
 +
 
 +
  [VM Name]
 +
        address vmname.sugarlabs.org
84

edits

Navigation menu