Oracle Portal System Administration FAQs

What is Http Server?
Ans: Oracle HTTP Server is installed and configured with every middle-tier and Infrastructure installation.
You can access Oracle HTTP Server as follows:
http://hostname.domain:port
port is the Oracle HTTP Server Listen port number in:
ORACLE_HOME/install/portlist.ini
For example:
http://hostname.domain:7778
When you access Oracle HTTP Server, you will see the Oracle Application Server Welcome Page

What is a Webcache?
Ans: OracleAS Web Cache is a content-aware server accelerator, or reverse proxy server, that improves the performance, scalability, and availability of Web sites that run on Oracle Application Server. By storing frequently accessed URLs in memory, OracleAS Web Cache eliminates the need to repeatedly process requests for those URLs on the application Web server and database tiers. Unlike legacy proxies that handle only static documents, OracleAS Web Cache caches both static and dynamically generated content from one or more application Web servers.
Webcache sits in front and even serve the purpose of a software load balancer.

What is a Farm?
Ans: The Farm home page displays a list of the standalone application server instances and Oracle Application Server clusters associated with your Infrastructure Services. Standalone instances are application server instances that are not part of an Oracle Application Server cluster.
You can configure your application server instance to use Infrastructure Services by clicking Infrastructure on the Application Server home page. For more information, see the Enterprise Manager online help.
Using the Farm home page, you can perform the following tasks:
·         Manage multiple application server instances on multiple hosts
·         Drill down to the Application Server home page for each instance
·         Create and manage Oracle Application Server clusters

What is SSO?
Ans: The single sign-on server consists of program logic in the OracleAS database, Oracle HTTP Server, and OC4J server that enables you to log in securely to applications. These applications take two forms: partner applications and external applications. In both cases, you gain access to several applications by authenticating only once.
Mod_osso is an Oracle HTTP Server module that provides authentication to OracleAS applications. Mod_osso renders authentication transparent to OracleAS applications

What is OID?
Ans: Oracle Internet Directory is a general purpose directory service that enables fast retrieval and centralized management of information about dispersed users and network resources. It combines LDAP Version 3 with the high performance, scalability, robustness, and availability of Oracle9i
Ans: Oracle Application Server provides a complete Java 2 Enterprise Edition (J2EE) environment written entirely in Java that executes on the Java virtual machine (JVM) of the standard Java Development Kit (JDK). You can run Oracle Application Server Containers for J2EE (OC4J) on the standard JDK that exists on your operating system.

What is OPMN?
Ans: Oracle Process Manager and Notification Server (OPMN) manage and monitor most Oracle Application Server components. It is installed and configured in every middle-tier and Infrastructure installation and is essential for running Oracle Application Server.
ORACLE_HOME/opmn/bin/opmnctl status
Notice that the LogLoader process is always down after installation. Log Loader is a feature that compiles log messages from various log files into a single repository. If you wish you can start Log Loader after installation.

What is Application server control?
Ans: The primary tool for managing Oracle Application Server--as well as your entire Oracle environment--is Oracle Enterprise Manager. To manage Oracle Application Server, you use Oracle Enterprise Manager Application Server Control. Application Server Control is installed with every instance of Oracle Application Server. As a result, you can immediately begin managing your application server and its components from your Web browser.
Display the Oracle Application Server Control page by entering the following URL in your Web browser:
http://hostname.domain:port
where default port for firdt installed instance will be 1810.
Enterprise Manager displays the administrator logon dialog box.
Enter the Oracle Application Server administrator user name and password and click OK.
The user name for the administrator user is ias_admin.
The password the one you supplied during the installation of Oracle Application Server.
For more details on Application Server control
(2.3 Getting Started with Application Server Control )

Who is Ias_admin?
Ans: Ias_admin is an administrator who has all the privileges to administer an Instance.
At the time of Installation for every Instance we give an Ias_admin password.
We need to enter this password for Authentication purpose while using Application Server Control

What are variuous methods to administer an Application server?
Ans: Oracle realizes that the procedures you use to monitor and administer your application server components can vary, depending upon the size of your organization, the number of administrators you employ, and the types of components you manage. As a result, Oracle offers options for managing your Oracle Application Server installations.
  • Managing Using Application Server Control.
  • Managing Using Command Line Tools
(dcmctl/opmnctl)

What is the procedure to start/stop an Applicatrion server environment on Production?
Ans:
Procedure to start.
Start the Meta Data Repository on x.x.x.71 Box
Start the Lisner on x.x.x.71 Box
Start the Infrastructure Services on x.x.x.71 Box
Start the Middle Tier of App1 instance on x.x.x.165 Box
Start the Middle Tier of App2 instance on x.x.x.166 Box
Start the Web Cache of webcache instance on x.x.x.166 Box.

Procedure to stop.

