Happy Nerd Millenium!

Posted by Doomshammer on Saturday, February 14. 2009 at 00:31 in English only, Fun, Linux/Unix, Web
1234567890

I quit

Posted by Doomshammer on Thursday, October 11. 2007 at 11:55 in Arbeit, English only, Privat, Thoughts
Just btw... I quit my current job and will start at another company on 1st of december. Looking forward to it :-) If you are interessted in a UNIX administrator job in cologne- have a look at the job announcement for my current position.

Before you ask.. I'd like to keep the new company still secret- so as I know that some of my co-workers are reading my blog, I won't tell about it yet - will come soon ;-)

Zabbix - an enterprise-class distributed monitoring system

Posted by Doomshammer on Saturday, September 22. 2007 at 11:47 in Anwendungen, Arbeit, Computer, English only, Linux/Unix, Privat, Thoughts, Web
I am currently monitoring all my servers with Nagios and I use Cacti to make some fancy graphs of these hosts. As I soon have to disable the server, from which I do the monitoring, I was looking for a new solution. I already read some good articles about Zabbix, so I installed Zabbix on a new server.

The installation was fairly simple. Apache + PHP5 + PostgreSQL - quickly compiled and setup. Now download the Zabbix sources from the Zabbix website and compile the server. Copy the frontend into your webroot and perform the rest of the installtion steps - that's it.

The concept of Zabbix is a bit different from Nagios. It it mainly based on it's own agent daemon (which has to be installed on every host that you wanna monitor), where nagios is rather based on some checking tools that are run against the host over snmp or other service ports (check_http for tcp/80/443, check_ftp for tcp/21, and so on).

At the first glance Zabbix is a bit confusing, but after some reading in the manual you quickly get the point about triggers, actions and stuff. What I like about Zabbix is, that it combines Nagios + Cacti + Content Validation. So I can easily montitor all my hosts (Windows, Linux, Solaris ...), generate some graphs and perform website validation. The frontend concept of Zabbix is very mature. I'll show you some brief screenshots to get some overview of it.


Zabbix Screenshot
The overview page. It lists all configured hosts (currently only 3 as I didn't had the time last night to add all of them). It shows all configured triggers together with a little status box for each host. If the status box is green, everything is fine- is it red... go ahead and check your host

Zabbix Screenshot
The web content validation screen. You can configure content validation suites for every host. You can even go through a i. e. complete order process on a website and if one of the steps fails, you'll get informed by Zabbix.

Zabbix Screenshot
The latest data screen. Thanks to the agent that is running on every host, you can easily access lots of host informations w/o having to configure ugly SNMP suites. The client provides lots of data about the host like performance, OS, cpu, network, and so on.

Zabbix Screenshot
On-the-fly graphs. For nearly every data you can create graphs - on-the-fly. You can define the time period, you can define the look of the graph. You can also create graph-suites which a building graphs automatically. With this tools you can easily graph the cpu load of your hosts, the network traffic and so one.

There are lots of more features with Zabbix. If you want an easy to use but powerful distributed monitoring system, you should give Zabbix a try.

grml 1.0 released

Posted by Doomshammer on Saturday, May 19. 2007 at 00:52 in Anwendungen, Computer, English only, Linux/Unix
Not much to say... the topic says it all. Read more here.

I love ZFS :)

Posted by Doomshammer on Tuesday, January 9. 2007 at 19:31 in Anwendungen, Computer, English only, Linux/Unix, Privat, Thoughts
Today I got two new hard discs for my local file server (thanks to my mate Tommy for the discs :-) ). So I quickly mounted them into the case of my server and booted the box.

As expected the discs were dected as well by the BIOS as by SunOS. So all I had to do, was adding them to my current ZFS data pool- which was done in less than two minutes.

Verify the OS detected the discs:
QUOTE:
AVAILABLE DISK SELECTIONS:
0. c1d0 <DEFAULT cyl 15014 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
1. c1d1 <drive type unknown>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@1,0
2. c2d0 <DEFAULT cyl 15014 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,1/ide@1/cmdk@0,0
3. c2d1 <drive type unknown>
/pci@0,0/pci-ide@1f,1/ide@1/cmdk@1,0

