Category Archives: DevOps

chef attribute : avoiding “undefined method `[]’ for nil:NilClass” error

In chef, when a nested attribute that might not exist/or not crated yet, you can use rescue as a modifier to an if statement. For example, assuming that only some of your nodes have node[‘install_wls’][‘isManaged’]defined: if node[‘install_wls’][‘isManaged’] do the stuff … Continue reading

Posted in ARTICLES, Configurtion management, DevOps, HOWTO | Tagged , , , , | Leave a comment

chef knife tricks: Add a node in an environment

  Sometime during automation of a large deployment process, we have to bootstrap a node , create environment and add the node in that particular environment on the fly.   Bootstraping : 2. Create environment dynamically from inside the programme:(python … Continue reading

Posted in ARTICLES, Configurtion management, DevOps, HOWTO, Programming | Tagged , , , | Leave a comment

Linux performance Monitoring Tools

There are a lot of tools used for monitoring the performance in Linux. Here is the list of tools in one image that covers what is monitored by what.  

Posted in DevOps, Monitoring, OperatingSystem | Tagged , , | Leave a comment

Nagios Plugin Developed@NagiosExchange

Long ago, while working in one of the previous organization, there were lots of components like services and servers running in production environment. I had deployed all products one by one from scratch and the count kept on increasing. There … Continue reading

Posted in ARTICLES, Container, DevOps, FOSS, Monitoring, Operations, Programming, Virtualization | Tagged , , , , | Leave a comment

Chef Recipe: Oracle DB 11gR2 EE silent deploy

Chef provides a lot of flexibility and greater choice for infrastructure automation and I prefer it over others. We should design our recipe in such a way that the our recipes without being modified can be used in any environment … Continue reading

Posted in ARTICLES, DevOps, HOWTO, Operations, Private Cloud, Programming, Public Cloud, TUTORIALS | Tagged , , , | Leave a comment

Docker Supervisord – Way to run multiple Demon process in a container

The docker was released keeping in mind, one daemon  per container which makes the container lightweight. Like suppose for running a web application, one container will serve database, one container will server as web server, one container  will server as  caching … Continue reading

Posted in ARTICLES, Container, DevOps, HOWTO | Tagged , , , , , | Leave a comment

Python : Inplace update json and maintain proper order

Some time we have to read one existing json property file and  update some values inplace. If we don’t use proper approach, the update may lead to breaking the json structure in the file. We have to hook the json … Continue reading

Posted in ARTICLES, DevOps, Programming, SCRIPTING, TIPS & T RICS | Tagged , , , | Leave a comment