Skip Headers

Oracle9i Application Server Administrator's Guide
Release 2 (9.0.2)

Part Number A92171-02
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

2
Concepts for Administrators

This chapter introduces concepts for designing, installing, and managing an application server.

It contains the following topics:

Introduction

Oracle9i Application Server uses a three-tiered architecture as shown in Figure 2-1.

Figure 2-1 Oracle9iAS Three-Tiered Architecture

Text description of tier1.gif follows.

Text description of the illustration tier1.gif

To clients, the application server tier and database tier appear to be a single, ever-present entity that efficiently processes requests. In reality, the application server tier and database tier may contain many entities working together to create a seamless platform, as shown in Figure 2-2. There may be one installation of Oracle9iAS solutions, called an application server installation, on a single host, or multiple application server installations on multiple hosts. There may be a central source of user, security, and configuration information called an infrastructure. There may be databases in the database tier, called customer databases, that collect and process information for Oracle9iAS solutions.

Figure 2-2 Application Server Enterprise in the Three-Tiered Architecture

Text description of tier2.gif follows.

Text description of the illustration tier2.gif

This collection of application server installations, infrastructures, and customer databases is called an application server enterprise. The application server enterprise is the framework within which you design, install, and manage all of the features and solutions Oracle9i Application Server offers.

This chapter introduces the concepts and practices for managing an application server enterprise.

Application Server Installations

An application server installation (also called a middle-tier application server installation or middle-tier installation) is a set of Oracle9iAS solutions installed into a single Oracle home. The Oracle9iAS solutions in an application server installation are called components. Your enterprise can have one or more application server installations, residing on one host or distributed across multiple hosts.

Application Server Install Types

There are four types of application server installations, or install types, each providing a set of components. The install types are ordered, in that each contains all of the components in the previous install type, plus additional components. The install types are:

Table 2-1, "Oracle9iAS Install Types" shows which components are provided in each install type.

Table 2-1 Oracle9iAS Install Types  
Component J2EE and Web Cache Portal and Wireless Business Intelligence and Forms Unified Messaging

Oracle HTTP ServerFoot 1

YES

YES

YES

YES

Oracle9iAS Containers for J2EE

YES

YES

YES

YES

Oracle9iAS Web Cache

YES

YES

YES

YES

Oracle Enterprise Manager Web site

YES

YES

YES

YES

Oracle9iAS PortalFoot 2

no

YES

YES

YES

Oracle9iAS Wireless

no

YES

YES

YES

Oracle9iAS DiscovererFoot 3

no

no

YES

YES

Oracle9iAS Reports Services

no

no

YES

YES

Oracle9iAS Clickstream Intelligence

no

no

YES

YES

Oracle9iAS Forms Services

no

no

YES

YES

Oracle9iAS Personalization

no

no

YES

YES

Oracle9iAS Unified Messaging

no

no

no

YES

1 Oracle HTTP Server installs the following Oracle mods: mod_oc4j, mod_ossl, mod_proxy, DMS, FastCGI, HiAv Infrastructure, Oracle9iAS Java Object Caching, SOAP, DBI/DBD, Clickstream Collector Agent.
2 Oracle9iAS Portal installs Oracle Ultra Search and Oracle9i Syndication Server.
3 Oracle9iAS Discoverer installs Discoverer Viewer, Discoverer Plus, and Discoverer Portlet Provider.

See Also:

Appendix A, "Component Descriptions" for more information on each component

About Configuring Components

An application server installation contains the files necessary to support all of its components, but you do not have to configure all components.


Note:

The term configure can have one of two meanings, depending on the status of a component. The first time a component is configured, it is initially setup to run. After that, to configure a component means to tune component parameters. This chapter uses the term configure to mean the initial setup of a component.


The following components are automatically configured:

Other components can be configured at install time or any time after installation. Because some components depend on each other, there are a few guidelines for configuring them, as described in Table 2-2.

Table 2-2 Guidelines for Configuring Components  
If you configure: You should configure:

