Oracle Grid Control 安装[11gr2 + wls1036]

gc x86_64位安装真是让我好找,官网上基本上已经不提供连接下了,估计oracle这么做是为了推广她得emcc产品吧,不是说emcc不好,而是emcc还存在很多bug,着实让人很头疼。我当时安装的emcc版本是12.1.05这个版本。

安装11g 版本的gc 需要安装jdk,weblogic等中间件,比较烦!(emcc都集成到一起了)

依赖包:

yum -y install glibc.i686 compat-db-4*  compat-libstdc++-296*  rng-utils-2*  setarch-2*

在安装之前需要把之前的em资料库删除,默认是会安装进去的。

$ emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys pasword> -SYSMAN_PWD <sysman password>

数据库参数配置:

sqlplus / AS SYSDBA
ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE;
ALTER SYSTEM SET processes=500 SCOPE=SPFILE;
ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;
alter tablespace undotbs1 add datafile '/u01/app/oracle/oradata/JHDB/datafile/undotbs2.dbf' size 200m autoextend on;
alter user sys identified by Oracle123 account unlock;
alter user sysman identified by Oracle123 account unlock;

关于jdk,和weblogic 可以在官网上下载,当然也可以在emcc压缩包获取。(jdk安装省略)

$ cd /host/software/oracle/WebLogic
$ java -jar wls1036_generic.jar

weblogic具体安装步骤省略。

安装gc

./runInstaller 

一路默认配置安装,无特殊要求。

部署代理agent:
oms都已安装完成,现在开始在别的主机上部署代理。
https://:4903/agent_download/
下载agentDownload.liunx_x64部署包,

[oracle@localhost AgentBase]$ ./agentDownload.linux_x64 -b /home/oracle/AgentBase -m gc -r 7802 -y
agentDownload.linux_x64 invoked on Mon Apr 16 08:30:18 CST 2018 with Arguments "-b /home/oracle/AgentBase -m gc -r 7802 -y"
Platform=Linux.x86_64, OS=linux_x64
GetPlatform:returned=0, and os is set to: linux_x64, platform=Linux.x86_64
Creating /home/oracle/AgentBase/agentDownload11.1.0.1.0Oui ...
LogFile for this Download can be found at: "/home/oracle/AgentBase/agentDownload11.1.0.1.0Oui/agentDownload.linux_x64041618083018.log"
Running on Selected Platform: Linux.x86_64
Installer location: /home/oracle/AgentBase/agentDownload11.1.0.1.0Oui
Downloading Agent install response file ...
Downloading Agent install response file ...
Executing wget_get_file  http://gc:7802/agent_download/11.1.0.1.0/agent_download.rsp
using the url http://gc:7802/agent_download/11.1.0.1.0/ to access OMS
--2018-04-16 08:30:18--  http://gc:7802/agent_download/11.1.0.1.0/agent_download.rsp
Resolving gc... 10.37.2.133
Connecting to gc|10.37.2.133|:7802... connected.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
Length: unspecified
Saving to: “agent_download.rsp”

    [ <=>                                                                                       ] 7           --.-K/s   in 0s      

2018-04-16 08:30:18 (629 KB/s) - “agent_download.rsp” saved [7]

Finished Downloading agent_download.rsp with Status=0
Response file check complete - Failed
Could not download through url . Trying secure download..
Executing wget_get_file  https://gc:7802/agent_download/11.1.0.1.0/agent_download.rsp
using the url https://gc:7802/agent_download/11.1.0.1.0/ to access OMS
--2018-04-16 08:30:18--  https://gc:7802/agent_download/11.1.0.1.0/agent_download.rsp
Resolving gc... 10.37.2.133
Connecting to gc|10.37.2.133|:7802... connected.
OpenSSL: error:140773E8:SSL routines:SSL23_GET_SERVER_HELLO:reason(1000)
Unable to establish SSL connection.
Finished Downloading agent_download.rsp with Status=4
Command failed: wget_get_file  https://gc:7802/agent_download/11.1.0.1.0/agent_download.rsp 
URL https://gc:7802/agent_download/11.1.0.1.0/ not reachable.
1. Check if Oracle Management Service upload port provided is wrong. If so, 
   provide correct Oracle Management Service upload port and rerun agentDownload
   install.
2. You might have provided Oracle Management Service http port and the http
   console might be locked. Use https Oracle Management Service upload port 
   and rerun agentDownload install.
3. Check if Oracle Management Server is down. If so, bring up the Oracle 
   Management Service and rerun agentDownload install.
Removing the copied stuff.....
Log name of installation can be found at: "/home/oracle/AgentBase/agentDownload.linux_x64041618083018.log"

猜你喜欢

转载自blog.csdn.net/a743044559/article/details/79853495