Reconfiguring a Middle Tier Instance
Copyright © 2004, Oracle. All rights reserved.
Objectives
After completing this lesson, you should be able to do the following: • Expand a middle-tier installation • Configure additional application server components after installation • Associate a J2EE and Web Cache instance with an Infrastructure • Change the network configuration for the middletier machine or for the machine running Infrastructure • Change port associations, hostname, or the IP address after installing Oracle Application Server
34-2 Copyright © 2004, Oracle. All rights reserved.
Expanding a Middle-Tier Installation
•
You can expand middle-tier installations in the following ways:
– J2EE and Web Cache to Portal and Wireless – J2EE and Web Cache to Business Intelligence and Forms – Portal and Wireless to Business Intelligence and Forms
•
The following restrictions apply:
– You can only expand middle-tier installations not OracleAS Metadata Repository or Identity Management.
34-3
Copyright © 2004, Oracle. All rights reserved.
Differences Between Installing and Expanding a Middle Tier
Expanding a middle tier is the same as installing a new one, with these differences: • You must specify the Oracle home as the directory location that you want to expand. • You must enter the ias_admin password of the middle tier that you want to expand.
34-4
Copyright © 2004, Oracle. All rights reserved.
Expanding a Middle Tier
To expand a middle tier, perform the following steps: 1. Stop all processes associated with the middle tier you want to expand. 2. Start Oracle Universal Installer (OUI). 3. Select configuration options. 4. Register with OID. 5. Specify login details for OID. 6. Select OracleAS Metadata Repository. [7.] Provide out-going mail server information. 8. Specify ias_admin password. 9. Finish the installation.
34-5 Copyright © 2004, Oracle. All rights reserved.
Configuring Additional Components
Installation Type
J2EE and Web Cache Portal and Wireless
Components that can be configured
JServ Web Cache JServ Portal Wireless JServ Discoverer Forms Reports Services Portal Wireless JServ SSO DAS DIP
Copyright © 2004, Oracle. All rights reserved.
Business Intelligence and Forms
Infrastructure
34-7
Configuring Components After Installation
34-8
Copyright © 2004, Oracle. All rights reserved.
Verifying Whether Web Cache Is Working
34-9
Copyright © 2004, Oracle. All rights reserved.
Configuring Portal After Installation
Before you get started: • Portal writes configuration entries into the Metadata Repository. • Keep in mind, Portal overwrites existing Portal configurations in the Metadata Repository. • If you have already configured Portal instances using this Metadata Repository, then follow the instructions on configuring multiple Portal instances to use the same Metadata Repository.
34-10
Copyright © 2004, Oracle. All rights reserved.
Configuring Portal After Installation
34-11
Copyright © 2004, Oracle. All rights reserved.
Performing Portal Postconfiguration Tasks
1. Run the following command:
prompt> cd $ORACLE_HOME/portal/conf prompt> ptlconfig –dad portal
2. Check whether the Portal instance is listed under System Components. 3. Access the Portal Home page. 4. Verify that Portal is working by using the URL: http://hostname:http_port/pls/portal
34-12
Copyright © 2004, Oracle. All rights reserved.
Configuring Forms and Reports Services After Installation
34-13
Copyright © 2004, Oracle. All rights reserved.
Performing Forms Postconfiguration Tasks
34-14
Copyright © 2004, Oracle. All rights reserved.
Performing Reports Services Postconfiguration Tasks
34-15
Copyright © 2004, Oracle. All rights reserved.
Configuring and Disabling Components
•
You can configure components at the following times:
– During installation, by selecting the component – After installation, using Configure Component on Application Server Control – When expanding an installation, by selecting the component using Oracle Universal Installer
•
To disable components:
– On the Application Server Home page, click Enable/Disable Components – Select which components to disable
34-16
Copyright © 2004, Oracle. All rights reserved.
Deleting OC4J Instances
• To delete an OC4J instance using dcmctl:
$ORACLE_HOME/dcm/bin/dcmctl removeComponent -co
•
To delete an OC4J instance using Application Server Control:
1. Use Application Server Control to navigate to the Application Server home page for the instance that contains the OC4J instance. 2. In the System Components section, select the checkbox for the OC4J instance and click Delete OC4J Instance.
34-17
Copyright © 2004, Oracle. All rights reserved.
Associating a J2EE and Web Cache Installation with Infrastructure
A J2EE and Web Cache installation can be associated with an Infrastructure in the following ways: • Association with Identity Management • Association with a Metadata Repository for an OracleAS Cluster managed by a database
34-19
Copyright © 2004, Oracle. All rights reserved.
Associating with Identity Management
1
2
3
34-20
Copyright © 2004, Oracle. All rights reserved.
Associating with Identity Management
4
34-21
Copyright © 2004, Oracle. All rights reserved.
Associating with Identity Management
5
34-22
Copyright © 2004, Oracle. All rights reserved.
Associating with Identity Management
6
34-23
Copyright © 2004, Oracle. All rights reserved.
Associating with a Metadata Repository
3
34-24
Copyright © 2004, Oracle. All rights reserved.
Associating with a Metadata Repository
4
34-25
Copyright © 2004, Oracle. All rights reserved.
Associating with a Metadata Repository
5
34-26
Copyright © 2004, Oracle. All rights reserved.
Associating with a Metadata Repository
34-27
Copyright © 2004, Oracle. All rights reserved.
Leaving an Infrastructure: Deleting the SSO Partner Application
34-28
Copyright © 2004, Oracle. All rights reserved.
Leaving Infrastructure: Cleaning Up Entries in OID
34-29
Copyright © 2004, Oracle. All rights reserved.
Changing Network Configurations
Scenario
You would like to change from one static host name to another.
Procedure Middle Tier:
Follow the steps described in “Changing the Hostname and IP Address (Middle-Tier)”
Infrastructure:
You cannot change the host name on a host that contains an Infrastructure. You would like to change from one static IP address to another
Middle Tier:
Follow the steps described in “Changing the Hostname and IP Address (Middle-Tier)”
Infrastructure:
Follow the steps described in “Changing IP Address (Infrastructure).”
34-31
Copyright © 2004, Oracle. All rights reserved.
Changing the Host Name and IP Address (Middle Tier)
To perform this task you must follow these steps: Step 1: Prepare your host. Step 2: Change the host name and IP address on your operating system. Step 3: Update the middle-tier instances on your host. Step 4: Restart Oracle Application Server. Step 5: Update OracleAS Portal and OracleAS Wireless.
34-32
Copyright © 2004, Oracle. All rights reserved.
Step 3: Update the Middle-Tier Instances on Your Host
For each middle tier, proceed as follows: 1. Log in to the host as software owner. 2. Point the ORACLE_HOME environment variable to the middle tier you are updating. 3. Run the following command:
prompt> cd $ORACLE_HOME/chgip/scripts prompt> ./chgiphost.sh –mid
4. Check the log files or errors.
34-34
Copyright © 2004, Oracle. All rights reserved.
Step 4: Restart Oracle Application Server
To restore your configuration follow these steps: 1. Start each middle-tier instance. 2. Add those instances back to the cluster that you removed in step 1. 3. Restore your Web Cache cluster from step 1. 4. In case you disabled automatic start up or your application server, enable it again.
34-35
Copyright © 2004, Oracle. All rights reserved.
Step 5: Update OracleAS Portal and OracleAS Wireless
This is a special step required for updating OracleAS Portal and OracleAS Wireless: You must update OracleAS Portal with the new OracleAS Wireless service URL.
34-36
Copyright © 2004, Oracle. All rights reserved.
Changing the IP Address (Infrastructure)
To perform this task you must follow these steps: Step 1: Prepare your host. Step 2: Change the IP address on your operating system. Step 3: Update the Infrastructure. Step 4: Restart the Infrastructure.
34-37
Copyright © 2004, Oracle. All rights reserved.
Step 3: Update the Infrastructure
To update the Infrastructure on your host with the new IP address: 1. Log in as the user that installed the Infrastructure. 2. Set the ORACLE_HOME and ORACLE_SID environment variables. 3. Start the Infrastructure database 4. Run the following commands:
prompt> $ORACLE_HOME/opmn/bin/opmnctl start prompt> $ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=OID process-type=OID prompt> cd $ORACLE_HOME/chgip/scripts prompt> ./chgiphost.sh –infra
34-39 Copyright © 2004, Oracle. All rights reserved.
Step 4: Restart the Infrastructure
To restart the Infrastructure and any middle-tier instances that use it, proceed as follows: • Start the Infrastructure:
– – – – Start the Metadata Repository. Start the Metadata Repository Listener. Start the Infrastructure instance. Start Application Server Control.
• •
Start all middle-tier instances that use Infrastructure. Enable automatic startup scripts, if you disabled them during step 1.
34-40
Copyright © 2004, Oracle. All rights reserved.
Summary
In this lesson, you should have learned how to: • Expand a middle-tier installation • Configure additional application server components after installation • Associate a J2EE and Web Cache installation with Identity Management • Associate a J2EE and Web Cache installation with a Metadata Repository • Describe the steps to change the host name and IP address on a middle-tier machine • Explain the dependencies on middle-tier instances when the IP address of the Infrastructure changes
34-41 Copyright © 2004, Oracle. All rights reserved.