Академический Документы
Профессиональный Документы
Культура Документы
OracleDatabasePatch22191349OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119(Jan2016)
Gotoprimarycontent
OracleDatabase
Patch22191349OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119(Jan2016)
Platform:Linuxx8664,SolarisSPARC,Solarisx8664,IBMAIX,LinuxonIBMSystemz
Released:January19,2016
FromCPUJan2016onwards,the5thdigitoftheversionnumberwillbechangedtoreflectthereleasedateintheformatYYMMDD.SeeMyOracleSupportDocument
2061926.1formoreinformation.
InthisdocumentOracleDatabaseHomereferstoEnterpriseEditionorStandardEditionDatabasesoftware.GIreferstoGridInfrastructureandPSUreferstoPatchSet
Update.
TheGISystempatchincludesupdatesforboththeClusterwarehomeandDatabasehomethatcanbeappliedinarollingfashion.
ThispatchisDataGuardStandbyFirstInstallableSeeSection2.5,"InstallingDatabasePSUinStandbyFirstMode"formoreinformation.
ThispatchcanbeappliedusingOracleEnterpriseManagerCloudControl12cversion.OracleEnterpriseManagerprovidescompleteautomationtopatchtheclusterin
zerodowntimebothinInplaceandOutofPlacemodes(OutofPlaceiscurrentlyavailableforExadatainstallationsonly.Formoreinformation,seeMyOracleSupport
Note1265998.1PatchOracleExadataDatabaseMachineviaOracleEnterpriseManager.)
ThispatchissupportedbyOPlan.OPlanisautilitythatfacilitatesthepatchinstallationprocessbyprovidingyouwithstepbysteppatchinginstructionsspecifictoyour
environment.Theinstructionscoverbothpatchapplicationandpatchrollbacksteps.TheinstructionsalsocovermultiplepatchingoptionsacrossInplaceandOutof
Placemethodologies.ImportantNote:12.1.0.1GIandRACOutofPlacepatchinghaveafewknownissues.SeeMyOracleSupportNote1306814.1OracleSoftware
PatchingwithOPLANformoredetailedinformation.
Thisdocumentisaccurateatthetimeofrelease.ForanychangesandadditionalinformationregardingGIPSU12.1.0.2.160119,seetheserelateddocumentsthatare
availableatMyOracleSupport(http://support.oracle.com/):
Document854428.1PatchSetUpdatesforOracleProducts
Document2076302.1OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119KnownIssues
Thisdocumentincludesthefollowingsections:
Section1,"PatchInformation"
Section2,"PatchInstallationandDeinstallation"
Section3,"KnownIssues"
Section4,"References"
Section5,"ManualStepsforApply/RollbackPatch"
Section6,"BugsFixedbyThisPatch"
Section7,"DocumentationAccessibility"
1PatchInformation
GISystempatchesarecumulativeandincludetheDatabasePSUandassociatedCPUprogramsecuritycontent.
Table1describesinstallationtypesandsecuritycontent.Foreachinstallationtype,itindicatesthemostrecentpatches,whichincludesnewsecurityfixesthatare
pertinenttothatinstallationtype.Iftherearenosecurityfixestobeappliedtoaninstallationtype,then"None"isindicated.Ifaspecificpatchislisted,thenapplythator
anylaterpatchtobecurrentwithsecurityfixes.
Table1InstallationTypesandSecurityContent
InstallationType
LatestPSUwithSecurityFixes
Serverhomes
GISystemPatch12.1.0.2.160119
GridInfrastructurehome
GISystemPatch12.1.0.2.160119
ClientOnlyInstallations
GISystemPatch12.1.0.2.160119
InstantClientInstallations
GISystemPatch12.1.0.2.160119
(TheInstantClientinstallationisnotthesameastheclientonlyInstallation.ForadditionalinformationaboutInstantClient
installations,seeOracleCallInterfaceProgrammer'sGuide.)
Table2liststhevariousconfigurationsandtheapplicableGISystemPatchthatshouldbeusedtopatchthatconfiguration.
Table2ConfigurationandPSUMapping
Configuration
GIVersion
Database
Versions
GISystemPatch
OPatchCommandFoot1 Comments
GIHomeinconjunctionwithRAC,
12.1.0.2
12.1.0.2
GISystemPatch
opatchauto
https://updates.oracle.com/Orion/Services/download?type=readme&aru=19621888#BABEHDHB
GIHomeandalltheDatabaseHomeswill
1/7
5/18/2016
OracleDatabasePatch22191349OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119(Jan2016)
GIHomeinconjunctionwithRAC,
RACOne,orSingleInstancehome
12.1.0.2
12.1.0.2
GISystemPatch
opatchauto
GIHomeandalltheDatabaseHomeswill
bepatched
GIHomeinconjunctionwithRAC,
RACOne,orSingleInstancehome
12.1.0.2
12.1.0.2andprior
versions
GISystemPatch
opatchauto
GIHomeandDatabaseHomeat12.1.0.2
versionwillbepatched.
ForDatabasehomewithversionother
than12.1.0.2,applytheappropriate
DatabasePSUforthatversion.For
example,apply11.1.0.7.xPSUto
Databaseversion11.1.0.7.0.
GIHomeinconjunctionwithRAC,
RACOne,orSingleInstancehome
12.1.0.2
Versionspriorto
12.1.0.2
GISystemPatch
OracleRestartHome
opatchauto
GIHomealoneispatched.
12.1.0.2
12.1.0.2
GISystemPatch
opatchauto
GIHomeandalltheDatabaseHomeswill
bepatched.
DatabaseSingleInstancehome
NA
12.1.0.2
DatabasePSU
opatchapply
None
DatabaseClienthome
NA
12.1.0.2
DatabasePSU
opatchapply
None
ForDatabasehome,applythe
appropriateDatabasePSUforthat
version.Forexample,apply11.1.0.7.x
PSUtoDatabaseversion11.1.0.7.0.
Footnote1OpatchautodoesnotsupportpatchinginDataGuardenvironments.SeeSection2.5,"InstallingDatabasePSUinStandbyFirstMode"formoreinformation.
Table3liststhevariouspatchesbypatchnumbergettinginstalledaspartofthisGIPSUpatch.
Table3PatchNumbersGettingInstalledasPartofthisGIPSUPatch
PatchNumber
Description
ApplicableHomes
21948354
DBPSU12.1.0.2.160119(JAN2016)
BothDBHomesandGridHome
21948344
OCWPSU12.1.0.2.160119
BothDBHomesandGridHome
21948341
ACFSPSU12.1.0.2.160119
OnlyGridHome
21436941
DBWLMPSU12.1.0.2.5
OnlyGridHome
2PatchInstallationandDeinstallation
Thissectionincludesthefollowingsections:
Section2.1,"PatchInstallationPrerequisites"
Section2.2,"OneoffPatchConflictDetectionandResolution"
Section2.3,"opatchautoforGI"
Section2.4,"PatchInstallation"
Section2.5,"InstallingDatabasePSUinStandbyFirstMode"
Section2.6,"PatchPostInstallationInstructions"
Section2.7,"PatchPostInstallationInstructionsforDatabasesCreatedorUpgradedafterInstallationofPatchintheOracleHome"
Section2.8,"PatchDeinstallation"
Section2.9,"PatchPostDeinstallationInstructions"
2.1PatchInstallationPrerequisites
Youmustsatisfytheconditionsinthefollowingsectionsbeforeapplyingthepatch:
OPatchUtilityInformation
https://updates.oracle.com/Orion/Services/download?type=readme&aru=19621888#BABEHDHB
2/7
5/18/2016
OracleDatabasePatch22191349OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119(Jan2016)
OCMConfiguration
ValidationofOracleInventory
DownloadandUnzipthePatch
2.1.1OPatchUtilityInformation
YoumustusetheOPatchutilityversion12.1.0.1.7orlatertoapplythispatch.OraclerecommendsthatyouusethelatestreleasedOPatchversionfor12.1releases,
whichisavailablefordownloadfromMyOracleSupportpatch6880880byselectingARUlinkforthe12.1.0.1.0release.ItisrecommendedthatyoudownloadtheOpatch
utilityandthepatchinasharedlocationtobeabletoaccessthemfromanynodeintheclusterforthepatchapplicationoneachnode.
WhenpatchingtheGIHome,asharedlocationonACFSonlyneedstobeunmountedonthenodewheretheGIHomeisbeingpatched.
ThenewopatchutilityshouldbeupdatedinalltheOracleRACdatabasehomesandtheGIhomethatarebeingpatched.
ToupdateOpatch,usethefollowinginstructions:
1.DownloadtheOPatchutilitytoatemporarydirectory.
2.ForeachOracleRACdatabasehomeandtheGIhomethatarebeingpatched,runthefollowingcommandsasthehomeownertoextracttheOPatchutility.
$unzip<OPATCHZIP>d<ORACLE_HOME>
$<ORACLE_HOME>/OPatch/opatchversion
Theversionoutputofthepreviouscommandshouldbe12.1.0.1.7orlater.
ForinformationaboutOPatchdocumentation,includinganyknownissues,seeMyOracleSupportDocument293369.1OPatchdocumentationlist.
2.1.2OCMConfiguration
TheOPatchutilitywillpromptforyourOCM(OracleConfigurationManager)responsefilewhenitisrun.YoushouldenteracompletepathofOCMresponsefileifyou
alreadyhavecreatedthisinyourenvironment.OCMresponsefileisrequiredandisnotoptional.
IfyoudonothavetheOCMresponsefile(ocm.rsp),seethefollowingMyOracleSupportDocument966023.1HowToCreateAnOCMResponseFileForOpatchSilent
Installation.
2.1.3ValidationofOracleInventory
Beforebeginningpatchapplication,checktheconsistencyofinventoryinformationforGIhomeandeachdatabasehometobepatched.Runthefollowingcommandas
respectiveOraclehomeownertochecktheconsistency.
$<ORACLE_HOME>/OPatch/opatchlsinventorydetailoh<ORACLE_HOME>
Ifthiscommandsucceeds,itliststheOraclecomponentsthatareinstalledinthehome.Savetheoutputsoyouhavethestatuspriortothepatchapply.
Ifthiscommandfails,contactOracleSupportServicesforassistance.
2.1.4DownloadandUnzipthePatch
Toapplythepatch,itmustbeaccessiblefromallnodesintheOraclecluster.Downloadthepatchandunzipittoasharedlocation,thisiscalledthe
<UNZIPPED_PATCH_LOCATION>.Thisdirectorymustbeemptyandnotbe/tmp.Additionally,thedirectoryshouldhavereadpermissionfortheORA_INSTALLgroup.
$cd<UNZIPPED_PATCH_LOCATION>
Checkthatthedirectoryisempty.
$ls
Unzipthepatchasgridhomeowner.
$unzipp22191349_121020_<platform>.zip
2.2OneoffPatchConflictDetectionandResolution
ThefastestandeasiestwaytodeterminewhetheryouhaveoneoffpatchesintheOraclehomethatconflictwiththepatch,andtogetthenecessaryconflictresolution
patches,istousethePatchRecommendationsandPatchPlansfeaturesonthePatches&UpdatestabinMyOracleSupport.Thesefeaturesworkinconjunctionwith
theMyOracleSupportConfigurationManager.RecordedtrainingsessionsonthesefeaturescanbefoundinDocument603505.1.
However,ifyouarenotusingMyOracleSupportPatchPlans,theMyOracleSupportConflictCheckertoolenablesyoutouploadanOPatchinventoryandcheckthe
patchesthatyouwanttoapplytoyourenvironmentforconflicts.
Ifnoconflictsarefound,youcandownloadthepatches.Ifconflictsarefound,thetoolfindsanexistingresolutiontodownload.Ifnoresolutionisfound,itwill
automaticallyrequestaresolution,whichyoucanmonitorinthePlansandPatchRequestsregionofthePatches&Updatestab.
Formoreinformation,seeKnowledgeDocument1091294.1,HowtousetheMyOracleSupportConflictCheckerTool.
Or,manuallydeterminewhetheranycurrentlyinstalledoneoffpatchesconflictwiththePSUpatchasfollows:
IntheunzippeddirectoryasdescribedinSection2.1.4,"DownloadandUnzipthePatch".
Thefollowingcommandscheckforconflictsinboththe12.1GIhomeandthe12.1DBhomes.
Incaseyouareapplyingthepatch,runthiscommand:
#GRID_HOME/OPatch/opatchautoapply<UNZIPPED_PATCH_LOCATION>/22191349analyzeocmrf<ocmresponsefile>
Incaseyouarerollingbackthepatch,runthiscommand:
https://updates.oracle.com/Orion/Services/download?type=readme&aru=19621888#BABEHDHB
3/7
5/18/2016
OracleDatabasePatch22191349OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119(Jan2016)
#GRID_HOME/OPatch/opatchautorollback<UNZIPPED_PATCH_LOCATION>/22191349analyze
NotethatOracleproactivelyprovidesPSUoneoffpatchesforcommonconflicts.
SeeMyOracleSupportDocument1061295.1PatchSetUpdatesOneoffPatchConflictResolutiontodetermine,foreachconflictingpatch,whetheraconflictresolution
patchisalreadyavailable,andifyouneedtorequestanewconflictresolutionpatchoriftheconflictmaybeignored.
2.3opatchautoforGI
TheOpatchutilityhasautomatedthepatchapplicationfortheOracleGridInfrastructure(GI)homeandtheOracleRACdatabasehomes.Itoperatesbyqueryingexisting
configurationsandautomatingthestepsrequiredforpatchingeachOracleRACdatabasehomeofsameversionandtheGIhome.
Theutilitymustbeexecutedbyanoperatingsystem(OS)userwithrootprivileges,anditmustbeexecutedoneachnodeintheclusteriftheGIhomeorOracleRAC
databasehomeisinnonsharedstorage.Theutilityshouldnotberuninparallelontheclusternodes.
Dependingoncommandlineoptionsspecified,oneinvocationofopatchautocanpatchtheGIhome,OracleRACdatabasehomes,orbothGIandOracleRACdatabase
homesofthesameOraclereleaseversionasthepatch.Youcanalsorollbackthepatchwiththesameselectivity.
Addthedirectorycontainingtheopatchautotothe$PATHenvironmentvariable.Forexample:
#exportPATH=$PATH:<GI_HOME>/OPatch
TopatchtheGIhomeandallOracleRACdatabasehomesofthesameversion:
#opatchautoapply<UNZIPPED_PATCH_LOCATION>/22191349ocmrf<ocmresponsefile>
TopatchonlytheGIhome:
#opatchautoapply<UNZIPPED_PATCH_LOCATION>/22191349oh<GI_HOME>ocmrf<ocmresponsefile>
TopatchoneormoreOracleRACdatabasehomes:
#opatchautoapply<UNZIPPED_PATCH_LOCATION>/22191349oh<oracle_home1_path>,<oracle_home2_path>ocmrf<ocmresponsefile>
TorollbackthepatchfromtheGIhomeandeachOracleRACdatabasehome:
#opatchautorollback<UNZIPPED_PATCH_LOCATION>/22191349
TorollbackthepatchfromtheGIhome:
#opatchautorollback<UNZIPPED_PATCH_LOCATION>/22191349oh<pathtoGIhome>
TorollbackthepatchfromtheOracleRACdatabasehome:
#opatchautorollback<UNZIPPED_PATCH_LOCATION>/22191349oh<oracle_home1_path>,<oracle_home2_path>
Formoreinformationaboutopatchauto,seeOracleOPatchUser'sGuide.
Fordetailedpatchinstallationinstructions,seeSection2.4,"PatchInstallation".
2.4PatchInstallation
ThepatchinstructionswilldifferbasedontheconfigurationoftheGridinfrastructureandtheOracleRACdatabasehomes.PatchinginstructionsforOracleRACDatabase
HomesandGItogetherarelistedbelow.
Themostcommonconfigurationsarelistedasfollows:
Case1:GIHomeandtheDatabaseHomesthatarenotsharedandACFSfilesystemisnotconfigured.
Case2:GIHomeisnotshared,DatabaseHomeisshared,ACFSmaybeused.
Forotherconfigurationslistedbelow,seeMyOracleSupportDocument1591616.1:
GIHomeisnotshared,theDatabaseHomeisnotshared,ACFSmaybeused.
PatchingOracleRACDatabaseHomes.
PatchingGIHomealone.
PatchingOracleRestartHome.
PatchingasoftwareonlyGIHomeinstallationorbeforetheGIHomeisconfigured.
PatchingOracleRACDatabaseHomesandGITogether
Case1:GIHomeandtheDatabaseHomesthatarenotsharedandACFSfilesystemisnotconfigured.
Asrootuser,executethefollowingcommandoneachnodeofthecluster:
#<GI_HOME>/OPatch/opatchautoapply<UNZIPPED_PATCH_LOCATION>/22191349ocmrf<ocmresponsefile>
Case2:GIHomeisnotshared,DatabaseHomeisshared,ACFSmaybeused.
Patchinginstructions:
1.FromtheOracledatabasehome,makesuretostoptheOracleRACdatabasesrunningonallnodes.Asthedatabasehomeownerexecute:
$<ORACLE_HOME>/bin/srvctlstopdatabased<dbuniquename>
2.Onthe1stnode,unmounttheACFSfilesystems.SeeMyOracleSupportDocument1494652.1forunmountingACFSfilesystems.
https://updates.oracle.com/Orion/Services/download?type=readme&aru=19621888#BABEHDHB
4/7
5/18/2016
OracleDatabasePatch22191349OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119(Jan2016)
3.Onthe1stnode,applythepatchtotheGIHomeusingtheopatchautocommand.Asrootuser,executethefollowingcommand:
#<GI_HOME>/OPatch/opatchautoapply<UNZIPPED_PATCH_LOCATION>/22191349oh<GI_HOME>ocmrf<ocmresponsefile>
4.Ifthemessage,"AsystemrebootisrecommendedbeforeusingACFSisshown,thenarebootmustbeissuedbeforecontinuing.Failuretodosowillresult
inrunningwithanunpatchedACFS\ADVM\OKSdriver.
5.Onthe1stnode,remountACFSfilesystems.SeeMyOracleSupportDocument1494652.1formountingACFSfilesystems.
6.Onthe1stnode,applythepatchtotheDatabasehomeusingtheopatchautocommand.SincetheDatabasehomeisshared,thisoperationwillpatchthe
Databasehomeacrossthecluster.NotethataUSMonlypatchcannotbeappliedtoadatabasehome.Asrootuser,executethefollowingcommand:
#<GI_HOME>/OPatch/opatchautoapply<UNZIPPED_PATCH_LOCATION>/22191349oh<ORACLE_HOME>ocmrf<ocmresponsefile>
7.Onthe1stnodeonly,restarttheOracleinstance,whichyouhavepreviouslystoppedinStep1.Asthedatabasehomeownerexecute:
$<ORACLE_HOME>/bin/srvctlstartinstanced<dbuniquename>n<nodename>
8.Onthe2nd(next)node,unmounttheACFSfilesystems.SeeMyOracleSupportDocument1494652.1forunmountingACFSfilesystems.
9.Onthe2ndnode,applythepatchtoGIHomeusingtheopatchautocommand.Asrootuser,executethefollowingcommand:
#<GI_HOME>/OPatch/opatchautoapply<UNZIPPED_PATCH_LOCATION>/22191349oh<GI_HOME>ocmrf<ocmresponsefile>
10.Ifthemessage,"AsystemrebootisrecommendedbeforeusingACFSisshown,thenarebootmustbeissuedbeforecontinuing.Failuretodosowillresult
inrunningwithanunpatchedACFS\ADVM\OKSdriver.
11.Onthe2ndnode,runningtheopatchautocommandinStep9willrestartthestack.
12.Onthe2ndnode,remountACFSfilesystems.SeeMyOracleSupportDocument1494652.1formountingACFSfilesystems.
13.Onthe2ndnodeonly,restarttheOracleinstance,whichyouhavepreviouslystoppedinStep1.Asthedatabasehomeownerexecute:
$<ORACLE_HOME>/bin/srvctlstartinstanced<dbuniquename>n<nodename>
14.RepeatSteps8through13forallremainingnodesofthecluster.
2.5InstallingDatabasePSUinStandbyFirstMode
ForDataGuardStandbyFirstpatching,seeMyOracleSupportDocument1265700.1.ForStandbyFirstpatchingforOracleDatabasePSU12.1andhigher,thefollowing
pointsneedtobeconsidered:
1.TheDatabasePSUmustbeappliedtotheDataGuardstandbyusingOpatch.
2.DatapatchmustnotbeinvokedontheDataGuardstandbyenvironmenttoapplypostpatchSQLactionsfortheDatabasePSU.Ifdatapatchisrunonastandby,it
willerrorwhiletryingtocalltheSYS.DBMS_QOPATCHinterface.Formoredetailsaboutthiserror,seeMyOracleSupportDocument1599479.1.
3.Datapatchmustbeinvokedontheprimarydatabaseafterallthedatabases,thatisprimaryandDataGuard,arepatchedandpatchdeploymentoftheDatabase
PSUiscompleteforthesetup.
2.6PatchPostInstallationInstructions
Afterinstallingthepatch,performthefollowingactions:
1.ApplyconflictresolutionpatchesasexplainedinSection2.6.1.
2.LoadmodifiedSQLfilesintothedatabase,asexplainedinSection2.6.2.
2.6.1ApplyingConflictResolutionPatches
ApplythepatchconflictresolutiononeoffpatchesthatweredeterminedtobeneededwhenyouperformedthestepsinSection2.2,"OneoffPatchConflictDetectionand
Resolution".
2.6.2LoadingModifiedSQLFilesintotheDatabase
ThefollowingstepsloadmodifiedSQLfilesintothedatabase.ForaRACenvironment,performthesestepsononlyonenode.
DatapatchisruntocompletethepostinstallSQLdeploymentforthePSU.ForfurtherdetailsaboutDatapatch,includingKnownIssuesandworkaroundstocommon
problems,see:Database12cPostPatchSQLAutomation(DocID1585822.1).
1.ForeachseparatedatabaserunningonthesamesharedOraclehomebeingpatched,runthedatapatchutilityasdescribedinTable4.
Table4StepstoRuntheDatapatchUtilityforStandaloneDBVersusSingle/Multitenant(CDB/PDB)DB
Steps
StandaloneDB
Steps
Single/Multitenant(CDB/PDB)DB
%sqlplus/nolog
%sqlplus/nolog
SQL>Connect/assysdba
SQL>Connect/assysdba
SQL>startup
SQL>startup
SQL>quit
SQL>alterpluggabledatabaseallopenFoot1
https://updates.oracle.com/Orion/Services/download?type=readme&aru=19621888#BABEHDHB
5/7
5/18/2016
OracleDatabasePatch22191349OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119(Jan2016)
%cd$ORACLE_HOME/OPatch
SQL>quit
%./datapatchverbose
%cd$ORACLE_HOME/OPatch
%./datapatchverbose
Footnote1ItisrecommendedthePostInstallstepberunonallpluggabledatabaseshowever,thefollowingcommand(SQL>alterpluggabledatabase
PDB_NAMEopen)couldbesubstitutedtoonlyopencertainPDBsinthesingle/multitenantdatabase.DoingsowillresultinthePostInstallsteponlybeingrunon
theCDBandopenedPDB's.Toupdateapluggabledatabaseatalaterdate(skippedornewlypluggedin),openthedatabaseusingthealterpluggable
databasecommandmentionedpreviouslyandrerunthedatapatchutility.SeeMyOracleSupportDocument1935365.1MultitenantUnplug/PlugBestPracticesfor
moreinformationabouttheprocedureforunplugging/pluggingwithdifferentpatchreleases(inbothdirections).
ThedatapatchutilitywillthenrunthenecessaryapplyscriptstoloadthemodifiedSQLfilesintothedatabase.Anentrywillbeaddedtothe
dba_registry_sqlpatchviewreflectingthepatchapplication.Inthedba_registry_sqlpatchview,verifytheStatusfortheAPPLYis"SUCCESS".For
anyotherstatus,refertothefollowingMyOracleSupportnoteforadditionalinformationandactions:Document1609718.1DatapatchKnownIssues.
2.Checkthefollowinglogfilesin$ORACLE_BASE/cfgtoollogs/sqlpatch/21948354/<uniquepatchID>forerrors:
21948354_apply_<databaseSID>_<CDBname>_<timestamp>.log
wheredatabaseSIDisthedatabaseSID,CDBnameisthenameofthemultitenantcontainerdatabase,andtimestampisoftheform
YYYYMMMDD_HH_MM_SS.
2.7PatchPostInstallationInstructionsforDatabasesCreatedorUpgradedafterInstallationofPatchintheOracleHome
YoumustexecutethestepsinSection2.6.2,"LoadingModifiedSQLFilesintotheDatabase"foranyneworupgradeddatabase.
2.8PatchDeinstallation
DatapatchisruntocompletethepostdeinstallSQLdeploymentforthePSU.ForfurtherdetailsaboutDatapatch,includingKnownIssuesandworkaroundstocommon
problems,see:Database12cPostPatchSQLAutomation(DocID1585822.1).
ThepatchrollbackinstructionswilldifferbasedontheconfigurationoftheGridinfrastructureandtheOracleRACdatabasehomes.RollBackinstructionsforOracleRAC
DatabaseHomesandGIarelistedbelow.
Themostcommonconfigurationsarelistedasfollows:
Case1:GIHomeandDatabaseHomesthatarenotsharedandACFSfilesystemisnotconfigured.
Case2:GIHomeisnotshared,DatabaseHomeissharedandACFSmaybeused.
Forotherconfigurationslistedbelow,seeMyOracleSupportDocument1494646.1:
GIHomeisnotshared,theDatabaseHomeisnotshared,ACFSmaybeused.
RollingbackfromOracleRACDatabaseHomes.
RollingbackfromGIHomealone.
RollingbackthepatchfromOracleRestartHome.
RollingbackthepatchfromasoftwareonlyGIHomeinstallationorbeforetheGIHomeisconfigured.
RollBacktheOracleRACDatabaseHomesandGITogether
Case1:GIHomeandDatabaseHomesthatarenotsharedandACFSfilesystemisnotconfigured.
Asrootuser,executethefollowingcommandoneachnodeofthecluster.
#<GI_HOME>/OPatch/opatchautorollback<UNZIPPED_PATCH_LOCATION>/22191349
Ifthemessage,"AsystemrebootisrecommendedbeforeusingACFS"isshown,thenarebootmustbeissuedbeforecontinuing.Failuretodosowillresultin
runningwithanunpatchedACFS\ADVM\OKSdriver.
Case2:GIHomeisnotshared,DatabaseHomeissharedandACFSmaybeused.
1.FromtheOracledatabasehome,makesuretostoptheOracleRACdatabasesrunningonallnodes.Asthedatabasehomeownerexecute:
$<ORACLE_HOME>/bin/srvctlstopdatabased<dbuniquename>
2.Onthe1stnode,unmounttheACFSfilesystems.SeeMyOracleSupportDocument1494652.1forunmountingACFSfilesystems.
3.Onthe1stnode,rollbackthepatchfromtheGIHomeusingtheopatchautocommand.Asrootuser,executethefollowingcommand:
#<GI_HOME>/OPatch/opatchautorollback<UNZIPPED_PATCH_LOCATION>/22191349oh<GI_HOME>
4.Ifthemessage,"AsystemrebootisrecommendedbeforeusingACFSisshown,thenarebootmustbeissuedbeforecontinuing.Failuretodosowillresult
inrunningwithanunpatchedACFS\ADVM\OKSdriver.
5.Onthe1stnode,remountACFSfilesystems.SeeMyOracleSupportDocument1494652.1formountingACFSfilesystems.
6.Onthe1stnode,rollbackthepatchtotheDatabasehomeusingtheopatchautocommand.ThisoperationwillrollbackthepatchtotheDatabasehome
acrosstheclustergiventhatitisasharedACFShome.NotethataUSMonlypatchcannotbeappliedtoaDatabasehome.Asrootuser,executethe
followingcommand:
https://updates.oracle.com/Orion/Services/download?type=readme&aru=19621888#BABEHDHB
6/7
5/18/2016
OracleDatabasePatch22191349OracleGridInfrastructurePatchSetUpdate12.1.0.2.160119(Jan2016)
#<GI_HOME>/OPatch/opatchautorollback<UNZIPPED_PATCH_LOCATION>/22191349
7.Onthe1stnodeonly,restarttheOracleinstance,whichyouhavepreviouslystoppedinStep1.Asthedatabasehomeownerexecute:
$<ORACLE_HOME>/bin/srvctlstartinstanced<dbuniquename>n<nodename>
8.Onthe2nd(next)node,unmounttheACFSfilesystems.SeeMyOracleSupportDocument1494652.1forunmountingACFSfilesystems.
9.Onthe2ndnode,rollbackthepatchtoGIHomeusingtheopatchautocommand.
https://updates.oracle.com/Orion/Services/download?type=readme&aru=19621888#BABEHDHB
7/7