Posts

What Happens When You Use ALTER USER Command To Change EBS User Passwords

The Problem with ALTER USER When you change a EBS applicatation user's password directly at the database level using the ALTER USER command: The new password is updated only in the database. The password remains unchanged in the EBS application's FND tables . Why This Matters The FND tables store encrypted versions of user passwords, and they must be synchronized with the database. If the passwords between the FND tables and the database are out of sync: The EBS application won't recognize the new password. Login failures occur. Application functionality is disrupted. The Correct Approach To avoid these issues, passwords should always be changed through: The  EBS application  itself, or The  FNDCPASS utility . Using these methods ensures that: The database password is updated. The corresponding encrypted password in the FND tables is also updated. Related Posts: FNDCPASS Utlity in R12.2 How to Grant Privileges in Oracle EBS R12.2 Using AD_ZD.GRANT_PRIVS

How to Start and Stop Oracle Data Guard 19c

Oracle Data Guard for data protection and high availability. Knowing how to start and stop the Oracle Data Guard server is essential for database administrators. This document will explain the process step-by-step. Steps to Stop the DR Database Stop the Listener Copy lsnrctl stop <listener_name> Replace <listener_name> with the name of your database listener. This command stops the listener service that facilitates client connections to the database.   Cancel Managed Recovery Connect to the database using SQL*Plus and cancel the managed recovery process: Copy SQL>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; Database altered. This halts the recovery process for the standby database. Shutdown the Database Execute the following command to shut down the DR database: Copy SQL> SHUT IMMEDIATE; ORA-01109:database not open Database dismounted. ORACLE instance shut down. SQL> This...

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:...