grid control 11.1.0.1 安装指南

废话少说,进入正题

系统版本

[[email protected] ~]# lsb_release -a

LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Distributor ID: RedHatEnterpriseServer

Description:    Red Hat Enterprise Linux Server release 6.5 (Santiago)

Release:        6.5

Codename:       Santiago

软件版本:版本需要匹配

jdk:jdk-6u24-linux-x64-rpm.bin

weblogic:wls1032_generic

gridcontrol:GridControl_11.1.0.1.0_Linux_x86-64_1of3 GridControl_11.1.0.1.0_Linux_x86-64_2of3GridControl_11.1.0.1.0_Linux_x86-64_3of3

注意配置/etc/hosts,格式为IP,域名,简称必须是这个格式

[[email protected] rlwrap-0.37]# cat /etc/hosts

127.0.0.1   localhost.localdomain   localhost

192.170.100.8 server8.com           server8

192.170.100.2 server2.com           server2

192.170.100.6 server6.com           server6

192.170.100.12 gridcontrol.com      gridcontrol

1.安装emrep数据库

安装数据,下一步,下一步就可以,这里就不再多说,不过需要修改一下参数的值

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 system set log_archive_dest_1=‘location=/home/oracle/app/archive‘ scope=spfile;

SELECT name FROM v$datafile;

ALTER DATABASE DATAFILE ‘/u01/oracle/oradata/emrep/undotbs01.dbf‘ RESIZE 200M;

注意开启归档

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup mount;

ORACLE instance started.

Total System Global Area 4275781632 bytes

Fixed Size                  2235208 bytes

Variable Size             822084792 bytes

Database Buffers         3439329280 bytes

Redo Buffers               12132352 bytes

Database mounted.

SQL> alter database archivelog;

Database altered.

SQL> archive log list;

Database log mode              Archive Mode

Automatic archival             Enabled

Archive destination            /home/oracle/app/archive

Oldest online log sequence     3

Next log sequence to archive   5

Current log sequence           5

SQL> alter database open;

Database altered.

2.安装JDK,注意必须是1.6版本的,不能是jrocket(唉,在这里翻了大跟头)

已root 用户

chmod 755 jdk-6u24-linux-x64-rpm.bin

./jdk-6u24-linux-x64-rpm.bin

然后将解压处的rpm安装

rpm -ivh *.rpm --force --nodeps

安装完之后设置环境变量

ORACLE_SID=emrep

ORACLE_BASE=/home/oracle/app

ORACLE_HOME=$ORACLE_BASE/product/11.0.2/db_1

export ORACLE_SID ORACLE_BASE ORACLE_HOME

PATH=$PATH:$ORACLE_HOME/bin:$HOME/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

export PATH

export DISPLAY=192.170.100.188:0.0

stty erase ^h

alias sqlplus=‘rlwrap sqlplus‘

alias rman=‘rlwrap rman‘

export OMS_HOME=$ORACLE_BASE/Middleware/oms11g

export AGENT_HOME=$ORACLE_BASE/Middleware/agent11g

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/X11R6/lib:$LD_LIBRARY_PATH

export ORACLE_MIDDLEWARE_HOME=$ORACLE_BASE/Middleware

export WLS_HOME=$ORACLE_BASE/Middleware/wlserver_10.3

export WT_HOME=$ORACLE_BASE/Middleware/Oracle_WT

export JAVA_HOME=/usr/java/default

export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH

export CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib

查看一下java 版本

[[email protected] ~]$ java -version

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

[[email protected] ~]$

3.安装weblogic10.3.2,注意必须是这个版本

java -d64 -jar wls1032_generic.jar

安装完之后不要选择运行run quickstart

4.安装gridcontrol 11.1.0.1

./runInstaller

安装缺失的包

rpm -q \

glibc \

rng-utils \

make \

binutils \

gcc \

libaio \

glibc-common \

compat-libstdc++-296 \

libstdc++ \

libstdc++-devel \

setarch \

sysstat \

compat-db | grep "not installed"

[[email protected] ~]# rpm -ivh *.rpm --force --nodeps

warning: compat-db-4.6.21-15.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

warning: rng-utils-2.0-1.14.1.fc6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 37017186: NOKEY

Preparing...                ########################################### [100%]

1:setarch                ########################################### [ 20%]

2:rng-utils              ########################################### [ 40%]

3:compat-db              ########################################### [ 60%]

4:compat-db              ########################################### [ 80%]

5:compat-libstdc++-296   ########################################### [100%]

删除之前的em

[[email protected] 11g_grid_control_linux_x86-64]$ emca -deconfig dbcontrol db -repos drop

STARTED EMCA at Jun 3, 2015 9:00:35 PM

EM Configuration Assistant, Version 11.2.0.3.0 Production

Copyright (c) 2003, 2011, Oracle.  All rights reserved.

Enter the following information:

Database SID: emrep

Listener port number: 1521

Password for SYS user:

Password for SYSMAN user:

Password for SYSMAN user:

----------------------------------------------------------------------

WARNING : While repository is dropped the database will be put in quiesce mode.

----------------------------------------------------------------------

Do you wish to continue? [yes(Y)/no(N)]: y

Jun 3, 2015 9:00:45 PM oracle.sysman.emcp.EMConfig perform

INFO: This operation is being logged at /home/oracle/app/cfgtoollogs/emca/emrep/emca_2015_06_03_21_00_34.log.

Jun 3, 2015 9:00:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly

WARNING: ORA-28000: the account is locked

