User Tools

Site Tools


haas:system:log.offbyone.lan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:system:log.offbyone.lan [2014/07/14 20:11] – [Creation] wedgehaas:system:log.offbyone.lan [2014/07/14 20:16] (current) – [Packages] wedge
Line 13: Line 13:
  
 =====TODO==== =====TODO====
-  * important task +  * sanitize syslog-ng.conf 
-  * other important task +  * create new client syslog-ng.conf 
-  * yet more important tasks+  * explore switching over to rsyslog
 =====Xen Config===== =====Xen Config=====
  
Line 27: Line 27:
 ====Configuration==== ====Configuration====
 <code> <code>
-######################################################################+######################################################################                    
 ## ##
 ## LAIR Xen VM configuration file ## LAIR Xen VM configuration file
 ## ##
-##     created by xen-tools 4.on Fri Apr 11 05:39:29 2014.+##     created by xen-tools 4.on Sat Jul 12 11:51:42 2014.
 ## ##
 ###################################################################### ######################################################################
Line 39: Line 39:
 ## PyGRUB ## PyGRUB
 ## ##
-bootloader  = '/usr/lib/xen-default/bin/pygrub'+bootloader  = '/usr/lib/xen-4.3/bin/pygrub'
  
 ###################################################################### ######################################################################
Line 67: Line 67:
 ## ##
 dhcp        = 'dhcp' dhcp        = 'dhcp'
-vif         = [ 'mac=00:16:3E:2d:47:76' ]+vif         = [ 'bridge=xenbr1,mac=00:16:3E:2d:47:76' ]
  
 ###################################################################### ######################################################################
Line 78: Line 78:
 </code> </code>
  
-====grub config==== 
-Due to the fact that sokraits/halfadder are still on squeeze, they cannot handle VMs running Jessie's default kernel (3.13).. so we're transplanting the standard wheezy kernel. 
- 
-I dropped the necessary files (*3.2.0* from a wheezy VM with pygrub) into /boot, and updated the VM's **grub/menu.lst** as follows: 
- 
-<code> 
-default         0 
-timeout         2 
- 
-title           Debian GNU/Linux 7 
-root            (hd0,0) 
-kernel          /boot/vmlinuz-3.2.0-4-amd64 root=/dev/xvda1 ro 
-initrd          /boot/initrd.img-3.2.0-4-amd64 
- 
-title           Debian GNU/Linux 7 (Single-User) 
-root            (hd0,0) 
-kernel          /boot/vmlinuz-3.2.0-4-amd64 root=/dev/xvda1 ro single 
-initrd          /boot/initrd.img-3.2.0-4-amd64 
- 
-title           Debian GNU/Linux jessie/sid 
-root            (hd0,0) 
-kernel          /boot/vmlinuz-3.13-1-amd64 root=/dev/xvda1 ro 
-initrd          /boot/initrd.img-3.13-1-amd64 
- 
-title           Debian GNU/Linux jessie/sid (Single-User) 
-root            (hd0,0) 
-kernel          /boot/vmlinuz-3.13-1-amd64 root=/dev/xvda1 ro single 
-initrd          /boot/initrd.img-3.13-1-amd64 
-</code> 
- 
-Kernel modules will also need to be transplanted into **/lib/modules**. 
- 
-For simplicity, I have created an archive called jessie_on_squeeze.tar.gz that has all the necessary files (extracts onto / on the VM). 
 =====Network Configuration===== =====Network Configuration=====
  
Line 119: Line 86:
 The following packages have been installed on db: The following packages have been installed on db:
  
-  lair-std +  lair-std (replaced syslog-ng.conf with custom one for the log server) 
-  lair-ldap+  lair-ldap (nslcd pam-ldapd libnss-ldapd)
   lair-nfs   lair-nfs
   lair-autofs   lair-autofs
-  lair-backup +  mosh
-  lair-vm+
 =====syslog-ng config===== =====syslog-ng config=====
 As log is the log aggregator, it mustn't have the LAIR standard client configuration. Following is its config: As log is the log aggregator, it mustn't have the LAIR standard client configuration. Following is its config:
haas/system/log.offbyone.lan.1405368709.txt.gz · Last modified: 2014/07/14 20:11 by wedge