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/04/11 14:38] – [Network Configuration] 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=====
-(If this is a Xen VM) The Xen config file for this VM is as follows: 
  
 ====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 40: Line 39:
 ## PyGRUB ## PyGRUB
 ## ##
-bootloader  = '/usr/lib/xen-default/bin/pygrub'+bootloader  = '/usr/lib/xen-4.3/bin/pygrub'
  
 ###################################################################### ######################################################################
Line 46: Line 45:
 ## CPU(s) + memory size ## CPU(s) + memory size
 ## ##
-memory      = '128'+memory      = '256'
 vcpus       = '1' vcpus       = '1'
  
Line 68: 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 77:
 on_crash    = 'restart' on_crash    = 'restart'
 </code> </code>
 +
 =====Network Configuration===== =====Network Configuration=====
  
Line 86: Line 86:
 The following packages have been installed on db: The following packages have been installed on db:
  
-  particular-package +  lair-std (replaced syslog-ng.conf with custom one for the log server) 
-  other-useful-package +  lair-ldap (nslcd pam-ldapd libnss-ldapd) 
- +  lair-nfs 
-=====particular package config===== +  lair-autofs 
-If you set up services on the machinebe sure to identify what they are, and provide details of their relevant configurations. +  mosh 
 +=====syslog-ng config===== 
 +As log is the log aggregatorit mustn't have the LAIR standard client configurationFollowing is its config:
 ====package_thing.conf==== ====package_thing.conf====
 Identification of the file(s) to edit, along with working configs: Identification of the file(s) to edit, along with working configs:
Line 110: Line 111:
 =====important topic===== =====important topic=====
 Explanation of important topic relevant to the service your machine is providing. Explanation of important topic relevant to the service your machine is providing.
 +
 +=====Potentially useful URLs=====
 +  * https://peter.blogs.balabit.com/2010/02/how-to-collect-apache-logs-by-syslog-ng/
 +  * http://blog.tremily.us/posts/syslog-ng/
haas/system/log.offbyone.lan.1397227096.txt.gz · Last modified: 2014/04/11 14:38 by wedge