【GC】OEL4.8部署安裝 Grid Control OMS
記錄一下在Oracle Enterprise Linux 4.8上部署安裝Grid Control的過程。
Grid Control需要有自己的資料庫用來存放管理資料,此處我們使用已經建立好的資料庫例項來安裝Grid Control。
GC安裝在ocmdb2主機上,GC的repository database已經事先在ocmdb1主機上上安裝完畢。
1.調整repository database資料庫
1)資料庫引數調整
參考《【GC】安裝GC之前需要調整的幾個引數》(http://space.itpub.net/519536/viewspace-667627)
SQL> alter system set session_cached_cursors = 201 scope=spfile;
SQL> alter system set job_queue_processes = 11 scope=spfile;
SQL> alter system set open_cursors = 301 scope=spfile;
2)執行指令碼dbmspool.sql指令碼
@?/rdbms/admin/dbmspool
指令碼註釋資訊如下:
rem
rem $Header: dbmspool.sql 15-jun-99.08:54:18 mjungerm Exp $
rem
Rem Copyright (c) 1991, 1996, 1997, 1998, 1999 by Oracle Corporation
Rem NAME
Rem dbmspool.sql - dbms_shared_pool utility package.
Rem DESCRIPTION
Rem This package allows you to display the sizes of objects in the
Rem shared pool, and mark them for keeping or unkeeping in order to
Rem reduce memory fragmentation.
3)解鎖DBSNMP使用者
SQL> alter user DBSNMP identified by oracle1 account unlock;
2.檢查/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.190.32 ocmdb2.localdomain ocmdb2
192.168.190.31 ocmdb1.localdomain ocmdb1
3.GC安裝過程
1)root使用者下執行“xhost +”命令保證圖形化安裝介面可以啟動
[root@ocmdb2 ~]# xhost +
access control disabled, clients can connect from any host
2)切換到oracle使用者進行安裝
[root@ocmdb2 ~]# su - oracle
[oracle@ocmdb2 ~]$ cd /hsw_media/Disk1/
[oracle@ocmdb2 Disk1]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be enterprise-4, enterprise-5, redhat-3, redhat-4, redhat-5, redhat-5.1, SuSE-9, SuSE-10, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
3)這裡選擇“Enterprise Manager 10g Grid Control Using an Existing Database”選項,點選“Next”
4)修改Parent Directory內容為“/u01/app/oracle/OracleHomes”,點選“Next”
5)系統自動完成先決條件的檢查,確保無誤,點選“Next”
6)提供事先準備好的Repository Database的基本資訊,點選“Next”
注意:下面表空間的位置需要重點修改一下,保證Repository Database所在的主機上存在相應的目錄!
7)其他可選配置頁,這裡保持預設,不進行配置,點選“Next”
8)密碼安全設定,設定完成後,點選“Next”
注意:給定的密碼要求至少是5位,並且需要包含數字,我們這裡統一設定為“oracle1”!
9)安裝配置總結頁面,確保無誤後點選“Install”進行安裝
10)安裝完成後,需要在root使用者下執行allroot.sh指令碼,執行完成後點選“OK”進入到漫長的配置頁面
[root@ocmdb2 ~]# sh /u01/app/oracle/OracleHomes/oms10g/allroot.sh
Starting to execute allroot.sh .........
Starting to execute /u01/app/oracle/OracleHomes/oms10g/root.sh ......
Running Oracle10 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/OracleHomes/oms10g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished execution of /u01/app/oracle/OracleHomes/oms10g/root.sh ......
Starting to execute /u01/app/oracle/OracleHomes/agent10g/root.sh ......
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/OracleHomes/agent10g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
Finished execution of /u01/app/oracle/OracleHomes/agent10g/root.sh ......
11)配置頁面,這裡是最耗時,但是最省心的無人值守的階段,可以小憩一下
注意:一定要保證這個配置過程的完整和正確,否則會對使用產生重大的影響,如發現問題,按照提示檢視報錯日誌中給出的內容。
可以使用“find . -cmin 1”命令輔助獲得涉及到的安裝日誌檔案。
12)配置結束介面。部署安裝GC完成。
13)開啟FireFox,位址列中輸入“”進入到Grid Control登陸頁面
14)輸入使用者名稱“sysman”,密碼“oracle1”進入到Grid Control的首頁
15)點選“Targets”,因為沒有新增其他Agent,此時只能看到本機的資訊
4.小結
整個安裝GC的過程比較耗時,請做好心理準備。需要配置的引數最好一次性的設定正確,否則在報錯後排查問題比較耗時。
Good luck.
secooler
10.07.09
-- The End --
Grid Control需要有自己的資料庫用來存放管理資料,此處我們使用已經建立好的資料庫例項來安裝Grid Control。
GC安裝在ocmdb2主機上,GC的repository database已經事先在ocmdb1主機上上安裝完畢。
1.調整repository database資料庫
1)資料庫引數調整
參考《【GC】安裝GC之前需要調整的幾個引數》(http://space.itpub.net/519536/viewspace-667627)
SQL> alter system set session_cached_cursors = 201 scope=spfile;
SQL> alter system set job_queue_processes = 11 scope=spfile;
SQL> alter system set open_cursors = 301 scope=spfile;
2)執行指令碼dbmspool.sql指令碼
@?/rdbms/admin/dbmspool
指令碼註釋資訊如下:
rem
rem $Header: dbmspool.sql 15-jun-99.08:54:18 mjungerm Exp $
rem
Rem Copyright (c) 1991, 1996, 1997, 1998, 1999 by Oracle Corporation
Rem NAME
Rem dbmspool.sql - dbms_shared_pool utility package.
Rem DESCRIPTION
Rem This package allows you to display the sizes of objects in the
Rem shared pool, and mark them for keeping or unkeeping in order to
Rem reduce memory fragmentation.
3)解鎖DBSNMP使用者
SQL> alter user DBSNMP identified by oracle1 account unlock;
2.檢查/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.190.32 ocmdb2.localdomain ocmdb2
192.168.190.31 ocmdb1.localdomain ocmdb1
3.GC安裝過程
1)root使用者下執行“xhost +”命令保證圖形化安裝介面可以啟動
[root@ocmdb2 ~]# xhost +
access control disabled, clients can connect from any host
2)切換到oracle使用者進行安裝
[root@ocmdb2 ~]# su - oracle
[oracle@ocmdb2 ~]$ cd /hsw_media/Disk1/
[oracle@ocmdb2 Disk1]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be enterprise-4, enterprise-5, redhat-3, redhat-4, redhat-5, redhat-5.1, SuSE-9, SuSE-10, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
3)這裡選擇“Enterprise Manager 10g Grid Control Using an Existing Database”選項,點選“Next”
4)修改Parent Directory內容為“/u01/app/oracle/OracleHomes”,點選“Next”
5)系統自動完成先決條件的檢查,確保無誤,點選“Next”
6)提供事先準備好的Repository Database的基本資訊,點選“Next”
注意:下面表空間的位置需要重點修改一下,保證Repository Database所在的主機上存在相應的目錄!
7)其他可選配置頁,這裡保持預設,不進行配置,點選“Next”
8)密碼安全設定,設定完成後,點選“Next”
注意:給定的密碼要求至少是5位,並且需要包含數字,我們這裡統一設定為“oracle1”!
9)安裝配置總結頁面,確保無誤後點選“Install”進行安裝
10)安裝完成後,需要在root使用者下執行allroot.sh指令碼,執行完成後點選“OK”進入到漫長的配置頁面
[root@ocmdb2 ~]# sh /u01/app/oracle/OracleHomes/oms10g/allroot.sh
Starting to execute allroot.sh .........
Starting to execute /u01/app/oracle/OracleHomes/oms10g/root.sh ......
Running Oracle10 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/OracleHomes/oms10g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished execution of /u01/app/oracle/OracleHomes/oms10g/root.sh ......
Starting to execute /u01/app/oracle/OracleHomes/agent10g/root.sh ......
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/OracleHomes/agent10g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
Finished execution of /u01/app/oracle/OracleHomes/agent10g/root.sh ......
11)配置頁面,這裡是最耗時,但是最省心的無人值守的階段,可以小憩一下
注意:一定要保證這個配置過程的完整和正確,否則會對使用產生重大的影響,如發現問題,按照提示檢視報錯日誌中給出的內容。
可以使用“find . -cmin 1”命令輔助獲得涉及到的安裝日誌檔案。
12)配置結束介面。部署安裝GC完成。
13)開啟FireFox,位址列中輸入“”進入到Grid Control登陸頁面
14)輸入使用者名稱“sysman”,密碼“oracle1”進入到Grid Control的首頁
15)點選“Targets”,因為沒有新增其他Agent,此時只能看到本機的資訊
4.小結
整個安裝GC的過程比較耗時,請做好心理準備。需要配置的引數最好一次性的設定正確,否則在報錯後排查問題比較耗時。
Good luck.
secooler
10.07.09
-- The End --
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-667751/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【GC】OEL4.8解除安裝重新部署安裝Grid Control OMSGC
- 【GC】OEM Grid Control 11gR1部署之OMS部分GC
- 【GC】未建立或丟失密碼檔案導致 Grid Control OMS無法正常安裝GC密碼
- Grid Control一些術語GC、OMS、OMR、OMA的概念GC
- 【GC】使用 agentDownload.linux完成Grid Control Agent的快速部署安裝GCLinux
- 安裝Grid Control
- 安裝10.2.0.4 Grid Control之前需要安裝 10.2.0.3.0 Grid Control
- Grid Control的安裝
- Oracle 12c OEM Cloud Control OMS安裝OracleCloud
- 【GC】OEM Grid Control 11gR1部署之Agent部分GC
- OCM實驗-grid control安裝
- 【GC】Grid Control Agent完整刪除方法GC
- OCM實驗-grid control agent安裝
- 如何解除安裝Oracle Grid ControlOracle
- 【GC】OEM Grid Control 11gR1部署之WebLogic Server部分GCWebServer
- 【GC】Grid Control 11gR1安裝過程中遭遇ERROR: invalid entry CRCGCError
- 安裝Grid Control 10.2.0.2.1 for windows在做OMS配置的時候遇到OUI-25031解決辦法WindowsUI
- zt_如何解除安裝oracle grid controlOracle
- Oracle10g Grid Control客戶端的安裝Oracle客戶端
- Oracle 10g Grid Control 部署初步完成Oracle 10g
- 安裝GRID CONTROL The OPMN Process Manager failed to start報錯處理AI
- 安裝Grid Control , OPMN Process Manager failed to start 問題解決AI
- 【DataGuard】使用Grid Control快速部署Oracle物理Data GuardOracle
- 【GC】How to Install Grid Control Agents on RAC Clusters? [ID 378037.1]GC
- 安裝Oracle 10g Grid Control 時碰到 OUI-25031Oracle 10gUI
- 安裝Oracle10.2.0.4 Grid Control 時Linux Packages找不到OracleLinuxPackage
- Solaris環境安裝Oracle Enterprise Manager 10g Grid ControlOracle
- 安裝Oracle Enterprise Manager 10g Grid Control Release 10.1.0.3Oracle
- EM Cloud Control 12c OMS 及 OMA 都需要部署Plug-in的原因 - 2Cloud
- EM Cloud Control 12c OMS 及 OMA 都需要部署Plug-in的原因 - 1Cloud
- OCM考試-GC安裝GC
- OEM Grid Control裡通過安裝Yast來監控和管理主機AST
- GoldenGate , Grid ControlGo
- To Verify if the Enterprise Manager GC (OMS) is Locked or Unlocked_428874.1GC
- Linux 5.7現有資料庫上安裝Oracle10g Grid ControlLinux資料庫Oracle
- oracle grid control 10g 在redhat linux 4 下的安裝與配置OracleRedhatLinux
- GC 安裝問題小計GC
- Grid Control服務端看不到Agent相關資訊,同時OMS狀態為unknown處理服務端