Unpacking a test database

To test your installation, unpack a test database.

About this task

Unpack a database from the installation directory, $CCM_HOME/packfiles.

For example, on the database server computer, unpack a base model database (base.cpk) to a new database, /data/ccmdb/testdb.

Procedure

  1. Log in as ccm_root and set the environment variables.
    $ su - ccm_root
    Password: *****
    $ CCM_HOME=ccm_home; export CCM_HOME
    $ PATH=$CCM_HOME/bin:$PATH; export PATH
  2. Unpack the database.
    $ ccmdb unpack $CCM_HOME/packfiles/base.cpk -t /data/ccmdb/testdb
    If you are not using the default server name, include the -s servername option with the ccmdb unpack command.

Feedback