Previous     Contents     Index          Next     
iPlanet ECXpert™ Getting Started



Chapter 1   Preinstallation Tasks

This chapter describes planning and tasks you must perform before you can install ECXpert Version 3.0. It includes installation and configuration tasks for the RDBMS which stores the ECXpert information.

The following topics are discussed in this section:



Note

Page references indicated throughout this section, refer to the pdf form of this document.



Installation Overview

This section provides an overview of the tasks required before you install ECXpert.

Hardware and Software Requirements




Note

Licensing Note: All other iPlanet Products and third party components (iPlanet Web Server, Enterprise Edition, iPlanet Directory Server, iPlanet Messaging Server, Oracle Server, Actuate Reporting System, and Mercator Authoring System) are licensed for use only in conjunction with the ECXpert system.

Any use separate from ECXpert is not permitted.



Table  shows the minimum hardware and software requirements for installing and using ECXpert in the Sun Solaris operating environment.



Table 1-1    Hardware and Software Requirements

Hardware Platform:

  • Sun workstation with CD-ROM for the ECXpert software


  • Intel-based workstation running Windows95, 98 or WindowsNT for the Mercator's Mercator Map Authoring System


Operating
System:

  • Sun Solaris 2.6 (OS version 5.6) plus the patches listed in Table 1-2.


-or-

  • Sun Solaris Version 2.7 (OS version 5.7) plus the patch cluster listed in Table 1-3.


  • Sun Solaris Version 2.8 (OS version 5.8) - Optional, no patches are required


Memory:

256 MB RAM (recommended) for the Sun workstation for each ECXpert machine.

