環(huán)境:OEM12.1.0.5
讓客戶滿意是我們工作的目標(biāo),不斷超越客戶的期望值來(lái)自于我們對(duì)這個(gè)行業(yè)的熱愛(ài)。我們立志把好的技術(shù)通過(guò)有效、簡(jiǎn)單的方式提供給客戶,將通過(guò)不懈努力成為客戶在信息化領(lǐng)域值得信任、有價(jià)值的長(zhǎng)期合作伙伴,公司提供的服務(wù)項(xiàng)目有:域名注冊(cè)、虛擬空間、營(yíng)銷軟件、網(wǎng)站建設(shè)、策勒網(wǎng)站維護(hù)、網(wǎng)站推廣。操作系統(tǒng):CENTOS6.7
ORACLE:11.2.0.3
----RHEL6.X OEL6.X版本 for oms
make-3.81
binutils-2.20.51.0.2-5.11
gcc-4.4.4
libaio-0.3.107
glibc-common-2.12-1
libstdc++-4.4.4
libXtst-1.0.99.2-3.el6.x86_ 64.rpm
sysstat-9.0.4
glibc-devel-2.12-1.7.el6.i686 (T his is a32-bit package)
glibc-devel-2.12-1.7.el6.x86_64 (This is a64-bit package)
(Applicable only for Oracle Linux 6.2,which includes RH6.2 and UEK 6.2) glibc-2.12-1.47.0.2
glibc-2.5-12 ----library
-- RHEL6.X OEL6.X版本 for AGENT
make-3.81
binutils-2.20.51.0.2-5.11
gcc-4.4.4
libaio-0.3.107
glibc-common-2.12-1.7
libstdc++-4.4.4
sysstat-9.0.4
----for oms
kernel.shmmax = 4294967295(最小,如果資料庫(kù)位于同一臺(tái)服務(wù)器,則以oracle為主)
UID soft nofile 4096
UID hard nofile 16384
ulimit -u To verify whether it is set tounlimited, run the following command. If it is set to unlimited, the outputwill be unlimited. ulimit -n If the current value is not set to 13312
此在/etc/profile里設(shè)置
---確認(rèn)一下端口可用狀態(tài),沒(méi)有被占用
Admin Server HTTP SSL Port = 7101 - 7200
Enterprise Manager Upload HTTP Port = 4889- 4898
Enterprise Manager Upload HTTP SSL Port =1159, 4899 - 4908
Enterprise Manager Central Console HTTPPort = 7788 - 7798
Enterprise Manager Central Console HTTP SSLPort = 7799 - 7809
Oracle Management Agent Port = 3872, 1830 -1849
Node Manager HTTP SSL Port = 7401 - 7500
Managed Server HTTP Port = 7201 - 7300
Managed Server HTTPS Port = 7301 - 7400
mkdir -p /u01/app/oracle/Middleware
mkdir -p /u01/app/oracle/MiddlewareAgent
安裝oracle軟件(略)
解壓模板文件12.1.0.2.0_Database_Template_for_EM12_1_0_5_0_Linux_x64.zip到
unzip -d $ORACLE_HOME/assistants/dbca/templates 12.1.0.2.0_Database_Template_for_EM12_1_0_5_0_Linux_x64.zip
然后使用該模板安裝數(shù)據(jù)庫(kù)實(shí)例
如果數(shù)據(jù)庫(kù)配置了dbcontrol,使用如下命令將其刪除:
$ emca -deconfig dbcontrol db -repos drop-SYS_PWD -SYSMAN_PWD
sqlplus / AS SYSDBA
execDBMS_AUTO_TASK_ADMIN.DISABLE(client_name => 'auto optimizer statscollection',operation => NULL,window_name => NULL);
alter system set db_securefile = PERMITTEDscope=both;
alter system set parallel_max_servers = 1scope=both;
alter system set session_cached_cursors =200 scope= spfile ; ---200-500之間
ALTER SYSTEM SET shared_pool_size=600MSCOPE=SPFILE; ---1/3 sga大小
ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;
ALTER SYSTEM SET shared_pool_size=600MSCOPE=SPFILE;
ALTER SYSTEM SET pga_aggregate_target=1GSCOPE=SPFILE;
ALTER SYSTEM SET job_queue_processes=20SCOPE=SPFILE;
unzip em12105_linux64_disk1.zip
unzip em12105_linux64_disk2.zip
unzip em12105_linux64_disk3.zip
./runInstaller
--驗(yàn)證先決條件
install/requisites/bin/emprereqkit
However, if you plan to use a databaseinstance that was created with a preconfigured Management Repository using thedatabase templates offered by Oracle, then make sure you pass the followingparameter while invoking the EM Prerequisite Kit.
-componentVariablesrepository:EXECUTE_CHECKS_NOSEED_DB_ FOUND:false
If you accidently exit the installer beforeclicking Retry, then do NOT restart the installer to reach the same screen;instead, invoke the runConfig.sh script from the OMS home to rerun the ConfigurationAssistant in silent mode. For Microsoft Windows platforms, invoke runConfig.batscript.
$
If you have run the installation wizard andlet the installation wizard take corrective actions to correct the repositorysettings, and if you have exited the wizard without completing the installationprocess, then remember that the repository settings might not reset to theiroriginal values because you abruptly ended the installation. In this case,before invoking the installation wizard again, run the following command tomanually reset the values
/install/requisites/bin/emprereqkit-executionType install -prerequisiteXMLRootDir -connectString -dbUser SYS-dbPassword -reposUser sysman -dbRole sysdba -runPrerequisites-runPostCorrectiveActions
./runInstaller -pluginLocation
----修改是否自動(dòng)啟動(dòng) true:自動(dòng)啟動(dòng)
./runInstaller START_OMS=trueb_startAgent=false
$
$
$
安裝完默認(rèn)情況下只啟用HTTPS,開(kāi)啟HTTP
emctl secure unlock -console
檢查plugins是否安裝成功(WARN:Plugin configuration has failed)
$
修改內(nèi)部用戶密碼,如SYSMAN_MDS, SYSMAN_OPSS, SYSMAN_APM,先關(guān)閉OMS,然后
---備份OMS,包括加密key
安裝很費(fèi)時(shí)
安裝完成后,可查看
/u01/app/oracle/Middleware/oms/install/具體的安裝信息
如:setupinfo.txt可查看oem的地址,comsole的地址
portlist.ini 可查看具體端口
安裝em agent
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。