Posts

Showing posts from 2024

How to Verify Standby Database Sync with Primary Database in 19c

  To check if your standby database is in sync with the primary database, follow these steps: 1.      Compare Sequence Numbers : Look at the latest sequence number generated on the primary database and the latest sequence number applied on the standby database. 2.      Check for Gaps : Ensure there are no missing sequence numbers on the standby database. The sequence numbers on both databases should match, and there should be no gaps in the sequence on the standby database. If they do match and there are no gaps, the databases are in sync. Verifying the Status of Primary and Standby Databases in Oracle On the Primary Server First, log in to the primary server and run the following SQL query to check the status: Copy Select name,open_mode,database_role from v$database; On the Standby Server Log in to the standby server and execute the same SQL query: Copy Select name,open_mode,database_role from v$datab...

Top 10 Linux Commands for Monitoring and Troubleshooting Your System

1. Disk and File System Checks Objective: Monitor disk usage and verify file system configurations. Commands and Steps:   View Disk Space Usage: Command:  df -h Verify the available and used space in a human-readable format.   Check File System Configurations: Command:  cat /etc/fstab Ensure all required file systems are configured to mount at boot.   Verify Permissions of fstab File: Command:  ls -ld /etc/fstab Check permissions to ensure security and avoid unauthorized changes. 2. Network Configuration and Connectivity Objective: Validate DNS configurations and network routes. Commands and Steps:   Verify DNS Resolver Permissions: Command:  ls -ld /etc/resolv.conf   Display DNS Server Configuration: Command:  cat /etc/resolv.conf   Check Kernel Routing Table: Command:  ip route Confirm active routes for ...

How to Grant Privileges in Oracle EBS R12.2 Using AD_ZD.GRANT_PRIVS

When working with Oracle E-Business Suite (EBS) R12.2, granting privileges to applicatation objects requires special care to avoid invalidating objects in the current edition.  Grants cannot be performed in the run edition when the application is being used. A direct GRANT (DDL) command can potentially cause object invalidation when the application is actively being used. To handle this in a more controlled manner, Oracle introduced the AD_ZD.GRANT_PRIVS utility. Why Use AD_ZD.GRANT_PRIVS? In Oracle EBS R12.2, all grants should be performed using the AD_ZD.GRANT_PRIVS procedure rather than the traditional GRANT statement.  The reason is simple: the GRANT statement directly modifies objects in the database, and this can invalidate them in the current edition. Invalidations during runtime can cause service interruptions, which is unacceptable in a live system. Syntax for Granting and Revoking Privileges The AD_ZD package provides two p...

OCI: Understanding Compartments, Users, and Groups in Oracle Cloud Infrastructure (OCI) Part -2

Image
 When you managing resources(Storage,Network,etc) in Oracle Cloud Infrastructure (OCI), understanding how to effectively use compartments, users, and groups is crucial. These elements help you organize, control access, and manage resources efficiently. What is a Compartment? A compartment in OCI is a logical container to organize and control access to your resources, such as compute instances, networks, and load balancers. Here's how you can use compartments: Compartments: Create Policies : Write policies to protect resources in specific compartments. Business Requirement s: Based on your needs, you can create multiple compartments (e.g., Finance, HR, Network). Management : For finance compartment can help manage all finance-related projects. Key Points About Compartments 1.  Root Compartment : When you create a cloud account, a root compartment is created automatically. 2.  Global Sharing : Compartments are global, meaning you can share them across regions (e.g.,  ...

OCI: Cloud Service Models OCI Basis Part-1

Image
Cloud services Models  Here we will see the simple definaltion and concepts for cloud service models. Saas Software as a services Paas Platform as a service Iaas Infrastructure as a service.   Exactly how each service differs from the other is shown in the diagram below. Traditional on-premises Everything is handled by the client. For example, we need to manage complete servers and applications, networks, operating systems, and so on. Infrastructure as a service Infrastructure side managed by the cloud vendor ex(Oracle, azure, aws) and application data Middleware and OS clint responsibility For example, it is the client's duty if an OS patch needs to be applied. Vendor responsibility if any N/W or storage-related setups   Platform as a service: - A cloud vendor will offer the services on any platform required to operate the application. Ex:...

[Socket:000445]Connection rejected, filter blocked Socket, weblogic.security.net.FilterException: [Security:090220]rule 3

