Professional Documents
Culture Documents
Method 1:
Sqlplus apps/<apps_password>
Method 2:
Example:
www.support.oracle.com
Exapmple: Command:
Step 4: Before applying patch:(check invalid objects in DB) and Backup the invalids
object before applying the patch:
Example:
Note:
Send outage communication/put mail to business
Step 5: Stop all application services (If we don’t want to close application
services, we have hot patch option:
Note: If it is shared application file system you have to bring down admin tier
service i.e, concurrent node it depends on business requirement.
Example:
$ adadmin
If the status:
“MAINT” = MAINTENANCE MODE HAS BEEN ENABLED AND THE USERS WILL NOT BE ABLE TO
LOGIN.
“NORMAL” = MAINTENANCE MODE HAS BEEN DE-ACTIVATED AND THE USERS WILL BE ABLE TO
LOGIN.
Note:
Now fire adpatch from VNC server as its process will be created on the server.
You can also use putty session but this process will run at client side. Putty
session will be inactive after 30 mins. if your patch taking more than 30 mins
your session will gone. You have to start adpatch from the start. So it's better
practice to use VNC.
FIRE :adpatch
as adpatch will ask for some questions like logfile
name,system,apps,ORACLE_HOME,number of worker,driver file, once the patch is
applied successfully. Please check the logfile for errors and warnings.
Use adpatch by going to patch directory
Go to the patch top directory,where all driver and required ldt files are present
with the application file system owner,makes sure all files have read,write and
execute permission.
As described below:
NAME
---------
TESTDB
BUG_NUMBER CREATION_DATE
------------------------------ ---------------
5549427 12-FEB-13
OWNER COUNT(*)
------------------------------ ----------
SYS 1
TEST_USER1 2
TEST_USER2 5
APPS 22
Step c:Check the file versions got changed successfully after applying patch:
Note :We can get HOME page URL by using below query:
SQL>Select Home_URL from icx_parameter;