Tag Archives: cloud

Accessing Host from Docker Container

Sometime we need to access the services that are running in the host machine to be accessible from the docker container.  e.g. In on of my project, we needed to connect to the oracle db (port 1521) from inside the … Continue reading

Posted in ARTICLES, Concepts, Container, FOSS, HOWTO, OperatingSystem, TIPS & T RICS | 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

xend issue : Xend has probably crashed! Invalid or missing HTTP status code.

I recently found  some VMs of one OVS node( from 30+ nodes)  went down and not able to start with this error : Xend has probably crashed!  Invalid or missing HTTP status code. There are many reasons behind this. And … Continue reading

Posted in ARTICLES, HOWTO, TROUBLESHOOT, Virtualization | Tagged , , | Leave a comment

Chef – Create encrypted data bag and keep secrets

Sometimes we have to deal with global variables like User passwords, database password, API Keys, middleware boot properties in our chef recipes which shouldn’t be exposed outside. One solution is we have to keep all the secrets in a data … Continue reading

Posted in ARTICLES, DevOps, HOWTO, OperatingSystem, Programming, SCRIPTING | Tagged , , , , | 1 Comment

Chef – Deleting existing attributes

Sometimes we face situation like : May need to remove some persistent attributes which we set a flag after some work is done May be we set some attributes wrong so need to remove and reset the existing attribute. The … Continue reading

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

Writing chef Library

In many cases we have to reuse same code again and again in our recipes. So to reduce this we can write our own library module and reuse it’s methods whenever required. This can help us use our own custom … Continue reading

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

Chef/ruby way – Read a file and expose as environment variable

Many time we have to read a property file in in which the variable and value are comma separated and we have to set those in our environment variable to execute certain recipes.   e.g. property file (/u01/data/wor/app/conf/conf.prop) ops_home = … Continue reading

Posted in ARTICLES, DevOps, HOWTO, Programming, TUTORIALS, Uncategorized | Tagged , , , , , | Leave a comment