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:12] – [Configuration] 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 77: Line 77:
 on_crash    = 'restart' on_crash    = 'restart'
 </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 118: 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.1405368754.txt.gz · Last modified: 2014/07/14 20:12 by wedge