Oracle9iAS Clickstream Intelligence

Oracle9iAS Discoverer

Oracle9iAS Portal

Oracle9iAS Discoverer

Oracle9iAS Portal

Oracle9iAS Forms Services

Oracle Management Server

Note: Oracle Management Server is part of an infrastructure installation. See "The Oracle9iAS Infrastructure" for more information.

Oracle9iAS Reports Services

Oracle9iAS Portal

Oracle9iAS Wireless

Oracle9iAS Portal

Once you configure a component, it cannot be deconfigured, but you can remove its functionality by not starting it when you start the rest of the components in your installation.

The Oracle9iAS Infrastructure

An Oracle9iAS Infrastructure is a type of installation that provides centralized security and management services, configuration information, and data repositories for application server installations.

An infrastructure is installed into its own Oracle home and contains the following pieces:

When is an Infrastructure Required?

An infrastructure is required for most install types. The one exception is a J2EE and Web Cache installation that is not intended to use Single Sign-On or clustering. Clustering is an operation that involves joining application server installations together to share configuration parameters and application deployment.

See Also:

Chapter 14, "Application Server Clustering"

Table 2-3 summarizes the infrastructure requirements for application server install types. The infrastructure must be installed before any middle-tier application server installations that are going to use it.

Table 2-3 Infrastructure Requirements for Application Server Install Types  
Application Server Install Type Infrastructure Required?

J2EE and Web Cache (not using Oracle9iAS Single Sign-On or clustering)

No

J2EE and Web Cache (using Oracle9iAS Single Sign-On or clustering)

Yes

Portal and Wireless

Yes

Business Intelligence and Forms

Yes

Unified Messaging

Yes

How Infrastructure Pieces Work Together

The pieces of an infrastructure work together as follows:

Figure 2-3 shows the relationship between the pieces of an infrastructure. Note that all pieces of the infrastructure are installed into a single Oracle home.

Figure 2-3 Relationship Between Pieces of an Infrastructure

Text description of infraa.gif follows.

Text description of the illustration infraa.gif

How Application Server Installations Use An Infrastructure

Application server installations and their components use an infrastructure in the following ways:

Configuring an Application Server Installation to Use an Infrastructure

You can configure an application server installation to use an infrastructure at the following times:

Figure 2-1 shows the convention used throughout this book to depict an application server installation using an infrastructure. Note that the application server installation and the infrastructure are each installed into their own Oracle home and may reside on a single host or on separate hosts.

Figure 2-4 Application Server Installation Using an Infrastructure

Text description of relate2.gif follows.

Text description of the illustration relate2.gif

Customer Databases

Most Oracle9iAS components use schemas in the metadata repository. However, several components require their schemas to be co-resident with customer data in a specially-tuned database called a customer database. Customer databases are Oracle databases that reside on any system in your enterprise.

Components that Require a Customer Database

The following components require a customer database:

If you configure any of these components during installation, their setup and configuration will not be complete at the end of installation. You need to take additional steps to install and tune a customer database, load schemas into the database, and finish configuring the component to use the customer database.

If you configure any of these components after installation, you will take the same steps to install and tune a customer database, load schemas into the database, and configure the component to use the customer database.

Components that Can Use a Metadata Repository or Customer Database

The following components can use a metadata repository or a customer database:

If you configure either of these components during installation, they are automatically configured to use the metadata repository and are completely configured and running at the end of installation.

If you configure either of these components after installation, you can use the metadata repository or a customer database. If you use a customer database, you must install and tune the database and load schemas into it as part of the configuration.

Depiction of a Component Using a Customer Database

When you configure an individual component to use a customer database, it does not affect the rest of the components in the installation; they still use the metadata repository. Figure 2-5 shows the convention used throughout this book to depict a component using a customer database. In this figure, all components within the application server installation on Host 1 use the metadata repository on Host 2, except Clickstream, which uses a customer database on Host 3.

Figure 2-5 A Component Using a Customer Database

