Rex::IO::CMDB - Configuration Management Database
This is a simple Database holding information about services and servers.
IRC: irc.freenode.net #rex
Bug Tracker: https://github.com/krimdomu/rex-io-cmdb/issues
First you have to install CouchDB from http://couchdb.apache.org/. There are already some Linux Distributions that ships CouchDB.
echo "dev-db/couchdb ~amd64" >>/etc/portage/package.accept_keywords emerge dev-db/couchdb
apt-get install couchdb
yum install couchdb
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'
To install Rex::IO::CMDB, copy and paste the appropriate command in to your terminal.
cpanm
CPAN shell
perl -MCPAN -e shell install Rex::IO::CMDB
For more information on module installation, please visit the detailed CPAN module installation guide.