Saturday, April 1, 2017

Run OIDDIAG for Diagnostic Purposes for Oracle Support

1. Run the following commands:
cd /u01/app/oracle/middleware/Oracle_OID

$ORACLE_HOME/ldap/bin/oiddiag collect_all=true

2. Enter this information when prompted (use values for your environment):
Enter fully domain-qualified database host name: prod-cluster

Enter database listener port number: 1521

Enter database service name(SERVICE_NAME in tnsnames.ora file): iamdb.raastech.com

Enter ODS DB user password: *

Enter SYS DB user password: *

SSL (Encryption only, no authentication mode): {y/n} [n] : n
3. Here is how the output will look like:
Now connecting to the Database

It took 544 milliseconds to connect to the Database

Starting the collection of diagnotics...

OIDDIAG Executing: [Entries present in ct_dn but with no corresponding 'orclentrydn' value in ds_attrstore]

OIDDIAG Executing: [Catalog verification for attributes with more than 27 char name length]

OIDDIAG Executing: [Entries that have no row in ct_orclnormdn]

OIDDIAG Executing: [Verify whether ct_orclnormdn is cataloged]

OIDDIAG Executing: [All rows in ct_dn and ct_orclnormdn should have distinct entryid.]

OIDDIAG Executing: [Check 'referral' entries consistency between ct_objectclass and other catalog tables.]

OIDDIAG Executing: [Uniqueness check on orclguid]

OIDDIAG Executing: [Unique membership check on group entries]

OIDDIAG Executing: [Report RI Violating Entries--Duplicate Entries, Dangling DN's]

By Default this tool Verifies the RI violation for Member,UniqueMember and Existing RI enabled attributes. If you wish to verify the RI violation for other DN syntax attributes(which are still not RI enabled), please enter those attribute names one by one

Do you wish to Enter Attribute Name[Y/N]: N

OIDDIAG Executing: [Compare the maximum entryid value in ct_dn and the current sequence value of ds_attrstore_id]

OIDDIAG Executing: [Get the group details for implementing the large group related tuning]

OIDDIAG Executing: [Verify whether duplicate entries are present in the DIT]

OIDDIAG Executing: [Get the output of the current db jobs of ODS]

OIDDIAG Executing: [Find ODS tables with missing indexes]

OIDDIAG Executing: [The last time the 'ODS' user schema was analyzed]

OIDDIAG Executing: [The DIT size]

OIDDIAG Executing: [Details of some of the indexes owned by 'ODS' database user]

OIDDIAG Executing: [The attributes that are cataloged (cn=catalogs entry)]

OIDDIAG Executing: [Schema Information (cn=subschemasubentry)]

OIDDIAG Executing: [Root DSE information]

OIDDIAG Executing: [DSA Config Entry information]

OIDDIAG Executing: [Configset information]

OIDDIAG Executing: [Registry information]

OIDDIAG Executing: [Process control related information in OID tables]

OIDDIAG Executing: [The registry information for DIP]

OIDDIAG Executing: [The profile information for DIP under ODI container]

OIDDIAG Executing: [DIP profile information: changelog subscriber entries]

OIDDIAG Executing: [Report the Missing Index Names]

OIDDIAG Executing: [Replication Configuration information]

OIDDIAG Executing: [Verify if instance entries in cn=osdldapd,cn=subregistrysubentry are valid by connecting over LDAP.]

OIDDIAG Executing: [Verify if entries in table ods_process_status are valid.]

OIDDIAG Executing: [Getting OID event report 01 ]

OIDDIAG Executing: [Getting OID event report 02 ]

OIDDIAG Executing: [Getting OID event report 03 ]

OIDDIAG Executing: [Getting OID event report 04 ]

OIDDIAG Executing: [Getting OID event report 05 ]

OIDDIAG Executing: [Getting the Active Data base sessions of OID server]

OIDDIAG Executing: [Getting the number of completed LDAP operations]

OIDDIAG Executing: [Getting the number of user LDAP operations]

OIDDIAG Executing: [Getting the number of open, new and closed LDAP sessions]

OIDDIAG Executing: [Getting the Entry Cache Hit Ratio of OID server]

OIDDIAG Executing: [Getting the Running instances of LDAP server]

OIDDIAG Executing: [Getting the number of LDAP operations in progress]

OIDDIAG Executing: [Getting the OID server CPU/memory utilization]

OIDDIAG Executing: [Getting average latency (in milli sec) of LDAP operations]

OIDDIAG Executing: [Getting the Open Data base sessions of OID server]

OIDDIAG Executing: [Getting the Ports currently used by LDAP server]

OIDDIAG Executing: [Getting the OID Replication server CPU/memory utilization]

OIDDIAG Executing: [Replication DB Jobs information]

OIDDIAG Executing: [Getting the average response time of an LDAP operation]

OIDDIAG Executing: [Getting OID server security events]

OIDDIAG Executing: [Getting OID server system resource events]

OIDDIAG Executing: [Getting the number of connections held by users]

OIDDIAG Executing: [System/Process information]

OIDDIAG Executing: [Binary version of 'oidldapd' executable]

OIDDIAG Executing: [Are multiple OIDs configured against the same database?]

OIDDIAG Executing: [The session wait time and SQL for 'ODS' user orderred by wait_time]

OIDDIAG Executing: [List all the SQLs that are active for 'ODS' sessions and their execution plan]

OIDDIAG Executing: [Server instance's diagnostic information]
4. Send this file to Oracle Support:
cd /u01/app/oracle/middleware/asinst_1/diagnostics/logs/OID

gtar -czvf tools.tgz tools
 
Applicable Versions
  • Oracle Internet Directory (OID) 11g

 

No comments: