oracle 11G rac 安装(VMware + rhel6.3)

闲来有空,整理下VMware workstation上oracle 11 RAC的安装

环境:

VMware Workstation :9.0.0 build-812388

OS :Red Hat Enterprise Linux Server release 6.3 (Santiago)

Oracle :11203

配置环境如图所示

磁盘 45G 分别有两块网卡 内存2.5G Swap为内存的2倍

VMware virtual Ethernet adapter 1    192.168.10网段

VMware virtual Ethernet adapter 8    172.10.10 网段

详细信息如下图所示

1.IP规划

###eth0 public ip

192.168.10.10   rac1

192.168.10.20   rac2

###eth1 private ip

172.10.10.10    rac1-priv

172.10.10.20    rac2-priv

###virtual ip

192.168.10.110  rac1-vip

192.168.10.120  rac2-vip

###scan ip

192.168.10.100  rac-scan

/etc/hosts文件编辑,添加以下内容,如图所示

2.修改shm的大小

编辑 /etc/fstab   添加如下一行(根据主机内存进行修改,这里是3G)

shmfs    /dev/shm      tmpfs   size=3g 0

3.关闭服务

两个节点均进行操作

[[email protected]~]# chkconfig iptables off

[[email protected]~]# chkconfig ip6tables off

[[email protected] ~]# chkconfig postfix off

如图所示

4.软件包安装检查

执行以下命令检查所需的包是否安装

rpm -q --qf ‘%{NAME}-%{VERSION}-%{RELEASE}(%{ARCH})\n‘ binutils \

compat-libstdc++- \

compat-libstdc++- \

elfutils-libelf- \

elfutils-libelf-devel \

gcc \

gcc-c++ \

glibc \

glibc \

glibc-common \

glibc-devel \

glibc-devel \

glibc-headers \

ksh \

libaio \

libaio-devel \

libgcc \

libstdc++ \

libstdc++-devel \

make \

numactl-devel \

sysstat

5.配置本地yum安装软件包

两个节点均进行操作

编辑/etc/yum.repos.d/local.repo,添加以下内容

[local]

name=local

baseurl=file:///mnt

enabled=1

gpgcheck=0

mount /dev/sr0 /mnt/  挂载光盘,安装所需的包

选择上一步检查未安装的包,使用yum安装

yum install binutils* compat-libstdc* elfutils-libelf* gcc*glibc* ksh* libaio* libgcc* libstdc* make* numactl-devel* sysstat* compat*elfutils* unix* libXp* -y

6.创建用户、组

两个节点均需要做

groupadd oinstall

groupadd dba

groupadd oper

groupadd asmadmin

groupadd asmdba

groupadd asmoper

useradd -g oinstall -Gdba,asmdba,asmadmin,asmoper grid

useradd -g oinstall -G dba,oper,asmdbaoracle

echo -n oracle|passwd --stdin grid

echo -n oracle|passwd --stdin oracle

7.创建软件安装目录并赋予权限

目录规划:

Oracle Base 目录 :/oracle/db

Grid Base 目录:/oracle/grid

Grid Home 目录:/oracle/asm

创建目录

mkdir -p /oracle

mkdir -p /oracle/db

mkdir -p /oracle/grid

mkdir -p /oracle/asm

赋予权限

chown -R grid.dba /oracle

chown -R grid.dba /oracle/asm

chown -R grid.dba /oracle/grid

chown -R oracle.dba /oracle/db

chmod -R 775 /oracle

8.修改系统内核参数

8.1编辑/etc/sysctl.conf文件中加入下列参数

fs.aio-max-nr = 1048576

fs.file-max = 6815744

kernel.shmall = 2097152

kernel.shmmax = 5368709120

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 9000 65500

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048586

# sysctl –p 运行使其生效

8.2设置Shell Limits(系统资源限制)

在/etc/security/limits.conf文件中加入下面行

oracle              soft    nproc  2047

oracle             hard    nproc  16384

oracle              soft    nofile 1024

oracle              hard    nofile 65536

oracle              soft    stack  10240

grid              soft    nproc  2047

grid              hard    nproc  16384

grid              soft    nofile 1024

grid              hard    nofile 65536

grid              soft    stack  10240

8.3修改安全限制

编辑/etc/pam.d/login文件,添加下列行

session required pam_limits.so

8.4修改/etc/profile

添加下列为文件

