Oracle AS Portal Diagnostics Agent (PDA) Installation
Portal 9.0.4.x / 10.1.2.x / 10.1.4.x
Assumption: Install PDA on development environment server 172.19.69.184
Overview
The OracleAS Portal Diagnostics Assistant is a tool for gathering information when troubleshooting OracleAS Portal issues. The OracleAS PDA is intended for use by Oracle Portal installers and users who come across issues after installing Portal. The issues can vary from accessing Portal to users getting errors at different levels within Portal. The PDA user can self diagnose the issue by reviewing the results from the PDA output or upload the files to Oracle Support via metalink.
Installation
$ORACLE_HOME environment variable should be set to Oracle Application Server Portal Middle Tire Oracle home directory



Download the scripts from here:
http://www.oracle.com/technology/products/ias/portal/files/pdav4.zip
Put pdav4.zip that you have downloaded on the server and extract it there.
Login to the server using ftp tool like, WinSCP

Create a new folder


Open the folder

Put pdav4.zip file there

Now, we have to extract this file
Login to the server using PuTTY and go the folder you have created

Unzip pdav4.zip

Execute this command to install PDA
pda.csh -schema portal_schema -password portal_password -connect portal_connect -ssoSchema orasso_schema -ssoPassword orasso_password -ssoConnect orasso_connect
portal_schema: Portal schema name
portal_password: This is the database password, not the same password you
use it to login Portal Builder
orasso_schema: Single Sign On schema name
orasso_password: Single Sign On database password
To get these passwords there are two approaches:
FIRST
- Open the Oracle Directory manager and login: (This requires a server access)
- username=orcadmin
- password=(during installation of AS this password was asked)
- server= Development server name or IP
- port=probably 389 or 4032
- The Oracle directory manager will open; in there you will have to follow this path:
Entry Management à OraclContext à Products à IAS à cn=IAS Infrastructure database à orclReferenceName=<DBName> à PORTAL/ORASSO
You will find there orclpasswordattribute, this is the database password for each one.
SECOND
Execute these commands
ldapsearch -h Server_name -p 389 -D cn=orcladmin -w pswd -b “cn=IAS Infrastructure Databases,cn=IAS,cn=Products,cn=OracleContext” -s sub “orclResourceName=portal” orclpasswordattribute

ldapsearch -h Server_name -p 389 -D cn=orcladmin -w pswd -b “cn=IAS Infrastructure Databases,cn=IAS,cn=Products,cn=OracleContext” -s sub “orclResourceName=orasso” orclpasswordattribute
This is the command I have executed
./pda.csh -schema portal -password XXXXXX -connect 172.19.69.155:1521:XXX -ssoSchema orasso -ssoPassword XXXXXX -ssoConnect 172.19.69.155:1521:XXX
If you got Permissions Denied error, just give permissions to the current user by executing this command in the PDA_INSTALLATION folder
Chmod 777 *.*
It will take a few minutes, but you should see this message at the end:
Now, PDA reports have been generated.
Open the server using FTP client like WinSCP
Open the folder that contains our PDA files
You will notice two new things:
PDA071122103016.zip file
071122103016 Folder
To view the reports you have to open pda.htm using your browser
The two files are the same, one if you like to open pda.htm remotely from the server and the other one PDA071122103016.zip if you like to open pda.htm from your machine
The directory names have a timestamp format, for example, 030623132344 which means: {year}{month}{day}{hour}{minutes}{seconds} so each time it will be changed
I will try the second option.
Copy the file PDA071122103016.zip and paste it in your desktop for example
Extract PDA071122103016.zip any where
Open the extracted folder, and open pda.htm

In: IT, Oracle · Tagged with: Oracle, PDA, Portal