Software Requirements:

  • JDK 1.2.2 (to live in /share/builds/component/jdk/1.2.2_05a/SunOS


  • iPlanet Web Server, Enterprise Edition, Version 4.1, with Service Pack 2 (NES 4.1 SP2)


  • iPlanet Messaging Server Version 5.0o


  • iPlanet Directory Server Version 4.1 Series o


  • Netscape Navigator 4.7


  • Mercator's Mercator Version 5.0


  • Oracle 8.1.6 Enterprise Server (and related products, notably SQLNET and Net8


  • Actuate Reporting System (version 3.2 or higher)


Disk Space:

Approximately 2.5 GB for installed software (500MB each for ECXpert, 1 GB for Oracle), plus disk space for data and incoming documents, calculated according to the formula:
   2.5KB * (# of documents received daily) * (# of days retained)
(See "Planning Your Configuration" on page 21 for more information on this formula.)

bundled with ECXpert
o optional




Note

iPlanet Web Server, Enterprise Edition, Netscape Communicator, and iPlanet Messaging Server are on separate media.

iPlanet Directory Server is included in the iPlanet Messaging Server package.



Solaris Patches Required

Depending on the version of Solaris you are using, you must apply different Solaris patches. Solaris patches are available from Sun Microsystems' SunSolve home page:

http://sunsolve.sun.com/

The following sections contain specific URLs where you can download the particular patches you must apply to the different versions of Solaris.

To find out what operating system patches have been applied to your system, use the following command:

# showrev -p

If you see the following output, patches have been applied which enable the ECXpert Java user interface to function properly.



# showrev -p
Patch: 103663-08 Obsoletes: 103683-01, Requires:, Incompatibles:, iss_sparc-01 Packages: SUNWcsu, SUNWcsr, SUNWhea
Patch: 103594-10 Obsoletes: , Requires:, 103663-01, Incompatibles: Packages: SUNWcsu
Patch: 103680-01 Obsoletes: , Requires:, 103663-01 Packages: SUNWcsu
Patch: 103686-02 Obsoletes: , Requires:, 103663-01, Incompatibles: Packages: SUNWnisu


If you see the following output, it means that no patches at all have been applied:



# showrev -p
showrev: opendir


Solaris 2.6 Patches

If you are using Solaris 2.6, iPlanet recommends you apply the following patches shown in Table 1-2: Refer to the following README file link for more information on the patch cluster that includes these patch IDs.

http://sunsolve.Sun.COM/pub-cgi/retrieve.pl?doctype=patch&doc=2.6_Recommended.README

You may instead choose to apply the latest Solaris recommended patch cluster for Solaris 2.6. The Solaris recommended patch cluster is updated every 15 days, so it will be a later version than the iPlanet-recommended patch cluster and will not have been tested with ECXpert.

Download the latest Solaris recommended 2.6 patch cluster from:

ftp://sunsolve.Sun.COM/pub/patches/2.6_Recommended.tar.Z

Refer to the following README file for instructions on applying this patch cluster:

ftp://sunsolve.Sun.COM/pub/patches/2.6_Recommended.README


Table 1-2    Solaris Version 2.6 (OS 5.6) Patches

Patch ID

Note

Description

105490-07

required

Linker Patch

105568-16

required

Libthread Patch

105210-27

required

LibC Patch

106040-13

required

X Input and Output Method Patch

105633-36

required (1)

Open Windows 3.6 Xsun Patch

106409-01

required (2)

Fixes the Chinese True Type Fonts

108091-03

required (3)

SunOS 5.6: ssJDK1.2.1_03 fails with fatal error in ISO8859-01 Locales.

105181-19

recommended

Kernal Update (socket close/hang)

105669-10

recommended

CDE 1.2 libDTSvc Patch (dtmail)

105284-31

recommended

Motif 1.2.7 Runtime Library Patch

Solaris 2.7 Patches

If you are using Solaris 2.7, iPlanet recommends you apply the following patches shown in Table 1-3: Refer to the following file link for each base patch ID on the http://sunsolve.Sun.COM site (e.g., 106980, 107636, and so forth). Alternatively, you can search for the patch ID using the Search SunSolve text entry box.



Table 1-3    Solaris Version 2.7 (OS 5.7) Patches

Patch ID

Note

Description

106980-10

required

Libthread Patch

107636-03

required

X Input and Output Method Patch

107081-11

required

Motif 1.2.7 and 2.1.1: Runtime Library Patch for Solaris 7.

108376-03

required

Open Windows 3.6.1 Xsun Patch

To find out which, if any, patch cluster has been applied to your machine, use either of the following commands:



showrev 
uname -a 

If the iPlanet-recommended patch cluster has been applied, the showrev command produces output similar to the following:



# showrev
Hostname: myhost
Hostid: 80859468
Release: 5.6
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: myserver.com
Kernel version: SunOS 5.6 Generic 105490-07 September 2000


If the iPlanet-recommended patch cluster has been applied, the
uname - a command produces output similar to the following:



# uname -a
SunOS myhost 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-1


TCP/IP Connectivity Required

To be sure you have TCP/IP networking properly installed, the following must be in effect:

  • a permanent IP address is assigned to your machine (not a DHCP IP address)


  • TCP/IP is bound to the actual network card


  • DNS is configured (your machine's hostname and domain names are valid DNS entries)





  • Note

    The iPlanet ECXpert Installer uses the domain name in /etc/resolv.conf, not an NIS domain name.



To verify that your system is properly configured, follow the steps below.

  1. Open an xterm window.


  2. Determine what your IP address is.


  3. type the command,

    # ifconfig -a

    you should see something like this:

    lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232

    inet 127.0.0.1 netmask ff000000

    hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500

    inet 192.18.112.147 netmask fffffe00 broadcast 192.18.113.255

    ether 8:0:20:d1:2c:2f

    for the example reply above, the internet address for the machine is 192.18.112.147.

  4. Determine what your hostname is.


  5. type the command:

    # /bin/hostname

    the name for this machine's host is displayed.

  6. Determine what your domain name is.


  7. type the command:

    # /bin/domainname

    the name for your machine's domain is displayed.

  8. Ping your hostname.


  9. type the command,

    # /usr/sbin/ping hostname

    where hostname is the host of your host computer.

    If your TCP/IP connectivity is working properly, the feedback from the ping command is:

    hostname is alive


Installation Checklist

Be sure to perform each task in the order presented on this checklist.

Refer back to this checklist as you complete each stage of your installation.


q

Plan your ECXpert site and if necessary coordinate with other sites in the same domain.

q

Arrange a trading partnership agreement with one or more trading partners.

q

Make sure your system meets hardware and software requirements. See "Installation Overview" on page 14 for more information. See "Planning Your Configuration" on page 21 for important sizing and configuration scenarios.

q

Familiarize yourself with the ECXpert directory structure. See "Directory tree for the ECXpert system" on page 22 for more information.

q

Make sure you have sufficient disk space, and have filled out the information required in the Configuration Worksheet on page 46. See "Disk Space Requirements" on page 25 for more information.

q

If you intend to use the iPlanet Messenging Server, see What's Next? for more information. Also, iPlanet recommends you use the ECXpert Administrator userid, generally "actraadm," as the sendmail userid.

q

Prepare your system for installation. See "Preparing the System for Installation" on page 27 for more information.

q

Create the ECXpert Administrator account. See Creating the ECXpert Administrator Account for more information.

q

Install Oracle. Refer to the included Oracle 8.1.6 document for Oracle 8.1.6 Installation or your site installation and configuration documentation for Oracle 8.1.6 for more detailed information.

Install iPlanet Web Server, Enterprise Edition. See Installing the iPlanet Web Server, Enterprise Edition.

q

Install ECXpert. See "Installing ECXpert" on page 43 for more information.

q

Test your installation to verify database connectivity and ECxpert operation. See "Testing Your ECXpert Installation" on page 75 for more information.

q

Install additional software. See "What's Next?" on page 92 for more information.

Planning Your Configuration

When planning your ECXpert site, carefully consider your resource requirements, based on the type of business you expect to do.

The central functionality of ECXpert is supported by Oracle. For ECXpert 3.5, Oracle 8.1.6 has been certified for use only.

iPlanet assumes you have your own site Database Administrator to handle routine database operations such as the following:

  • database full backup


  • database incremental (or transaction log) backup


  • database tablespace management


  • iPlanet recommends the following formula to estimate the Oracle tablespace size needed:

    2.5KB x [number of documents received daily] x [number of days retained]

    For example, if you have 5000 documents daily and you retain them for thirty days, the calculation is:

    2.5KB x 5000 x 30= 375,000 KB

    For the rollback segment size, estimate 1.5 - 2 times the largest tablespace.

ECXpert Directory Structure

Figure 1-1 shows the ECXpert installation directory tree.

Refer to this diagram to identify where files and executables are located.

Figure 1-1    Directory tree for the ECXpert system

Table 1-4 describes the contents of the $NSBASE/NS-apps/ECXpert directory.



Table 1-4    Description of the $NSBASE/NS-apps/ECXpert directory 

Subdirectory

Description of Contents

UI/html

user interface HTML components

UI/html/reports

ECXpert reports

UI/html/help/manuals

ECXpert documentation

UI/html/com

tools lib classes for com

UI/html/admin

admin screen UI files

UI/html/aiag

aiag related UI files

UI/html/netscape

ifc classes

UI/html/ifc

to check that IFC is with Netscape Navigator

UI/html/mlsoft

MVE classes

bin

ECXpert binaries

data/stylesheet

example file for xls

data/pas

Partner Agent related, member and partner information

certificates/export

location of secure transaction authority certificate files. If you do not specify a path when generating or exporting a certificate, the cert files are written by default to the directory /certificates/export/

certificates/import

location of secure transaction authority certificate files. If you do not specify a path when importing a certificate, by default the cert file is looked up from /certificates/import/

cgi-bin

ECXpert CGI binaries

config

configuration files, such as the ecx.ini file

data/bundle

temporary location of files to be transmitted to recipients

data/input

auxiliary input files needed for mapping

data/log

Administration Server function log files

data/output

post translation files, both translation and functional acknowledgment files

data/paserver

files for Partner Agent for ECXpert

data/work

temporary location where work files are created and then deleted

data/work/trk

location of files upon being submitted to ECXpert

dbadmin/oracle

Oracle SQL scripts

ecxsdk/bin

software development kit binary files

ecxsdk/doc

documentation files

ecxsdk/ftpext

FTP extension files

ecxsdk/lib

API library files

ecxsdk/public

user-accessible files

ecxsdk/test

user-accessible test files

legacy/SAP/R31H

mapping files for use integrating with SAP

legacy/SAP/R31H
/inv2idoc

map source files

legacy/SAP/R31H
/inv2idoc

map source files

legacy/SAP/R31H
/inv2idoc

map source files

lib

ECXpert libraries

maps

Mercator's Mercator mapping files. Note that many of the files in this directory have a .map extension, as opposed to a .sun extension.

mib

entity information

smtp/archive/sent

storage for information of sent outbound messages including received message disposition notifications

smtp/archive/unsent

storage for information of outbound messages that can't be sent or are sent with message disposition notification requested but not received

smtp/archive/mdn

storate for mdn information

smtp/etc

used as a temporary directory for all the temp files created when processing incoming messages

smtp/inbound

temporary storage for inbound messages

smtp/inmsg

temporary storage of inbound messages' SMTP information, such as sender, recipient, and date-time before messages are submitted to the recipient

smtp/log

log files for unrecognized inbound messages

smtp/outbound

temporary storage for formatted outbound messages

smtp/outmsg

temporary storage for outbound messages' SMTP information: docs, files, MDNs

ecxsdk/bin

ECXpert software development kit (SDK) binary files

ecxsdk/doc

ECXpert SDK documentation files

ecxsdk/lib

ECXpert SDK API library files

ecxsdk/public

ECXpert SDK user-accessible files

ecxsdk/test

ECXpert SDK user-accessible test files

snmp/bin

user-accessible binaries and location of servers

snmp/config

configuration files

snmp/mib

management information base files

xmlsdk/bin

XML software development kit (SDK) binary files

xmlsdk/config

XML SDK documentation files

xmlsdk/example

XML SDK sample programs

xmlsdk/include

XML SDK header files

xmlsdk/lib

XML SDK API library files

dtd

dtd and xml files related to aiag functionality

Disk Space Requirements

Verify that you have sufficient disk space available.

Use the following command to see the available volumes and their disk usage:

# df -k

The resulting output is similar to the following:


Filesystem

kbytes

used

avail

capacity

Mounted on

/dev/dsk/c0t3d0s0
401389
12499
34876 0
4%
/
/dev/dsk/c0t3d0s6
105486
87205
7741
92%
/usr
/proc
0
0
0
0%
/proc
fd
0
0
0
0%
/dev/fd
/dev/dsk/c0t3d0s4
106012
21457
73955
23%
/var
/dev/dsk/c0t3d0s7
419319
9
37738 0
1%
/export/h ome
/dev/dsk/c0t3d0s5
1253167
72516
11553 41
92%
/opt
/dev/dsk/c0t3d0s3
236816
106458
10667 8
50%
/usr/open win
/dev/dsk/c0t0d0s2
1952573
1137822
61950 1
65%
/disk00
/dev/dsk/c0t1d0s2
14631
10595
2576
81%
/disk01
/dev/dsk/c0t2d0s2
1952573
1625123
13220 0
93%
/disk02
swap
414240
248
41399 2
1%
/tmp

Make a note of the volumes you plan to use in the installation process.

The ECXpert directory structure requires that the directories be created on a local device (hard drive) or an NFS-mounted device (hard drive).

The initial installation of ECXpert creates all of the subdirectories below the installation location you specify (referred to as $NSBASE).

After installing ECXpert, you may change the configuration to move certain directories to other device locations, for performance reasons and to provide better fault tolerance.




Note

Remember that you need a minimum of:

    • 500 MB for the ECXpert software.


    • Sufficient space on the same system as the ECXpert software to store transaction data. Calculate the space required for your anticipated transaction volume according to the formula in Planning Your Configuration.


    • 1GB for the Oracle database installation. This does not have to be on the same system as the ECXpert software.




Firewall Considerations

ECXpert uses the following protocols during file processing:

  • SMTP (port 25)


  • FTP (port 21)


  • HTTP (port 80, or user-defined port #)


Additionally, ECXpert uses SQL*Net/Net8 connections (or local IPC connections based on configuration) and OCI client connections to the Oracle8i database where its tables are located.

If you want to install ECXpert through a firewall, you will need to check first with the Firewall Administrator to determine if these protocols are allowed to pass through your firewall.

Preparing the System for Installation

Prepare your system for installing ECXpert by doing the following:

The following sections of this Guide describe these tasks.

Creating the ECXpert Administrator Account




Note

If you are upgrading an earlier installation of ECXpert, skip this section.



Create the ECXpert Administrator user and directory. (This user's home directory must be on the installation volume only if you are running the database on the same machine as ECXpert.)

If you are confused about which user you are at any time during the installation (database_user, actraadm, root), use the id command to identify yourself before proceeding.

  1. Set up the ECXpert Administrator account. For example:




  2. # /usr/sbin/groupadd actra
    # /usr/sbin/useradd -d /export/home/actraadm -g actra \
    -s /bin/csh actraadm -u 1120
    # passwd actraadm


    Then enter actraadm twice as the password.




    Caution

    You may use any username you wish for the ECXpert administrator user; however, for simplicity, iPlanet recommends the userid actraadm with a group of actra. iPlanet recommends a user ID of 1120 for the actraadm user and a group ID of = 500 for the actra group. These are the default values the Installer expects.

    If you choose to use an ECXpert Administrator user with a different user ID or group ID, you must enter the correct values during Installer STEP TWO (see page 56). If you do not, you will be unable to log into the ECXpert user interface.




    .


    Note

    Write down the ECXpert Administrator user's User ID and Group ID values in Configuration Worksheet items 3. User ID: and 4. Group ID:.



Enabling Sendmail   

If you plan to use Sendmail, use the touch command and specify the user actraadm) to make sure the mail file can be read/written to by user actraadm. For example:

# touch /var/mail actraadm



Note

Using the touch command is also indicated in Step 4 of the Installation.



Installing the iPlanet Web Server, Enterprise Edition

Install the iPlanet Web Server, Enterprise Edition and Netscape Communicator by following the instructions enclosed with the software.




Note

After ECXpert installation, you must make changes in the iPlanet Web Server's obj.conf file so that the document root and cgi-bin point to the html and cgi-bin directories of ECXpert.






Note

When you install the iPlanet Web Server, Enterprise Edition, be sure to create an Enterprise Server instance with Server User set to the same user ID as the one you are using to install ECXpert—for example, actraadm.



Oracle Installation/Migration

iPlanet ECXpert 3.5 is certified to run with Oracle 8.1.6 Enterprise Server edition (also known as Oracle 8i). If you have an earlier installed version of Oracle, refer to the Oracle 8.1.6 Installation documentation or contact Oracle for instructions on upgrading to version 8.1.6. Once upgraded to 8.1.6, continue with the section "Creating the Oracle User ECX35 on page 37." If you do not have any version of Oracle installed, proceed to the section below, Preinstallation Tasks for Oracle 8.1.6 Enterprise Server.




Note

The instructions and guidelines given for the sections that follow and for sizing your tablespace and rollback segment mentioned earlier may not fit your production environment. Consult your Oracle dba or equivalent Database Administrator to verify that the suggested settings herein apply to your environment.



Preinstallation Tasks for Oracle 8.1.6 Enterprise Server

Before you install Oracle 8.1.6, you must first:

Configuring Shared Memory and Semaphores

For a new installation of Oracle 8.1.6, you must edit the /etc/system file to properly configure shared memory and semaphores. Following this, your machine must be rebooted. Perform the following steps:

  1. Log in as, or become, the root user:


  2. # su - root

  3. Change to the /etc directory


  4. # cd /etc

  5. Create a backup copy of your system file:


  6. # cp system system.backup

  7. Carefully edit the system file as needed to include the following lines.


  8. These lines should appear at the end of the file, immediately the comments regarding "set."




    Note

    The values for shared memory and semaphores below are the recommended minimum values from Oracle. They are intentionally low. If you set your shared memory parameters too high for your operating system, you may not be able to reboot your machine. Refer to your operating system documentation for parameter limits





    set shmsys: shminfo_shmmax = 134217728
    set shmsys: shminfo_shmmin = 1
    set shmsys: shminfo_shmmni = 100
    set shmsys: shminfo_shmseg = 50
    set semsys: seminfo_semmns = 1750
    set semsys: seminfo_semmni = 70
    set semsys: seminfo_semmsl = 200

    set semsys: seminfo_semmap = 100
    set semsys: seminfo_semmnu = 300
    set semsys: seminfo_semume = 100
    set semsys: seminfo_semopm = 100

  9. Reboot your machine.


  10. For the changes to take effect, you must reboot your machine using the following two commands:

    # sync

    # init 6

Creating the Oracle User



Note

If you want to set up Oracle in a remote client configuration you must create an oracle user ID on each machine.



  1. Log on as or become the root user:


  2. # su - root

  3. Create the dba group.


  4. If the machine you are using does not already have a dba group, you must create one:

    # groupadd dba
  5. Create a home directory for the Oracle user. For example:


  6. # mkdir /disk1/oracle

    where /disk1/oracle is the oracle user's UNIX home directory.

  7. Add the oracle user. For example:


  8. # useradd -g dba -d /disk1/oracle -s /bin/csh oracle

  9. Transfer ownership of the oracle user's home directory. For example:


  10. # chown oracle /disk1/oracle

  11. Change the group association of the oracle user's home directory:


  12. # chgrp dba /disk1/oracle

  13. Set the oracle user's password





  14. Note

    The oracle user's password is typically set to oracle.





    # passwd oracle
    New password: password
    Re-enter new password: password


    where password is the new password for the oracle user.

Preparing the Environment
  1. Log on as or become user Oracle:


  2. # su - oracle

  3. Set up the environment for the installation.


  4. Set the appropriate environment variables in the Oracle user's .profile or .login file before starting the Installer.

  5. Use the following syntax to set the environment variables:


  6. For the C shell:

    setenv variable_name value

    For the Bourne shell:



    set variable_name value
    export variable_name


  7. Use the information in Table 1-5 to determine how to set up each environment variable.





  8. Note

    Refer to your Oracle documentation for additional information about these and other potentially important environment variables.





    Table 1-5    Environment Variables 

    Environment Variable

    Configuration Details

    DISPLAY

    Set to the name and monitor of the machine from which you are installing the Oracle software.

    Example: myhost:0.0

    LD_LIBRARY_PATH

    Set to include $ORACLE_HOME/lib and the directory containing your Motif libraries.

    Important: When you set up your environment prior to installing or upgrading, make sure that the $ORACLE_HOME/lib directory appears as the first value in the $LD_LIBRARY_PATH environment variable. If you do not do this, you will get errors when you later use SQL*Plus.

    Note: The default location for Motif libraries on Solaris 2.x is /usr/openwin/lib or /usr/dt/lib.

    ORACLE_BASE

    Set to the directory at the top of the Oracle software.

    Example: /export2/oracle8i/app/oracle

    ORACLE_HOME

    Set to the directory containing the Oracle software for a given Oracle Server release. The OFA-recommended value is:

    $ORACLE_BASE/product/release

    Example:
    /export2/oracle8i/app/oracle/product/8i

    Important: Write this value in item 9 of the Configuration Worksheet on page 46.

    ORACLE_SID

    Set to the Oracle SID, which is the name of the Oracle Server instance.

    Note: If you are installing Oracle as a remote client, set this value to the database on the server machine.

    Example: ECX35

    Important: Write this value in item 10 of the Configuration Worksheet on page 46.

    ORACLE_TERM

    Set to the terminal definition resource file to be used with the Installer. Refer to your Oracle documentation for a complete list of terminal definition resource files.

    Example: xterm

    NLS_LANG

    Set to the correct NLS_LANG character set.

    The character set is named according to the following convention:

    <language>_<territory>.<number>

    Example: american_america.US7ASCII

    Important: Enter this value in item 11 of the Configuration Worksheet on page 46.

    oratab

    Create an oratab file as follows:

    Example:

    #cd /var

    where $ORACLE_HOME is the $ORACLE_HOME of the new Oracle 8i, release 8.1.6 installation.

    Note: This environment variable must be properly set if you plan to use a non-US7ASCII character set.

    PATH

    Set to include:

    • $ORACLE_HOME/bin


    • /bin


    • /usr/bin


    • /usr/ccs/bin


    Example: /export2/oracle8i/app/oracle/product/8.1.6/ bin:/bin:/usr/bin:/usr/ccs/bin:$PATH

    TERM

    Set this to the same value as the ORACLE_TERM environment variable.

    Example: xterm

    USER

    Set this to the oracle user.

    Example: oracle

Installing Oracle 8.1.6

  1. Log on as or become the oracle user.


  2. # su - oracle

  3. Run the Oracle Universal Installer.


  4. Warning: Do not run the Installer as root user. You must be logged in as user oracle.

    Insert your Oracle8i, release 8.1.6 CD-Rom in the CD drive

    Change to the CD installation directory:

    # cd /cdrom/oracle8i/

    To start the installer, enter the following two command:

    # ./setup /

The Oracle Universal Installer will lead you through the Oracle installation process. The typical installation type option will suffice for most installations. When asked about installing the Multi-threaded Server option (MTS), accept installation using that option. Other custom installation option should be handled by an experienced Oracle DBA.

During installation, you will be prompted for some of the environment variables set according to the guidelines presented in Table 1-5. You will also be instructed to open another terminal window and log in as root to run the root.sh script.

Running the root.sh Script
  1. Log on as or become the root user.


  2. # su root

  3. Change to the $ORACLE_HOME/orainst directory:


  4. # cd $ORACLE_HOME/orainst

  5. Run the root.sh script:


  6. # ./root.sh

    If you run root.sh from a directory other than ORACLE_HOME, you get the following message:

    ORACLE_HOME does not match the home directory for oracle.
    Okay to continue? [N]:


    If you indicate Yes, the root.sh script continues, using the ORACLE_HOME environment variable you specified.

    Depending on the products you installed, you may be prompted for user names and may be given additional instructions. Refer to your Oracle documentation for more information on these messages.




    Note

    The message

    Please raise the ORACLE owner's ulimit per the IUG.

    is purely informational and does not require action.



Recommended Settings for initECX.ora File

iPlanet recommends that you open (and edit, as needed) the initECX.ora file to verify the use of the LARGE default values generated during the Oracle Enterprise Server installation process. These default values are indicated by the parameters shown in Table .



Table 1-6    LARGE Values for Parameters in the initECX.ora File

Parameter

Recommended LARGE Value

db_file_multiblock_read_count

32

db_block_buffers

3200

shared_pool_size

9000000

processes

200

dml_locks

500

log_buffer

163840

sequence_cache_entries

100

sequence_cache_hash_buckets

89

Creating the Oracle User ECX35

Follow these steps create the Oracle user ECX35, who will own the ECXpert tables.

  1. Log onto Solaris with your Oracle account. For example:




  2. login: oracle
    password: oracle


  3. Launch the Oracle Server Manager utility.




  4. # svrmgrl
    SVRMGR> connect system/manager





    Note

    The default password is manager; yours may differ.



  5. Create user ECX35.




  6. SVRMGR> create user ECX35 identified by ECX35
    default tablespace USERS temporary tablespace TEMP;
    SVRMGR> grant connect, resource to ECX35;
    SVRMGR> grant unlimited tablespace to ECX35;
    SVRMGR> exit
    Server Manager Complete
    #


Setting Up and Testing Database Connectivity

Before you install ECXpert, set up and test your database to be sure that user root has access to the database, so that you can successfully install ECXpert. If user root doesn't have access to the database, you will get error messages during the ECXpert installation.

  1. Log in as user root.


  2. # su - root

  3. Determine the shell that root uses.


  4. # echo $SHELL

    The output of this command identifies the shell that root uses, which determines its associated environment file:


    Output

    Shell Being Used

    Environment File

    /sbin/sh

    Bourne

    .profile

    /sbin/csh

    C

    .cshrc

    /sbin/ksh

    Korn

    .profile or .kshrc


    Output

    Shell Being Used

    Environment File

    /usr/bin/sh

    Bourne

    .profile

    /usr/bin/csh

    C

    .cshrc

    /usr/bin/ksh

    Korn

    .profile or .kshrc

  5. Determine the shell that oracle uses.


  6. # cat /etc/passwd | grep oracle

    The output of this command lists the shell at the end, as in the sample below:

    oracle:x:50004:10003::/export/home/oracle:/bin/csh

    where the shell is csh.

  7. Get into the oracle shell.


  8. Locate the shell in the "Output" column of the table in Step 2 above, then look up the entry in the "Environment File" column for the same row.

    • If you are using the C shell, type the following command:


    • # source ~oracle/.cshrc

    • If you are using the Korn shell or the Bourne shell, type the following command:


    • # . ~oracle/your_environment_file

  9. Check the environment settings.


  10. # env

    The following sample output of this command lists the environment variables that must be set:




    Note

    Refer to the Configuration Worksheet on page 46 for your $ORACLE_HOME (worksheet item 10).





    $ORACLE_HOME=$ORACLE_HOME from worksheet
    $ORACLE_SID=ECX
    $LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    $PATH=$ORACLE_HOME/bin:$ORACLE_HOME:$PATH
    $DISPLAY=
    hostname:0.0


  11. Correct environment variable definitions as necessary.


  12. If any of the above environment variables are not properly defined:

    • Change to user oracle (su - oracle).


    • Open the environment file that you referenced in Step 4 above in a text editor and add or modify the definitions as necessary.


    • Save the environment file and exit the text editor.


  13. Enable changes in environment variable definitions.


  14. If you made changes in the environment file in Step 6 above, enable those changes now by switching to another user and then switching back:



    # su - root
    # su - oracle


    Alternatively, you could restart your system and log in as oracle.

  15. Check your tnsnames.ora file.


  16. Check your tnsnames.ora file to make sure it contains the correct information. as follows:

    SX = ECX35

       (DESCRIPTION =

          (ADDRESS = PROTOCOL = TCP)(Host=bobo)(Port=1521)

          (CONNECT_DATA = (SID = ECX35)

  17. Connect to the database from the UNIX commandline.


  18. # sqlplus ECX35/ECX35@your_connect_string

    If this test fails, skip to Step 11.

  19. Repeat the test from inside SQL*Plus:




  20. SQL> connect ECX35/ECX35@your_connect_string
    SQL> exit


  21. Correct any connectivity problems.


  22. If the test at either Step 9 or Step 10 failed, check the tnsnames.ora and listener.ora file to validate the settings, such as hostname and SID.

    After making any necessary changes, go back to Step 9 above.

If you have successfully connected to the database using SQL*Plus, you will be able to connect during the ECXpert installation. If you cannot connect to the database using this method, you definitely will not be able to connect during the ECXpert installation.

For additional Oracle troubleshooting tips, refer to the iPlanet ECXpert Operations Reference Manual.


Previous     Contents     Index          Next     


Copyright © 2000 Sun Microsystems, Inc.
Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated January 08, 2001