DNS Master / SLAVE TSIG on RHEL 5.8

I am using 2 dns server here. 192.168.2.83 (Master) and 192.168.2.86 (Slave) First lets setup the Master 1. Create /etc/named.conf as RHEL 5.8 does not provide a sample file. Then add the following content to it include “/etc/transfer.key”; server 192.168.2.86 { keys { HOST1-HOST2. ;}; }; acl domblocal { 192.168.2.0/24; 127.0.0.1; }; options { allow-transfer…

Read More

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