Skip Headers

Oracle9i Application Server Certified Configuration Deployment and Cloning Guide
Release 2.0.6.0.1 for Solaris Operating Environment (SPARC 64-bit)
Part No. B12185-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous Next  

B Administering Oracle9i Application Server CC

This section contains information about administrative tasks for Oracle9i Application Server Certified Configuration (Oracle9iAS CC).

Environment Setup

Oracle9iAS CC generates an environment setup script in the path, $HOME/profile.iascc_env. You can use this script to set up environment variables required for Oracle9iAS CC. You must use the Korn shell to run the script.

To run the environment setup script, and enter the following command:

$. $HOME/profile.iascc_env

If your system has only one ORACLE_HOME, then the script will set up the environment for that ORACLE_HOME.

If your system has multiple Oracle homes, then the script lists all of the available Oracle homes, and prompts you to select the one for which you want to set up the environment.

If you choose to set up an environment during login, then you can provide a link to the profile.iascc_env script in $HOME/.bash_profile file or $HOME/.profile file, so that the environment will be set each time that you log in.


Note:

Do not use the profile.iascc_env script to set up an environment for the Oracle9i Release 2 (9.2.0.x) database. To set up an environment for the Oracle9i database, you must use the environment script at $HOME/.profile.oradb to set up the Oracle9i database environment. This file is available for use after you install Oracle9i Certified Configuration Release 9.2.0.x database.

Starting and Stopping Oracle9iAS Services

After you set up the environment for an Oracle9iAS ORACLE_HOME as described in Environment Setup, you can start or stop Oracle9iAS services.

To start all Oracle9iAS services in an ORACLE_HOME, use the following command:

$ORACLE_CC_ROOT/etc/rc.oracle/startias.sh ORACLE_HOME

In the example above, the variable ORACLE_HOME is the full path of the ORACLE_HOME directory in which you want to start the Oracle9iAS services.

To stop all Oracle9iAS services in an ORACLE_HOME, use the following command:

$ORACLE_CC_ROOT/etc/rc.oracle/stopias.sh ORACLE_HOME

In the example above, the variable ORACLE_HOME is the full path of the ORACLE_HOME directory in which you want to stop the Oracle9iAS services.

Table B-1, "Components Started by Default on Oracle9iAS Middle-Tier" lists the components started by default on the Oracle9iAS server.

Table B-1 Components Started by Default on Oracle9iAS Middle-Tier

Component J2EE and Web Cache Portal and Wireless Business Intelligence and Forms
Web Cache Yes Yes Yes
OHS Yes Yes Yes
OC4J Home Instance Yes Yes Yes
OC4J Portal Instance No Yes Yes
OC4J Wireless Instance No Yes Yes
OC4J BI_Form No No Yes
Instance Discoverer No No Yes
Oracle Application Interconnect (if configured) Yes Yes Yes

Table B-2 Components Started by Default on Oracle9iAS Infrastructure

Components Metadata Database Only OiD and SSO Only Complete Infrastructure
Net Listener Yes No Yes
Metadata Database Yes No Yes
Directory Server No Yes Yes
OHS (for SSO) No Yes Yes
OC4J DAS Instance No Yes Yes


Note:

The OC4J demo instance is not started by the startias.sh script.

To start the OC4J demo, log in as the user who owns the Oracle9iAS ORACLE_HOME.

Using the following command, open the Oracle9iAS profile file to set the environment:

$ . $HOME/profile.iascc_env

Select the ORACLE_HOME that you just configured. Use the following command to start the OC4J Demos:

$ $ORACLE_HOME/dcm/bin/dcmctl start -co OC4J_Demos



Note:

The stopias.sh script does not stop Oracle Enterprise Manager because it requires a password to stop. You must stop the Oracle Enterprise Manager process manually in the appropriate Oracle home.

In addition, Oracle Enterprise Manager is started if the current ORACLE_HOME contains an active Enterprise Manager deployment.

If you want to start Oracle9iAS services automatically on system reboot, then you must put the start command in the system startup script. Ensure that you started Oracle9iAS Infrastructure processes (database, Net listener, Oracle Internet Directory (OiD), Oracle Single Sign-On (SSO)) before you start the Middle-Tier.


See Also:

If you want to start or stop individual components, then refer to Oracle9i Application Server Administrator’s Guide Release 2 (9.0.2), which is available at the following Web site:

>http://iasdocs.us.oracle.com/iasdl/doc/core.902/a92171/toc.htm


Sequence of Starting and Stopping the Oracle9i Application Server Processes

To start or stop the complete instance of Oracle9i Application Server, the instructions in the following sections.

For a Two-Tier Deployment