Jun 3, 2015 9:00:45 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl

WARNING: Error initializing SQL connection. SQL operations cannot be performed

Jun 3, 2015 9:00:45 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration

WARNING: EM is not configured for this database. No EM-specific actions can be performed. Some of the possible reasons may be:

1) EM is configured with different hostname then physical host. Set environment variable ORACLE_HOSTNAME=<hostname> and re-run EMCA script

2) ORACLE_HOSTNAME is set. Unset it and re-run EMCA script

Jun 3, 2015 9:00:45 PM oracle.sysman.emcp.EMReposConfig invoke

INFO: Dropping the EM repository (this may take a while) ...

Jun 3, 2015 9:02:50 PM oracle.sysman.emcp.EMReposConfig invoke

INFO: Repository successfully dropped

Enterprise Manager configuration completed successfully

FINISHED EMCA at Jun 3, 2015 9:02:50 PM

已root执行脚本

/home/oracle/app/Middleware/oms11g/allroot.sh

至此安装完成

原创文章,严禁转载,转载必究

时间: 2024-11-09 00:56:14

grid control 11.1.0.1 安装指南的相关文章

11g Grid Control安装过程的一些“坑”

Oracle提供的图形化管理工具目前主要有三个版本: EMDC:Enterprise Manager Database Control EMGC:Enterprise Manager Grid Control EMCC:Enterprise Manager Cloud Control DC需要为每个实例创建一套,而GC则可以统一管理多实例,CC则运用了很火的"云"概念来做统一管理数据库,可谓是增强版的GC. Oracle官网上已经删除了几乎所有11g GC下载链接,主推12c和13c的

为11.2.0.2 Grid Infrastructure添加节点

转自:http://www.askmaclean.com/archives/add-node-to-11-2-0-2-grid-infrastructure.html 在之前的文章中我介绍了为10g RAC Cluster添加节点的具体步骤.在11gr2中Oracle CRS升级为Grid Infrastructure,通过GI我们可以更方便地控制CRS资源如:VIP.ASM等等,这也导致了在为11.2中的GI添加节点时,同10gr2相比有着较大的差异. 这里我们要简述在11.2中为GI ADD

Grid Control Agent无法配置成功的案例分享

最近在做GC的实验,在GC服务器上软件都顺利安装成功,OMS和自己上面的AGENT也都能够顺利启动,但是就是DB服务器的agent死活配置不成功,一直报错,找了半天也没有发现是什么原因.下面是部分实验过程: GC服务器: [[email protected] ~]# su - oracle [[email protected] ~]$ emctl status oms Oracle Enterprise Manager 10g Release 10.2.0.1.0 Copyright (c) 1

Oracle? Database Patch 19121551 - Database Patch Set Update 11.2.0.4.4 (Includes CPUOct2014) - 傲游云浏览

Skip Headers Oracle? Database Patch 19121551 - Database Patch Set Update 11.2.0.4.4 (Includes CPUOct2014) ? Released: October 14, 2014 This document is accurate at the time of release. For any changes and additional information regarding PSU 11.2.0.4

关于安装Oracle 11.2.0.1 RAC的笔记

这是第一次安装RAC,参考了国外一位大神的安装文档,在安装过程中,也遇到了一些问题,从网上查了相关问题的解决方法,在此感谢. 操作系统是 Oracle Enterprise Linux 5,两个节点 rac1和rac2,网卡eth0作为public,eth1作为private,假设之前已添加一块20G容量的共享磁盘. 关于Oracle Enterprise Linux 下载,可以在https://edelivery.oracle.com/osdc/faces/Home.jspx登陆后下载. 主机

HPDL380G8平台11.2.0.3 RAC实施手册

HPDL380G8平台11.2.0.3 RAC实施手册   1 前言 此文档详细描述了Oracle 11gR2 数据库在HPDL380G上的安装RAC的检查及安装步骤.文档中#表示root用户执行,$表示grid或oracle用户执行. 2 系统环境 1.操作系统环境 说明项 节点1 节点2 硬件型号 HPDL380pGen8 HPDL380pGen8 操作系统 Oel6.4 Oel6.4 集群件 oracle grid oracle grid 服务器主机名 Rbdb81 Rbdb82 IP地址

duplicate 数据库 from active database [oracle 11.2.0.3 + asm] =&gt; [oracle 11.2.0.3 + asm]

参考自己博客的这个安装 http://blog.csdn.net/ctypyb2002/article/details/51251217 安装好另一台机器的rhel6.4,gi software,rdbms software. 创建一个 +ASM 实例 用过asmca 创建了一个可用的磁盘组. 不要用DBCA创建数据库,因为要duplicate 数据库.只要安装好 rdbms software 就OK了. vi /etc/hosts 10.1.1.35 asmnode 10.1.1.36 asm

rhel7.4安装oracle 11G 11.2.0.4.0 RAC

一.操作系统 red hat 7.4oracle数据库版本11.2.0.4oracle grid版本11.2.0.4对应的文件p13390677_112040_Linux-x86-64_1of7.zip - database softwarep13390677_112040_Linux-x86-64_2of7.zip - database softwarep13390677_112040_Linux-x86-64_3of7.zip - grid software IP地址规划:DNS serve

Oracle 11.2.0.4.0 DG (ASM) 搭建案例

图示:ARC进程 实验环境 主机:CentOS release 6.5 (Final) 软件:Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production 主库:db_unique_name:orcl1 备库:db_unique_name:orcl1dg ============================================================================