Text description of custdata.gif follows.

Text description of the illustration custdata.gif

Sample Application Server Enterprises

This section shows sample application server enterprises that illustrate the configuration options discussed in this chapter.

Figure 2-6 depicts the simplest application server enterprise: a single J2EE and Web Cache installation with no infrastructure. This installation cannot use Single Sign-On or clustering; however, it is a fully functional J2EE platform with caching capabilities.

Figure 2-6 Single J2EE and Web Cache Installation

Text description of samp1.gif follows.

Text description of the illustration samp1.gif

Figure 2-7 depicts two application server installations on one host. In this design, both install types are J2EE and Web Cache that do not use Single Sign-On or clustering, so no infrastructure is required. Note that you can mix different install types on the same host. For example, you can install J2EE and Web Cache and Portal and Wireless on the same host.

Figure 2-7 Two J2EE and Web Cache Installations

Text description of samp2.gif follows.

Text description of the illustration samp2.gif

Figure 2-8 shows two J2EE and Web Cache installations on a single host and both use an infrastructure on another host. These application server installations can use Single Sign-On services and clustering because they are associated with an infrastructure. Note that the infrastructure could be on the same host as the J2EE and Web Cache installations, with all three installations using a different Oracle home.

Figure 2-8 Two J2EE and Web Cache Installations with an Infrastructure

Text description of samp3.gif follows.

Text description of the illustration samp3.gif

Figure 2-9 shows that two different install types can exist on the same host. Host 1 contains a J2EE and Web Cache installation and a Portal and Wireless installation. It also shows that installations on multiple hosts can use the same infrastructure. The installations on Host1 and Host 3 all use the same infrastructure on Host 2.

Figure 2-9 Installations on Multiple Hosts Using the Same Infrastructure

Text description of samp5.gif follows.

Text description of the illustration samp5.gif

Figure 2-10 depicts a single component using a customer database. In this design, all components in the application server installations on Host 1 and Host 3 use the metadata repository on Host 3, except the Clickstream component on Host 2. Clickstream uses the customer database on Host 4.

Figure 2-10 Component Using a Customer Database

Text description of samp6.gif follows.

Text description of the illustration samp6.gif

Designing an Application Server Enterprise

This section describes the following steps for designing an application server enterprise:

Step 1: Choose Your Application Server Install Types

Determine which of the following application server install types you would like to install:

Remember, you can start with a single installation and add more installations later.

Step 2: Choose Which Components to Configure

Choose the components you would like to configure. You do not need to configure all components at install time because you can configure components after installation. Also, if you want to use Oracle9iAS Clickstream Intelligence or Oracle9iAS Portal with a customer database, do not configure them during installation; configure them after installation.

Step 3: Determine Your Infrastructure Requirements

If you intend to use any of the following install types, you require an infrastructure:

You must configure Oracle9iAS Single Sign-On, Oracle Internet Directory, and the metadata repository in your infrastructure. If you intend to use Oracle Enterprise Manager Console, Oracle9iAS Forms Services, or Oracle9iAS Interconnect you should also configure Oracle Management Server.

See Also:

It is possible to leverage from an existing Oracle Internet Directory in your enterprise. Refer to Oracle Internet Directory Administrator's Guide before proceeding with these steps.

Step 4: Choose Your Hosts

Choose the hosts you will use for application server installations and, optionally, an infrastructure. The following guidelines apply to choosing a host:

Step 5: Determine Your Customer Database Requirements

If you intend to configure any of the following components, you must provide a customer database:

If you intend to configure the following components, you can configure them to use a metadata repository during installation or you can configure them to use a customer database after installation:

Customer databases can be databases that already exist in your data center, or can be newly installed for use with the application server. In either case, you must make sure that they allow remote access by SYS so components can load data into them. They must be the appropriate version and be properly tuned for the component they support.

See Also:

Some components require an Oracle9i database and some will work with an Oracle8i database. See component administration guides for information on customer database requirements.