There we are... c1d1 and c2d1 are the new discs (currently w/o label, that's why the drive type is unknow)

Check the pool status:
QUOTE:
# zpool status
pool: data
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d0s5 ONLINE 0 0 0
c2d0s5 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d0s4 ONLINE 0 0 0
c2d0s4 ONLINE 0 0 0

errors: No known data errors

# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
data 76.8G 26.3G 50.5G 34% ONLINE -

Everything's fine- as expected :-)

Add the new discs to the data pool:
QUOTE:
# zpool add data mirror c1d1 c2d1


Done! Now have a quick look, if everything has been added and that's it!
QUOTE:
# zpool status
pool: data
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d0s5 ONLINE 0 0 0
c2d0s5 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d0s4 ONLINE 0 0 0
c2d0s4 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d1 ONLINE 0 0 0
c2d1 ONLINE 0 0 0

errors: No known data errors

# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
data 153G 26.3G 126G 17% ONLINE -


Great! Isn't it?!

ZFS vs. VxFS

Posted by Doomshammer on Thursday, January 4. 2007 at 17:59 in Anwendungen, Computer, English only, Linux/Unix

In his blog, Joerg Moellenkamp points to an interessting Benchmark. ZFS vs. Veritas' VxFS. Have a look at it- it's worth reading.

MySQL vs. PostgreSQL benchmarks

Posted by Doomshammer on Saturday, December 30. 2006 at 17:56 in Anwendungen, Computer, English only, Linux/Unix, Thoughts
I found an interessting article at the MySQL Performance blog, pointing me to these benchmarks:

It's pretty interessting to see, that PostgreSQL is performing very well, where MySQL is suffering very quickly with increasing concurrency. Also the 2nd benchmark shows pretty good, that PostgreSQL and Solaris is a good team, and Linux/MySQL combination is also scaling very bad.

Another confirmation that I'm going the right way with my SunOS/PostgreSQL combination :-)

ZFS as kinda "version control system"

Posted by Doomshammer on Friday, December 22. 2006 at 23:26 in Anwendungen, Computer, English only, Linux/Unix, Thoughts
Here Joerg Moellenkamp developed an idea for using ZFS as kind of "version control system" e. g. for a website. IMHO a pretty neat idea!

ZFS compression and filesystem cache

Posted by Doomshammer on Tuesday, December 19. 2006 at 19:12 in Anwendungen, Computer, English only, Linux/Unix, Privat, Thoughts
Even if the data I used in this example isn't reasonable, the result is pretty impressive though:
Creation of a 1 GiB file w/o zfs compression/filesystem cache:

QUOTE:
[root@exitus ~pgsql]# time mkfile 1g foo.1g
mkfile 1g foo.1g 0.07s user 7.81s system 8% cpu 1:27.90 total


After doing a "zfs set compression=on data/postgresql":

QUOTE:
[root@exitus ~pgsql]# time mkfile 1g foo.1g
mkfile 1g foo.1g 0.07s user 7.27s system 58% cpu 12.632 total


More CPU usage (by the filesystem cache) but the write operation was 6 times faster as it was performed in memory before the physical write operation has been performed.

Playing around with zfs

Posted by Doomshammer on Tuesday, December 19. 2006 at 11:26 in Anwendungen, Computer, English only, Linux/Unix, Privat, Thoughts
I am currently playing around with ZFS on my SunOS File Server. ZFS is a new developed file system (initially called: Zettabyte File System). ZFS is an easy to administer but mighty file system. Find the basic administration guide here.

I just created a ZFS for my /data directory. It is pretty easy, as the zfs commands do everything needed by theirselfs. Just do s. th. like this to create a pool: "zpool create <name> mirror c1d0s5 c2d0s5" (I created the zfs on a slice, as I don't have two additional disks in that server to accomplish the recommended creation over a entire disk). And there you are. Zpool checks the disks, creates a filesystem and mounts the newly created file system. No I created a sub-filesystem for my user with a quota of 35GiB which is pretty simple as well. "zfs create <name>/doomy; zfs set quota=35G <name>/doomy" and you are ready to go. Impressive! I'm going to play around a bit more with it and will let you know about my experiences (if I'll get some ;-) ).

SMF manifest for PostgreSQL

Posted by Doomshammer on Sunday, December 17. 2006 at 13:02 in Anwendungen, Computer, English only, Linux/Unix

As PostgreSQL sadly doesn't brings a smf manifest with it, so that you can include it as SMF service on your Solaris 10 box, I've written one by myself. I've uploaded it to my blog, so if you are running PostgreSQL on a Solaris >= 10 box, feel free to download and use it. Simply untar the file, adjust the paths and run:

CODE:
svccfg import /var/svc/manifest/network/postgresql.xml; svcadm enable postgresql


Find the manifest (including a start script) here.

It works!

Posted by Doomshammer on Sunday, December 17. 2006 at 03:06 in Anwendungen, Arbeit, Computer, English only, Linux/Unix, Privat

QUOTE:
nnprod0=# SELECT VERSION();
version
--------------------------------------------------------------------------
PostgreSQL 8.2.0 on i386-pc-solaris2.11, compiled by GCC gcc (GCC) 3.4.6
(1 row)


noos- a rss feedreader

Posted by Doomshammer on Sunday, December 10. 2006 at 20:04 in Anwendungen, Computer, English only, Linux/Unix
In this article on his blog, AK shows some screenshots of his new rss feedreader "noos". To me it already looks pretty nice and I'm looking forward to give it a try soon.

How to keep files between your Laptop and Fileserver in sync

Posted by Doomshammer on Sunday, December 10. 2006 at 13:32 in Anwendungen, Computer, English only, Linux/Unix, Photography, Privat

As you could read here, I set up my old server as SunOS file server. So as this box is running fine now, I wanted to "backup" my photos from my Laptop (Windows XP) to the fileserver but without moving the photos and without copying them completelly every week. So I quickly installed ssh and rsync for my cygwin installation, created an SSH key and put it to the SunOS box. Now I can easily keep my photos in sync with this simple line:

QUOTE:
$ rsync -e ssh -ax --bwlimit=1024 --partial --progress --force --numeric-ids -v /cygdrive/c/Media/Bilder/ doomy@192.168.182.218:/data/doomy/Bilder/

Without words - part 2

Posted by Doomshammer on Tuesday, May 10. 2005 at 00:47 in English only, Linux/Unix

[root@suppe:/etc] # rm * /var/log/
zsh: sure you want to delete all the files in /etc [yn]? y

Thanks echox! You made my day! :-)



Calendar

Back May '13
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

Not for Sale!

This blog is not for sale!

Latest twitter

Latest Photos

ERROR: The HTTP server returned the error or the warning(result:403).

Getaggte Artikel

Buttons

Ich bin ein Dokuleser
Get OpenSolaris
Gimme a Smile
neessen.net - Webhosting
I'm a blogger!
Lebst Du noch oder oarks Du schon?
last.fm
trnd - be trendy
I hear Metal
Visit GeoURL
Powered by Linux
Zsh lover
VIM! The Editor
Get Firefox
Ihr, nicht ich!
My amazon wishlist

BLOGROLL