Friday, June 28, 2013

How to run RDA for weblogic


RDA for weblogic
----------------------- 
RDA is shipped with Oracle Fusion Middleware 11g. You will find it in two places
  • MW_HOME/ORACLE_SOA/rda
  • MW_HOME/oracle_common/rda

RDA has two phases, setup and run. Setup needs to done one time, In which RDA will ask several Questions.
It will store those answers in setup.cfg file in the same directory from where you are running rda.
Once setup is done, subsequent runs will use the information in setup.cfg

KM note 1352181.1 describes all questions asked for the SOA module.

Running RDA for weblogic Server:
Go to your domain home/bin directory and set:
. ./setDomainEnv.sh

Go to MW_HOME/oracle_common/rda
Here first time you need to run:

Use the following RDA command for setup - no security filter:
Unix: 
rda.sh -S -p WebLogicServer 

MS Windows: 
rda.cmd -S -p WebLogicServer

OR: 

Use the following RDA command for setup - with security filter (removes information such as hostnames, ip addresses)
Unix: 
rda.sh -S -p WebLogicServer-Security 

MS Windows: 
rda.cmd -S -p WebLogicServer-Security

------------------------------------------------------------------------------------------------

[user@<host> rda]$ ./rda.sh -S -p WebLogicServer
-------------------------------------------------------------------------------
S000INI: Initializes the Data Collection
-------------------------------------------------------------------------------
RDA uses the output file prefix to identify all files belonging to the same
data collection. The prefix must start with a letter and must contain only
alphanumeric characters.

Enter the prefix to be used for all the generated files
Hit 'Return' to accept the default (RDA)
> Weblogic

Enter the directory used for all the files to be generated
Hit 'Return' to accept the default
(/opt/app/aia/Middleware/oracle_common/rda/rda/output)

Do you want to keep report packages from previous runs (Y/N)?
Hit 'Return' to accept the default (N)

Is a fresh collection performed as the default action (Y/N)?
Hit 'Return' to accept the default (Y)

Enter the Oracle home to be used for data analysis
Hit 'Return' to accept the default (/opt/app/oracle/product/11.2.0/client_1)

Enter the network domain name for this server
Hit 'Return' to accept the default (in.xyz.com.au)

-------------------------------------------------------------------------------
S010CFG: Collects Key Configuration Information
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S090OCM: Set up the Configuration Manager Interface
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S909RDSP: Produces the Remote Data Collection Reports
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S919LOAD: Produces the External Collection Reports
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S999END: Finalizes the Data Collection
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S100OS: Collects the Operating System Information
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S105PROF: Collects the User Profile
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S110PERF: Collects Performance Information
-------------------------------------------------------------------------------
Can ADDM, AWR, and ASH be used (Y/N)?
Hit 'Return' to accept the default (Y)

-------------------------------------------------------------------------------
S120NET: Collects Network Information
-------------------------------------------------------------------------------
Do you want RDA to perform the network ping tests (Y/N)?
Hit 'Return' to accept the default (N)

-------------------------------------------------------------------------------
S301WLS: Collects Oracle WebLogic Server Information
-------------------------------------------------------------------------------
Enter the location of the directory where the domains to analyze are located
(For example in UNIX, <BEA Home>/user_projects/domains or <Middleware
Home>/user_projects/domains)
Hit 'Return' to accept the default
(/opt/app/aia/Middleware/user_projects/domains)

For a successful WLS connection, ensure that the domain Admin Server is up and
running.

Data Collection Type:
  1  Collect for a single server (offline mode)
  2  Collect for a single server (using WLS connection)
  3  Collect for multiple servers (using WLS connection)

Enter the item number
Hit 'Return' to accept the default (1)
> 1

Oracle WebLogic Server list for 'svt_aia_domain' Domain:
  1  AdminServer
  2  ucsvtaiams1
  3  ucsvtaiams3
Enter the number corresponding to the selected server name
> 1

-------------------------------------------------------------------------------
S301WREQ: Handles the Oracle WebLogic Server Collection Requests
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
S990FLTR: Controls Report Content Filtering
-------------------------------------------------------------------------------
[user@<host> rda]$



-rw-r-----  1 user aia 9.2K Jun 25 16:30 setup.cfg

[user@<host> rda]$ ./rda.sh
-------------------------------------------------------------------------------
RDA Data Collection Started 25-Jun-2013 16:30:35
-------------------------------------------------------------------------------
Processing Initialization module ...
Processing OCM module ...
Processing PERF module ...
Processing CFG module ...
Processing OS module ...
Processing PROF module ...
Processing NET module ...
Processing Oracle WebLogic Server module ...
Processing WREQ module ...
Processing RDSP module ...
Processing LOAD module ...
Processing End module ...
-------------------------------------------------------------------------------
RDA Data Collection Ended 25-Jun-2013 16:31:25
-------------------------------------------------------------------------------

 You can review the reports by transferring the contents of the
 /opt/app/aia/Middleware/oracle_common/rda/rda/output directory to a location
 where you have web-browser access. Then, point your browser at this file to
 display the reports:
   Weblogic__start.htm

 Based on your server configuration, some possible alternative approaches are:
 - If your client computer with a browser has access to a web shared
   directory, copy the /opt/app/aia/Middleware/oracle_common/rda/rda/output
   directory to the web shared directory and visit this URL:
   or
 - If your client computer with a browser has FTP access to the server
   computer with the /opt/app/aia/Middleware/oracle_common/rda/rda/output
   directory, visit this URL:

 If this file was generated to assist in resolving a Service Request, please
 send
 /opt/app/aia/Middleware/oracle_common/rda/rda/output/RDA.Weblogic_<host>.zip
 to Oracle Support by uploading the file via My Oracle Support. If ftp'ing the
 file, please be sure to ftp in BINARY format.

[user@<host> rda]$


 

6 comments: