怎么部署EM Cloud Control Oracle12
这篇文章主要介绍“怎么部署EM Cloud Control Oracle12”,在日常操作中,相信很多人在怎么部署EM Cloud Control Oracle12问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”怎么部署EM Cloud Control Oracle12”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!
[root@emcc~]#yuminstall-yglibc-devel.i686[root@emcc~]#su-oracle[oracle@emcc~]$emca-deconfigdbcontroldb-reposdrop-SYS_PWDoracle-SYSMAN_PWDoracleSTARTEDEMCAatMay30,201912:37:38PMEMConfigurationAssistant,Version11.2.0.3.0ProductionCopyright(c)2003,2011,Oracle.Allrightsreserved.Enterthefollowinginformation:DatabaseSID:emccListenerportnumber:1521----------------------------------------------------------------------WARNING:Whilerepositoryisdroppedthedatabasewillbeputinquiescemode.----------------------------------------------------------------------Doyouwishtocontinue?[yes(Y)/no(N)]:yesMay30,201912:37:48PMoracle.sysman.emcp.EMConfigperformINFO:Thisoperationisbeingloggedat/u01/app/oracle/cfgtoollogs/emca/emcc/emca_2019_05_30_12_37_38.log.May30,201912:37:48PMoracle.sysman.emcp.util.GeneralUtilinitSQLEngineLoaclyWARNING:ORA-28000:theaccountislockedMay30,201912:37:48PMoracle.sysman.emcp.ParamsManagercheckListenerStatusForDBControlWARNING:ErrorinitializingSQLconnection.SQLoperationscannotbeperformedMay30,201912:37:48PMoracle.sysman.emcp.EMDBPreConfigperformDeconfigurationWARNING:EMisnotconfiguredforthisdatabase.NoEM-specificactionscanbeperformed.Someofthepossiblereasonsmaybe:1)EMisconfiguredwithdifferenthostnamethenphysicalhost.SetenvironmentvariableORACLE_HOSTNAME=<hostname>andre-runEMCAscript2)ORACLE_HOSTNAMEisset.Unsetitandre-runEMCAscriptMay30,201912:37:48PMoracle.sysman.emcp.EMReposConfiginvokeINFO:DroppingtheEMrepository(thismaytakeawhile)...May30,201912:38:47PMoracle.sysman.emcp.EMReposConfiginvokeINFO:RepositorysuccessfullydroppedEnterpriseManagerconfigurationcompletedsuccessfullyFINISHEDEMCAatMay30,201912:38:47PM[oracle@emcc~]$sqlplus/assysdbaSQL>altersystemsetprocesses=300scope=spfile;Systemaltered.SQL>altersystemsetsession_cached_cursors=200scope=spfile;Systemaltered.SQL>altersystemsetjob_queue_processes=20scope=spfile;Systemaltered.[oracle@emcc~]$mkdir-p/u01/app/oracle/Middleware[oracle@emcc~]$mkdir-p/u01/app/oracle/agent[oracle@emcc~]$unzipem12105_linux64_disk1.zip[oracle@emcc~]$unzipem12105_linux64_disk2.zip[oracle@emcc~]$unzipem12105_linux64_disk3.zip[oracle@emcc~]$./runInstaller
[root@emcc~]#/u01/app/oracle/Middleware/oms/allroot.shStartingtoexecuteallroot.sh.........Startingtoexecute/u01/app/oracle/Middleware/oms/root.sh......RunningOracle11groot.shscript...Thefollowingenvironmentvariablesaresetas:ORACLE_OWNER=oracleORACLE_HOME=/u01/app/oracle/Middleware/omsEnterthefullpathnameofthelocalbindirectory:[/usr/local/bin]:Thefile"dbhome"alreadyexistsin/usr/local/bin.Overwriteit?(y/n)[n]:Thefile"oraenv"alreadyexistsin/usr/local/bin.Overwriteit?(y/n)[n]:Thefile"coraenv"alreadyexistsin/usr/local/bin.Overwriteit?(y/n)[n]:Entrieswillbeaddedtothe/etc/oratabfileasneededbyDatabaseConfigurationAssistantwhenadatabaseiscreatedFinishedrunninggenericpartofroot.shscript.Nowproduct-specificrootactionswillbeperformed./etcexistCreating/etc/oragchomelistfile.../u01/app/oracle/Middleware/omsFinishedexecutionof/u01/app/oracle/Middleware/oms/root.sh......Startingtoexecute/u01/app/oracle/agent/core/12.1.0.5.0/root.sh......Finishedproduct-specificrootactions./etcexistFinishedexecutionof/u01/app/oracle/agent/core/12.1.0.5.0/root.sh......
https://192.168.40.99:7802/em
[root@emcc~]#vi/etc/oragchomelist#/u01/app/oracle/Middleware/oms#/u01/app/oracle/agent/core/12.1.0.5.0:/u01/app/oracle/agent/agent_inst[oracle@emcc~]$cd/u01/app/oracle/Middleware/oms/bin[oracle@emccbin]$./emctlstatusomsOracleEnterpriseManagerCloudControl12cRelease5Copyright(c)1996,2015OracleCorporation.Allrightsreserved.WebTierisUpOracleManagementServerisUp[oracle@emcc~]$cd/u01/app/oracle/agent/core/12.1.0.5.0/bin[oracle@emccbin]$./emctlstatusagentOracleEnterpriseManagerCloudControl12cRelease5Copyright(c)1996,2015OracleCorporation.Allrightsreserved.---------------------------------------------------------------AgentVersion:12.1.0.5.0OMSVersion:12.1.0.5.0ProtocolVersion:12.1.0.1.0AgentHome:/u01/app/oracle/agent/agent_instAgentLogDirectory:/u01/app/oracle/agent/agent_inst/sysman/logAgentBinaries:/u01/app/oracle/agent/core/12.1.0.5.0AgentProcessID:15941ParentProcessID:15897AgentURL:https://emcc.gscaifu.com:3872/emd/main/LocalAgentURLinNAT:https://emcc.gscaifu.com:3872/emd/main/RepositoryURL:https://emcc.gscaifu.com:4903/empbs/uploadStartedat:2019-05-3015:01:23Startedbyuser:oracleOperatingSystem:Linuxversion2.6.32-431.el6.x86_64(amd64)LastReload:(none)Lastsuccessfulupload:2019-05-3015:23:48Lastattemptedupload:2019-05-3015:23:48TotalMegabytesofXMLfilesuploadedsofar:1.25NumberofXMLfilespendingupload:0SizeofXMLfilespendingupload(MB):0Availablediskspaceonuploadfilesystem:25.47%CollectionStatus:CollectionsenabledHeartbeatStatus:OkLastattemptedheartbeattoOMS:2019-05-3015:27:37LastsuccessfulheartbeattoOMS:2019-05-3015:27:37NextscheduledheartbeattoOMS:2019-05-3015:28:37---------------------------------------------------------------AgentisRunningandReady
到此,关于“怎么部署EM Cloud Control Oracle12”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。