Stop the Web Cache of webcache instance on x.x.x.166 Box.
Stop the Middle Tier of App2 instance on x.x.x.166 Box
Stop the Middle Tier of App1 instance on x.x.x.165 Box
Stop the Infrastructure Services on x.x.x.71 Box
Stop the Lisner on x.x.x.71 Box
Stop the Meta Data Repository on x.x.x.71 Box.

Ans:
Procedure to start.

Start the Meta Data Repository on x.x.x.167 Box
Start the Lisner on x.x.x.167 Box
Start the Infrastructure Services on x.x.x.167 Box
Start the Middle Tier instance on x.x.x.167 Box

Procedure to stop.

Stop the Middle Tier instance on x.x.x.167 Box
Stop the Infrastructure Services on x.x.x.167 Box
Stop the Lisner on x.x.x.167 Box
Stop the Meta Data Repository on x.x.x.167 Box

What is the procedure to start/stop  an Applicatrion server environment on DEV?
Ans:
Procedure to start.

Start the Meta Data Repository on x.x.x.244 Box
Start the Lisner on x.x.x.244 Box
Start the Infrastructure Services on x.x.x.244 Box
Start the Middle Tier instance on x.x.x.244 Box

Procedure to stop.

Stop the Middle Tier instance on x.x.x.244 Box
Stop the Infrastructure Services on x.x.x.244 Box
Stop the Lisner on x.x.x.244 Box
Stop the Meta Data Repository on x.x.x.244 Box

How to start/stop Infrastructure Services?
Ans:
Starting and Stopping Using OPMNCTL
To view the status of the componets
ORACLE_HOME/opmn/bin/opmnctl status

To start all the components
ORACLE_HOME/opmn/bin/opmnctl startall

To stop all the components
ORACLE_HOME/opmn/bin/opmnctl stopall

To start, stop, or restart a component:
ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=component
ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=component
ORACLE_HOME/opmn/bin/opmnctl restartproc ias-component=component
To start, stop, or restart the sub-process of a component:
ORACLE_HOME/opmn/bin/opmnctl stopproc process-type=process
ORACLE_HOME/opmn/bin/opmnctl startproc process-type=process
ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=process

Starting and Stopping Using Application Server Control
You can start, stop, restart, and view status of components on the Application Server home page:
Navigate to the Application Server home page on Application Server Control. Scroll to the System Components section.
Select the checkboxes in the Select column for the components you want to start, stop, or restart.
Click the Start, Stop, or Restart button on the top right of the System Components section

How to start/stop middle tier?
Ans: Starting and Stopping Using OPMNCTL
To view the status of the componets
ORACLE_HOME/opmn/bin/opmnctl status
eg:/portal/midhome/opmn/bin/opmnctl status

To start all the components
ORACLE_HOME/opmn/bin/opmnctl startall
eg:/portal/midhome/opmn/bin/opmnctl startall

To stop all the components
ORACLE_HOME/opmn/bin/opmnctl stopall
eg:/portal/midhome/opmn/bin/opmnctl stopall
To start, stop, or restart a component:
ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=component
ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=component
ORACLE_HOME/opmn/bin/opmnctl restartproc ias-component=component
To start, stop, or restart the sub-process of a component:
ORACLE_HOME/opmn/bin/opmnctl stopproc process-type=process
ORACLE_HOME/opmn/bin/opmnctl startproc process-type=process
ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=process
Starting and Stopping Using Application Server Control
You can start, stop, restart, and view status of components on the Application Server home page:
Navigate to the Application Server home page on Application Server Control. Scroll to the System Components section.
Select the checkboxes in the Select column for the components you want to start, stop, or restart.
Click the Start, Stop, or Restart button on the top right of the System Components section

How to start/stop webcache?
Ans: Starting and Stopping Using OPMNCTL
To view the status of the componets
ORACLE_HOME/opmn/bin/opmnctl status
eg:/portal/webcache/opmn/bin/opmnctl status

To start all the components
ORACLE_HOME/opmn/bin/opmnctl startall
eg:/portal/webcache/opmn/bin/opmnctl startall

To stop all the components
ORACLE_HOME/opmn/bin/opmnctl stopall
eg:/portal/webcache/opmn/bin/opmnctl stopall

Starting and Stopping Using Application Server Control
You can start, stop, restart, and view status of components on the Application Server home page:
Navigate to the Application Server home page on Application Server Control. Scroll to the System Components section.
Select the checkboxes in the Select column for the components you want to start, stop, or restart. (select webcache)
Click the Start, Stop, or Restart button on the top right of the System Components section

How to start Application server Control?
Ans:
We use the tool emctl to start and stop the Application server control utility.
To start the application server control
./emctl start iasconsole
To stop the application server control
./emctl stop iasconsole.

How to Admnister the webcache?
Ans: The images in website are provided by marketing. This needs to be referred to them.  After receipt of the images, the change needs to be done in the appropriate place.

