Previous     Contents     Index          Next     
iPlanet Market Maker 1.0 Deployment Guide



Chapter 5   Importing and Configuring data




Schema and Database

The iPlanet Market Maker software works with two types of schema and data :

  • LDAP schema and data.

  • Oracle schema and data.

Catalogs are also stored in the Oracle database. The installer does the configuration, but if you need to import and configure data manually, follow the steps below.


LDAP

  1. Create and configure the LDAP schema.

    1. In the file <NSHOME>/slapd-<instance name>/config/ns-schema.conf (where <NSHOME> is the directory where you installed the directory server), append these 3 lines :

            include <IMM_HOME>/community/ldap/schema/ iplanet-marketmaker-schema.conf

            include <IMM_HOME>/community/ldap/schema/ iplanet-userx-schema.conf

            include <IMM_HOME>/community/ldap/schema/ iplanet-ecommerce-schema.conf

    2. In the directory <IMM_HOME>/community/ldap/schema, we have a file createimmsuffix.ldif, which should be imported before loading the data.

  2. Finally, the LDAP data can be loaded. Presently, there is no utility for bulk loading the community data other than having the data to be loaded available in an LDIF format conforming to the iPlanet Market Maker LDAP schema.


Oracle

  1. Create the Oracle schema :

    1. Source the environment using $IMM_HOME/mm.kshrc or $IMM_HOME/mm.cshrc.

    2. Execute $IMM_HOME/db/install/install_db.sh.

    3. Monitor the file using

      tail -f $IMM_HOME/db/install/master_install_db.log.

      This file should end with "Succesful Installation". This installation script halts if any of the objects throws an error during creation.

  2. Import the Oracle schema :

    1. Follow the steps in section 3 above to drop all objects, tablespaces, and users, and it will recreate the schema and import the demo sample data. Be aware that, this will drop the tablespaces and erase all data if you run $IMM_HOME/db/install/install_db.sh.


Previous     Contents     Index          Next     
Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.

Last Updated February 05, 2001