Advanced
- Application Server
|
|
|
|
"Learn
to get in touch with the silence within yourself and know that
everything in life has a purpose."
-Elisabeth
Kübler-Ross (1926 -)
|
How
do you establish high availability concepts in the Oracle Application
Server?
High availability is
defined by the percentage of time that your server works normally.
You can use hardware
cluster for failover to build High availability.
Hardware cluster is a
collection of loosely coupled computers where a load balancer
provides a single view of
services.
Failover is a process to
relocate an application from failed node to a standby node.
You can install as many
redundant infrastructures in many servers.
You can install as many
J2EE and Web Cache Middle-Tier instance.
How
can you create a J2EE and Web Cache Cluster?
Assuming you have two J2EE
and web caches installed.
$ORACLE_HOME/webcache1
$ORACLE_HOME/webcache2
Their port assignments are
in the
$ORACLE_HOME/webcache(1 or
2)/install/portlist.ini files.
Go to webcache1 to create
cluster:
<http://hostname1:4000/>
-- log on as the “administrator” userid.
Click Clustering under
Properties. In the new page, select the cluster member and
click Edit Selected, enter
a new name, submit and restart web cache.
Go to webcache2 to add the
web cache to cluster.
Click Clustering under
Properties and then click “Add.” Enter information and submit.
In Cache operations, select
the new cache cluster and then click Propagate. Then
select all cache and click
Restart.
How
do you find the DCM user password?
Go to the oidadmin tool,
log as “orcladmin”
cn = OracleContext
cn = Products
cn = IAS
IAS Infrastructure
Databases
orclReferenceName=<database-name>
OrclResourceName=DCM
How
do you deploy an application to OC4J?
First you should create an
OC4J instance. In the OC4J control page, click on the Application tab.
In this page, you can deploy EAR or WAR files. In the deploy
application page, type the J2EE application location, application
name, and select “default” as Parent Application. Click the Finish
bottom after you entered the URL mapping for your Web Modules for
example /myapplication. To point your browser to your application just
type: http://<host-name>:<HTTP listener port>/myapplication.
How
do you administer OracleAS business intelligence components?
In this section, you will
learn how to access business intelligence home pages, identify the
different components running, start, stop and restart instances.
# $ORACLE_HOME/bin/emctl
stop iasconsole -- to stop or start enterprise manager
# $ORACLE_HOME/bin/opmn/bin/opmnctl
stopall -- to stop or start all bi components.
To run a report using url:
http://<hostname>:<httpServerPort>/reports/paramform.jsp?userid=.../...@databasname
To run a form using url:
http://<hostname>:<httpServerPort>/forms90/f90servlet?form=your-form-name
To compile the forms:
# f90genm.sh your-form-name.fmb
userid=username/password@your-database
|