What is PDA?
Ans: Use the OracleAS Portal Diagnostic Assistant to gather information if you are troubleshooting issues after OracleAS Portal installation. Problems can vary from accessing the portal, to users getting errors at different levels within the portal.
You can diagnose issues by reviewing the results from the OracleAS Portal Diagnostic Assistant. Alternatively, you can upload the results to Oracle Support so they can troubleshoot the problem for you.
Running the OracleAS Portal Diagnostic Assistant
            ORACLE_HOME/perl/bin/perl ptshoot.pl
Run ptlshoot.pl without any arguments to get help information.

What is Oracle Directory Manager?
Ans: Oracle Directory Manager is a Java-based tool for administering Oracle Internet Directory.
Navigate to ORACLE_HOME/bin. At the system prompt type
./oidadmin
The Administrator user for OidAdmin is “orcladmin”
The Password is ODS schema password (or Ias_admin password)

What is the difference between single sign-on and Oid?
Ans: Oracle Internet Directory is the repository for all single sign-on user accounts and passwords--administrative and nonadministrative. The single sign-on server authenticates the user against his or her entry in the directory. At the same time, it retrieves user attributes from the directory that enable applications to validate the user.
Ans: The Oracle Portal Version: 9.0.4.0.99
Ans: The database version is
Oracle9i Enterprise Edition Release 9.0.1.5.0 - 64bit
Ans:. No Patches Applied.
Ans: Ias_admin
Ans: Use  ias_admin or administrator as user name.
Ans: Orcladmin
Ans: Yes, portal
Ans:
If a host inside a protected a LAN (Using private IP) wants to access the external web, he can access through a server which has a public IP. The entire request from the user goes to external world through this server. This server is called a proxy server.
In a similar manner if an external host of web wants to request a server in a protected LAN (using a private IP) then the request has to be picked up by a server which belongs to the public Network and redirect it to the internal host. This server is called a reverse proxy server.

What is reverse proxy configuration?
Ans: Configuring the server (Located in private LAN) to access from the external public domain is called reverse proxy configuration.
If we say that a server is reverse proxy configured that does mean we can access this server from web.

What are the steps involved in reverse proxy configuration?
Ans: Please refer the following document

P:\WSS\Study\Portal\Portal Configuration\PortalAdministration.pdf
5.6 Configuring Reverse Proxy Servers.
Which instances have reverse proxy configure?
Ans: We have UAT box &
Prod box configured for reverse proxy.
Ans: Oracle Wallet Manager is an application that wallet owners use to manage and edit the security credentials in their Oracle wallets. A wallet is a password-protected container that is used to store authentication and signing credentials, including private keys, certificates, and trusted certificates needed by SSL. You can use Oracle Wallet Manager to perform basic tasks such as creating wallets, generating certificate requests, and opening wallets to access PKI-based services.
Ans: Yes, ssl is configured on production system
Ans: The purpose of a Load Balancer (LBR) is to provide a single published address to the client tier, and front-end a farm of servers that actually service the requests, based on the distribution of the requests done by the LBR. The LBR itself is a very fast network device that can distribute Web requests to a large number of physical servers.
Ans:
Load Balancer is of two types
  1. Hardware(fast network device that can distribute Web requests)
  2. Software ( Webcache is used)
We are using a standalone webcache (Software Load Balancer) in our production system.
Ans: The load Balancer is installed on 10.1.0.166 box.
The Load Balancer Home is /portal/webcache
Ans: Load Balancing is configured on production system.
It is configured using web cache manager (Ref Q 2.1.21)
In left frame navigate to
“Origin Servers, Sites, and Load Balancing
  1. Make an entry of orgin server
  2. Make an entry of site definition.
  3. Then create site to server mapping.
Ans: Please refer the question What is the topology of the Production server?
Ans: Please refer the question What is the topology of the Production server?.
Ans: Please refer the question What is the topology of the Production server?
Ans: In the Application every activity is logged into a table.This table belongs to NWSS schema.
The Name of the table is nwss_log

Where is custom login application log generated?
Ans: The login Application genegrates a custom log.
The name of the log is nwsslogin.log.
The name of the error log is nwssloginerror.log
The login log grows at a good pace. A script has been created to clear the logs and scheduled.
The Log is located on both middle tiers.
The location of the log is /portal/midhome/j2ee/home.(On production system).

Where is webcache log generated?
Ans: Webache generates logs.These logs grow at a good pace on production server.The logs are located in
/portal/webcache/webcache/logs folder(Production)
A script has been created and scheduled to clear the logs.

Where is Apache Log generated?
Ans: The Http server generates the logs .These logs are called Apache logs.On production system these logs should be cleared on bi weekly basis.The logs are located  on both middle tiers in the following directory.

          /portal/midhome/Apache/Apache/logs

Where are redo log files?
Ans: The redo Log files are located at
/data1/portal/infra/oradata/nwssprod/
This information can be gathered from v$log view

What components needs to be backed up for recovery?
Ans: We take a user managed Database backup.
We take the backup of configuration files on Middle tiers and Infra Home.
We take a Dcm backup.

Based on the type of failure we need respective backups for recovery.