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/05/02 12:58] – [important topic] wedgehaas:system:log.offbyone.lan [2014/07/14 20:16] (current) – [Packages] wedge
Line 4: Line 4:
  
 ^  hostname  ^  RAM  ^  disk  ^  swap  ^  OS  ^  Kernel  ^ ^  hostname  ^  RAM  ^  disk  ^  swap  ^  OS  ^  Kernel  ^
-|  log.offbyone.lan  |  192MB   4GB (/)  |  128MB  |  Debian testing/"Jessie" (AMD64)  |  3.2.0-4-amd64  | +|  log.offbyone.lan  |  256MB   4GB (/)  |  128MB  |  Debian 8.0 "Jessie" (AMD64)  |  3.14-1-amd64  |
- +
-log.offbyone.lan created on sokraits on 04/11/2014.+
  
 +log.offbyone.lan created on sokraits on 07/12/2014.
  
 =====News===== =====News=====
   * 04/11/2014 -- Created log.offbyone.lan to replace the old one (mth)   * 04/11/2014 -- Created log.offbyone.lan to replace the old one (mth)
 +  * 07/12/2014 -- re-recreated log.offbyone.lan and deployed (mth)
  
 =====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=====
  
 ====Creation==== ====Creation====
-log.offbyone.lan created on sokraits on 04/11/2014:+log.offbyone.lan created on sokraits on 07/12/2014:
  
 <cli prompt="# "> <cli prompt="# ">
-sokraits:~# xen-create-image --verbose --hostname=log role=udev --dist=jessie --mac=00:16:3E:2d:47:76+sokraits:~# xen-create-image --hostname=log role=udev --mac=00:16:3E:2d:47:76
 </cli> </cli>
  
 ====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.1399035494.txt.gz · Last modified: 2014/05/02 12:58 by wedge