求Linux 下Oracle 11g RAC 详细安装教程

求Linux 下Oracle 11g RAC 详细安装教程,第1张

1、肯定要先安装GI的。

2、udev和oracleasm应该都可以。不过rac要共享存储的,你的设置应该有问题。

3、官网下不到11.2.0.3的,只有有metalink账号的才可以下载。

获取 oracle RAC 11g asm spfile 的位置方法有四种:

方法一:

[root@vmrac1 ~]# su - grid

[grid@vmrac1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 3 09:36:27 2014

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 Real Application Clusters and Automatic Storage Management options

SQL>select sys_context('sys_cluster_properties','asm_spfile',4000) as val from dual

VAL

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

+DUPCRS/vmrac-cluster/asmparameterfile/registry.253.850656291

方法二:

SQL>show parameter pfile

NAME TYPE VALUE

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

spfile string +DUPCRS/vmrac-cluster/asmparam

eterfile/registry.253.850656291

方法三:

ASMCMD>spget

+DUPCRS/vmrac-cluster/asmparameterfile/registry.253.850656291

方法四:

[root@vmrac2 ~]# gpnptool get 2>/dev/null | xmllint --format - | egrep 'CSS-Profile|ASM-Profile|Network id'

<gpnp:HostNetwork id="gen" HostName="*">

<gpnp:Network id="net1" IP="10.80.18.0" Adapter="eth0" Use="public"/>

<gpnp:Network id="net2" IP="10.0.0.0" Adapter="eth1" Use="cluster_interconnect"/>

<orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/>

<orcl:ASM-Profile id="asm" DiscoveryString="" SPFile="+DUPCRS/vmrac-cluster/asmparameterfile/registry.253.850656291"/>


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/8955403.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-23
下一篇 2023-04-23

发表评论

登录后才能评论

评论列表(0条)

保存