Step 6: Draw Your Application Enterprise Design

After completing the preceding steps, you should be able to draw an application server enterprise design similar to the ones shown in this chapter. You are now ready to install your application server enterprise.

Installing an Application Server Enterprise

The Oracle Universal Installer guides you through installing and configuring your application server enterprise. This section discusses rules and concepts you should be familiar with before installing an application server, including:

Oracle Homes

The following rules apply to Oracle homes used by application server installations and infrastructures:

Coexistence With Other Products

This section describes how application server installations and infrastructures can coexist with other products on the same system:

Port Allocation

The application server automatically assigns port numbers for many services during installation. It chooses port numbers from a set of default port numbers and port ranges.

See Also:

Appendix D, "Default Port Numbers and Port Ranges"

During installation, the application server assigns unique port numbers in the following ways:

Despite this strategy, a port conflict may still occur between the application server and a non-Oracle9iAS process that was not running during the application server installation. Oracle recommends that you review the application server port numbers assigned during installation to determine if there are any port conflicts with the rest of your system.

See Also:

"Task 2: Check for Port Conflicts"

Primary and Secondary Installations

If you install multiple application server installations and infrastructures on one host, the first installation is called the primary installation. All succeeding installations on that host are called secondary installations.

Primary installations are unique because they contain the configuration information and password for Enterprise Manager Web site, the Oracle9iAS management tool. When you install a primary installation, you are asked to set the ias_admin password. The ias_admin user is required to use the Enterprise Manager Web site. The ias_admin password is the same for all installations on one host and you must supply it when you install any secondary installations on a host.

See Also:

"About the Oracle Enterprise Manager Web Site" for more information

About Infrastructure Association

Once a middle-tier installation is associated with an infrastructure, all subsequent middle-tier installations on the same host will be associated with that infrastructure. This section describes some possible scenarios:

Managing an Application Server Enterprise

Once you have installed your application server, you can start managing it. This section introduces the entities that play a primary role in managing the application server. These entities are discussed throughout this book and are as follows:

Application Server Instances

An application server instance is the set of processes required to run the configured components within an application server installation. There can only be one application server instance per application server installation. The terms installation and instance are sometimes used interchangeably; however, it is important to remember that an installation is the set of files installed into an Oracle home and an instance is the set of processes associated with those files.

All application server instances have a name, which you set during installation. You can use this name to identify the instance when using the Oracle9iAS management tools. The hostname is appended to the name you supply to form the instance name. For example, if you assign the name ias1 to an instance on host myserver.mycompany.com, the instance name is ias1.myserver.mycompany.com.

Component Instances

A component instance is the set of processes required to run a component within an application server instance. When you configure a component, either during installation or after installation, one or more component instances are created that you can use to start, stop, and manage the component. This section contains the following two tables that describe component instances:

Farms

A farm is a set of one or more application server instances that use the same metadata repository. Exactly one farm is associated with a metadata repository and it has a name of the form host.port.sid, where host is the fully qualified name of the host on which the metadata repository resides, port is the metadata repository listener port, and sid is the metadata repository service id. An example of a farm name is myserver.mycompany.com.1521.iasdb.

The main purpose of a farm is that it designates a set of application server instances that share a repository of configuration and deployment information within the same metadata repository, and are therefore eligible to be clustered together. Clustered instances must share configuration and application information, and membership in a farm enables instances to share information.

Clusters

A cluster is a collection of application server instances with identical configuration parameters and application deployment. Clusters enforce homogeneity between member instances so that a cluster of application server instances appears and functions as a single instance. With appropriate front-end load balancing, any instance in a cluster can serve client requests. Only J2EE and Web Cache install types can be clustered.

See Also:

Chapter 14, "Application Server Clustering" for more information

Reconfiguring an Application Server Enterprise

Once your application server is up and running, you may find you need to reconfigure it to provide more functionality or increase its capacity. You can reconfigure your application server in the following ways:


Go to previous page Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index