|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
支持AIX、FreeBSD、HP-UX、Linux、MacOS、NovellNetware、OpenBSD、OS/2Wrap、Solaris、Windows等多种操作系统Chapter4:ConfiguringtheNetworkEnvironmentPurpose
Thischapterhelpsyoutoconfigureandmanageyournetworkenvironmentsothatuserscanaccessyourdatabase.
Topics
Thischapterdiscussesthefollowing:
UsingtheEnterpriseManagerNetServicesAdministrationPageStartingtheListenerUsingEnterpriseManagerStartingtheListenerUsingtheListenerControlUtilityConfiguringLocalNamingforConnectingtoOtherDatabasesViewingScreenshots
Moveyourmouseoverthisicontoshowallscreenshots.Youcanalsomoveyourmouseovereachindividualicontoseeonlythescreenshotassociatedwithit.
UsingtheEnterpriseManagerNetServicesAdministrationPage
BacktoTopicList
TheNetServicesAdministrationpagecanbeusedtomanageOracleNetservices.
FollowthestepsbelowtoaccesstheNetServicesAdministrationpage:
1.
LogintoEnterpriseManagerDatabaseConsolebyopeningyourbrowserandspecifyingtheSYSusernameandpassword.
ClickLogin.
2.ClicktheListenerlinkintheGeneralsectionoftheDatabaseHomepage.
3.TheListenerHomepageisdisplayed.Scrolldowntothebottomofthepage.
4.ClickNetServicesAdministrationintheRelatedLinkssection.
5.TheNetServicesAdministrationpageisdisplayed.Thispageprovidesameansofadministeringlisteners,directorynaming,localnaming,andspecifyingthefilelocation.
StartingtheListenerUsingEnterpriseManager
BacktoTopicList
InthissectionyoulearnhowtostartthelistenerusingEnterpriseManager.Note:YouwillnotbeabletoaccessEnterpriseManagerDatabaseControlinyourbrowserifthelistenerisdown.ThestepslistedinthissectionareonlyapplicableifyouhaveanEnterpriseManagerDatabaseControlwindowopen.Ifyoudonot,refertothenextsectionfordetailedinformationonstartingthelistenerusingthelistenercontrolutility.
PerformthestepslistedbelowtostartthelistenerusingEnterpriseManager:
1.ClicktheListenerlinkintheGeneralsectionoftheDatabaseHomepage.
2.TheListenerHomepageisdisplayed.ClickStarttostartthelistener.
3.TheStart/Stop:LISTENERpageisdisplayed.ClickOK.
4.TheProcessing:StartListenerpageisdisplayed.TheListenerhomepageisdisplayedafterthelistenerisstarted.
StartingtheListenerUsingtheListenerControlUtility
BacktoTopicList
Inthissectionyoulearnhowtostartthelistenerusingthelistenercontrolutility.ThesestepsareapplicablewhenyoucannotaccessEnterpriseManagerDatabaseControltostartyourlistener.
Performthestepslistedbelowtostartthelistenerusingthelistenercontrolutility:
1.
Logontotheoperatingsystemastheoracleuser.Issuethefollowingcommandtostartthelistener:
lsnrctlstart
2.
Youcancheckthestatusofthelistenerbyissuingthefollowingcommand:
lsnrctlstatus
ConfiguringLocalNamingforConnectingtoOtherDatabases
BacktoTopicList
Inthissectionyouconfigurelocalnamingtoconnecttoanotherdatabase.YoucanconfigurelocalnamingusingNetManageronaclientPCorusingEnterpriseManagerasdescribedinthefollowingsections:
ConfiguringLocalNamingUsingNetManagerConfiguringLocalNamingUsingEnterpriseManagerConfiguringLocalNamingUsingNetManager
BacktoTopicList
YoumustconfigureaclientmachinesoitcanconnecttoanOracledatabase.YoumustfirstinstallOracleDatabaseclientsoftware,whichincludesOracleNetsoftware.OnceyouhaveinstalledOracleNet,youcanuseOracleNetManagertoconfigureanetservicenameusingthelocalnamingmethodasfollows:
1.
OnWindows,startOracleNetManagerbyclicking:
Start->Programs->Oracle->ConfigurationandMigrationTools->NetManager
OnUNIXorLinux,invokeOracleNetManagerbyenteringnetmgratthecommandline.
TheWelcomepageappears.
2.
ExpandLocalandselectServiceNaming.Clickthe(plus)+onthelefthandsideofthepage.
3.
TheNetServiceNamewizardappears.Enteranetservicename.ClickNext.
4.
Selecttheprotocoltousetoconnecttoyourdatabase.YoucanacceptthedefaultTCP/IP(InternetProtocol).Thedatabaselistenermustbeconfiguredtousethesamenetworkprotocol.ClickNext.
5.
Enterthehostnameofthedatabasemachine.ClickNext.
6.
Enterthedatabaseservicename.Inaddition,selectaConnectionType,eitherSharedorDedicated.Ifyouareunsureorwouldliketousethedefaultdatabaseconnectiontype,selectDatabaseDefault.ClickNext.
7.
Thelastpageofthewizardenablesyoutotesttheconnectionusingtheinformationyouentered.
8.
YoucanchangethedefaultloginbyclickingChangeloginandenteringausernameandpassword.ClickTest.Thewizardtellsyouiftheconnectiontestsucceedornot.ClickCloseandthenclickFinish.
9.
ThenewserviceappearsundertheServiceNamingfolder.YoucanviewormodifytheconfigurationforthehighlightedserviceunderServiceIdentificationandAddressConfiguration.
ConfiguringLocalNamingUsingEnterpriseManager
BacktoTopicList
PerformthestepslistedbelowtoconfigureanetservicenameusingEnterpriseManagerasfollows:
1.ClicktheListenerlinkintheGeneralsectionoftheDatabaseHomepage.
2.TheListenerHomepageisdisplayed.Scrolldowntothebottomofthepage.ClickNetServicesAdministrationintheRelatedLinkssection.
3.TheNetServicesAdministrationpageisdisplayed.SelecttheappropriateConfigurationFileLocation.SelectLocalNamingfromtheAdministerpulldownmenu.ClickGo.
4.EnteryourhostusernameandpasswordandclickLogin.
5.TheLocalNamingpageisdisplayed.ClicktheCreatebuttonorselectanexistingNetServiceNameandclickCreateLike.
6.
TheCreateNetServiceNamegeneralpageisdisplayed.EnteranameintheNetServiceNamefield.IntheDatabaseInformationsection,configureservicesupportbyenteringadestinationserviceandselectingadatabaseconnectiontype.IfthedestinationserviceisanOracle8iorlaterreleasedatabase,thenselectUseServiceName,andenteraservicenameintheServiceNamefield.IfthedestinationserviceisanOraclerelease8.0database,thenselectUseSID,andenteranOracleSystemIdentifierforaninstanceintheSIDfield.Thenscrolldowntothebottomofthepage.IntheAddressessection,configureprotocolsupport.ClickAdd.
Note:IfyouareperformingthistaskonthesamemachinethatyouconfiguredlocalnamingusingNetManager,besuretoenteradifferentnameintheNetServiceNamefield.
7.TheAddAddresspageisdisplayed.FromtheProtocollist,selecttheprotocoluponwhichthelistenerisconfiguredtolisten.EnterthePortandHostfields.Thesemustmatchthelisteningaddress.ClickOK.
8.TheCreateNetServiceNamepageisdisplayedagain.ClickOK.AsuccessfulcreationmessageisdisplayedontheLocalNamingpage.
9.Selectthenetservicenameyoujustcreated.ClickTestConnection.
10.EnterthepasswordfordbsnmpandclickTest.
11.TheTestResultpageisdisplayed.ClickOK.
Moveyourmouseoverthisicontohideallscreenshots
支持多种存储引擎。 |
|