Previous Contents Index Next |
iPlanet Market Maker 4.5 Installation Guide |
Appendix B Tips for Installing
Oracle Software on Solaris
This chapter offers tips for installing the Oracle Software on the Solaris operating system.The following sections are contained in this chapter:
Oracle Pre-Installation Instructions
If you already have Oracle 8i installed without the "JServer and interMedia" option, then refer to the installation of interMedia option documents.Configuring the UNIX Kernel for Oracle 8i/9i
Creating UNIX Groups for the Oracle Universal Installer
Creating a UNIX Account to Own the Oracle Software
Setup Tasks for the Oracle Universal Installer
For more information, see the Oracle 8i Installation Guide, Release 2 (8.1.7) for SunSPARC Solaris.
Oracle Pre-Installation Instructions
For Oracle pre-installation steps, consult the following web site:
Install the missing Solaris packages from:
- http://otn.oracle.com/docs/content.html
Configuring the UNIX Kernel for Oracle 8i/9i
To configure the UNIX kernel for Oracle 8i or 9i, configure the UNIX kernal IPC parameters to accommodate the SGA structure of Oracle. To do this, add the following parameters to the /etc/system file to configure the UNIX kernel with the minimum recommended values:
Reboot the system for these parameters to take effect.
Creating UNIX Groups for the Oracle Universal Installer
Use the groupadd utility to create a group named dba or some other name of your choice.If you choose a name other than dba, you will be prompted to enter it later during the install. The OUI assigns the database administrator and operator rights to this group by default.
Use the groupadd utility to create a group named oinstall. This group will own the Oracle Universal Installer (OUI) orainventory. The user account that runs the installation must be a member of this group.
Creating a UNIX Account to Own the Oracle Software
The Oracle account is the UNIX account that owns the Oracle 8i software after installation. You must run the OUI from this account.To create a UNIX account to own the Oracle software:
Use the useradd utility to create an Oracle account with the following properties:
Confirm your addition from the /etc/passwd file. The new login remains locked until the password command is executed.
Choose a password for the oracle user.
Setup Tasks for the Oracle Universal Installer
This procedure describes the pre-configuration tasks required prior to running the Oracle Universal Installer (OUI). The OUI is the proprietary Oracle application installer.
Set permission for file creation.
Open the .profile or .cshrc file for the Oracle account and type in umask 022. This sets file creation permissions for the Oracle account. This ensures group and other have read and execute permissions on the files that the OUI creates, but not write permission.
Set the following environment variables in your .profile or .cshrc file:
Update the environment for the current shell session by entering the following:
Using the Oracle Universal Installer
Log in as the Oracle user.
The Oracle Universal Installer (OUI) installs the root.sh script in the ORACLE_HOME directory and prompts you to run the root.sh script. Log in as the root user and run the script:Start the OUI by entering ./runInstaller at the UNIX prompt after going to the CD-ROM mount-point directory (usually is/cdrom).
Enter the desired value of the directory location in the destination field of File Locations dialogue box, if it does not show up by default. It is recommended that you follow Optimal Flexible Architecture (OFA) - Compliant installation. The OUI will be guiding you through the process.
Enter the fully qualified name of the workstation or server with the desired database name as the prefix, when prompted for a Global Database Name. The OUI automatically assigns the Data Service Identifier (SID) as the name of the database you specified as the prefix in the Global Database name. For example, <sid name>.<hostname>.<dns domain name>. Note the SID for future reference. For example, if you enter vortex.machinename.domain.com as the global database name, then the SID is automatically assigned as vortex.
If you want to proceed with a typical install, skip to step #6 below.
- If you decide to do a custom install, choose the character set and national character set as being UTF8 and make it compatible with Oracle 8.1.0. For more information, see the "Oracle User Setup" section.
Select Oracle JServer and "Oracle interMedia" option, if not selected by default.
If you decide to do a typical install, Oracle creates a sample database by default. This is created with the character set as US7ASCII. Use the Oracle Database Assistant ($ORACLE_HOME/bin/dbassist) to drop the default database. Recreate it with the character set and the national character set as UTF8, and compatible with Oracle 8.1.0 or higher. To do this, perform the following steps at the end of the typical installs:Select "8.1.0" (or higher) for "Compatible Parameter", and make sure that you select "UTF8" for both "Character Set" and "National Character Set" options.
The iPlanet Market Maker application requires database to be created with a minimum db_block_size of 8K.
Start the Database Configuration Assistant from:
Choose Delete Database from the Assistant and delete the default database. The Assistant will request confirmation. Click OK to confirm your deletion of the database.
- (For Oracle 8i:)
- $ORACLE_HOME/bin/dbassist
- (For Oracle 9i:)
- $ORACLE_HOME/bin/dbca
Launch the Database Configuration Assistant again and choose Create Database now.
Select Custom for Database Type.
Select Oracle JServer and "Oracle interMedia" option, if not selected by default.
Select "8.1.0" (or higher) for "Compatible Parameter", and make sure that you select "UTF8" for both "Character Set" and "National Character Set" options.
The iPlanet Market Maker application requires database to be created with a minimum db_block_size of 8K.
This script sets the necessary file permissions for Oracle products and allows you to do other root-related configurations.
After the installation is complete, edit init<SID>.ora file in $ORACLE_BASE/admin/$ORACLE_SID/pfile and uncomment rollback segment.
Root User Setup
Set the following environment variables in the.profile or .cshrc file of the Oracle account.
LD_LIBRARY_PATH=$ORACLE_HOME/lib ORACLE_SID=(SID specific in the OUI)
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/product/jlib
To set a common environment for Oracle users, run the oraenv script if you are using Bourne or Korn shell or the coraenv script if you are using the C shell by including the following in your .profile or .cshrc file:
ORAENV_ASK=NO source $ORACLE_HOME/bin/coraenv
Oracle User Setup
In case of database creation using scripts, make sure that the database creation is done using "UTF8" as character set and national character set. Also, make sure that the initSID.ora parameter "compatible" is set (for Oracle 8i) to "8.1.0" or, for Oracle 9i, "9.0.0".
Make sure that you can connect to the database using net service name with sqlplus system/password@net_service.name before you start the installation. The installation process uses net service name to connect to the database.
Make sure that listener.ora and the tnsnames.ora have SID entry of "PLSExtProc" for interMedia option.
To note the net service name to use, view the $ORACLE_HOME/network/admin/tnsnames.ora file.
Previous Contents Index Next
Copyright © 2002 Sun Microsystems, Inc. All rights reserved.
Last Updated April 08, 2002