Monitor System Logs with Logwatch

I’m using the tool Logwatch to get a daily log report from all my servers by email.

Install Logwatch:

apt-get update
apt-get install logwatch

Config file:

/usr/share/logwatch/default.conf/logwatch.conf

To simplify the access to the config file I use a symlink.

cd /etc/logwatch
ln -s /usr/share/logwatch/default.conf/logwatch.conf

Configuration (parameters which I have changed):

#Output = stdout
Output = mail
#To make Html the default formatting Format = html
Format = html
MailTo = YOUR-EMAIL-ADDRESS

Cronjob:

crontab -e
30 0 * * * /usr/sbin/logwatch

Based on this configuration you will receive a nice daily overview report.

VMware tools repository

You can install the VMware tools using the Wizzard in the vSphere client but this is not the best solution. VMware is offering an repository which you can use to install the VMware tools using your package manager.

URL of the repository: http://packages.vmware.com/tools/esx/5.5/index.html

Example for Redhat 6 64bit running on ESXi 5.5:


cd /etc/yum.repos.d/

vi VMware-Tools.repo
[vmware-tools]

name=VMware Tools
baseurl=http://packages.vmware.com/tools/esx/5.5/rhel6/x86_64
enabled=1
gpgcheck=1
gpgkey=http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub

Update about Proxmox

My HP Dl115 G5 is now running Proxmox VE. My first impression is that this is a quite good virtualisation plattform. I have created some virtual machines (OpenVZ using the templates and KVM using a Ubuntu 10.04 iso) which was really easy! In the next days I’m going to run some tests with different configurations. In addition with support of colleague we will create a Proxmox cluster using 2 HP ML servers (ML110,ML115) and a shared iSCSI storage.

Trying Ubuntu Eucalyptus Cloud

trying Ubuntu Eucalyptus Cloud on a Virtual Machine (Cloud Controller, Walrus, Storage Controller) and a SUN Blade (Node Controller)

* Setup done
* register Node on Cloud Controller
* download a Virtual Machine image
* try to start the Virtual Machine –> no success got always the message “pending”
* got some strange Error messages on the node controller –> under investigation

further information will follow soon :-)

Setup a Ubuntu Eucalyptus Cloud

I’m going to setup a Eucalyptus cloud on my HP ML115 G5. I have installed a additional 160GB S-ATA harddisk.

Plan/Idea:
* install Ubuntu 9.10 with Eucalyptus Node Controller on ML115
* install Ubuntu 9.10 in a Virtual Machine on my laptop or MacMini including Eucalyptus (Cloud Controller, Walrus etc)
* download an install 1 virtual machine
* start the virtual machine and install a webserver in it

I think this should be enough for 1 weekend and I have some time left for my Girlfriend :-)