CMDB Deployment Documentation

Source: Internet
Author: User
Tags psql

Description:in order to standardize the management of intranet server user password information, a set of CMDB system is deployed to manage it.

First, environmental needs:

For an introduction to the installation environment, a detailed description of the CMDB installation manual is also presented here:

Hardware Environment :

    • CPU generally can

    • Memory Minimum is 2G

    • Minimum storage space is 60G

Software Requirements :

    • Operating system: preferably Linux

    • Database: After PostgreSQL 8.4, RDS is 9.4, so we choose 9.4, we must choose PostgreSQL

    • Web server (Container): resin4.0.25 (officially provided is TOMCAT6, because we are using the resin on the line, so we use resin instead of tomcat)

    • Java Runtime Environment: java1.6.30 CMDB itself is developed with JSP, currently only supports 1.6

Second, the installation process:

Download CMDB Package Decompression

    • Download Cdmbuild tarball (cmdbuild-2.3.4.zip file) from the CMDB's official website (http://www.cmdbuild.org/en/download) for decompression

    • Unzip Cmdbuild-2.3.4.zip

Installing the Web server

  • Download unzip resin http://www.caucho.com/download/resin-pro-4.0.25.tar.gz

  • TAR-XZVF resin-pro-4.0.25.tar.gz

  • Copy cmdbuild-2.3.4.zip extracted Cmdbuild-2.3.4.war file to/resin-pro-4.0.25/webapps and rename to Cmdbuild.war

  • Unzip the file resin-cmdb.tar.gz and copy all the files in the Lib to the Lib folder in the resin-pro-4.0.25 directory.

  • resin-cmdb.tar.gz ftp://[email protected]/uploads/resin-cmdb.tar.gz password shuyun456

  • Start resin./resin.sh start

  • Enter Http://{server Address}:8080/cmdbuild in the client's browser to access

Installing the Database

  • Because you are using RDS, you do not need to install the database, use your own database to perform the following steps

  • RPM-UVH http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-3.noarch.rpm

  • Yum Update

  • Yum-y Install Postgresql94-server Postgresql94-contrib

  • Service postgresql-9.4 Initdb

  • /etc/init.d/postgresql-9.4 restart

  • Chkconfig postgresql-9.4 on


  • Vim/var/lib/pgsql/data/postgresql.conf Modifying login Address Restrictions

    ------------------------------------------------------------------------

    listen_addresses = ' * '

      • su- Postgres

      • alter USER Postgres with PASSWORD ' Postgres ';

      • create testdb

      • Psql testdb

      • Appears in the picture above, stating that the installation is correct.

      • CREATE database

    • psql-d cmdbuild-f/data/resin-pro-4.0.25/webapps/cmdbuild/web-inf/sql/sample_schemas/demo_schema.sql

    • After you enter Http://{server address}:{port Num}/cmdbuild in the browser, follow the prompts step-by-step configuration to connect to the database to use

    • Note that the default port number for PostgreSQL is 5432

Problems encountered during installation:

    • Database version issues, the Yum installed database defaults to version 8 and needs to be upgraded to version 9.4

    • Version 1.7 and above is not supported in Java version

    • The CMDB configuration page cannot connect to the database, primarily because the database is not initialized

    • Workflow cannot be used after logging into the CMDB and can be disabled in the admin interface workfolw



CMDB Deployment Documentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.