NAME

Rex::IO::CMDB - Configuration Management Database

This is a simple Database holding information about services and servers.

GETTING HELP

INSTALLATION

First you have to install CouchDB from http://couchdb.apache.org/. There are already some Linux Distributions that ships CouchDB.

Gentoo
echo "dev-db/couchdb ~amd64" >>/etc/portage/package.accept_keywords
emerge dev-db/couchdb
Ubuntu
apt-get install couchdb
Fedora
yum install couchdb
From Source

You can also install it from source. You can download the sourcecode from http://couchdb.apache.org/

Than you can install Rex::IO::CMDB. For example with cpanminus:

cpanm Rex::IO::CMDB

After installing create the file /etc/rex/io/cmdb.conf. And set the url to Rex::IO::CMDB.

{
   # set the couchdb server and port
   server => "localhost:5984",

   # set the database name
   database => "cmdb",
}

Now it is time to initialize the database:

rex_iocmdb_initdb --server=localhost:5984 --db-name=cmdb

And start the server:

rex_iocmdb daemon

You can also define an other Listen Port (default is 3000)

rex_iocmdb daemon -l 'http://:4000'