Вы находитесь на странице: 1из 14

WelcomeRaj

(//docs.oracle.com/en/)

(#)

Home(http://docs.oracle.com)/Middleware(../../index.html)/OracleGoldenGateforWindowsandUNIX(../index.html)

OracleGoldenGateInstallingand
ConfiguringOracleGoldenGateforOracle
Database

2InstallingOracleGoldenGate
ThischapterincludestheinstructionsforinstallingOracleGoldenGateforthefirsttime.InstallingOracle
GoldenGateinstallsallofthecomponentsthatarerequiredtorunandmanagetheprocessing
(excludinganycomponentsrequiredfromothervendors,suchasdriversorlibraries)anditinstallsthe
OracleGoldenGateutilities.
TheseinstructionsareforinstallingOracleGoldenGateforthefirsttime.Additionally,theyarefor
downloadingthebasereleaseofanewversionofOracleGoldenGate.
Todownloadandinstallsubsequentpatchestothebaserelease,gotothePatchesandUpdatestabof
MyOracleSupportat:
http://support.oracle.com

(http://support.oracle.com)

ToupgradeOracleGoldenGatefromoneversiontoanother,followtheupgradeinstructionsat:
http://docs.oracle.com/goldengate/1212/ggwinux/docs.htm
(http://docs.oracle.com/goldengate/1212/ggwinux/docs.htm)

Thischapterincludesthefollowingsections:

DownloadingOracleGoldenGate(#CHDFJAFC)
SettingORACLE_HOMEandORACLE_SID(#CHDDIHDE)
SettingLibraryPathsforDynamicBuildsonUNIX(#CHDFEJCJ)
PreparingtoInstallOracleGoldenGateWithinaCluster(#CHDGAJJA)
InstallingOracleGoldenGate(#A1910947)
IntegratingOracleGoldenGateintoaCluster(#CHDHDFAE)

2.1DownloadingOracleGoldenGate
DownloadtheappropriateOracleOracleGoldenGatebuildtoeachsystemthatwillbepartoftheOracle
OracleGoldenGateconfiguration.InanOracleRACconfiguration,downloadtotheshareddiskofthe
cluster.
SeeSection2.4,"PreparingtoInstallOracleGoldenGateWithinaCluster"(#CHDGAJJA)formore
informationaboutinstallingOracleGoldenGateinacluster.
SeeSection1.2.2,"DiskRequirements"(system_requirements.htm#BABFFEDH)fordiskspacerequirements.

ToDownloadOracleGoldenGate

1. Navigatetohttp://edelivery.oracle.com">>http://edelivery.oracle.com.
(http://support.oracle.com)

TheOracleSoftwareDeliveryCloudpageappears.
2. ClickSignin/Register.

Note:
Ifyouarenotalreadyloggedin,theSingleSignonpageappears.EnteryourOracleID
andpasswordandclickSignIn.
TheTerms&Restrictionspageappears
3. AccepttheOracleSoftwareDeliveryCloudTrialLicenseAgreementandtheExportRestrictions
andclickContinue.
TheMediaPackSearchpageappears.
4. OntheMediaPackSearchpage,dothefollowing:

a. ClicktheSelectProductPackdropdowncontroland,fromthelist,selectOracleFusion
Middleware.
b. ClickthePlatformdropdowncontroland,fromthelist,selecttheplatformonwhichyou
areinstallingOracleGoldenGate.
c. ClickGo.
TheResultslistexpandstoshowallavailablemediapacksthatincludeyoursearchcriteria.

5. OntheResultslist,selectthemediapackyouwanttodownloadandclickContinue.
Themediapack'sdownloadpageappears.Additionaldownloadselectionsmayappear,suchas
separatebuildsfordifferentdatabasesorversionsofadatabase.Notethatthispagecontains
thepartnumberandsizeofeachdownloadablefile.
6. Toensurethatyoudownloadthefilessuccessfully,firstreviewtheMediaPackReadmefor
downloadinstructionsandproductinformationbyclickingReadme.
7. Tobeginthedownloadprocess,clickDownloadnexttothenameoftheOracleGoldenGate
buildthatyouwanttodownload.
AFileDownloaddialogboxappears.
8. SelecteitherOpenwithorSaveFile:
To...

Select...

Installmediapackimmediately

Open,selectthedesiredfileextractionutility,
andextractthefilestoadesignatedlocation
onyourfilesystem.

Savethefileforlaterinstallation

Saveandpointtoadesignatedlocationon
yourfilesystem.

2.2SettingORACLE_HOMEandORACLE_SID
MakecertainthattheORACLE_HOMEandORACLE_SIDsystemenvironmentvariablesaresettothe
correctOracleinstance.TheOracleGoldenGateprocessesrefertothemwhenconnectingtothe
database.
Section2.2.1,"SpecifyingOracleVariablesonUNIXandLinuxSystems"(#CHDDGCDH)
Section2.2.2,"SpecifyingOracleVariablesonWindowsSystems"(#CHDDJJDE)

2.2.1SpecifyingOracleVariablesonUNIXandLinuxSystems
IfthereisoneinstanceofOracleDatabaseonthesystem,settheORACLE_HOMEandORACLE_SID
environmentvariablesatthesystemlevel.Ifyoucannotsetthemthatway,usethefollowingSETENV
statementsintheparameterfileofeveryExtractandReplicatgroupthatwillbeconnectingtothe
instance.TheSETENVparametersoverridethesystemsettingsandallowtheOracleGoldenGate
processtosetthevariablesatthesessionlevelwhenitconnectstothedatabase.

SETENV(ORACLE_HOME="pathtoOraclehomelocation")SETENV(ORACLE_SID="SID")

IftherearemultipleOracleinstancesonthesystemwithExtractandReplicatprocessesconnectingto
them,youwillneedtouseaSETENVstatementintheparameterfileofeachprocessgroup.Asinputto
theSETENVparameter,usetheORACLE_HOMEandORACLE_SIDenvironmentvariablestopointOracle
GoldenGatetothecorrectOracleinstance.Forexample,thefollowingshowsparameterfilesfortwo
Extractgroups,eachcapturingfromadifferentOracleinstance.
Group1:
EXTRACTora9aSETENV(ORACLE_HOME="/home/oracle/ora/product")SETENV
(ORACLE_SID="oraa")USERIDALIAStiger1RMTHOSTsysbRMTTRAIL
/home/ggs/dirdat/rtTABLEhr.empTABLEhr.salary

Group2:
EXTRACTorabSETENV(ORACLE_HOME="/home/oracle/ora/product")SETENV(ORACLE_SID
="orab")USERIDALIAStiger1RMTHOSTsysbRMTTRAIL/home/ggs/dirdat/stTABLE
fin.salesTABLEfin.cust

2.2.2SpecifyingOracleVariablesonWindowsSystems
IfthereisoneinstanceofOracleonthesystem,theRegistrysettingsforORACLE_HOMEandORACLE_SID
shouldbesufficientforOracleGoldenGate.IfthosesettingsareincorrectintheRegistryandcannotbe
changed,youcansetanoverrideasfollows.

1. OntheDesktoporStartmenu(dependingontheWindowsversion),rightclickMyComputer,
andthenselectProperties.
2. InProperties,clicktheAdvancedtab.
3. ClickEnvironmentVariables.
4. UnderSystemVariables,clickNew.
5. ForVariableName,typeORACLE_HOME.
6. ForVariableValue,typethepathtotheOraclebinaries.
7. ClickOK.
8. ClickNewagain.
9. ForVariableName,typeORACLE_SID.

10. ForVariableValue,typetheinstancename.
11. ClickOK.

IftherearemultipleOracleinstancesonthesystemwithExtractandReplicatprocessesconnectingto
them,dothefollowing.

1. Usetheprecedingprocedure(singleOracleinstanceonsystem)tosettheORACLE_HOMEand
ORACLE_SIDsystemvariablestothefirstOracleinstance.
2. StartalloftheOracleGoldenGateprocessesthatwillconnecttothatinstance.
3. RepeattheprocedureforthenextOracleinstance,butfirstedittheexistingORACLE_HOMEand
ORACLE_SIDvariablestospecifythenewinformation.
4. StarttheOracleGoldenGateprocessesthatwillconnecttothatinstance.
5. RepeattheeditandstartupprocedurefortherestoftheOracleinstances.

2.3SettingLibraryPathsforDynamicBuildson
UNIX
OracleGoldenGateusessharedlibraries.WhenyouinstallOracleGoldenGateonaUNIXsystem,the
followingmustbetruebeforeyourunGGSCIoranyotherOracleGoldenGateprocess.

1. Makecertainthatthedatabaselibrariesareaddedtothesharedlibraryenvironmentvariablesof
thesystem.Thisprocedureisusuallyperformedatdatabaseinstallationtime.Consultyour
DatabaseAdministratorifyouhaveanyquestions.
WhenOracleGoldenGateisrunningonthesameserverasthedatabase,allofthefollowing
mustbe64bit:

Oraclelibraryversions
OracleGoldenGateversion
Databaseversions
WhenOracleGoldenGateconnectsremotelytothedatabaseserverthroughSQL*Net,the
followingarerequired:

Replicat:TheOracleclientlibraryandtheOracleGoldenGatebuildmusthavethesameOracle
version,bittype(64bitorIA64),andoperatingsystemversion.
Extract:TheOracleclientlibraryandtheOracleGoldenGatebuildmusthavethesameOracle
version,bittype(64bitorIA64),andoperatingsystemversion.Inaddition,bothoperating
systemsmustbethesameendian.

2. IfyouwillberunninganOracleGoldenGateprogramfromoutsidetheOracleGoldenGate
installationdirectoryonaUNIXsystem:

(Optional)AddtheOracleGoldenGateinstallationdirectorytothePATHenvironmentvariable.
(Required)AddtheOracleGoldenGateinstallationdirectorytothesharedlibraries
environmentvariable.
Forexample,givenanOracleGoldenGateinstallationdirectoryof/users/ogg,thesecond
commandinthefollowingexamplerequiresthesevariablestobeset:

Command

RequiresGGlibrariesinenvironment
variable?

$users/ogg>./ggsci

No

$users>./ogg/ggsci

Yes

ToSettheVariablesinKornShell
PATH=installation_directory:$PATHexportPATH

shared_libraries_variable=absolute_path_of_installation_directory:$shared_libraries_varia
exportshared_libraries_variable

ToSettheVariablesinBourneShell
exportPATH=installation_directory:$PATHexport

shared_libraries_variable=absolute_path_of_installation_directory:$shared_libraries_varia

ToSettheVariablesinCShell

setenvPATHinstallation_directory:$PATHsetenvshared_libraries_variable
absolute_path_of_installation_directory:$shared_libraries_variable

WheresharedlibrariesvariableisoneofthevariablesshowninTable21(#CHDIJCBA):
Table21UNIX/LinuxLibraryPathVariablesPerPlatform
Platform

Environmentvariable

IBMAIX

LIBPATH

HPUX

LD_LIBRARY_PATH

SunSolaris

LD_LIBRARY_PATHFoot1(#sthref58)

LINUX

Footnote1In64bitenvironmentswith32bitOracledatabases,OracleGoldenGaterequiresthe

LD_LIBRARY_PATHtoincludethe32bitOraclelibraries.

ThefollowingisanexampleofhowtosetthepathinBourneshell:
exportLD_LIBRARY_PATH=/ggs/11.0:$LD_LIBRARY_PATH

Note:
ToviewthelibrariesthatarerequiredbyanOracleOracleGoldenGateprocess,usetheldd
goldengate_processshellcommandbeforestartingtheprocess.Thiscommandalsoshows

anerrormessageforanythataremissing.

2.4PreparingtoInstallOracleGoldenGateWithin
aCluster
ThistopiccoverstheinstallationrequirementsthatapplywhenOracleGoldenGatewillbeinstalledina
clusterenvironment.OracleGoldenGatecanbeusedwithanyclustermanagementsolutionthathasthe
abilitytoautomatefailover.TheOracleClusterwaresolutionprovidestheadvantageofbeingabletobe
usedwithorwithoutanOracleRACdatabase,whichenablesyoutoincludeanynondatabaseservers
thatarerunningOracleGoldenGate.

2.4.1SupportedOracleClusterStorage

YouwillneedtoinstallatleastsomeOracleGoldenGateobjectsonsharedstorage.Selectclusteraware
sharedstoragethatisindependentof,butavailableto,allnodesofthecluster.Youcanuseanyofthe
following:

OracleClusterFileSystem(OCFS).InsteadofinstallingOracleGoldenGateinalocaldirectory,install
itinadirectorythatismountedtoanOCFSvolume.Forconfigurationinformation,seetheOCFS2
documentationat:
http://www.oracle.com/us/technologies/linux/025995.htm
(http://www.oracle.com/us/technologies/linux/025995.htm)

OracleAutomaticStorageManagementSystem(AFS).Ifusingclassiccapture,seesetup
requirementsinSection11.3,"MiningASMstoredLogsinClassicCaptureMode"
(classic_capture.htm#CHDCFGDA).
OracleDatabasefilesystem(DBFS).DonotinstallOracleGoldenGateonDBFS,butyoucanstore
thesubdirectories(thatarecreatedwithCREATESUBDIRSduringinstallation)inaDBFSclusterthatis
onlymountedtooneserveratatime.Forrequirementsinhighavailability,seeAppendixF,"Preparing
DBFSforanActiveActiveConfiguration"(dbfs.htm#BABHBCCF5).

2.4.2DecidingWheretoInstallOracleGoldenGateBinaries
andFilesintheCluster
ThebestpracticeistoinstallOracleGoldenGateentirelyonsharedstorage.Thisallowsyoutostartthe
OracleGoldenGateprocessesfromanyofthenodeswithouthavingtomakechangestotheparameter
files.Iftheactivenodefails,theprocessescanbestartedquicklyonanothernode,usingtheprocessing
checkpointsthatarepreservedintheinstallationdirectory.
IfyoudecidetoinstalltheOracleGoldenGatebinariesandfilesoneachnode,ratherthanonshared
storage,thefollowingmustbetrue:

TheOracleGoldenGateinstallationmusthavethesamelocationpathoneverynode.
Atminimum,installthefollowingdirectoriesonthesharedstoragetosupportOracleGoldenGate
recoveryrequirements.OnUNIXorLinux,youcancreatesymboliclinkstothemfromtheinstallation
directoryoneachnode.

br
dirchk
dirdat

ThesedirectoriesareamongthosecreatedwhenyouissueCREATESUBDIRSduringinstallation.

Theparameterfilesinthedirprmdirectory,ifnotplacedontheshareddrive,mustbeidenticalonall
nodes.Toresolveenvironmentsettingsthatmustbedifferentfromonenodetotheother,youcanset
environmentsettingssotheyareinheritedfromthelocalManagerprocessorreferenceanode
specificOracleGoldenGatemacrofile.Becausethisscenariocanbedifficulttoenforce,theinherent
concernscanbeavoidedbystoringtheparameterfilesontheshareddrive.

SeeSection2.6,"IntegratingOracleGoldenGateintoaCluster"(#CHDHDFAE)afteryouinstallOracle
GoldenGate.
FormoreinformationaboutinstallingandusingOracleGoldenGateinacluster,see
http://support.oracle.com">>http://support.oracle.com.IntheKnowledgetab,searchfor
documentID1313703.1(OracleGoldenGateBestPractices:OracleGoldenGatehighavailabilityusing
OracleClusterware).
(http://support.oracle.com)

2.5InstallingOracleGoldenGate
OracleGoldenGateforOracleDatabaseisinstalledfromtheOracleUniversalInstaller(OUI).TheOUIis
agraphicinstallationprogramthatpromptsyoufortheinputrequiredtoinstalltheOracleGoldenGate
binariesandworkingfiles,andsetthecorrectdatabaseenvironmentinwhichOracleGoldenGatewill
operate.
YoucanuseOUIonanyoftheLinux,UNIX,andWindowsplatformsthatOUIsupportsandwhichOracle
GoldenGatesupports.
OUIissupportedforOracleversions11gandlater.AninstanceofOracleGoldenGatecanbeinstalled
foronlyoneOracleversioninanygivenOraclehome.YoucaninstallmultipleinstancesofOracle
GoldenGateforthesameordifferentdatabaseversionsonthesamehost.
TheinstallerregisterstheOracleGoldenGatehomedirectorywiththecentralinventorythatis
associatedwiththeselecteddatabase.TheinventorystoresinformationaboutallOraclesoftware
productsinstalledonahost,providedtheproductwasinstalledusingOUI.

2.5.1PerforminganInteractiveInstallationwithOUI
Theinteractiveinstallationprovidesagraphicaluserinterfacethatpromptsfortherequiredinstallation
information.Theseinstructionsapplytonewinstallationsaswellasupgrades.However,toperforman
upgradetoOracleGoldenGate,followtheinstructionsinUpgradingOracleGoldenGateforWindowsand
UNIX(../../ggwinux/GWUUP/toc.htm),whichincludeaprompttorunOUIattheappropriatetime.

1. Expandtheinstallationfile.
2. Fromtheexpandeddirectory,runtherunInstallerprogramonUNIXorLinux,orrun
setup.exeonWindows.

3. OntheSelectInstallationOptionpage,selecttheOracleGoldenGateversiontoinstall,and
thenclickNexttocontinue.
4. OntheSpecifyInstallationDetailspage,specifythefollowing:

ForSoftwareLocation,specifytheOracleGoldenGateinstallationdirectory.Itcanbeanew
orexistingdirectory(foranyOracleGoldenGateversionpriorto12.1.2.0.0)thatisemptyand
hastheamountofdiskspaceshownonthescreenorintheexistingOracleGoldenGate
installationlocation(ifyouareupgradinganexistingOracleGoldenGateinstallation).The
defaultlocationisundertheinstallinguser'shomedirectory,butOraclerecommendschanging
ittoalocaldirectorythatisnotmountedandhasnoquotas.Thespecifieddirectorycannotbe
aregisteredhomeintheOraclecentralinventory.Ifinstallinginacluster,installOracle
GoldenGateonsharedstoragethatisaccessiblebyalloftheclusternodes.SeeSection2.4,
"PreparingtoInstallOracleGoldenGateWithinaCluster"(#CHDGAJJA)formoreinformation
aboutinstallingOracleGoldenGateinacluster.
(Optional)SelectStartManagertoperformconfigurationfunctions,suchascreatingthe
OracleGoldenGatesubdirectoriesintheinstallationlocation,settinglibrarypaths,andstarting
Manageronthespecifiedportnumber.Toproceed,adatabasemustexistonthesystem.
WhenStartManagerisselected,theDatabaseLocationandManagerPortfieldsare
displayed.

ForDatabaseLocation,thedatabaseversioninthespecifiedlocationmustbeOracle
Database12cifyouareinstallingOracleGoldenGateforOracleDatabase12corOracle
Database11gifyouareinstallingOracleGoldenGateforOracleDatabase11g.The
databasemusthavearegisteredhomeintheOraclecentralinventory.Theinstallerregisters
theOracleGoldenGatehomedirectorywiththecentralinventory.
ForManagerPort,acceptthedefaultportnumberorenteradifferentunreserved,
unrestrictedportnumberfortheManagerprocesstouseforinterprocesscommunication.
Thedefaultportisthefirstavailableonestartingwith7809.Ifyouareinstallingmultiple
instancesofOracleGoldenGateonthesamesystem,eachmustuseadifferentport
number.

ClickNexttocontinue.IfthisisanupgradetoanexistingOracleGoldenGateinstallation,OUI
promptsthattheselectedsoftwarelocationhasfilesordirectories.ClickYes.

5. TheCreateInventorypageisdisplayedifthisisthefirstOracleproducttobeinstalledfromOUI
onahostthatdoesnothaveacentralinventory.

ForInventoryDirectory,specifyadirectoryforthecentralinventory.Itcanbeanewdirectory
oranexistingdirectorythatisemptyandhastheamountofdiskspaceshownonthescreen.
Thedirectorycannotbeonashareddrive.

Selectanoperatingsystemgroupinwhichthemembershavewritepermissiontotheinventory
directory.ThisgroupisusedtoaddinventoryinformationtotheOracleGoldenGatesubfolder.

6. OntheSummarypage,confirmthatthereisenoughspacefortheinstallationandthatthe
installationselectionsarecorrect.Optionally,clickSaveResponseFiletosavetheinstallation
informationtoaresponsefile.Youcanruntheinstallerfromthecommandlinewiththisfileas
inputtoduplicatetheresultsofasuccessfulinstallationonothersystems.Youcaneditthisfileor
createanewonefromatemplate.SeeSection2.5.2,"PerformingaSilentInstallationwithOUI."
(#CHDJJIDI)

7. ClickInstalltobegintheinstallationorBacktogobackandchangeanyinputspecifications.
WhenupgradinganexistingOracleGoldenGateinstallation,OUInotifiesyouthatthesoftware
locationhasfilesordirectories.ClickYestocontinue.Youarenotifiedwhentheinstallationis
finished.
8. Ifyoucreatedacentralinventorydirectory,youarepromptedtorunthe
INVENTORY_LOCATION/orainstRoot.shscript.Thisscriptmustbeexecutedastheroot
operatingsystemuser.Thisscriptestablishestheinventorydataandcreatessubdirectoriesfor
eachinstalledOracleproduct(inthiscase,OracleGoldenGate).

2.5.2PerformingaSilentInstallationwithOUI
Theseinstructionsapplytonewinstallationsaswellasupgrades.However,toperformanupgradeto
OracleGoldenGate,followtheinstructionsinUpgradingOracleGoldenGateforWindowsandUNIX
(../../ggwinux/GWUUP/toc.htm),whichincludeaprompttorunOUIattheappropriatetime.
YoucanperformasilentinstallationfromthecommandconsoleifthesystemhasnoXWindows
interfaceortoperformanautomatedinstallation.Silentinstallationscanensurethatmultipleusersin
yourorganizationusethesameinstallationoptionswhentheyinstallyourOracleproducts.
Youperformasilentinstallationbyrunningaresponsefile.Youcancreatearesponsefilebyselecting
theSaveResponseFileoptionduringaninteractiveOUIsessionorbyeditingatemplate,asshownin
Example21(#CHDEHCAD).Torunaresponsefile,issuethefollowingcommand.
silentnowaitresponseFilepath_to_file

TheresponsefilesandthetemplatearestoredintheresponsesubdirectoryoftheOracleGoldenGate
installationdirectory.TheOracleGoldenGateresponsefilecontainsastandardsetofOracle
configurationparametersinadditiontoparametersthatarespecifictoOracleGoldenGate.These
parameterscorrespondtothefieldsintheinteractivesession.
Example21OracleGoldenGateResponseFileTemplate

######################################################################
Copyright(c)OracleCorporation2013.Allrightsreserved.########Specify
valuesforthevariableslistedbelowtocustomize####yourinstallation.####
####Eachvariableisassociatedwithacomment.Thecomment####canhelpto
populatethevariableswiththeappropriate####values.########IMPORTANT
NOTE:Thisfileshouldbesecuredtohaveread####permissiononlybythe
oracleuseroranadministratorwho####ownthisinstallationtoprotectany
sensitiveinputvalues.######
#####################################################################
#Donot
changethefollowingsystemgeneratedvalue.#

oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_

schema_v12_1_2###########################################################################
######OracleGoldenGateinstallationoptionanddetails######
################################################################################
#
#Specifytheinstallationoption.#SpecifyORA12cforinstallingOracle
GoldenGateforOracleDatabase12cand#ORA11gforinstallingOracleGoldenGate
forOracleDatabase11g#
INSTALL_OPTION=#
#SpecifyalocationtoinstallOracle
GoldenGate#
SOFTWARE_LOCATION=#
#Specifytruetostartthemanagerafter
installation.#
START_MANAGER=#
#Specifyafreeportwithinthevalidrangeforthe
managerprocess.#RequiredonlyifSTART_MANAGERistrue.#
MANAGER_PORT=#
#
SpecifythelocationoftheOracleDatabase.#RequiredonlyifSTART_MANAGERis
true.#
DATABASE_LOCATION=
################################################################################
######SpecifydetailstoCreateinventoryforOracleinstalls####Required
onlyforthefirstOracleproductinstallonasystem.######
################################################################################
#
#Specifythelocationwhichholdstheinstallinventoryfiles.#Thisisan
optionalparameterifinstallingon#WindowsbasedOperatingSystem.#

INVENTORY_LOCATION=#
#UNIXgrouptobesetfortheinventorydirectory.#This
parameterisnotapplicableifinstallingon#WindowsbasedOperatingSystem.#

UNIX_GROUP_NAME=

Note:
IfyouareupgradinganexistingOracleGoldenGateinstallationwiththesilentoption,you
mightgetthefollowingwarning:
WARNING:OUI10030:Youhavespecifiedanonemptydirectorytoinstallthis
product.Itisrecommendedtospecifyeitheranemptyoranonexistent
directory.Youmay,however,choosetoignorethismessageifthe
directorycontainsOperatingSystemgeneratedfilesorsubdirectorieslike
lost+found.DoyouwanttoproceedwithinstallationinthisOracleHome?

PressENTERtocontinue.

2.6IntegratingOracleGoldenGateintoaCluster
IfyouinstalledOracleGoldenGateinacluster,takethefollowingstepstointegrateOracleGoldenGate
withintheclustersolution.
FormoreinformationaboutinstallingandusingOracleGoldenGateinacluster,see
http://support.oracle.com">>http://support.oracle.com.IntheKnowledgetab,searchfor
documentID1313703.1(OracleGoldenGateBestPractices:OracleGoldenGatehighavailabilityusing
OracleClusterware).
(http://support.oracle.com)

2.6.1GeneralRequirementsinaCluster
1. RegistertheOracleGoldenGateManagerprocess(andonlyManager)asaclustermanaged
resourceasyouwouldanyotherapplication.ManagermustbetheonlyOracleGoldenGate
processthattheclustermanagementsoftwarestartsandstops,becauseitistheparentprocess
thatmanagesallotherprocesses.
2. IftheclusterusesavirtualIPaddress(suchasOracleClusterware),youmayneedtoobtainan
availablefixedIPaddressfortheManagerprocess.TheVIPmustbeanavailableIPaddresson
thepublicsubnetandcannotbedeterminedthroughDHCP.IntheparameterfilesoftheExtract
datapumps,specifytheVIPoftheremoteManagerastheinputvalueoftheRMTHOSTparameter.
OtherOracleGoldenGateproductsthataccessManageralsoshouldusetheVIP.
3. MakecertainthatallnodesintheclusterhavethesameCOMPATIBLEparametersetting.
4. WhenyouconfigureManager,addtheAUTOSTARTandAUTORESTARTparameterssothat
Managerstartsthereplicationprocessesautomatically.Youcan,whenneeded,controlExtract,
Replicat,andotherOracleGoldenGateprocessesfromwithintheOracleGoldenGateuser
interfaces.

5. Mounttheshareddriveononenodeonly.Thispreventsprocessesfrombeingstartedonanother
node.Usethesamemountpointonallnodes.
6. ConfigureOracleGoldenGateasdirectedinthisdocumentation.

2.6.2AddingOracleGoldenGateasaWindowsCluster
Resource
WheninstallingOracleGoldenGateinaWindowscluster,followtheseinstructionstoestablishOracle
GoldenGateasaclusterresourceandconfiguretheManagerservicecorrectlyonallnodes.

Intheclusteradministrator,addtheManagerprocesstothegroupthatcontainsthedatabase
instancetowhichOracleGoldenGatewillconnect.
MakesureallnodesonwhichOracleGoldenGatewillrunareselectedaspossibleownersofthe
resource.
MakecertaintheManagerWindowsservicehasthefollowingdependencies(canbeconfiguredfrom
theServicescontrolpanel):

Thedatabaseresource
ThediskresourcethatcontainstheOracleGoldenGatedirectory
Thediskresourcethatcontainsthedatabasetransactionlogfiles
Thediskresourcethatcontainsthedatabasetransactionlogbackupfiles

ContactUs (http://www.oracle.com/us/corporate/contact/index.html)

TermsofUse(http://www.oracle.com/us/legal/terms/index.html)

(http://www.oracle.com/us/legal/privacy/index.html)

Copyright2015,Oracleand/oritsaffiliates.Allrightsreserved.

LegalNotices

YourPrivacyRights

AboutOracle(http://www.oracle.com/corporate/index.html)
(http://www.oracle.com/us/legal/index.html)

(#)

Вам также может понравиться