Stop and start Oracle9i Application Server in the following sequence:

  1. Stop the Oracle9i Application Server mid-tier components Oracle home on the middle-tier.

  2. Stop the Infrastructure mid-tier Oracle home on the middle-tier (OiD/SSO).

  3. Stop the Infrastructure database-tier Oracle home components in the database-tier.

  4. Start the Infrastructure database-tier Oracle home components in the database-tier.

  5. Start the Infrastructure mid-tier Oracle home on the middle-tier (OiD/SSO).

  6. Start the Oracle9i Application Server mid-tier components Oracle home on the middle-tier.

For a Single-Tier Deployment

Stop and start Oracle9i Application Server in the following sequence:

  1. Stop the Oracle9i Application Server mid-tier components Oracle home

  2. Stop the Infrastructure Oracle home

  3. Start the Infrastructure Oracle home

  4. Start the Oracle9i Application Server mid-tier components Oracle home

Using Enterprise Manager Web Site

The Oracle Enterprise Manager Web site (EMD) provides Web-based management tools designed specifically for Oracle9iAS. Using the Web site, you can monitor and configure the components of your Oracle9iAS installations. You can deploy applications, manage security, and create and manage Oracle9iAS clusters.

Ensure that the Enterprise Manager Web site is running by entering the following command in the Oracle9iAS ORACLE_HOME with the active Enterprise Manager deployment:

$ emctl status

If the Enterprise Manager Web site is running, then it returns the following message:

EMD is up and running: 200 OK

If the Enterprise Manager Web site is not running, then use the following command to start it:

$ emctl start

After Enterprise Manager is started, use the following procedure to log in to the Enterprise Manager Web site:

  1. Enter the following address in your Web browser:

    http://hostname:portnumber/
    
    

    where the variable hostname is the name of the Oracle9iAS server, and the port number is the port number of the Enterprise Manager Web site. By default, that port number is 1810.

    For example, if you install Oracle9iAS in a host called SYS12, then enter the following address in your Web browser:

    http://SYS12:1810
    
    
  2. Enter the Oracle9iAS administrator user name and password.

    The user name for the administrator user is ias_admin. You provide the password during Oracle9iAS installation.

  3. Click OK.

    Depending on the components you configured and the choices you made during Oracle9iAS installation, Enterprise Manager displays the appropriate Home Page.


    See Also:

    For details on how to administer and manage an Oracle9iAS instance, refer to Oracle9i Application Server Administrator’s Guide Release 2 (9.0.2), which is available at the following Web site:

    >http://iasdocs.us.oracle.com/iasdl/doc/core902/a92171/toc.htm


Enabling and Disabling Oracle9i Application Server Mid-Tier Services

You can set the Oracle9iAS CC mid-tier Oracle home that is associated with a Oracle9i Application Server Infrastructure to one of the following configuration types:

Once you set the Oracle home to one of the deployment types above, the startup and shutdown scripts will only control the components for that configuration type. Table B-1, "Components Started by Default on Oracle9iAS Middle-Tier", lists the processes that startias.sh will bring up and stopias.sh will shutdown.

In order to change the mid-tier configuration type, shut down all the mid-tier processes using stopias.sh. Then use the following command:

$ORACLE_CC_ROOT/ias/902/set_iasconfig_type.sh <$ORACLE_HOME> <DEPLOY TYPE>

In the example above <DEPLOY TYPE> is one of the following:

After you change the configuration type, restart the mid-tier using startias.sh. All components for the new configuration type should start.

Configuring a Virtual Hostname for Oracle9iAS CC 9.0.2

Virtual server configurations are Oracle Home based. The scripts are at /admin/mwcc/clone/scripts/reconfig_to_vname.sh. By default log files are in the /tmp directory unless you set the LOGDIR environment variable to a different directory. Log file name is reconfig_to_vname.<process_id>.log.

You need to configure infrastructure Oracle home before the Oracle9i Application Server mid-tier Oracle home.

Use the following procedure to configure Oracle9iAS Infrastructure mid-tier:

  1. Log in as the Infrastructure Oracle home owner.

  2. Run the /admin/mwcc/clone/scripts/reconfig_to_vname.sh script. When prompted, enter the necessary parameters.

  3. If the script finishes successfully, verify that you can access the SSO using the virtual server name that you provided. If the script fails, check the log file. Fix any errors and rerun the script.

Use the following procedure to configure Oracle9iAS mid-tier:

  1. Log in as Oracle9i Application Server mid-tier Oracle home owner.

  2. Run the /admin/mwcc/clone/scripts/reconfig_to_vname.sh script. When prompted, enter the necessary parameters. For the SSO Server name, use the virtual server name and port that you used when configuring the Infrastructure mid-tier.

  3. If the script finishes successfully, verify that you can access the default home page using the virtual server name. If the script fails, check the log file. Fix any errors and rerun the script.