Kerberos on Centos 5.9 RHCSS

First make sure that your time is in sync. So install and configure ntp first. 1. Here is a very basic ntp.conf peer 192.168.2.80 server 192.168.2.4 server 127.127.1.0 fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/drift 2. Install the ypserv nis package # yum install -y ypserv 3. Add these 2 values to /etc/sysconfig/network YPSERV_ARGS=”-p 808″ NISDOMAIN=LOCAL.DOMB.COM…

Read More

RabbitMQ ipv6 DNS names Solved

Last week I was building up a RabbitMQ cluster with shovel from New York to Los Angeles. As we use a dual stack environment ipv4/v6, I expected that RabbitMQ would resolve the ipv6 address  first as normal Linux systems do. So I begun to do my tests and realized, that it didn’t. My publisher  (see…

Read More

About

I work for @AWSCloud & my opinions are my own. Laurent is a Chief Technologist for Worldwide US Federal Financial Services at Amazon Web Services (AWS). Over the past 20 years, he worked in different roles from leading teams in Product Management, Consulting and IT to working as a Principal Solutions Architect, Consultant and Developer….

Read More

Nagios check_netsnmp_memory and RHEL6

Today I was searching for a nagios check which gets memory information over snmp. So I came across check_netsnmp_memory. It has also a nice php template for pnp4nagios. To test the command I run: # ./check_netsnmp_memory -L “Memory Utilization” -A ‘*’ -H graylog2.domb.net -C public -a ‘total,user,cached,buffer,%used_real,%used_swap,%user_real,%cached_real’ -w ‘,,,500MB,,65%,65%,’  -c ‘,,,800MB,,80%,80%,’ As a result I…

Read More

Cleaning a host entry from MySQL DB with puppet 2.7.11-2

Yesterday I’ve had to clean up a host from the storeconfig mysql database. I ran the puppetstoredconfigclean.rb script and bumped into the following documented Bug http://projects.puppetlabs.com/issues/12405 which will be fixed in version 2.7.12: # ./puppetstoredconfigclean.rb  kvm0.domb.net ################################################################### /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’: no such file to load — sqlite3 (MissingSourceFile) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’ from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:510:in `require’ from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:355:in…

Read More

EL 6.2 RHEL6.2 Puppet 2.7.9 The Foreman Mcollective RabbitMQ

This How to will walk you thru the steps of installing Pupppet, The Foreman, RabbitMQ, and MCollective: 1. Add your hostname to /etc/hosts.conf and /etc/sysconfig/network [root@puppet ~]# echo -e “127.0.0.1 puppet.${DOMAIN} puppet foreman.yourdomain.com foreman localhost” > /etc/hosts [root@puppet ~]# echo -e “NETWORKING=yes\nHOSTNAME=puppet.yourdomain.com” > /etc/sysconfig/network [root@puppet ~]# hostname foreman.yourdomain.com 2. First we need to add the…

Read More