| Oracle® Application Server 10g Quick Installation and Upgrade Guide 10g (9.0.4) for hp Tru64 UNIX Part Number B13663-01 |
|
Quick Installation and Upgrade Guide
Part No. B13663-01
April 2004
Oracle recommends reviewing the Oracle Application Server 10g Installation Guide and the Oracle Application Server 10g Release Notes before installing Oracle Application Server in a production environment or if there is an existing Oracle software installation on the computer
This Oracle Application Server Quick Installation Guide describes procedures for installation for the following Oracle Application Server installation types:
Table 1 shows the contents of the Oracle Application Server Quick Installation Guide:
|
Note:
If you are installing on a computer with an existing Oracle home, Oracle recommends that you read the Oracle Application Server 10g Installation Guide before installation. To determine whether an Oracle installation exists, check whether the |
This section describes pre-installation requirements for installation of Oracle Application Server. Oracle recommends that you review and complete the tasks listed in the following sections:
Check that your computer meets the following disk space and memory requirements:
The installer may display inaccurate disk space requirement figures. Refer to the figures listed above for disk space requirements.
# prtconf | grep Memory
prompt> df -k dir.
Replace dir with the Oracle home directory or with the parent directory if the Oracle home directory does not exist yet. For example, if you plan to install Oracle Application Server in /opt/oracle/infra, you can replace dir with /opt/oracle or /opt/oracle/infra.
# /sbin/swapon -s
If necessary, see your operating system documentation for information on how to configure additional swap space.
Complete the following steps before installing Oracle Application Server on Tru64 UNIX systems:
# /usr/sbin/sizer -v Compaq Tru64 UNIX V5.1B (Rev. 2650); Mon Nov 3 10:13:28 PST 200
In this example, the version shown is V5.1B. If necessary, see your operating system documentation for information on upgrading the operating system.
# /usr/sbin/setld -i JAVA142 | more
If Java SDK 1.4.2 is installed, this command displays the paths to all of the installed files. Note the path of the Java home directory, for example /usr/opt/java142. You must specify this value during the installation and in the next step of this procedure.
If this command returns the message Unknown subset, Java SDK 1.4.2 is not installed. Proceed to step c below.
# java_home/bin/java -fullversion
If Java SDK 1.4.2-3 is installed, the following message appears:
java full version "1.4.2-3"
If the version is older than Java SDK 1.4.2-3, proceed to step c below.
http://h18012.www1.hp.com/java/download/unix/1.4.2/index.html
# /usr/sbin/setld -i | more
The required software subsets are:
OSFCMPLRS OSFLIBA OSFPGMR OSFSER OSFX11
If necessary, install the required software subset. If you require the Compaq C Compiler V6.5-207 (dtk), you can download it from the following Web site:
http://www.tru64unix.compaq.com/dtk/
# /usr/sbin/dupatch -track -type kit
The required patches are:
T64V51BB22AS0002-20030415
T64KIT0021665-V51BB22-E-20040220
T64KIT0021681-V51BB22-E-20040223
T64KIT0019662-V51BB22-E-20030818
T64KIT0020879-V51BB22-E-20031125
If this command does not display the identifiers shown in the previous list for the required patch kits (or the identifier for a higher patch kit level), download the latest patch kit from the following Web site and install it (registration is required to access this Web site):
http://itrc.hp.com/service/patch/mainPage.do
http://h18012.www1.hp.com/java/download/unix/1.4.2/index.html
Create a local operating system group to own the product files. You can use any name for the group, this guide uses the name oinstall. To create the oinstall group, enter the following as the root user:
# /usr/sbin/groupadd oinstall
For more information about operating system users and groups, see your operating system documentation or contact your system administrator.
This section applies only if you are installing the Portal and Wireless Developer Topology.
Create two groups dba and oper using the following commands:
# /usr/sbin/groupadd dba
# /usr/sbin/groupadd oper
You can use any name for the user, this guide uses the name oracle. This user must belong to the oinstall operating system group.
If you installing a Portal and Wireless Developer topology you must also add this user to the dba and oper operating system groups.
To create the oracle operating system user for the Java Developer topology, enter the following command as the root user:
# /usr/sbin/useradd -g oinstall oracle
To create the oracle operating system user for the Portal and Wireless Developer topology, enter the following command as the root user:
# /usr/sbin/useradd -g oinstall -G dba,oper oracle
For more information about operating system users and groups, see your operating system documentation or contact your system administrator.
Set the password for the oracle user by entering the following command and follow the instructions on screen:
# passwd oracle
Check the values of the environment variables shown in Table 2 when logged in as the oracle user.
This section is applicable only if you are installing a Portal and Wireless Developer topology. You will be installing a database for the OracleAS Metadata Repository.
Verify that the kernel parameters shown in the following table are set either to the formula shown, or to values greater than or equal to the recommended value shown. The procedures following the table describe how to verify and set the values.
|
Sub- system |
Attribute | Recommended Value |
|---|---|---|
|
ipc |
shm_max |
4278190080 (4 GB minus 16 MB) |
|
shm_min |
1 |
|
|
shm_mni |
256 |
|
|
shm_seg |
256 |
|
|
ssm_threshold |
Set this attribute to 0 only if the rad_gh_regions[n] or gh_chunks attributes are set in the vm subsystem. Otherwise, do not change the value. |
|
|
msg_mnb |
360000 |
|
|
msg_mni |
2800 |
|
|
msg_tql |
2540 |
|
|
sem_mni |
52 |
|
|
sem_msl |
25 |
|
|
sem_opm |
12 |
|
|
sem_ume |
42 |
|
|
|
per_proc_stack_size |
8388608 (8 MB)Foot 1 |
|
max_per_proc_stack_size |
67108864 (64 MB)1 |
|
|
per_proc_data_size |
335544320 (320 MB) |
|
|
max_per_proc_data_size |
2147483648 (2 GB) |
|
|
max_per_proc_address_space |
Equal to the size of RAM or 1073741824 (1 GB), whichever is larger. |
|
|
per_proc_address_space |
Equal to the size of RAM or 1073741824 (1 GB), whichever is larger. |
|
|
max_proc_per_user |
2566 |
|
|
max_threads_per_user |
8192 |
|
|
vfs |
fifo_do_adaptive |
0 |
|
vm |
new_wire_method |
0 |
|
rdg |
msg_size |
32768 |
|
max_objs |
5120 |
|
|
max_async_req |
256 |
|
|
max_sessions |
500 (or at least 20 plus the value of the PROCESSES initialization parameter for all databases on the system, if this value is higher.) |
|
|
rdg_max_auto_msg_wires |
0 |
|
|
rdg_auto_msg_wires |
0 |
|
|
rt |
aio_task_max_num |
8193 |
|
1
The maximum value supported by Oracle for this parameter is 512 MB. |
To view the current value specified for these kernel parameters, and to change them if necessary, follow these steps:
# /sbin/sysconfig -q subsystem
For example, to view attribute values for the ipc subsystem, enter the following command:
# /sbin/sysconfig -q ipc
/etc/sysconfigtab file, for example:
# cp /etc/sysconfigtab /etc/sysconfigtab.orig
ipc: shm_max = 4278190080 shm_min = 1 shm_mni = 256 shm_seg = 128 msg_mnb = 360000 msg_mni = 2800 msg_tql = 2540 sem_mni = 52 sem_msl = 25 sem_opm = 12 sem_ume = 42 proc: per_proc_stack_size = 8388608 max_per_proc_stack_size = 67108864 per_proc_data_size = 201326592 max_per_proc_data_size = 2147483648 max_per_proc_address_space = 4294967296 per_proc_address_space = 4294967296 max_proc_per_user = 2566 max_threads_per_user : 8192
/etc/sysconfigtab file:
# /sbin/sysconfigdb -m -f filename
In this example, filename is the name of the file you created in step b.
# /sbin/shutdown -r now
This section is applicable only if you are installing a Portal and Wireless Developer topology.
If you have other applications listening on port 1521, you may need to configure them so that they listen on a different port.
Verify whether port 1521 is in use by an application on your computer with the following command:
prompt> netstat -an | grep 1521
Review the output to verify if port 1521 is in use.
If port 1521 is in use by your OracleAS Metadata Repository, then you may share the port with your installation of Portal and Wireless. Refer to the Oracle Application Server 10g Installation Guide for documentation on sharing ports.
If port 1521 is in use by a third-party application, you need to configure the application to use a different port. Refer to the Oracle Application Server 10g Installation Guide or third-party documentation for information on sharing ports.
Oracle CD-ROMs are in ISO 9660 format with Rockridge extensions. The DVD is in DVD-ROM format.
On UNIX systems, mounting or unmounting the disc manually requires root privileges. Unmount the disc before removing it from the drive, using the unmount command.
To check whether the disc mounted automatically, enter the following command:
# ls /cdrom
If the disc is not mounted, you must mount the disc manually.
In the following instructions, the disc mount point is referred to as /cdrom. If your mount point is different, substitute the correct mount point name for all references to cdrom.
To mount the disc manually:
root user and create a disc mount point directory accessible by all users:
% su Password: # mkdir /cdrom # chmod 777 /cdrom
# /usr/sbin/mount -t cdfs -o nodefperm,noversion \
/dev/disk/cdrom0c /cdrom
# exit
oracle user. If you switched to the oracle user using the "su - oracle" command, check the values of the environment variables again because the variables are not passed to the oracle user.
CD-ROM users enter:
prompt> cd prompt> /cdrom/runInstaller
DVD users enter:
prompt> cd prompt> /cdrom/application_server/runInstaller
This section describes how to install these two Oracle Application Server topologies:
These topologies are intended for development environments. See the Oracle Application Server 10g Installation Guide for additional topologies, including deployment topologies. Oracle recommends reviewing the Oracle Application Server 10g Installation Guide to verify coexistence of Oracle Application Server components for your deployment topology.
A Java Developer topology consists of a J2EE and Web Cache instance, on which you can deploy and run J2EE applications.
Perform the following procedure to install a J2EE and Web Cache instance:
Enter the full destination path for the inventory directory: Enter the full destination path for the directory where you want the installer to store its files. Enter a directory that is different from the Oracle home directory.
Example: /opt/oracle/oraInventory
Click OK.
Enter the name of the operating system group to have write permission for the inventory directory.
Example: oinstall
Click Next.
oraInventory directory.
Click Continue.
Name: Enter a name to identify this Oracle home.
Example: OH_J2EE_904
Destination Path: Enter the full path to the destination directory. This is the Oracle home directory.
Example: /opt/oracle/OraJ2EE_904
If the destination directory does not exist, Oracle Universal Installer creates it.
If you want to create the destination directory beforehand, create it as the oracle user; do not create it as the root user.
Click Next.
For information on installing Oracle Application Server in a clustered environment, see the Oracle Application Server 10g Installation Guide.
If you want to continue this installation, select Single Node Installation and click Next.
Select OracleAS Web Cache if you want to use caching capabilities with this Oracle Application Server instance.
Do not select Identity Management Access.
Do not select OracleAS Database-Based Cluster.
Do not select OracleAS File-Based Cluster.
Click Next.
Instance Name: Enter a name for this instance. If you have more than one Oracle Application Server instance on a computer, the instance names must be unique.
Example: J2EE_904
ias_admin Password and Confirm Password: Enter and confirm the password for the ias_admin user. This is the administrative user for this instance.
Passwords must consist of at least five characters, and one of the characters must be a number.
Click Next.
Enter the full path to the Java SDK 1.4.2-3 (or higher) installation.
Click Next.
Verify your selections and click Install.
Oracle Universal Installer is now installing the files and configuring Oracle Application Server components. This may take a while.
In a different window, login as the root user and run the root.sh script. The script is located in this instance's Oracle home directory. After the root.sh script has completed, click OK on the Run root.sh dialog.
The Configuration Assistants screen display shows the progress of the configuration assistants. The Configuration Assistants configure Oracle Application Server components.
Click Exit to quit the installer.
In this topology, you install a Portal and Wireless middle tier, which enables you to deploy applications that use components such as OracleAS Portal and OracleAS Wireless. The Portal and Wireless middle tier requires an OracleAS Infrastructure 10g, which you will install before installing the Portal and Wireless middle tier.
This procedure installs an infrastructure with a new database and a new Oracle Internet Directory.
Enter the full destination path for the inventory directory: Enter the full destination path to the directory where you want the installer to store its files. Enter a directory that is different from the Oracle home directory.
Example: /opt/oracle/oraInventory
Click OK.
Enter the name of the operating system group to have write permission for the inventory directory.
Example: oinstall
Click Next.
oraInventory directory.
Click Continue.
Name: Enter a name to identify this Oracle home.
Example: OH_INFRA_904
Destination Path: Enter the full destination path to the Oracle home directory.
Example: /opt/oracle/OraInfra_904
If the destination directory does not exist, Oracle Universal Installer creates it.
If you want to create the destination directory beforehand, create it as the oracle user; do not create it as the root user.
Click Next.
For information on installing Oracle Application Server in a clustered environment, see the Oracle Application Server 10g Installation Guide.
If you want to continue this installation, select Single Node Installation and click Next.
Refer to Section 2.8, "Check Port Use" to verify availability of port 1521.
Select Oracle Internet Directory.
Select OracleAS Single Sign-On.
Select Oracle Delegated Administration Services.
Select Oracle Directory Integration and Provisioning.
Do not select OracleAS Certificate Authority.
Do not select High Availability Addressing.
Click Next.
This screen appears if you are running the installer as a user who is not in the dba operating system groups.
Database Administrator (OSDBA) Group: Enter the name of an operating system group that you belong to.
Example: dbadmin
Database Operator (OSOPER) Group: Enter the name of an operating system group that you belong to.
Example: dbadmin
Click Next.
Global Database Name: Enter a name for the OracleAS Metadata Repository database, and append the domain name of your computer to the database name.
Example: asdb.acme.com
SID: Enter the system identifier for the OracleAS Metadata Repository database. Typically this is the unique global database name, but without the domain name. The SID must be unique across all databases.
Example: asdb
Click Next.
Click Next.
Enter or select a directory for database files: Enter the directory where you want the installer to create data files for the OracleAS Metadata Repository database.
Example: /data_partition/ias_dbfiles/
Click Next.
Click Next.
Instance Name: Enter a name for this instance. If you have more than one Oracle Application Server instance on a computer, the instance names must be unique.
Example: INFRA_904
ias_admin Password and Confirm Password: Enter and confirm the password for the ias_admin user. This is the administrative user for this instance.
Passwords must consist of at least five characters, and one of the characters must be a number.
Click Next.
Enter the full path to the Java SDK 1.4.2-3 (or higher) installation.
Click Next.
Verify your selections and click Install.
Oracle Universal Installer is now installing the files and configuring Oracle Application Server components. This may take a while.
In a different window, login as the root user and run the root.sh script. The script is located in this instance's Oracle home directory. After the root.sh script has completed, click OK on the Run root.sh dialog.
Click Exit to quit the installer.
This procedure installs a Portal and Wireless instance and configures it to use the infrastructure installed in Section 3.2.1, "Installing an OracleAS Infrastructure 10g".
Name: Enter a name to identify a new Oracle home.
Example: OH_PORTAL_904
Destination Path: Enter the full destination path to the Oracle home directory.
Example: /opt/oracle/OraPortal_904
If the destination directory does not exist, Oracle Universal Installer creates it.
If you want to create the destination directory beforehand, create it as the oracle user; do not create it as the root user.
Click Next.
For information on installing Oracle Application Server in a clustered environment, see the Oracle Application Server 10g Installation Guide.
If you want to continue this installation, select Single Node Installation and click Next.
Select OracleAS Portal.
Select OracleAS Wireless.
Click Next
Hostname: Enter the name of the computer where Oracle Internet Directory is running.
Port: Enter the port number at which Oracle Internet Directory is listening. To determine Oracle Internet Directory's port number, look in the portlist.ini file located in the ORACLE_HOME/install directory of the infrastructure.
If you select Use only SSL connections with this Oracle Internet Directory, then you must obtain the port number from Oracle Internet Directory (SSL) parameter in the portlist.ini file.
Click Next.
Username: Enter orcladmin. This is the name of the Oracle Internet Directory administrator.
Password: The password for orcladmin is the same as the password for the ias_admin user in the infrastructure. You entered this password when you installed the infrastructure (see step 13 in Section 3.2.1, "Installing an OracleAS Infrastructure 10g").
Click Next.
Repository: Select the OracleAS Metadata Repository that you want to use for this middle tier instance and click Next.
Instance Name: Enter a name for this instance. If you have more than one Oracle Application Server instance on a computer, the instance names must be unique.
Example: PORTAL_904
ias_admin Password and Confirm Password: Enter and confirm the password for the ias_admin user. This is the administrative user for this instance.
Passwords must consist of at least five characters, and one of the characters must be a number.
Click Next.
Enter the full path to the Java SDK 1.4.2-3 (or higher) installation.
Click Next.
Verify your selections and click Install.
Oracle Universal Installer is now installing the files and configuring Oracle Application Server components. This may take a while.
In a different window, login as the root user and run the root.sh script. The script is located in this instance's Oracle home directory. After the root.sh script has completed, click OK on the Run root.sh dialog.
The Configuration Assistants screen display shows the progress of the configuration assistants. The Configuration Assistants configure Oracle Application Server components.
Click Exit to quit the installer.
After installation, access the Oracle Application Server Welcome page to verify that the installation was successful. The URL for the Welcome page is:
http://hostname:http_port
Determine the http_port by looking in the portlist.ini file, located in the ORACLE_HOME/install directory. The http_port is listed on the "Oracle HTTP Server listen port" line.
The Welcome page provides links to these useful pages:
If you want to install the OracleAS Metadata Repository in an existing Oracle database, you can run a tool called the Oracle Application Server Repository Creation Assistant (OracleAS RepCA). This tool loads the OracleAS Metadata Repository data into an existing database.
You can find the OracleAS RepCA and associated documentation in the Installing the Oracle Application Server Metadata Repository into an Existing Database document on the "Oracle Application Server Metadata Repository Creation Assistant" CD-ROM.
This section describes how to upgrade the J2EE and Web Cache installation type, and the OracleAS Portal component of the Portal and Wireless installation type from Release 2 (9.0.2) or Release 2 (9.0.3) to Oracle Application Server 10g (9.0.4).
This section does not explain how to upgrade the OracleAS Portal schema in the Infrastructure.
This section also includes instructions for using the Oracle Application Server Upgrade Assistant (OracleAS Upgrade Assistant), a tool that automates much of the upgrade process.
This section features the following topics:
In Section 5, references to Oracle homes use the following conventions:
<source_MT_OH>.
<desination_MT_OH>.
Before upgrading, perform the tasks in the following sections:
Before upgrading, you must install Oracle Application Server 10g (9.0.4). Select the J2EE and Web Cache or Portal and Wireless installation type during Oracle Application Server 10g (9.0.4) installation. The upgrade cannot take place unless there is a destination Oracle Application Server instance. (Do not install a new infrastructure.)
The installation type of the source instance must match the installation type of the destination instance. The source and destination Oracle Application Server instance must exist on the same computer. If the source instance uses an infrastructure, the destination instance must use the same Oracle Internet Directory and Metadata Repository. (Do not install a new infrastructure.) The 9.0.4 installation should use the same oraInventory directory as the source 9.0.2 installation.
This procedure enables you to upgrade a J2EE and Web Cache instance:
<source_MT_OH>/bin/emctl stop<destination_MT_OH>/bin/emctl stop iasconsole
<source_MT_OH>/opmn/bin/opmnctl stopall<source_MT_OH>/webcache/bin/webcachectl stop<destination_MT_OH>/opmn/bin/opmnctl stopall
<destination_MT_OH>/upgrade/iasua.sh
Select the source J2EE and Web Cache Oracle home from the drop-down list and click Next.
Click OK.
Ensure that all the requirements are met, and check all checkboxes then click Next.
Click Finish to start the upgrade processing.
Click OK.
Follow the steps below to upgrade the Portal and Wireless middle tier.
<source_MT_OH>/bin/emctl stop<destination_MT_OH>/bin/emctl stop iasconsole
<source_MT_OH>/opmn/bin/opmnctl stopall<source_MT_OH>/webcache/bin/webcachectl stop<destination_MT_OH>/opmn/bin/opmnctl stopall
<destination_MT_OH>/upgrade/iasua.sh
Click Next.
Select the Portal and Wireless source Oracle home from the drop-down list and click Next.
Click OK.
Ensure that all the requirements are met, and check all checkboxes. Click Next.
Click Finish to start the upgrade processing.
Click OK.
For more information, see these Oracle resources:
Printed documentation is available for sale in the Oracle Store at:
http://oraclestore.oracle.com/
You can also contact your Oracle representative to purchase printed documentation.
To download free release notes, installation documentation, white papers, or other collateral, visit the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and can be done at
http://otn.oracle.com/membership/index.htm
If you already have a username and password for OTN, then you can go directly to the documentation section of the OTN Web site at
http://otn.oracle.com/docs/index.htm
If you purchased Oracle Product Support, you can call Oracle Support Services for assistance. Oracle Support Services include phone assistance, version updates and access to our service offerings. You have access to phone support 24 hours a day, 7 days a week. In the U.S.A., you can call Product Support at 1-800-223-1711.
Make sure you have your CSI (CPU Support Identifier) number ready when you call. (Keep the CSI number for your records, because it is your key to Oracle Support Services.) The Oracle Store sends the CSI number to you in an e-mail alert when it processes your order. If you do not have your CSI number and you are in the U.S.A., you can look up your CSI number by accessing our online Order Tracker which provides detailed order information. Go to the Oracle Store and click on Order Tracker located above the top navigation bar.
For Oracle Support Services locations outside the U.S.A., call your local support center for information on how to access support. To find the local support center in your country, visit the Support Web Center at:
http://www.oracle.com/support.
At the Support Web Center you will find information on Oracle Support Services, such as:
With Oracle Product Support, you have round-the-clock access to OracleMetaLink, Oracle Support Services premier Web support offering. OracleMetaLink offers you access to installation assistance, product documentation, and a technical solution knowledge base.
It has technical forums, where you can post questions about your Oracle products and receive answers from Oracle Technical Support Analysts and other Oracle users. The questions and answers remain posted for the benefit of all users.
OracleMetaLink options include:
You can access OracleMetaLink at:
If you do not have a currently supported license, you can purchase the most recent version of an Oracle product from the Oracle Store (http://oraclestore.oracle.com).
If you do have a currently supported license, you can place non-urgent requests for version update shipments through the iTAR feature on OracleMetaLink. You will need to log the iTAR type as a U.S. Client Relations/Non-Technical Request.
You can also request Version Update shipments in the U.S.A. by calling Client Relations. When requesting a Version Update, provide the following information to the Client Relations Analyst:
Outside the U.S.A., call your local Oracle Support Center.
For information on our Premium Services, including onsite support, OracleGOLD, OraclePLATINUM, remote services, and upgrade packages, visit the Support Web Center at http://www.oracle.com/support or call your Support Sales Representative in the U.S.A at 1-800-833-3536.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at:
http://www.oracle.com/accessibility/
JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.
Copyright © 2004 Oracle. All Rights Reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
|
|
![]() Copyright © 2004 Oracle. All Rights Reserved. |
|