![]() |
iPlanet BuyerXpert 4.5 Installation Guide |
Chapter 4 Installing BuyerXpert
This chapter describes the tasks needed to install iPlanet BuyerXpert, which you should perform in the following order:
Preparing to Unload the Distribution Media
Verifying the Database and Server Installations
Pre Installation Setup for Requisition Archival/Restore
Installing BuyerXpert Software
Post Installation Configuration for PO/Requisition Archival
Preparing to Unload the Distribution Media
For some of the installation tasks, you need to work in a temporary directory called a staging area. Extract the contents of the distribution media into this staging area. In the example installation, the staging area is a directory called stage. You can give this temporary area any name that you want.
iPlanet recommends you install the BuyerXpert software behind the firewall.
Note You need approximately 700 MB of available disk space for the staging area.
Your BuyerXpert system package contains CD-ROMs for some of the third-party software. The BuyerXpert software is distributed on one CD-ROM.
BuyerXpert CD-ROM Contents
The following file is on the BuyerXpert CD or is included with the BuyerXpert distribution:
Verifying the Database and Server Installations
Make sure you have the following software installed and running:
Oracle Server Database 8.1.7 or 9i Standard or Enterprise Edition with interMedia Text (this can be on a separate machine)
Oracle Client (if Oracle Database is running on a different machine)
Information About Sample Data
During the installation of BuyerXpert, an option to load sample data is available. This sample data is designed to demonstrate various features of BuyerXpert. The sample data includes entries for the Directory Server (LDAP) data storage, as well as the RDBMS data storage. If you choose to include sample data in your installation, the data storage specified is populated with the sample entries.
After you are satisfied with the installation, change the BuyerXpert configuration to point to data storage other than those configured during the sample data installation. These procedures are located in the section, Preparing the Seed Data Storage, located in this chapter. You can now reconfigure the installation to point to this data storage. Also, you can choose to refresh the data storage by cleaning and preparing it with the seed data as described in the previously mentioned section (Preparing the Seed Data Storage).
Sample Data in Directory Server
The sample data in the Directory Server is rooted with a well-known suffix o=iplanet.com. This allows you to use the same Directory Server instance (host:port) for the real data and at the same time keep the sample data separate and away from interfering the real data. When using the real data, you can continue to use the same Directory Server instance and configure BuyerXpert to look at a suffix other than o=iplanet.com as the search root. To use the sample data, configure BuyerXpert to use o=iplanet.com as the search root. It is not required to create the o=iplanet.com suffix during installation of the Directory Server. Loading of sample data automatically creates it.
Sample Data in Oracle
The sample data in Oracle is loaded into the user tables for the specified Oracle database user. When using real data, it is advised to use a different Oracle database SID. This prevents any conflicts with or overwriting or loss of the sample data.
Switching between using the sample data and real data (and vice versa) requires that you only reconfigure the BuyerXpert installation.
Pre Installation Setup for Requisition Archival/Restore
The following sections provide details on setting up, configuring and using the Requisition Archival/Restore feature in BuyerXpert 4.5.
Pre Installation Setup
The Archival implementation in BuyerXpert uses the Global Transaction support available in iPlanet Application Server(iAS) 6.5.
Global Transactions
Global transactions are a set of related operations that must be executed as a unit, though each operation may run in a different process. You can update multiple databases that are distributed over different geographic locations, or update multiple databases of different types (such as Oracle and Sybase) in a single
global transaction. A global transaction typically involves operation on multiple databases.
Database Connectivity Setup
-------------------------------------------------------------------------
Please enter the iAS installation root directory:
<IAS_ROOT>
Specify the JDBC driver types to configure:
To accept the default shown in brackets, press the Enter key.
Select the component you want to install ? (1/2) [1]:
2
Provide following information to configure third party JDBC drivers.
To accept the default shown in brackets, press the Enter key.
Enter the number of Drivers you want to configure ? [1]:
1
Gather information to configure third party JDBC drivers.
Enter the JDBC Driver name: [Driver1]:
Archive
Enter Driver Classpath
For example, /space/nsadmin/817client/jdbc/lib/classes12.zip
<ORACLE_HOME>/jdbc/lib/classes12.zip
Enter Pooled Datasource Classname
For example, oracle.jdbc.pool.OracleConnectionPoolDataSource
Enter the XA Datasource Classname (optional)
For example, oracle.jdbc.xa.client.OracleXADataSource
Enable Global Transactions in IAS
The Global Txns are enabled through the ksvradmin utility. This is found in <IASHOME>/ias/bin. Before running it, ensure that your DISPLAY environment is properly set.
The following screen image of ksvradmin shows how to enable Global transactions.
Verify the configuration details
From the ksvradmin utility you can check that all the data that you entered during db_setup.sh is correct. The following screen shows where to check:
Make sure that the changes are correct. If they are not correct, you can make the changes in kregedit in the following location:
Software\iPlanet\Application Server\6.5\CCSO\DAE3\Drivers\<DRIVER_NAME>
The following screen shows the location.
Installing BuyerXpert Software
Note When you install BuyerXpert, you must use the same UNIX user and group that you used to install iAS.
To install the SellerXpert software from the CD:
Copy the buyxpert45.tar file to a local directory.
Extract the file: tar xvf buyerxpert45.tar
Make sure that the DISPLAY environment is set correctly.
The Welcome screen displays.
Figure 4-1    ![]()
Welcome screen
Read the Welcome message.
Click the Next button to continue the installation.
The Software License Agreement screen displays.
Figure 4-2    Software License Agreement screen ![]()
If necessary, increase the window size to make the entire agreement visible.
Click the Yes (Accept License) button to accept and continue the installation.
The Select Type of Install screen appears.
Figure 4-3    ![]()
Select Type of Install screen (with Typical option selected)
Select the Typical installation. Figure 4-4    Select Type of Install screen (with Custom option selected) ![]()
Or select the Custom installation option that uses default values to create schemas in the Oracle database for OMS, Auctions, RFx, and so forth, and that allows you to specify the Oracle tablespace options.
Click the Next button to continue the installation.
The Installation Directory screen appears.
Figure 4-5    Installation Directory screen ![]()
Enter the iPlanet Application Server Directory name where you want to install BuyerXpert (for example, /export/IPM6). This is typically the directory where the iAS server is located (IASROOT).
Or, select the Browse... button to search for a new location to install BuyerXpert.
Click the Next button to continue the installation.
If you enter an existing directory that contains the iPlanet Application Server, the following warning appears after you click the Next button informing you of the existing directory.
Figure 4-6    ![]()
Warning screen
Review the components list.
Click the Accept button to continue the installation.
The installer creates an iPlanet BuyerXpert directory in the specified location and places iPlanet BuyerXpert underneath it.
The Select Components screen displays.
Figure 4-7    Select Components screen ![]()
This page displays the size of the BuyerXpert component.
The BuyerXpert software is installed by default.
Click the Next button to continue the installation.
The Domain Name screen displays.
Figure 4-8    Domain Name screen ![]()
To find the hostname and domain name, type hostname or domainname at the UNIX prompt.
Enter the domain name in the following format:
<hostname>.<domainname>
For example, colonial.red.iplanet.com.
Click the Next button to continue the installation.
The User Configuration screen displays.
Figure 4-9    User Configuration screen ![]()
Enter the User ID.
The user and group IDs should be exactly the same as the user and group IDs that you specified during the iAS installation.
You can type id at a UNIX prompt to find out your current user and group ID.
Click the Next button to continue the installation.
The Application Server Administrator and Port Number screen displays.
Figure 4-10    Application Server Administrator and Port Number screen ![]()
Enter the Administrator User ID.
This is the same Administrator User ID that you specified during the iAS installation.
Enter the Admin Password.
This is the same Admin Password that you specified during the iAS installation.
Accept the default for the Admin Port Number.
This is the same Admin Port Number that you specified during the iAS installation.
Click the Next button to continue the installation.
Enter the encryption password for encrypt/decrypt property file entries and other sensitive data.
Enter the password again to confirm.
Click the Next button to continue the installation.
The Oracle Connection Configuration screen displays.
Figure 4-11    Oracle Connection Configuration screen ![]()
Enter the Oracle SID.
These values can be found in the tnsnames.ora file in the ORACLE_HOME directory.
Click the Next button to continue the installation.
The JDBC Connect Sring screen appears.
Figure 4-12    ![]()
JDBC Connect String screen
Enter the Oracle user to be created for the buyer.
Enter the Oracle password to be created for the buyer.
Enter the Oracle user to be created for the Catalog Manager DB.
Enter the Oracle password to be created for the Catalog Manager DB.
Click the Next button to continue the installation.
The LDAP Connection Configuration screen displays.
Figure 4-13    ![]()
LDAP Connection Configuration screen
Enter the LDAP hostname.
These configurations were specified during the creation of the iDS instance.
Click the Next button to continue the installation.
The Would you like to set up Archival screen displays.
Figure 4-14    ![]()
Would you like to set up Archival screen
Select Yes if you want to set up PO archival.
Click the Next button to continue the installation.
The Specify Source JDBC Connection screen displays.
Figure 4-15    Specify Source JDBC Connection screen ![]()
Enter the JDBC user name.
Click the Next button to continue the installation.
The Specify Target JDBC Connection screen displays.
Figure 4-16    Specify Target JDBC Connection screen ![]()
Enter the JDBC user.
Click the Next button to continue the installation.
The Specify Driver Name, System User and Password screen displays.
Figure 4-17    Specify Driver Name, System User and Password screen ![]()
Enter the driver name that is to be used with the XA connection.
Enter the Oracle system password.
If you have to run db_setup.sh before this step, enter the name of the driver that you gave when you ran db_setup.sh.
Otherwise, remember the name that you provide here and provide the same name when running db_setup.sh).
Click the Next button to continue the installation.
The PO Archival Sys User and Password screen displays.
Figure 4-18    ![]()
PO Archival Sys User and Password screen
Enter the Oracle source db sys user name for transaction support.
Enter the Oracle source db sys password for transaction support.
Enter the target db sys user for transaction support.
Enter the target db sys password for transaction support.
Click the Next button to continue the installation.
The Oracle PO Archival Objects Configuration screen displays.
Figure 4-19    ![]()
Oracle PO Archival Objects Configuration screen
Verify the Oracle target module user.
Enter the location of the Oracle datafile directory.
Verify the datafile file name.
Verify the data tablespace name.
Verify the data tablespace file size.
Enter the location of the Oracle indexfile directory.
Verify the indexfile directory file name.
Verify the index tablespace file name.
Verify the index tablespace file size.
Click the Next button to continue the installation.
The Target Schema screen displays.
Figure 4-20    Target Schema screen ![]()
Select Yes if you want to create schema data on the target database.
Click the Next button to continue the installation.
The Attachment Directory screen displays.
Figure 4-21    ![]()
Attachment Directory screen
Enter the location of the attachment directory.
Click the Next button to continue the installation.
The Sample Data screen displays.
Figure 4-22    Sample Data screen ![]()
Select No if you do not want to populate the Oracle and LDAP data sources with sample entries.
Or, Select one of the following:
LDAP Only (to populate the LDAP sample data only)
Oracle Only (to populate the Oracle sample data only)
LDAP and Oracle (to populate both the LDAP and the Oracle sample data)
Click the Next button to continue the installation.
If you select either No Sample Data (option #0) or LDAP Only (option #1), proceed to the Actuate Report Server screen.
If you select either Oracle Only (option #2) or LDAP and Oracle (option #3), the following 13 screens display.
If you select either Oracle Only (option #2) or LDAP Only (option #3), a warning message displays.
The message advises that populating sample data will delete any existing iPlanet BuyerXpert Oracle schema and data, and you are prompted to choose whether or not you would like to proceed.
The installer recreates the users and tablespaces that you specified earlier, and that you specify in the next 12 screens.
Click Continue to continue with the installation.
The Oracle Installation Configuration screen displays.
Figure 4-23    ![]()
Oracle Installation Configuration screen
Enter the network service name.
Enter the location of the Oracle home directory.
Click the Next button to continue the installation.
The Oracle Buyer Objects Configuration screen displays.
Figure 4-24    ![]()
Oracle Buyer Objects Configuration screen
For a Custom installation:
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Enter the Oracle module username.
Enter the location of the Oracle datafile directory.
Enter the location of the Oracle indexfile directory.
Click the Next button to continue the installation.
The Oracle Common Objects Configuration screen displays.
Figure 4-25    Oracle Common Objects Configuration screen ![]()
For a Custom installation:
Enter the password for the cmn user.
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Click the Next button to continue the installation.
The Oracle Community Objects Configuration screen displays.
Figure 4-26    ![]()
Oracle Community Objects Configuration screen
For a Custom installation:
Enter the password for the com user.
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Click the Next button to continue the installation.
The Oracle Catalog Objects Configuration screen displays.
Figure 4-27    ![]()
Oracle Catalog Objects Configuration screen
For a Custom installation:
Enter the password for the cat user.
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Click the Next button to continue the installation.
The Oracle Pricing Objects Configuration screen displays.
Figure 4-28    Oracle Pricing Objects Configuration screen ![]()
Click the Next button to continue the installation.
The Oracle ESV Objects Configuration screen displays.
Figure 4-29    Oracle ESV Objects Configuration screen ![]()
For a Custom installation:
Enter the password for the esv user.
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Click the Next button to continue the installation.
The Oracle OMS Objects Configuration screen displays.
Figure 4-30    ![]()
Oracle OMS Objects Configuration screen
For a Custom installation:
Enter the password for the oms user.
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Click the Next button to continue the installation.
The Oracle Auction Objects Configuration screen displays.
Figure 4-31    ![]()
Oracle Auction Objects Configuration screen
For a Custom installation:
Enter the password for the auc user.
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Click the Next button to continue the installation.
The Oracle RFx Objects Configuration screen displays.
Figure 4-32    ![]()
Oracle RFx Objects Configuration screen
For a Custom installation:
Enter the password for the rfx user.
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Click the Next button to continue the installation.
The Oracle Exchange Objects Configuration screen displays
Figure 4-33    Oracle Exchange Objects Configuration screen ![]()
For a Custom installation:
Enter the password for the exc user.
You can modify the Oracle user, data and index tablespace name and size, and the location of the datafile.
If no datafile location is specified, Oracle uses the default location, ORACLE_HOME/dbs.
Click the Next button to continue the installation.
The Actuate Report Server screen displays.
Figure 4-34    Actuate Report Server screen ![]()
If you do not want to setup Actuate reports, proceed to Ready to Install, Click the Next button to continue the installation..
Select Yes if you want to setup Actuate reports.
Click the Next button to continue the installation.
The Actuate Report screen displays.
Figure 4-35    Actuate Report screen ![]()
Enter the location of the Actuate Reports directory.
Note The Actuate Reports directory, URL, and password were specified during the Actuate Reports installation.
Enter the iWS URL.
Click the Next button to continue the installation.
The Ready to Install screen displays.
Figure 4-36    ![]()
Ready to Install screen
Click Install Now.
The Installing... screen displays.
Figure 4-37    ![]()
Installing... screen
Note The Installation Progress bar displays 100% before installation is complete (this is a known problem).
Click Stop if you want to cancel the installation before it is complete.
The Installation Summary screen displays.
Figure 4-38    Installation Summary screen ![]()
The installation is complete in approximately 45 minutes.
If the installation is successful, the Status displays Installed.
If the installation is not successful, the Status displays Failed.
The installation log is in /tmp/BX45install-<username>.
Click Exit to exit the installer.
Post Installation Configuration for PO/Requisition Archival
The following configurations need to be done after the BuyerXpert 4.5 installation for Archival.
PM Related Configuration for Archival
This step needs to be done only after you have configured Process Manager for BuyerXpert 4.5 Installation. This step creates workflow related tables in the target database.
cd <IASROOT>/buyer/admin/config/archive
For example, ./archive_pm.sh -p procmgr/procmgr@BX -t system/manager@TARGET -t TS01 -i TS02 -c
Configuring Actuate for BuyerXpert
The Setup Actuate Reports screen displays.
Enter Y if you want to configure Actuate with BuyerXpert at this time.
Note Actuate must be installed prior to installing BuyerXpert.
If you entered Y in the previous screen, the Report Server screen displays.
Enter the path where Actuate is installed.
At the next screen, enter the Actuate Server URL.
The Actuate Administrator Password screen displays.
Creating Catalogs in Catalog Manager
To create catalogs in Catalog Manager:
Figure 4-39    Login screen ![]()
Figure 4-40    Buyer/Seller Login screen ![]()
Figure 4-41    Catalog : Select a Catalog screen
![]()
Figure 4-42    Browse Option (sub-menu option)
![]()
Figure 4-43    Catalog : Select a Catalog screen
![]()
Click a Catalog Name.
If necessary, click the Return to Catalogs button.
Click the Create button.
Enter a catalog name.
Enter a brief Catalog Description to provide notes that describe the catalog contents.
Select a user group for accessing this catalog.
Confirm
Creating Membership Indexes
For membership performance improvements, you need to create the following indexes in your membership Directory Server if they do not already exist:
To create indexes, you need to run startconsole from the iAS home directory.
The console screen displays.
Enter the administrator password you gave when you installed Process Manager.
Double click the Directory Server that you created under the Server Group.
Highlight Database, located on the left side.
Select iplanetecguid.
The attribute name iplanetecguid appears under the Addition Indexes column and attribute Equality and Presence is checked.
Add the other attributes by repeating the previous steps.
Click Add Attribute to add all these attributes:
Click Save.
Running the Process Builder
To deploy a sample application:
Run the Process Builder:
Click Import.
Enter the zip file location.
Click OK.
The cluster that you just set up displays on the left side of the screen.
Double click the bx40_buyercompany_prototype file name on the left side of the screen.
Verify that the corporate directory contains the correct machine name.
Select Choose Your Corporate User Directory.
Click Deploy (in the row of buttons near the top of the screen).
Select the cluster by clicking No Cluster Selected.
Enter your iAS user ID.
Go to the browser and enter the following URL:
Click the New Process tab.
Importing Timecard Application
Run the Process Builder again:
Click Import.
Enter the zip file location.
Click OK.
The cluster that you just set up displays on the left side of the screen.
Double click the bx40_buyercompany_prototype file name, located on the left side of the screen.
Verify that the corporate directory contains the correct machine name.
Select Choose Your Corporate User Directory.
Click Deploy (located in the row of buttons near the top of the screen).
Click the Database Table field.
Enter a new name for the timecard deployment.
Select the cluster by clicking No Cluster Selected.
Click OK.
Go to the browser and enter the URL:
Click the New Process tab.
Preparing the Seed Data Storage
You need to install seed data for BuyerXpert to work properly. If your BuyerXpert installation points to data stores populated with sample data, you do not need to install any seed data. Sample data includes the required seed data.
The procedures to install seed data consist of the following steps:
Preparing the Directory Server Data Storage
Before you can install seed data, you need to prepare the Directory Server data storage.
Create a new instance of Directory Server (see Chapter 3, Creating an iPlanet Directory Server (LDAP) Instance, for instructions).
Modify the schema on the Directory Server by one of the following two methods:
Include the schema files.
Pick your favorite path for these configuration files, located in your BuyerXpert installation directory:
path to ias/buyer/sample_data/directory_ldif/buyer/iplanet.
For example:
/iAS/iPlanet/iPM6/buyer/sample_data/directory_ldif/buyer/iplanet.
Include lines similar to those shown below in the
After these changes to the ns-schema.conf file, restart the Directory Server:
Apply schema modifications specified in the ldif file format.
Use the schema.ldif file, located in your BuyerXpert installation directory:
Load the schema into a running Directory Server using ldapmodify as:
To load seed data use the loadSeedData script located in the BuyerXpert installation directory:
path to ias/buyer/sample_data/directory_ldif/buyer/iplanet
For example:
/iAS/iPlanet/iPM6/buyer/sample_data/directory_ldif/buyer/iplanet
Run the script loadSeedData.sh:
Preparing the Oracle Data Storage
To prepare the Oracle data storage:
Create your database account
Verify that iAS has stopped:
Run the create_schema.sh script.
Creates user accounts
Creates all the tables/indexes in the user accounts
Loads the seed data for the whole application, including the iPlanet MarketMaker catalog piece
Before running the script, read the following notes:
This script uses the following syntax:
create_schema.sh parameters [ CONNSTR ]
CONNSTR Oracle connect string of the format user/passwd@dbsource
Valid parameters for this script are:
-b BX_DATA populate BuyerXpert data only, does not load catalog name
-r IASRoot IAS base directory, for example, /export/IAS60/
-u USER/PASSWORD Oracle user login and password
-s SYSTEM USER/PASSWORD Oracle system user and password
-d DBSOURCE Oracle database access name
-o ORACLE_HOME Pass this if you want to override the ORACLE_HOME environment variable.
-t DATA TABLESPACE data tablespace to be used for the user
-i INDEX TABLESPACE index tablespace to be used for the user
For example:
cd /export/netscape/server4/buyer/sample_data/impexp_files/
. /create_schema.sh -r /export/netscape/server4/ -u bx/bx -d deepc -s system/manager -o $ORACLE_HOME -t TS01 -i TS02
where:
/export/IAS60/ is the IAS Root , bx is the account to be dropped or created (the schema and data are loaded into this), deepc is the Oracle database instance name, and TS02 is the tablespace in the Oracle data.
The script can be found at:
Loading the Application Seed Data
To load the application seed data, the following tasks are required:
To create the install superuser in your BuyerXpert installation (without any sample data):
Log in using -/-/- as your organization, followed by login name and password.
Create a dummy organization for the superuser.
Create a user with superadmin privileges.
For example:
InstallUser.
These are conveniences to allow administrative privileges in the event that there is no super administrator available.
To import the policy book, start the application:
Log in to the Admin interface as InstallUser.
Click the Import/Export tab.
Select the files to be imported.
Import the following files in the order shown:
Previous Contents Index Next
Copyright © 2002 Sun Microsystems, Inc. All rights reserved.
Last Updated June 10, 2002