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 :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.
Create and configure the LDAP schema.
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 :
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.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
In the directory <IMM_HOME>/community/ldap/schema, we have a file createimmsuffix.ldif, which should be imported before loading the data.
Create the Oracle schema :
Source the environment using $IMM_HOME/mm.kshrc or $IMM_HOME/mm.cshrc.
Import the Oracle schema :Execute $IMM_HOME/db/install/install_db.sh.
- 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.
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