
Usage:
	<ORACLE_HOME>/OPatch/opatchauto apply [Patch_Location ]

                            [ [-analyze]
                            [-database <database names> ]
                            [-generateSteps]
                            [-invPtrLoc <Path to oraInst.loc> ]
                            [-jre <JRE_Loc> ] 
                            [-norestart ]
                            [-nonrolling ]
                            [-ocmrf <OCM response file location> ]
                            [-oh <OH_List> ] ]
                            
Purpose:    
	Apply a System Patch to Oracle Home. If patch location is not 
	specified,  current directory will be taken as the patch location.
	Command must run as root user.

Options:

		Patch_Location:
			Path of patch that has to be used for patching. If the patch 
			location is not specified, then the current directory is taken 
			as the patch location.

       -analyze
			Run all the required prerequisite checks to confirmwhether the 
			system is patchable without actually patching or affecting 
			the system in any way.

       -database <database name>
            Specify the RDBMS home(s) to be patched. Comma should separate 
			Oracle Database names in Option value.

       -generateSteps
            Generate the steps that  will be performed in apply session. 

       -invPtrLoc
            Used to locate the oraInst.loc file when the installation used 
            the -invPtrLoc. This should be the path to the oraInst.loc file.

       -jre <JRE_Loc>
            Use JRE (java) from the mentioned location rather than the default 
			location under Oracle Home.

       -norestart
            Not to restart the Grid Infrastructure stack and database home 
			resources after patching.

       -nonrolling
            Run patching session in 'nonrolling' mode. Before the patching 
			sessions starts, the stack on the local node must be  running while
            the stack must be stopped on all the remaining nodes 

       -ocmrf <OCM response file location>
            Specify the absolute path to the OCM response file. It is required 
			when the target Oracle Home(s) doesn't have OCM installed or configured.

       -oh
            Specify Oracle Home(s) , which can be a RAC home, a Grid Home or a comma separated list 
			of multiple homes, to be patched. . This takes precedence over the environment variable ORACLE_HOME.





Examples:
      To patch GI home and all RAC homes: 
      '<GI_HOME>/OPatch/opatchauto apply <Patch_Location>'

      To patch multiple homes:
      '<GI_HOME>/OPatch/opatchauto apply <Patch_Location> -oh <GI_HOME>,<RAC_HOME1>,<RAC_HOME2>'

      To patch databases running only from RAC homes:
      '<RAC_HOME>/OPatch/opatchauto apply <Patch_Location>-database db1,db2...dbn'

      To patch software-only installation:
      '<RAC_HOME>/OPatch/opatchauto apply <Patch_Location> -oh <RAC_HOME>' OR
      '<GI_HOME>/OPatch/opatchauto apply <Patch_Location>-oh <GI_HOME>'