Encountering configuration issues post-cutover. However, here's a straightforward solution to resolve these errors efficiently. Follow these steps to modify the config.xml file and get your system back on track. Solution:  Go to config.xml locatation and take backup for the "config.xml" file cd /apps/applmgr/r12/fs1/FMW_Home/user_projects/domains/EBS_domain/config/ ls -ltr config.xml cp config.xml config.xml_bkp Search the config.xml file in " connection-filter-rule " Change the value " deny "  to " allow " [applmgr@vtebstest config]$diff config.xml_bkp config.xml 33d32 <     <OTM >vtebstest.appl.com * * allow </connection-filter-rule> 35d33 <     <connection-filter-rule>0.0.0.0/0 * * deny </connection-filter-rule> [applmgr@vtebstest config]$ Save the config.xml file and bounce the adadminsrvctl.sh Login weblogic page and retest the issue

OEM 13C ASH Analytics Page Is Blank

 Login to the DB Server and execute below commands Copy SQL> select count(*) from WRH$_ACTIVE_SESSION_HISTORY; COUNT(*) ------------------ 0           Copy SQL> alter system set "_ash_enable"=false; System altered.   Copy SQL> alter system set "_ash_enable"=true; System altered.   Login in to OEM and Retest the issue Reference:- OEM Top Activity Graphs Are Not Displayed (Doc ID 2229483.1)

Oracle Apps DBA Interview Questions Part-5

Here I have collected the List of good Oracle Apps DBA interview Questions/Answers. How Many Oracle homes there in R12.2? Oracle 10.1.2 home and Oracle fusion middleware home oracle application is running on top of the FMW home. What is EBR? Edition based redefinition is R12.2 online patching new fecture. EBR has been introduced in 11g R12 database EBR is allows multiple version of plsql objects views and synonyms in single schema. EBR is enabled via database users and all EBS users including custon schemas. While running adadmin What is batchsize parameter in EBS? It means number of rows to commit at one time to the Database.  What is multi ligual tables in ebs? EBS applications allow users to create their programs in a variety of languages.   Ex:-   If table name ending with "_TL" those tables are corresponding to another table with same name minus the _TL those tables provide the multiple language support.   FND_PROFILE_OPTIONS_TL FND_PROFILE_O...

Understanding the Oracle E-Business Suite (EBS) R12.2 Login Flow

EBS applicatations User access the Oracle Application login page from the below URL http://<URL_HOSTNAME>:<PORT> Ex:- http://vtebs.oracle.com:8000/OA_HTML_AppsLoginin From this URL will be redirected to the central login page, In the http.conf file, locate DocumentRoot. The DocumentRoot is the base location for where the first access the apache file is stored. Locatation :  $FMW_HOME/webtier/instances/EBS_WEB_OHS/config/OHS/EBS_web/ httpd.conf Ex:- DocumentRoot : "/u01/applmgr/DEV/fs1/inst/apps/dev_ebsvis/portal" Under this DocumentRoot folder, index.html will redirect to the application login page. http://<URL_HOSTNAME>:<PORT>/OA_HTML/AppsLogin The application identified the context in OA_HTML and redirected the connection to the OACORE server. The application connects to the database using the APPLSYSPUB user and displays the login page. The password was obtained from the DBC file. The password for APPLSYSPUB is available in two lo...

How to Change Weblogic Password in R12.2

This step requires a minimum version of R12.AD.C.Delta.7 and R12.TXK.C.Delta.7 or later. TXK 7's functionality has been simplified and largely automated with the introduction of a new utility that handles previously manual procedures. 1. Shutdown the all application tier services except the Admin Server. Primary node, run the below command cd $ADMIN_SCRIPTS_HOME /adstpall.sh -skipNM -skipAdmin Secondary nodes, stop the application services cd $ADMIN_SCRIPTS_HOME /adstpall.sh 2. To change the Oracle WebLogic Server Administration User password, execute the below command on the primary node's run file system. Source the environment on the run file system. perl $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl -action=updateAdminPassword 3. Start all services on all nodes, using the command: cd $ ADMIN_SCRIPTS_HOME /adstrtal.sh Reference: How To Change or Reset The WebLogic Administration Password In 12.2 E-Business Suite (Doc ID 1385751.1 )

ADOP Frequently Using Commands

How to check EBS CPU level Copy Select max (CODELEVEL) "CPU" from AD_TRACKABLE_ENTITIES where ABBREVIATION in ('ebscpu'); How to check AD and TXK Code level Copy Select abbreviation,codelevel from ad_trackable_entities where abbreviation in( 'ad','txk','cc_pf','atg_pf','scp_pf' ) order by abbreviation; How to check Patch applied status Copy Select bug_number,creation_date from ad_bugs where bug_number= How to check Installed language in EBS Copy SELECT Language_code, NLS_language, Installed_flag FROM fnd_languages WHERE installed_flag IN ('I', 'B'); I- Installed Language B- Base Language Is System crash/Unable to continue the Adop session  Execute below querys to find which session is causing theissue Copy select adop_session_id from ad_adop_sessions where status='R'; Copy select ADOP_SESSION_ID,PREPARE_...