Happy New Year everyone!

Zarafa munin scripts

I have created 2 scripts(in ruby) to gather some stats of my Zarafa server
The first one
zarafa-memory gives a overview of the used memory(Rss) for 5 processes of Zarafa

# /etc/munin/plugins/zarafa-memory
zarafa_server.value 49696000
zarafa_gateway.value 21812000
zarafa_ical.value 6108000
zarafa_monitor.value 4284000
zarafa_spooler.value 4800000

You need to place the script into /etc/munin/plugins and restart munin-node
(after 5 or 10min you will see the first grapics)

The second script zarafa-threads gives a overview of the thread usage

# /etc/munin/plugins/zarafa-threads
zarafa_server.value 11
zarafa_gateway.value 9
zarafa_ical.value 1
zarafa_monitor.value 2
zarafa_spooler.value 2

Later I will create another one to view the internal caching and maybe more (if there is time)

Open-Future launch

Open-future launch, our presentation of what open-source can do

* Open-Future Launch Party – Making Open Source work for You!
* Date: 7/12/2009
* Location: Oude Abdij, Kortenberg
* Address: Abdijdreef 22, 3070 Kortenberg
* Subscribe at marketing@open-future.be
* Feel free to forward this invitation to anyone you feel might be interested!
* Sponsored by Redhat and Zarafa


Meet the crew! Attend the party and have a drink ;)

java on karmic, I have decided

I have decided to build sun-java5 on my own repo
It is a rebuild of the jaunty sun-java5
Now I can do what I need to do, (using java on firefox)

below a small procedure to install the packages from my repo

first you need to accept my gpg key

wget http://repo.verbelen.org/ubuntu/gpg.key -O verbelen.org.key
apt-key add verbelen.org.key

Now you need to add the repo to your sources.list
(edit /etc/apt/sources.list and add below)

deb http://repo.verbelen.org/ubuntu karmic non-free

Then reload your database

apt-get update

And list or install what you need

apt-cache search sun-java5
sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
sun-java5-doc - Sun JDK(TM) Documention -- integration installer
sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files

java on karmic, what should we do?

Well I don't now yet
but it remains a pain in the *** when you need it for doing your job.
I was so happy that the tools I need (like ilo's of hp, juniper vpn ...) where working in jaunty with sun-java5

but yeah, pwned again when upgrading to Karmic Java 5.0 is near EOL.
nice,

I see that several ppl are already creating those packages in there own archive
and that only coz sun-java6 is not working well on Firefox

I now that other ppl create a kvm with jaunty or even with XP (OMG) to run java apps

Now what should I do? kvm, dual-boot, add the packages to an archive?
or just ignore and run to the datacenter in case I need to access a ilo ...

Open-Future

I'm proud to announce that I now work for Open-Future

This for a bright future at Open-Future

puppetmaster and ldap binding on lenny

Today I was configuring a new puppetmaster on a default lenny and ldap
I now not everyone will use ldap for it but I like it
Sins I don't allow anonymous binding to my ldap I needed to set the ldauser and ldappassword

20:12:57|root@server:~ 0 # puppetd --test
err: Could not retrieve catalog: LDAP Search failed
warning: Not using cache on failed catalog

After some debugging time I saw that puppet dit a search but dit not BIND to ldap with the given user

then the google search was easy and I manualy patched this version so I could start
puppetizen
So Luke Kanies, Let the force be with you

# Bug http://projects.reductivelabs.com/issues/show/1521
# new(Puppet[:ldapserver], Puppet[:ldapport], :ssl => ssl)
new(Puppet[:ldapserver], Puppet[:ldapport], :ssl => ssl, :user => Puppet[:ldapuser], :password => Puppet[:ldappassword] )

puppet "Certificate validation failed"

Last Friday I was working on a new puppet installation and I had a nice problem.

We had to install several brand-new servers so we created a puppetmaster-server with cobbler, ldap and subversion.
On most of the servers the installation went without any problem
But for a few servers we had a Certificate validation failed

warning: Certificate validation failed; considering using the certname configuration option
err: Could not retrieve catalog: Certificates were not trusted: SSL_connect returned=1 errno=0 
  state=SSLv3 read server certificate B: certificate verify failed
warning: Not using cache on failed catalog

After changing the certname's and server-name of puppet coz of reading problems with dns on google(this installation has no dns servers at all) it was still failing on the same servers??
but true I was only thinking about naming and forget the rest of details about certifications

After that someone asked for implementing ntp "DAMN the date!"

So if you are creating a puppet setup with automated install like cobbler or some other pxe setup don't forget to sync date before running puppetd
Even with a stand alone setup and if you don't have ntp running ... think about it

!@#$%^&*(@suse)

Suse is not so compliant with a Linux way of thinking
But more like the Army "We think for you"

A nice example
I edit apache2/sysconfig.d/loadmodule.conf to exclude and insert
other modules that I need

Every time I change something I do "apache2ctl -k graceful" for reload

After a reboot my changes are gone!
@ the initscript of apache "/etc/init.d/apache2" there is a extra script to check for existing modules and replace loadmodule.conf

I thought just ignore YAST was enough! but it will be ignore suse

Java the tool of the future

Right if you win the lottery

top - 13:00:27 up 136 days, 12:47,  3 users,  load average: 17.45, 15.94, 13.58
Tasks: 186 total,   1 running, 185 sleeping,   0 stopped,   0 zombie
Cpu0  : 89.4%us,  2.1%sy,  0.0%ni,  3.5%id,  0.0%wa,  1.4%hi,  3.5%si,  0.0%st
Cpu1  : 96.4%us,  0.0%sy,  0.0%ni,  3.6%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  : 96.4%us,  0.0%sy,  0.0%ni,  3.6%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  : 97.1%us,  0.0%sy,  0.0%ni,  2.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu4  : 95.0%us,  1.4%sy,  0.0%ni,  2.9%id,  0.0%wa,  0.0%hi,  0.7%si,  0.0%st
Cpu5  : 94.3%us,  0.7%sy,  0.7%ni,  4.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu6  : 96.4%us,  0.7%sy,  0.0%ni,  2.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu7  : 94.3%us,  0.7%sy,  0.0%ni,  5.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  12306812k total, 11191080k used,  1115732k free,   301652k buffers
Swap:  4194296k total,      196k used,  4194100k free,  1711172k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
24128 XXXXXXXX  25   0 3759m 2.8g  16m S  769 23.8 698:05.47 java

XXXXXX = removed user info

Syndicate content