if [ $USER ="oracle" ] || [ $USER = "grid" ]; then

if [ $SHELL ="/bin/ksh" ]; then

ulimit -p 16384

ulimit -n 65536

else

ulimit -u 16384 -n65536

fi

umask 022

fi

# source /etc/profile   运行使其生效

9.修改用户环境变量

9.1Grid 用户

修改节点1环境变量

# su – grid

$ vi .bash_profile

export ORACLE_BASE=/oracle/grid

export ORACLE_HOME=/oracle/asm

export ORACLE_SID=+ASM1

exportPATH=$PATH:$ORACLE_HOME/bin:$HOME/bin

exportPATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib

export CLASSPATH

$ source .bash_profile 使其生效

修改节点2环境变量

# su – grid

$ vi .bash_profile

export ORACLE_BASE=/oracle/grid

export ORACLE_HOME=/oracle/asm

export ORACLE_SID=+ASM2

exportPATH=$PATH:$ORACLE_HOME/bin:$HOME/bin

exportPATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib

export CLASSPATH

$ source .bash_profile 使其生效

9.2Oracle 用户

修改节点1环境变量

# su - oracle

$ vi .bash_profile

export ORACLE_BASE=/oracle/db

exportORACLE_HOME=$ORACLE_BASE/product/11.2

export ORACLE_SID=racdb1

exportPATH=$PATH:$ORACLE_HOME/bin:$HOME/bin

exportPATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib

export CLASSPATH

$ source .bash_profile 使其生效

修改节点2环境变量

# su - oracle

$ vi .bash_profile

export ORACLE_BASE=/oracle/db

exportORACLE_HOME=$ORACLE_BASE/product/11.2

export ORACLE_SID=racdb2

exportPATH=$PATH:$ORACLE_HOME/bin:$HOME/bin

exportPATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib

export CLASSPATH

$ source .bash_profile 使其生效

10配置互信

10.1Grid用户互信配置

节点1

[[email protected] ~]# su – grid

[[email protected] ~]$ ssh-keygen -t rsa

[[email protected] ~]$ ssh-keygen -t dsa

节点2

[[email protected] ~]# su – grid

[[email protected] ~]$ ssh-keygen -t rsa

[[email protected] ~]$ ssh-keygen -t dsa

节点1

[[email protected] ~]$ cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys

[[email protected] ~]$ [email protected] cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys

节点2

[[email protected] ~]$ cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys

[[email protected] ~]$ ssh [email protected] cat ~/.ssh/*.pub >>~/.ssh/authorized_keys

检验  在节点1节点2同时执行以下操作

$ssh rac1 date

$ssh rac1-priv date

$ssh rac2 date

$ssh rac2-priv date

10.2oracle用户互信配置

节点1

[[email protected] ~]# su - oracle

[[email protected] ~]$ ssh-keygen -t rsa

[[email protected] ~]$ ssh-keygen -t dsa

节点2

[[email protected] ~]# su - oracle

[[email protected] ~]$ ssh-keygen -t rsa

[[email protected] ~]$ ssh-keygen -t dsa

节点1

[[email protected] ~]$ cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys

[[email protected] ~]$ ssh [email protected] cat ~/.ssh/*.pub >>~/.ssh/authorized_keys

节点2

[[email protected] ~]$ cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys

[[email protected] ~]$ ssh [email protected] cat ~/.ssh/*.pub >>~/.ssh/authorized_keys

检验  在节点1节点2同时执行以下操作

$ssh rac1 date

$ssh rac1-priv date

$ssh rac2 date

$ssh rac2-priv date

11.创建共享磁盘

本次使用的是VMware,使用以下操作方法创建共享磁盘

D:\>cd D:\soft\VMware

D:\soft\VMware>

D:\soft\VMware>vmware-vdiskmanager.exe -c -s 2g -a lsilogic -t 2E:\vm\sharedisk

\ocr_vote.vmdk

D:\soft\VMware>vmware-vdiskmanager.exe -c -s 5g -a lsilogic -t 2E:\vm\sharedisk

\oradata.vmdk

关闭两台虚拟机

编辑虚拟机配置文件,添加刚刚创建的共享磁盘信息,修改.vmx的文件,添加以下内容 两个文件都要添加

###add by mjt

#shared disks configure

disk.locking = "FALSE"

diskLib.dataCacheMaxSize = "0"

diskLib.dataCacheMaxReadAheadSize ="0"

diskLib.dataCacheMinReadAheadSize ="0"

diskLib.maxUnsyncedWrites = "0"

scsi1.present = "TRUE"

scsi1.virtualDev = "lsilogic"

scsil.sharedBus = "VIRTUAL"

scsi1:0.present = "TRUE"

scsi1:0.mode ="independent-persistent"

scsi1:0.fileName ="E:\vm\sharedisk\ocr_vote.vmdk"

scsi1:0.deviceType = "disk"

scsi1:0.redo = ""

scsi1:1.present = "TRUE"

scsi1:1.mode ="independent-persistent"

scsi1:1.fileName ="E:\vm\sharedisk\oradata.vmdk"

scsi1:1.deviceType = "disk"

scsi1:1.redo = ""

保存之后打开虚拟机看见的是下列状态

确保两台机器都均是这种状态   打开虚拟机进行磁盘的格式化等操作

查看两个节点中服务器识别状态

[[email protected] ~]# fdisk /dev/sdb

[[email protected] ~]# fdisk /dev/sdc

[[email protected] ~]# fdisk -l /dev/sdb

[[email protected] ~]# fdisk -l /dev/sdc

[[email protected] ~]# partprobe

节点2

[[email protected] ~]# fdisk -l /dev/sdb

[[email protected] ~]# fdisk -l /dev/sdc

两个节点均要操作

映射到裸设备

修改/etc/udev/rules.d/60-raw.rules文件,添加以下内容

ACTION=="add",KERNEL=="sdb1",RUN+="/bin/raw/dev/raw/raw1 %N"

ACTION=="add",KERNEL=="sdc1",RUN+="/bin/raw/dev/raw/raw2 %N"

KERNEL=="raw*",OWNER="grid",GROUP="dba",MODE="660"

两个节点均要操作

[[email protected] ~]# partprobe

[[email protected] ~]# start_udev

[[email protected] ~]# ls -l /dev/raw/

软件安装部分

12.介质上传

p10404530_112030_Linux-x86-64_1of7.zip

p10404530_112030_Linux-x86-64_2of7.zip

p10404530_112030_Linux-x86-64_3of7.zip

[[email protected] ~]# mkdir /soft

[[email protected] ~]# chown -R grid.dba /soft/

使用grid用户上传

cluster安装

[[email protected] soft]$ cd grid/

$ unzip p10404530_112030_Linux-x86-64_3of7.zip

[[email protected] ~]# cd /soft/grid/rpm

[[email protected] rpm]# rpm -ivh cvuqdisk-1.0.9-1.rpm

[[email protected] rpm]# scp cvuqdisk-1.0.9-1.rpm rac2:/tmp

[[email protected] ~]# rpm -ivh /tmp/cvuqdisk-1.0.9-1.rpm

[[email protected] grid]$ ./runInstaller

12.1跳过软件更新

12.2选择要安装的软件类型

选择Install and Configure GridInfrastructure for a Cluster,点击“Next”

12.3选择安装类型

选择Advanced Installation,点击“Next”

12.4选择产品语言

添加简体中文,Simplified Chinese,点击“Next”

12.5设置集群名称和scan名字

12.6配置集群节点信息

添加节点2的信息,名字和虚拟ip都是在hosts中配置的

此处就不需要再配置ssh互信了,之前已经做过配置,如果前面没有配置,此处可以进行配置,10G之前没有此选项

12.7配置网络接口

查看是否正常

12.8指定OCR和vote的存储位置

12.9定义DG名字,选择所存储的盘

12.10指定asm的密码

可能会提示密码强度不够,点击yes即可,next

12.11系统组设置选择用户组

选择dba组,出现提示,忽略即可

12.12指定安装目录

查看是否是环境变量中设置的路径

12.13建立产品清单目录

12.14安装前检查

12.15勾选以下警告

不影响安装,点击next

12.17总体信息检查

检查相关配置信息是否正确

12.18正式安装

12.19执行配置脚本

使用root用户执行以下两个脚本

节点1

[[email protected] ~]#/oracle/oraInventory/orainstRoot.sh

Changing permissions of/oracle/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions forworld.

Changing groupname of /oracle/oraInventoryto oinstall.

The execution of the script is complete.

节点2

[[email protected] ~]#/oracle/oraInventory/orainstRoot.sh

Changing permissions of/oracle/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions forworld.

Changing groupname of /oracle/oraInventoryto oinstall.

The execution of the script is complete.

节点1

[[email protected] ~]# /oracle/asm/root.sh

Performing root user operation for Oracle11g

The following environment variables are setas:

ORACLE_OWNER= grid

ORACLE_HOME=  /oracle/asm

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

Copying dbhome to /usr/local/bin ...

Copying oraenv to /usr/local/bin ...

Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratabfile as needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of rootscript.

Now product-specific root actions will beperformed.

Using configuration parameter file:/oracle/asm/crs/install/crsconfig_params

Creating trace directory

User ignored Prerequisites duringinstallation

OLR initialization - successful

rootwallet

rootwallet cert

rootcert export

peerwallet

profile reader wallet

pawallet

peerwallet keys

pawallet keys

peercert request

pacert request

peercert

pacert

peerroot cert TP

profile reader root cert TP

paroot cert TP

peerpa cert TP

papeer cert TP

profile reader pa cert TP

profile reader peer cert TP

peeruser cert

pauser cert

Adding Clusterware entries to upstart

CRS-2672: Attempting to start ‘ora.mdnsd‘ on‘rac1‘

CRS-2676: Start of ‘ora.mdnsd‘ on ‘rac1‘succeeded

CRS-2672: Attempting to start ‘ora.gpnpd‘ on‘rac1‘

CRS-2676: Start of ‘ora.gpnpd‘ on ‘rac1‘succeeded

CRS-2672: Attempting to start‘ora.cssdmonitor‘ on ‘rac1‘

CRS-2672: Attempting to start ‘ora.gipcd‘ on‘rac1‘

CRS-2676: Start of ‘ora.cssdmonitor‘ on‘rac1‘ succeeded

CRS-2676: Start of ‘ora.gipcd‘ on ‘rac1‘succeeded

CRS-2672: Attempting to start ‘ora.cssd‘ on‘rac1‘

CRS-2672: Attempting to start ‘ora.diskmon‘on ‘rac1‘

CRS-2676: Start of ‘ora.diskmon‘ on ‘rac1‘succeeded

CRS-2676: Start of ‘ora.cssd‘ on ‘rac1‘succeeded

ASM created and started successfully.

Disk Group asmcrs created successfully.

clscfg: -install mode specified

Successfully accumulated necessary OCR keys.

Creating OCR keys for user ‘root‘, privgrp‘root‘..

Operation successful.

CRS-4256: Updating the profile

Successful addition of voting disk60d9d4acbefa4f35bfcac5961d035393.

Successfully replaced voting disk group with+asmcrs.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfullyreplaced

## STATE    File Universal Id                File Name Disk group

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

1.ONLINE   60d9d4acbefa4f35bfcac5961d035393(/dev/raw/raw1) [ASMCRS]

Located 1 voting disk(s).

CRS-2672: Attempting to start ‘ora.asm‘ on‘rac1‘

CRS-2676: Start of ‘ora.asm‘ on ‘rac1‘succeeded

CRS-2672: Attempting to start‘ora.ASMCRS.dg‘ on ‘rac1‘

CRS-2676: Start of ‘ora.ASMCRS.dg‘ on ‘rac1‘succeeded

Configure Oracle GridInfrastructure for a Cluster ... succeeded

节点2

[[email protected] ~]# /oracle/asm/root.sh

Performing root user operation for Oracle11g

The following environment variables are setas:

ORACLE_OWNER= grid

ORACLE_HOME=  /oracle/asm

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

Copying dbhome to /usr/local/bin ...

Copying oraenv to /usr/local/bin ...

Copyingcoraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratabfile as needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of rootscript.

Now product-specific root actions will beperformed.

Using configuration parameter file:/oracle/asm/crs/install/crsconfig_params

Creating trace directory

User ignored Prerequisites duringinstallation

OLR initialization - successful

Adding Clusterware entries to upstart

CRS-4402: The CSS daemon was started inexclusive mode but found an active CSS daemon on node rac1, number 1, and isterminating

An active cluster was found during exclusivestartup, restarting to join the cluster

Configure Oracle GridInfrastructure for a Cluster ... succeeded

12.20安装完成

遇见以下错误,是正常的,是因为在hosts文件中存在有scan ip,只要两个节点可以ping同scan的ip即可

安装完成,查看集群状态

13安装数据库软件

rdbms的安装

[[email protected] ~]$ unzipp10404530_112030_Linux-x86-64_1of7.zip

[[email protected] ~]$ unzipp10404530_112030_Linux-x86-64_2of7.zip

[[email protected] ~]$ cd database/

[[email protected] database]$ ./runInstaller

13.1取消技术支持

不接受软件更新

13.2选择安装类型

13.3安装选项选择

选择Oracle Real Application Clusters database installation

13.4选择产品语言

13.5选择安装数据库类型,选择企业版

13.6安装目录选择

查看是否和oracle用户环境变量中配置的相同

13.7设置系统组

均选择dba组

13.8安装前检查

13.8执行配置脚本

使用root用户执行以下脚本

/oracle/db/product/11.2/root.sh

节点1

[[email protected] ~]#/oracle/db/product/11.2/root.sh

Performing root user operation for Oracle11g

The following environment variables are setas:

ORACLE_OWNER= oracle

ORACLE_HOME= /oracle/db/product/11.2

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

The contents of "dbhome" have notchanged. No need to overwrite.

The contents of "oraenv" have notchanged. No need to overwrite.

The contents of "coraenv" have notchanged. No need to overwrite.

Entries will be added to the /etc/oratabfile as needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of rootscript.

Now product-specific root actions will beperformed.

Finished product-specific root actions.

[[email protected] ~]#

节点2

[[email protected] ~]#/oracle/db/product/11.2/root.sh

Performing root user operation for Oracle11g

The following environment variables are setas:

ORACLE_OWNER= oracle

ORACLE_HOME= /oracle/db/product/11.2

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

The contents of "dbhome" have notchanged. No need to overwrite.

The contents of "oraenv" have notchanged. No need to overwrite.

The contents of "coraenv" have notchanged. No need to overwrite.

Entries will be added to the /etc/oratabfile as needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of rootscript.

Now product-specific root actions will beperformed.

Finished product-specific root actions.

[[email protected] ~]#

安装完成


14数据库创建

14.1diskgroup创建

[[email protected] ~]# su - grid

[[email protected] ~]$ asmca

选择“Disk Groups”选项,点击“Create”按钮创建ASM磁盘组,磁盘组名为DATADG1,完成后点击exit

14.2使用oracle用户创建数据库

[[email protected] ~]$ dbca

14.2创建一个数据库

14.3自定义数据库

14.4指定数据库名和实例名

14.5选择不安装EM

14.6设置数据库管理密码

可能会提示强度不够,忽略即可

14.7选择数据文件存储方式

14.8不指定闪回区

14.9选择数据库组件,根据需要选择

14.10配置数据库相关参数

本次根据内存2.5G进行配置

14.11字符集选择

14.12数据库文件定义

14.13正式安装

14.14完成安装

14.15检查集群状态

[[email protected] ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.ASMCRS.dg  ora....up.type ONLINE    ONLINE    rac1        
ora.DATADG1.dg ora....up.type ONLINE    ONLINE    rac1        
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora.asm        ora.asm.type   ONLINE    ONLINE    rac1        
ora.cvu        ora.cvu.type   ONLINE    ONLINE    rac2        
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type ONLINE    ONLINE    rac1        
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    rac2        
ora.ons        ora.ons.type   ONLINE    ONLINE    rac1        
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    OFFLINE   OFFLINE               
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   ora....t1.type ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    OFFLINE   OFFLINE               
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   ora....t1.type ONLINE    ONLINE    rac2        
ora.racdb.db   ora....se.type ONLINE    ONLINE    rac1        
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac1        
[[email protected] ~]$

数据库连接

[[email protected] ~]$ sqlplus system/[email protected]

SQL*Plus: Release 11.2.0.3.0 Production on Sat Oct 10 18:17:30 2015

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

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> 

[[email protected] ~]$ sqlplus system/[email protected]

SQL*Plus: Release 11.2.0.3.0 Production on Sat Oct 10 18:17:43 2015

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

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL>

至此,所有的安装完成,后续的操作下次继续。。。

时间: 2024-10-11 17:38:49

oracle 11G rac 安装(VMware + rhel6.3)的相关文章

oracle 11g RAC安装节点二执行结果错误CRS-5005: IP Address: 192.168.1.24 is already in use in the network

[[email protected] ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oins

阿里云上Oracle 11g RAC安装配置手册

有印象的用户可能发现,阿里云早在2016年深圳云栖大会就官方发布了对Oracle RAC的支持,但是相关产品却一直没能同步推出,相信大家都翘首以盼了许久许久.一个好消息是,近期阿里云将紧密推出两款新产品:共享块存储和ECS多网卡.这两款产品将打通众多关键云下应用上云的最后一公里,为用户提供更多的便利.在我们能正式体验到新产品之前,阿里云技术服务团队也将云上的Oracle RAC安装配置手册放出,希望能给大家提供更多不同的体验和选择. 一.安装说明 阿里云上Oracle RAC的安装部署,重点需要

RHEL6.6安装Oracle 11g RAC - 基于VMware的实验环境

实验环境准备虚拟机:VMware® Workstation 14 Pro操作系统:Red Hat Enterprise Linux 6.6 x86_64rhel-server-6.6-x86_64-dvd.isooracle软件:oracle 11.2.0.4p13390677_112040_Linux-x86-64_1of7.zipp13390677_112040_Linux-x86-64_2of7.zipp13390677_112040_Linux-x86-64_3of7.zip 虚拟服务器

oracle 11g rac安装之grid报错解决

1.在rac2节点使用oracleasm找不到共享磁盘 [[email protected] ~]# oracleasm scandisks         Reloading disk partitions: doneCleaning any stale ASM disks...Scanning system for ASM disks...[[email protected] ~]# 解决方法: 是因为在rac1节点格式化磁盘没有使用partprobe命令,分区没有生效 在rac1执行: [

Oracle 11g RAC搭建(VMware环境)

Oracle 11g RAC搭建(VMware环境) Oracle 11g RAC搭建VMware环境 安装环境与网络规划 安装环境 网络规划 环境配置 通过SecureCRT建立命令行连接 关闭防火墙 创建必要的用户组和目录并授权 节点配置检查 系统文件设置 配置IP和hostshostname 配置grid和oracle用户环境变量 配置oracle用户ssh互信 配置裸盘 配置grid用户ssh互信 挂载安装软件文件夹 安装用于Linux的cvuqdisk 手动运行cvu使用验证程序验证O

Oracle 11g RAC添加一节点过程

实验场景: 两节点RAC,主机名是db1.db2,现在需要添加db2.   本文是接上一文删除节点后的添加节点的过整过程.查看Oracle 11g R2 RAC删除一节点过程.    本例是在刚上删除节点过程后做的,如果是全新节点,需要按照Oracle 11g RAC安装过程配置环境变量等前期安装配置信息,全文全程采用字符界面方式操作,也可以采用图形界面进行.    本文假定相关例如网络通讯,用户,环境变量,存储都已经配置好,只需要安装GRID,Oracle的之前的过程. 1. 节点1上grid

Oracle 12cR1 RAC 在VMware Workstation上安装(中)—图形界面安装

Oracle 12cR1 RAC 在VMware Workstation上安装(中)-图形界面安装 1.1  图形界面安装 1.1.1  安装GRID 安装日志:/u01/app/oraInventory/logs/installActions2014-06-05_06-12-27AM.log 首先打开Xmanager - Passive软件,或者直接以grid用户登录虚拟机,在虚拟机里边进行图形界面操作. [[email protected] ~]$ export DISPLAY=192.16

Oracle 12cR1 RAC 在VMware Workstation上安装(上)—OS环境配置

Oracle 12cR1 RAC 在VMware Workstation上安装(上)-OS环境配置 1.1  整体规划部分 1.1.1  所需软件介绍 Oracle RAC不支持异构平台.在同一个集群中,可以支持具有速度和规模不同的机器,但所有节点必须运行在相同的操作系统.Oracle RAC不支持具有不同的芯片架构的机器. 序号 类型 内容 1 数据库 p17694377_121020_Linux-x86-64_1of8.zip p17694377_121020_Linux-x86-64_2o

oracle 11g rac 笔记(VMware 和esxi主机都可以使用)

这个只是笔记,防止丢失,没事见整理 在vmware安装目录 创建磁盘: vmware-vdiskmanager.exe -c -s 1000Mb -a lsilogic -t 2 D:\VMWARE\racsharedisk\ocr.vmdk vmware-vdiskmanager.exe -c -s 1000Mb -a lsilogic -t 2 D:\VMWARE\racsharedisk\ocr2.vmdk vmware-vdiskmanager.exe -c -s 1000Mb -a l