oracle 11g r2 Rac install

来源:互联网 发布:windows系统手机版 编辑:程序博客网 时间:2024/04/28 15:31

 

查看操作系统版本:

 [root@rac1 ~]# cat /etc/issue
Enterprise Linux Enterprise Linux AS release 4 (October Update 7)
Kernel \r on an \m

查看内核版本:

[root@rac1 ~]# cat /proc/version
Linux version 2.6.9-78.0.0.0.1.ELsmp (mockbuild@ca-build15.us.oracle.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Fri Jul 25 14:41:56 EDT 2008

 

vi /etc/hosts


127.0.0.1       localhost
192.168.10.11   rac1
192.168.10.12   rac1-vip
10.10.10.11     rac1-priv

192.168.10.21   rac2
192.168.10.22   rac2-vip
10.10.10.21     rac2-priv

192.168.10.31 rac-cluster

groupadd -g 1000 oinstall
groupadd -g 1031 dba
useradd -u 1101 -g oinstall -G dba oracle
mkdir -p  /u01/app/11.2.0/grid
mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01
chmod -R 775 /u01/ 

Using any text editor, create or edit the /etc/sysctl.conf file, and add or edit lines similar to the following:

Note:

Include lines only for the kernel parameter values that you want to change. For the semaphore parameters (kernel.sem), you must specify all four values. If any of the current values are larger than the minimum value, then specify the larger value.
fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586


Note:

The minimum value required for shmmax is 0.5 GB. Oracle recommends that you set the value ofshmmax to 2.0 GB for optimum performance of the system.

By specifying the values in the /etc/sysctl.conf file, they persist when you restart the system. On SUSE Linux Enterprise Server systems, enter the following command to ensure that the system reads the/etc/sysctl.conf file when it restarts:

# /sbin/chkconfig boot.sysctl on

Enter the following command to change the current values of the kernel parameters:

# /sbin/sysctl -p


If necessary, update the resource limits in the /etc/security/limits.conf configuration file for the installation owner. For example, add the following lines to the/etc/security/limits.conf file:

oracle              soft    nproc   2047oracle              hard    nproc   16384oracle              soft    nofile  1024oracle              hard    nofile  65536oracle              soft    stack   10240


Sendmail是最重要的邮件传输代理程序。理解电子邮件的工作模式是非常重要的。一般情况下,我们把电子邮件程序分解成用户代理,传输代理和投递代理。 关闭Sendmail服务具体命令实现如下:


关闭sendmail服务

(1)[root@sample ~]# /etc/rc.d/init.d/sendmail stop  ← 关闭sendmail服务
或者[root@sample ~]# service sendmail stop  ← 关闭sendmail服务
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]

(2)[root@sample ~]# chkconfig sendmail off  ← 关闭sendmail自启动

(3)[root@sample ~]# chkconfig --list sendmail  ← 确认sendmail自启动已被关闭(都为off就OK)
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off

 

 

在大部分Linux发行版本中,sendmail这个古老的邮件系统包是默认安装的,装完系统后,重启时,不少兄弟遇到在启动过程中,到了启动sendmail服务的时候就停止了,没有耐性和经验的朋友这时候可能会以为系统出故障或者系统没有装好,其实既不是系统出故障,一般也不是系统没有安装好,而是系统启动sendmail的时候在查询你设置的主机名的A记录或反向域名记录,由于全球9台DNS根系统都在美国,这个时候会去查询本机主机名对应的dns A记录。

 

知道了问题的症结,就可以对症下药了,比如我们可以修改系统配置文件/etc/hosts

让sendmaill绕过查询远程主机,这里给出一种最简单的方法

修改/etc/hosts ,未修改之前

127.0.0.1 localhost.localdomain localhost

修改成

127.0.0.1 localhost.localdomain localhost 主机名称

上述操作要在root权限下执行,查看主机名命令:hostname。

当我重新启动是发现sendmail和sm-client启动是秒级了。

 

NTP

To do this, on Oracle Linux, Red Hat Linux, and Asianux systems, edit the
/etc/sysconfig/ntpd file to add the -x flag, as in the following example:
# Drop root to id 'ntp:ntp' by default.
OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"
# Set to 'yes' to sync hw clock after successful ntpdate
SYNC_HWCLOCK=no
# Additional options for ntpdate
NTPDATE_OPTIONS=""
Then, restart the NTP service.
# /sbin/service ntp restart

 

#/sbin/chkconfig ntpd on

 

Linux 硬盘分区

#fdisk -l

#fdisk /dev/sdb

#mkfs -t ext3 /dev/sdb1

#mount /dev/sdb1 /u01

#df -lh

#vi /etc/fstab

  /dev/sdb1  /u01  ext3  defaults  1  2

 

disk.locking = "FALSE"

diskLib.dataCacheMaxSize = "0"

scsi1.sharedBus = "virtual"

 

scsi1.present = "TRUE"

scsi1:0.present = "TRUE"

scsi1:0.fileName = "D:\vm\rac\sharedstorage\ocfs2disk.vmdk"

scsi1:0.mode = "independent-persistent"

scsi1:0.deviceType = "disk"

 

 本案例中使用的是Redhat Enterprise AS 4 Update 2系统,内核版本为2.6.9-22.ELsmp,因此,
需要下载的OCFS2内核模块(kernel module)也必须相应版本的:
http://oss.oracle.com/projects/ocfs2/

再下载OCFS2 tools(命令和启动脚本)以及 OCFS2 控制台:
http://oss.oracle.com/projects/ocfs2-tools

 

o2cb_ctl: Unable to access cluster service while creating node  

在安装完成ocfs2 之后, 运行# ocfs2console

Configure Nodes --> Add --> 输入Private Node名和Private IP --> OK --> Apply
出现如下错误:
o2cb_ctl: Unable to access cluster service while creating node
Could not add node node1


后来搜索到一些文章,发现所有节点需要到 /etc/ocfs2/查看cluster.conf是否有内容,如果有,全部删除掉 ,然后重新配置一次,或者直接删除掉cluster.conf文件再重新配置。

 

[root@rac1 app]# mounted.ocfs2 -f
Device                FS     Nodes
/dev/sdc1             ocfs2  rac1, rac2
/dev/sdc2             ocfs2  rac1, rac2

 

装grid infrastructure时,安装到最后一步时,运行root.sh出错:

2011-10-27 12:19:21: The configuration parameter file /u01/app/11.2.0/grid/crs/install/crsconfig_params is valid
2011-10-27 12:19:21: Checking for super user privileges
2011-10-27 12:19:21: User has super user privileges
2011-10-27 12:19:21: ### Printing the configuration values from files:
2011-10-27 12:19:21:    /u01/app/11.2.0/grid/crs/install/crsconfig_params
2011-10-27 12:19:21:    /u01/app/11.2.0/grid/crs/install/s_crsconfig_defs
2011-10-27 12:19:21: ASM_DISCOVERY_STRING=
2011-10-27 12:19:21: ASM_DISKS=
2011-10-27 12:19:21: ASM_DISK_GROUP=
2011-10-27 12:19:21: ASM_REDUNDANCY=
2011-10-27 12:19:21: ASM_SPFILE=
2011-10-27 12:19:21: ASM_UPGRADE=false
2011-10-27 12:19:21: CLSCFG_MISSCOUNT=
2011-10-27 12:19:21: CLUSTER_GUID=
2011-10-27 12:19:21: CLUSTER_NAME=rac-cluster
2011-10-27 12:19:21: CRS_NODEVIPS='rac1-vip/255.255.255.0/eth0,rac2-vip/255.255.255.0/eth0'
2011-10-27 12:19:21: CRS_STORAGE_OPTION=2
2011-10-27 12:19:21: CSS_LEASEDURATION=400
2011-10-27 12:19:21: DIRPREFIX=
2011-10-27 12:19:21: DISABLE_OPROCD=0
2011-10-27 12:19:21: EMBASEJAR_NAME=oemlt.jar
2011-10-27 12:19:21: EWTJAR_NAME=ewt3.jar
2011-10-27 12:19:21: EXTERNAL_ORACLE_BIN=/opt/oracle/bin
2011-10-27 12:19:21: GNS_ADDR_LIST=
2011-10-27 12:19:21: GNS_ALLOW_NET_LIST=
2011-10-27 12:19:21: GNS_CONF=false
2011-10-27 12:19:21: GNS_DENY_ITF_LIST=
2011-10-27 12:19:21: GNS_DENY_NET_LIST=
2011-10-27 12:19:21: GNS_DOMAIN_LIST=
2011-10-27 12:19:21: GPNPCONFIGDIR=/u01/app/11.2.0/grid
2011-10-27 12:19:21: GPNPGCONFIGDIR=/u01/app/11.2.0/grid
2011-10-27 12:19:21: GPNP_PA=
2011-10-27 12:19:21: HELPJAR_NAME=help4.jar
2011-10-27 12:19:21: HOST_NAME_LIST=rac1,rac2
2011-10-27 12:19:21: ID=/etc/init.d
2011-10-27 12:19:21: INIT=/sbin/init
2011-10-27 12:19:21: IT=/etc/inittab
2011-10-27 12:19:21: JEWTJAR_NAME=jewt4.jar
2011-10-27 12:19:21: JLIBDIR=/u01/app/11.2.0/grid/jlib
2011-10-27 12:19:21: JREDIR=/u01/app/11.2.0/grid/jdk/jre/
2011-10-27 12:19:21: LANGUAGE_ID=AMERICAN_AMERICA.AL32UTF8
2011-10-27 12:19:21: MSGFILE=/var/adm/messages
2011-10-27 12:19:21: NETCFGJAR_NAME=netcfg.jar
2011-10-27 12:19:21: NETWORKS="eth0"/192.168.10.0:public,"eth1"/10.10.10.0:cluster_interconnect
2011-10-27 12:19:21: NEW_HOST_NAME_LIST=
2011-10-27 12:19:21: NEW_NODEVIPS='rac1-vip/255.255.255.0/eth0,rac2-vip/255.255.255.0/eth0'
2011-10-27 12:19:21: NEW_NODE_NAME_LIST=
2011-10-27 12:19:21: NEW_PRIVATE_NAME_LIST=
2011-10-27 12:19:21: NODELIST=rac1,rac2
2011-10-27 12:19:21: NODE_NAME_LIST=rac1,rac2
2011-10-27 12:19:21: OCFS_CONFIG=
2011-10-27 12:19:21: OCRCONFIG=/etc/oracle/ocr.loc
2011-10-27 12:19:21: OCRCONFIGDIR=/etc/oracle
2011-10-27 12:19:21: OCRID=
2011-10-27 12:19:21: OCRLOC=ocr.loc
2011-10-27 12:19:21: OCR_LOCATIONS=/u02/ocr/ocr
2011-10-27 12:19:21: OLASTGASPDIR=/etc/oracle/lastgasp
2011-10-27 12:19:21: OLRCONFIG=/etc/oracle/olr.loc
2011-10-27 12:19:21: OLRCONFIGDIR=/etc/oracle
2011-10-27 12:19:21: OLRLOC=olr.loc
2011-10-27 12:19:21: OPROCDCHECKDIR=/etc/oracle/oprocd/check
2011-10-27 12:19:21: OPROCDDIR=/etc/oracle/oprocd
2011-10-27 12:19:21: OPROCDFATALDIR=/etc/oracle/oprocd/fatal
2011-10-27 12:19:21: OPROCDSTOPDIR=/etc/oracle/oprocd/stop
2011-10-27 12:19:21: ORACLE_BASE=/u01/app/oracle
2011-10-27 12:19:21: ORACLE_HOME=/u01/app/11.2.0/grid
2011-10-27 12:19:21: ORACLE_OWNER=oracle
2011-10-27 12:19:21: ORA_ASM_GROUP=oinstall
2011-10-27 12:19:21: ORA_DBA_GROUP=oinstall
2011-10-27 12:19:21: PRIVATE_NAME_LIST=
2011-10-27 12:19:21: RCALLDIR=/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc3.d /etc/rc.d/rc4.d /etc/rc.d/rc5.d /etc/rc.d/rc6.d
2011-10-27 12:19:21: RCKDIR=/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc4.d /etc/rc.d/rc6.d
2011-10-27 12:19:21: RCSDIR=/etc/rc.d/rc3.d /etc/rc.d/rc5.d
2011-10-27 12:19:21: RC_KILL=K19
2011-10-27 12:19:21: RC_KILL_OLD=K96
2011-10-27 12:19:21: RC_START=S96
2011-10-27 12:19:21: SCAN_NAME=rac-cluster
2011-10-27 12:19:21: SCAN_PORT=1521
2011-10-27 12:19:21: SCRBASE=/etc/oracle/scls_scr
2011-10-27 12:19:21: SHAREJAR_NAME=share.jar
2011-10-27 12:19:21: SILENT=false
2011-10-27 12:19:21: SO_EXT=so
2011-10-27 12:19:21: SRVCFGLOC=srvConfig.loc
2011-10-27 12:19:21: SRVCONFIG=/var/opt/oracle/srvConfig.loc
2011-10-27 12:19:21: SRVCONFIGDIR=/var/opt/oracle
2011-10-27 12:19:21: VNDR_CLUSTER=false
2011-10-27 12:19:21: VOTING_DISKS=/u02/ocr/vdsk
2011-10-27 12:19:21: ### Printing other configuration values ###
2011-10-27 12:19:21: CLSCFG_EXTRA_PARMS=
2011-10-27 12:19:21: CRSDelete=0
2011-10-27 12:19:21: CRSPatch=0
2011-10-27 12:19:21: DEBUG=
2011-10-27 12:19:21: DOWNGRADE=
2011-10-27 12:19:21: HAS_GROUP=oinstall
2011-10-27 12:19:21: HAS_USER=root
2011-10-27 12:19:21: HOST=rac1
2011-10-27 12:19:21: IS_SIHA=0
2011-10-27 12:19:21: OLR_DIRECTORY=/u01/app/11.2.0/grid/cdata
2011-10-27 12:19:21: OLR_LOCATION=/u01/app/11.2.0/grid/cdata/rac1.olr
2011-10-27 12:19:21: ORA_CRS_HOME=/u01/app/11.2.0/grid
2011-10-27 12:19:21: SUPERUSER=root
2011-10-27 12:19:21: UPGRADE=
2011-10-27 12:19:21: VF_DISCOVERY_STRING=/u02/ocr/vdsk
2011-10-27 12:19:21: addfile=/u01/app/11.2.0/grid/crs/install/crsconfig_addparams
2011-10-27 12:19:21: crscfg_trace=1
2011-10-27 12:19:21: crscfg_trace_file=/u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_rac1.log
2011-10-27 12:19:21: hosts=
2011-10-27 12:19:21: oldcrshome=
2011-10-27 12:19:21: oldcrsver=
2011-10-27 12:19:21: osdfile=/u01/app/11.2.0/grid/crs/install/s_crsconfig_defs
2011-10-27 12:19:21: parameters_valid=1
2011-10-27 12:19:21: paramfile=/u01/app/11.2.0/grid/crs/install/crsconfig_params
2011-10-27 12:19:21: platform_family=unix
2011-10-27 12:19:21: srvctl_trc_suff=0
2011-10-27 12:19:21: unlock_crshome=
2011-10-27 12:19:21: user_is_superuser=1
2011-10-27 12:19:21: ### Printing of configuration values complete ###
2011-10-27 12:19:21: Oracle CRS stack is not configured yet
2011-10-27 12:19:21: CRS is not yet configured. Hence, will proceed to configure CRS
2011-10-27 12:19:21: Cluster-wide one-time actions... Done!
2011-10-27 12:19:22: set owner/group of OCR path
2011-10-27 12:19:22: Oracle CRS home = /u01/app/11.2.0/grid
2011-10-27 12:19:22: Host name = rac1
2011-10-27 12:19:22: CRS user = oracle
2011-10-27 12:19:22: Oracle CRS home = /u01/app/11.2.0/grid
2011-10-27 12:19:22: GPnP host = rac1
2011-10-27 12:19:22: Oracle GPnP home = /u01/app/11.2.0/grid/gpnp
2011-10-27 12:19:22: Oracle GPnP local home = /u01/app/11.2.0/grid/gpnp/rac1
2011-10-27 12:19:22: GPnP directories verified.
2011-10-27 12:19:22: Checking to see if Oracle CRS stack is already configured
2011-10-27 12:19:22: Oracle CRS stack is not configured yet
2011-10-27 12:19:22: ---Checking local gpnp setup...
2011-10-27 12:19:22: The setup file "/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" does not exist
2011-10-27 12:19:22: The setup file "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer/cwallet.sso" does not exist
2011-10-27 12:19:22: The setup file "/u01/app/11.2.0/grid/gpnp/rac1/wallets/prdr/cwallet.sso" does not exist
2011-10-27 12:19:22: chk gpnphome /u01/app/11.2.0/grid/gpnp/rac1: profile_ok 0 wallet_ok 0 r/o_wallet_ok 0
2011-10-27 12:19:22: chk gpnphome /u01/app/11.2.0/grid/gpnp/rac1: INVALID (bad profile/wallet)
2011-10-27 12:19:22: ---Checking cluster-wide gpnp setup...
2011-10-27 12:19:22: The setup file "/u01/app/11.2.0/grid/gpnp/profiles/peer/profile.xml" does not exist
2011-10-27 12:19:22: The setup file "/u01/app/11.2.0/grid/gpnp/wallets/peer/cwallet.sso" does not exist
2011-10-27 12:19:22: The setup file "/u01/app/11.2.0/grid/gpnp/wallets/prdr/cwallet.sso" does not exist
2011-10-27 12:19:22: chk gpnphome /u01/app/11.2.0/grid/gpnp: profile_ok 0 wallet_ok 0 r/o_wallet_ok 0
2011-10-27 12:19:22: chk gpnphome /u01/app/11.2.0/grid/gpnp: INVALID (bad profile/wallet)
2011-10-27 12:19:22: gpnp setup checked: local valid? 0 cluster-wide valid? 0
2011-10-27 12:19:22: gpnp setup: NONE
2011-10-27 12:19:22: GPNP configuration required
2011-10-27 12:19:22: Validating for SI-CSS configuration
2011-10-27 12:19:22: Retrieving OCR main disk location
2011-10-27 12:19:22: Opening file OCRCONFIG
2011-10-27 12:19:22: Value () is set for key=ocrconfig_loc
2011-10-27 12:19:22: Unable to retrieve ocr disk info
2011-10-27 12:19:22: Checking to see if any 9i GSD is up
2011-10-27 12:19:22: libskgxnBase_lib = /etc/ORCLcluster/oracm/lib/libskgxn2.so
2011-10-27 12:19:22: libskgxn_lib = /opt/ORCLcluster/lib/libskgxn2.so
2011-10-27 12:19:22: SKGXN library file does not exists
2011-10-27 12:19:22: OLR location = /u01/app/11.2.0/grid/cdata/rac1.olr
2011-10-27 12:19:22: Oracle CRS Home = /u01/app/11.2.0/grid
2011-10-27 12:19:22: Validating /etc/oracle/olr.loc file for OLR location /u01/app/11.2.0/grid/cdata/rac1.olr
2011-10-27 12:19:22: /etc/oracle/olr.loc already exists. Backing up /etc/oracle/olr.loc to /etc/oracle/olr.loc.orig
2011-10-27 12:19:22: Oracle CRS home = /u01/app/11.2.0/grid
2011-10-27 12:19:22: Oracle cluster name = rac-cluster
2011-10-27 12:19:22: OCR locations = /u02/ocr/ocr
2011-10-27 12:19:22: Validating OCR
2011-10-27 12:19:22: Retrieving OCR location used by previous installations
2011-10-27 12:19:22: Opening file OCRCONFIG
2011-10-27 12:19:22: Value () is set for key=ocrconfig_loc
2011-10-27 12:19:22: Opening file OCRCONFIG
2011-10-27 12:19:22: Value () is set for key=ocrmirrorconfig_loc
2011-10-27 12:19:22: Opening file OCRCONFIG
2011-10-27 12:19:22: Value () is set for key=ocrconfig_loc3
2011-10-27 12:19:22: Opening file OCRCONFIG
2011-10-27 12:19:22: Value () is set for key=ocrconfig_loc4
2011-10-27 12:19:22: Opening file OCRCONFIG
2011-10-27 12:19:22: Value () is set for key=ocrconfig_loc5
2011-10-27 12:19:22: Checking if OCR sync file exists
2011-10-27 12:19:22: No need to sync OCR file
2011-10-27 12:19:22: OCR_LOCATION=/u02/ocr/ocr
2011-10-27 12:19:22: OCR_MIRROR_LOCATION=
2011-10-27 12:19:22: OCR_MIRROR_LOC3=
2011-10-27 12:19:22: OCR_MIRROR_LOC4=
2011-10-27 12:19:22: OCR_MIRROR_LOC5=
2011-10-27 12:19:22: Current OCR location=
2011-10-27 12:19:22: Current OCR mirror location=
2011-10-27 12:19:22: Current OCR mirror loc3=
2011-10-27 12:19:22: Current OCR mirror loc4=
2011-10-27 12:19:22: Current OCR mirror loc5=
2011-10-27 12:19:22: Verifying current OCR settings with user entered values
2011-10-27 12:19:22: Setting OCR locations in /etc/oracle/ocr.loc
2011-10-27 12:19:22: Validating OCR locations in /etc/oracle/ocr.loc
2011-10-27 12:19:22: Checking for existence of /etc/oracle/ocr.loc
2011-10-27 12:19:22: Backing up /etc/oracle/ocr.loc to /etc/oracle/ocr.loc.orig
2011-10-27 12:19:22: Setting ocr location /u02/ocr/ocr
2011-10-27 12:19:22: Creating or upgrading Oracle Local Registry (OLR)
2011-10-27 12:19:24: OLR successfully created or upgraded
2011-10-27 12:19:24: /u01/app/11.2.0/grid/bin/clscfg -localadd
2011-10-27 12:19:24: Keys created in the OLR successfully
2011-10-27 12:19:25: GPnP setup state: none
2011-10-27 12:19:25: Creating local GPnP setup for clustered node...
2011-10-27 12:19:25: Oracle CRS home = /u01/app/11.2.0/grid
2011-10-27 12:19:25: Oracle GPnP wallets home = /u01/app/11.2.0/grid/gpnp/rac1/wallets
2011-10-27 12:19:25: Checking if GPnP setup exists
2011-10-27 12:19:25: /u01/app/11.2.0/grid/gpnp/rac1/wallets/peer/cwallet.sso wallet must be created
2011-10-27 12:19:25: Removing old wallets/certificates, if any
2011-10-27 12:19:25: Creating GPnP Root Wallet...
2011-10-27 12:19:25: /u01/app/11.2.0/grid/bin/orapki wallet create -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root" -pwd gpnp_wallet1 -nologo
2011-10-27 12:19:28: Creating GPnP Root Certificate...
2011-10-27 12:19:28: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root" -pwd gpnp_wallet1 -self_signed -dn "CN=GPnP_root" -keysize 1024 -validity 9999 -nologo
2011-10-27 12:19:30: Exporting GPnP Root Certificate...
2011-10-27 12:19:30: /u01/app/11.2.0/grid/bin/orapki wallet export -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root" -pwd gpnp_wallet1 -dn "CN=GPnP_root" -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root/b64certificate.txt" -nologo
2011-10-27 12:19:30: Creating GPnP Peer Wallet...
2011-10-27 12:19:30: /u01/app/11.2.0/grid/bin/orapki wallet create -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -pwd gpnp_wallet1 -auto_login -nologo
2011-10-27 12:19:31: Creating GPnP Profile Reader Wallet...
2011-10-27 12:19:31: /u01/app/11.2.0/grid/bin/orapki wallet create -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/prdr" -pwd gpnp_wallet1 -auto_login -nologo
2011-10-27 12:19:32: Creating GPnP PA Wallet...
2011-10-27 12:19:32: /u01/app/11.2.0/grid/bin/orapki wallet create -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa" -pwd gpnp_wallet1 -auto_login -nologo
2011-10-27 12:19:32: Adding private key to GPnP Peer Wallet...
2011-10-27 12:19:32: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -pwd gpnp_wallet1 -dn "CN=GPnP_peer" -keysize 1024 -nologo
2011-10-27 12:19:33: Adding private key to GPnP PA Wallet...
2011-10-27 12:19:33: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa" -pwd gpnp_wallet1 -dn "CN=GPnP_pa" -keysize 1024 -nologo
2011-10-27 12:19:34: Creating certificate request for GPnP Peer Wallet...
2011-10-27 12:19:34: /u01/app/11.2.0/grid/bin/orapki wallet export -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -pwd gpnp_wallet1 -dn "CN=GPnP_peer" -request "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer/certreq.txt" -nologo
2011-10-27 12:19:35: Creating certificate request for GPnP PA Wallet...
2011-10-27 12:19:35: /u01/app/11.2.0/grid/bin/orapki wallet export -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa" -pwd gpnp_wallet1 -dn "CN=GPnP_pa" -request "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa/certreq.txt" -nologo
2011-10-27 12:19:36: Creating certificate for GPnP Peer Wallet...
2011-10-27 12:19:36: /u01/app/11.2.0/grid/bin/orapki cert create -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root" -pwd gpnp_wallet1 -request "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer/certreq.txt" -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer/cert.txt" -validity 9999 -nologo
2011-10-27 12:19:36: Creating certificate for GPnP PA Wallet...
2011-10-27 12:19:36: /u01/app/11.2.0/grid/bin/orapki cert create -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root" -pwd gpnp_wallet1 -request "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa/certreq.txt" -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa/cert.txt" -validity 9999 -nologo
2011-10-27 12:19:37: Adding Root Certificate TP to GPnP Peer Wallet...
2011-10-27 12:19:37: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root/b64certificate.txt" -nologo
2011-10-27 12:19:38: Adding Root Certificate TP to GPnP Profile Reader Wallet...
2011-10-27 12:19:38: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/prdr" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root/b64certificate.txt" -nologo
2011-10-27 12:19:38: Adding Root Certificate TP to GPnP PA Wallet...
2011-10-27 12:19:38: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/root/b64certificate.txt" -nologo
2011-10-27 12:19:39: Adding PA Certificate as a TP into a GPnP Peer Wallet...
2011-10-27 12:19:39: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa/cert.txt" -nologo
2011-10-27 12:19:40: Adding peer Certificate as a TP into a GPnP PA Wallet...
2011-10-27 12:19:40: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer/cert.txt" -nologo
2011-10-27 12:19:41: Adding PA Certificate as a TP into a GPnP Profile Reader Wallet...
2011-10-27 12:19:41: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/prdr" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa/cert.txt" -nologo
2011-10-27 12:19:41: Adding peer Certificate as a TP into a GPnP Profile Reader Wallet...
2011-10-27 12:19:41: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/prdr" -pwd gpnp_wallet1 -trusted_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer/cert.txt" -nologo
2011-10-27 12:19:42: Adding PA Certificate as a TP into a GPnP Peer Wallet...
2011-10-27 12:19:42: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -pwd gpnp_wallet1 -user_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer/cert.txt" -nologo
2011-10-27 12:19:43: Adding peer Certificate as a TP into a GPnP PA Wallet...
2011-10-27 12:19:43: /u01/app/11.2.0/grid/bin/orapki wallet add -wallet "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa" -pwd gpnp_wallet1 -user_cert -cert "/u01/app/11.2.0/grid/gpnp/rac1/wallets/pa/cert.txt" -nologo
2011-10-27 12:19:44: GPnP Wallets ownership/permissions successfully set.
2011-10-27 12:19:44: GPnP Wallets successfully created.
2011-10-27 12:19:44: <--- GPnP wallets successfully created
2011-10-27 12:19:44: Creating GPnP peer profile --->
2011-10-27 12:19:44: Oracle CRS home = /u01/app/11.2.0/grid
2011-10-27 12:19:44: Oracle GPnP profiles home = /u01/app/11.2.0/grid/gpnp/rac1/profiles
2011-10-27 12:19:44: Oracle GPnP profiles parameters:
2011-10-27 12:19:44:    paloc==
2011-10-27 12:19:44:    cname=rac-cluster=
2011-10-27 12:19:44:    cssdisco=/u02/ocr/vdsk=
2011-10-27 12:19:44:    cssld=400=
2011-10-27 12:19:44:    asmdisco==
2011-10-27 12:19:44:    asmspf==
2011-10-27 12:19:44:    netlst="eth0"/192.168.10.0:public,"eth1"/10.10.10.0:cluster_interconnect=
2011-10-27 12:19:44:    ocrid==
2011-10-27 12:19:44:    clusterguid==
2011-10-27 12:19:44: Checking if GPnP setup exists
2011-10-27 12:19:44: /u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml profile must be created
2011-10-27 12:19:44: OCRID is not available, hence not set in GPnP Profile
2011-10-27 12:19:44: ClusterGUID is not available, hence not set in GPnP Profile
2011-10-27 12:19:44: gpnptool: run /u01/app/11.2.0/grid/bin/gpnptool create -o="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -ovr -prf -prf_sq=1 -prf_cn=rac-cluster -prf_pa="" -hnet=gen -gen:hnet_nm="*" -gen:net=net1 -net1:net_ip="192.168.10.0" -net1:net_ada="eth0" -net1:net_use="public" -gen:net=net2 -net2:net_ip="10.10.10.0" -net2:net_ada="eth1" -net2:net_use="cluster_interconnect" -css=css -css:css_dis="/u02/ocr/vdsk" -css:css_ld=400 -asm=asm -asm:asm_dis="++no-value-at-profile-creation--never-updated-through-ASM++" -asm:asm_spf=""
2011-10-27 12:19:44: Running as user oracle: /u01/app/11.2.0/grid/bin/gpnptool create -o="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -ovr -prf -prf_sq=1 -prf_cn=rac-cluster -prf_pa="" -hnet=gen -gen:hnet_nm="*" -gen:net=net1 -net1:net_ip="192.168.10.0" -net1:net_ada="eth0" -net1:net_use="public" -gen:net=net2 -net2:net_ip="10.10.10.0" -net2:net_ada="eth1" -net2:net_use="cluster_interconnect" -css=css -css:css_dis="/u02/ocr/vdsk" -css:css_ld=400 -asm=asm -asm:asm_dis="++no-value-at-profile-creation--never-updated-through-ASM++" -asm:asm_spf=""
2011-10-27 12:19:44: s_run_as_user2: Running /bin/su oracle -c ' /u01/app/11.2.0/grid/bin/gpnptool create -o="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -ovr -prf -prf_sq=1 -prf_cn=rac-cluster -prf_pa="" -hnet=gen -gen:hnet_nm="*" -gen:net=net1 -net1:net_ip="192.168.10.0" -net1:net_ada="eth0" -net1:net_use="public" -gen:net=net2 -net2:net_ip="10.10.10.0" -net2:net_ada="eth1" -net2:net_use="cluster_interconnect" -css=css -css:css_dis="/u02/ocr/vdsk" -css:css_ld=400 -asm=asm -asm:asm_dis="++no-value-at-profile-creation--never-updated-through-ASM++" -asm:asm_spf="" '
2011-10-27 12:19:46: Removing file /tmp/filegs675t
2011-10-27 12:19:46: Successfully removed file: /tmp/filegs675t
2011-10-27 12:19:46: /bin/su successfully executed

2011-10-27 12:19:46: gpnptool: rc=0
2011-10-27 12:19:46: gpnptool output:
Resulting profile written to "/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml".
Success.

2011-10-27 12:19:46: gpnptool: run /u01/app/11.2.0/grid/bin/gpnptool sign -p="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -o="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -ovr -w="file:/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -rmws
2011-10-27 12:19:46: Running as user oracle: /u01/app/11.2.0/grid/bin/gpnptool sign -p="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -o="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -ovr -w="file:/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -rmws
2011-10-27 12:19:46: s_run_as_user2: Running /bin/su oracle -c ' /u01/app/11.2.0/grid/bin/gpnptool sign -p="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -o="/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml" -ovr -w="file:/u01/app/11.2.0/grid/gpnp/rac1/wallets/peer" -rmws '
2011-10-27 12:19:46: Removing file /tmp/fileo43dVG
2011-10-27 12:19:46: Successfully removed file: /tmp/fileo43dVG
2011-10-27 12:19:46: /bin/su successfully executed

2011-10-27 12:19:46: gpnptool: rc=0
2011-10-27 12:19:46: gpnptool output:
Resulting profile written to "/u01/app/11.2.0/grid/gpnp/rac1/profiles/peer/profile.xml".
Success.

2011-10-27 12:19:46: GPnP peer profile create successfully completed.
2011-10-27 12:19:46: <--- GPnP peer profile successfully created
2011-10-27 12:19:46: GPnP local setup successfully created

2011-10-27 12:19:46: Registering ohasd
2011-10-27 12:19:46: init file = /u01/app/11.2.0/grid/crs/init/init.ohasd
2011-10-27 12:19:46: Copying file /u01/app/11.2.0/grid/crs/init/init.ohasd to /etc/init.d directory
2011-10-27 12:19:46: Setting init.ohasd permission in /etc/init.d directory
2011-10-27 12:19:46: init file = /u01/app/11.2.0/grid/crs/init/ohasd
2011-10-27 12:19:46: Copying file /u01/app/11.2.0/grid/crs/init/ohasd to /etc/init.d directory
2011-10-27 12:19:46: Setting ohasd permission in /etc/init.d directory
2011-10-27 12:19:46: Removing "/etc/rc.d/rc3.d/S96ohasd"
2011-10-27 12:19:46: Removing file /etc/rc.d/rc3.d/S96ohasd
2011-10-27 12:19:46: Failure with return code 1 from command rm /etc/rc.d/rc3.d/S96ohasd
2011-10-27 12:19:46: Failed to remove file:
2011-10-27 12:19:46: Creating a link "/etc/rc.d/rc3.d/S96ohasd" pointing to /etc/init.d/ohasd
2011-10-27 12:19:46: Removing "/etc/rc.d/rc5.d/S96ohasd"
2011-10-27 12:19:46: Removing file /etc/rc.d/rc5.d/S96ohasd
2011-10-27 12:19:46: Failure with return code 1 from command rm /etc/rc.d/rc5.d/S96ohasd
2011-10-27 12:19:46: Failed to remove file:
2011-10-27 12:19:46: Creating a link "/etc/rc.d/rc5.d/S96ohasd" pointing to /etc/init.d/ohasd
2011-10-27 12:19:46: Removing "/etc/rc.d/rc0.d/K19ohasd"
2011-10-27 12:19:46: Removing file /etc/rc.d/rc0.d/K19ohasd
2011-10-27 12:19:46: Failure with return code 1 from command rm /etc/rc.d/rc0.d/K19ohasd
2011-10-27 12:19:46: Failed to remove file:
2011-10-27 12:19:46: Creating a link "/etc/rc.d/rc0.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-10-27 12:19:46: Removing "/etc/rc.d/rc1.d/K19ohasd"
2011-10-27 12:19:46: Removing file /etc/rc.d/rc1.d/K19ohasd
2011-10-27 12:19:46: Failure with return code 1 from command rm /etc/rc.d/rc1.d/K19ohasd
2011-10-27 12:19:46: Failed to remove file:
2011-10-27 12:19:46: Creating a link "/etc/rc.d/rc1.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-10-27 12:19:46: Removing "/etc/rc.d/rc2.d/K19ohasd"
2011-10-27 12:19:46: Removing file /etc/rc.d/rc2.d/K19ohasd
2011-10-27 12:19:46: Failure with return code 1 from command rm /etc/rc.d/rc2.d/K19ohasd
2011-10-27 12:19:46: Failed to remove file:
2011-10-27 12:19:46: Creating a link "/etc/rc.d/rc2.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-10-27 12:19:46: Removing "/etc/rc.d/rc4.d/K19ohasd"
2011-10-27 12:19:46: Removing file /etc/rc.d/rc4.d/K19ohasd
2011-10-27 12:19:46: Failure with return code 1 from command rm /etc/rc.d/rc4.d/K19ohasd
2011-10-27 12:19:46: Failed to remove file:
2011-10-27 12:19:46: Creating a link "/etc/rc.d/rc4.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-10-27 12:19:46: Removing "/etc/rc.d/rc6.d/K19ohasd"
2011-10-27 12:19:46: Removing file /etc/rc.d/rc6.d/K19ohasd
2011-10-27 12:19:46: Failure with return code 1 from command rm /etc/rc.d/rc6.d/K19ohasd
2011-10-27 12:19:46: Failed to remove file:
2011-10-27 12:19:46: Creating a link "/etc/rc.d/rc6.d/K19ohasd" pointing to /etc/init.d/ohasd
2011-10-27 12:19:46: The file ohasd has been successfully linked to the RC directories
2011-10-27 12:19:46: Starting ohasd
2011-10-27 12:19:46: itab entries=
2011-10-27 12:19:52: Created backup /etc/inittab.no_crs
2011-10-27 12:19:52: Appending to /etc/inittab.tmp:
2011-10-27 12:19:52: h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null

2011-10-27 12:19:52: Done updating /etc/inittab.tmp
2011-10-27 12:19:52: Saved /etc/inittab.crs
2011-10-27 12:19:52: Installed new /etc/inittab
2011-10-27 12:20:07: ohasd is starting
2011-10-27 12:20:07: Checking ohasd
2011-10-27 12:20:07: ohasd started successfully
2011-10-27 12:20:07: Creating CRS resources and dependencies
2011-10-27 12:20:07: Configuring HASD
2011-10-27 12:20:07: Registering type ora.daemon.type
2011-10-27 12:20:08: Registering type ora.mdns.type
2011-10-27 12:20:08: Registering type ora.gpnp.type
2011-10-27 12:20:08: Registering type ora.gipc.type
2011-10-27 12:20:09: Registering type ora.cssd.type
2011-10-27 12:20:09: Registering type ora.cssdmonitor.type
2011-10-27 12:20:10: Registering type ora.crs.type
2011-10-27 12:20:10: Registering type ora.evm.type
2011-10-27 12:20:10: Registering type ora.ctss.type
2011-10-27 12:20:10: Registering type ora.asm.type
2011-10-27 12:20:11: Registering type ora.drivers.acfs.type
2011-10-27 12:20:11: Registering type ora.diskmon.type
2011-10-27 12:20:14: ADVM/ACFS is not supported on Redhat 4

2011-10-27 12:20:15: ADVM/ACFS is not configured
2011-10-27 12:20:15: Successfully created CRS resources for cluster daemon and ASM
2011-10-27 12:20:15: Checking if initial configuration has been performed
2011-10-27 12:20:15: Starting CSS in exclusive mode
2011-10-27 12:20:44: CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
2011-10-27 12:20:44: CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
2011-10-27 12:20:44: CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
2011-10-27 12:20:44: CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
2011-10-27 12:20:44: CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
2011-10-27 12:20:44: CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
2011-10-27 12:20:44: CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
2011-10-27 12:20:44: CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
2011-10-27 12:20:44: CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
2011-10-27 12:20:44: CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
2011-10-27 12:20:44: CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
2011-10-27 12:20:44: CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
2011-10-27 12:20:44: Querying for existing CSS voting disks
2011-10-27 12:20:44: Performing initial configuration for cluster
2011-10-27 12:21:06: Start of resource "ora.ctssd -init" Succeeded
2011-10-27 12:21:06: Creating or upgrading OCR keys
2011-10-27 12:21:06: Command return code of 255 (65280) from command: /u01/app/11.2.0/grid/bin/ocrconfig -upgrade oracle oinstall
2011-10-27 12:21:06: Failed to create Oracle Cluster Registry configuration, rc 255
2011-10-27 12:21:06: Exiting exclusive mode
2011-10-27 12:21:06: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2011-10-27 12:21:06: Stop of resource "ora.crsd -init" failed
2011-10-27 12:21:06: Failed to stop CRSD
2011-10-27 12:21:28: Initial cluster configuration failed.  See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_rac1.log for details

 
 
 
Oracle Linux 4, and Red Hat
Enterprise Linux 4
The following packages (or later versions) must be installed:
binutils-2.15.92.0.2
compat-libstdc++-33-3.2.3
elfutils-libelf-0.97
elfutils-libelf-devel-0.97
gcc-3.4.6
gcc-c++-3.4.6
glibc-2.3.4-2.41
glibc-common-2.3.4
glibc-devel-2.3.4
glibc-headers-2.3.4
libaio-devel-0.3.105
libaio-0.3.105
libgcc-3.4.6
libstdc++-3.4.6
libstdc++-devel-3.4.6
make-3.80
numactl-0.6.4.i386
pdksh-5.2.14
sysstat-5.0.5
unixODBC-2.2.11
unixODBC-devel-2.2.11
 
 
缺少包:
libaio-devel-0.3.105
libaio-0.3.105
sysstat-5.0.5
unixODBC-2.2.11
unixODBC-devel-2.2.11
 
 
 
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
scsi1.sharedBus = "virtual"


scsi1.present = "TRUE"
scsi1:0.present = "TRUE"
scsi1:0.fileName = "D:\vm\rac\sharedstorage\ocfs2disk.vmdk"
scsi1:0.mode = "independent-persistent"
scsi1:0.deviceType = "disk"
 
 
du -sh 查看当前文件夹大小

du -sh * | sort -n 统计当前文件夹(目录)大小,并按文件大小排序
 
 
 
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'rac1'
CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded
CRS-0184: Cannot communicate with the CRS daemon.
PRCR-1070 : Failed to check if resource ora.asm is registered
Cannot communicate with crsd
add asm ... failed
PRCR-1070 : Failed to check if resource ora.net1.network is registered
Cannot communicate with crsd
add scan=rac-cluster ... failed
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... failed
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB.   Actual 2899 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.

装了好久的RAC,总也没装成功,前面的验证都通过了,但到最后总是有莫名奇妙的问题
我用的存储是OCFS2,后来在Oracle的官网上很多地方(至少3个地方,下面列出)都看到这句话:
 
3.2.2 Deciding to Use a Cluster File System for Oracle Clusterware Files
For new installations, Oracle recommends that you use Oracle Automatic Storage
Management (Oracle ASM) to store voting disk and OCR files. For Linux x86 (32-bit)
and x86-64 (64-bit) platforms, Oracle provides a cluster file system, OCFS2.
However,Oracle does not recommend using OCFS2 for Oracle Clusterware files.
 
Generally speaking it is discouraged to use OCFS2 on a RAC system since it adds additional complexity to the cluster.  Use of ASM is the current and future direction for storage on a RAC system and is a highly recommended best practice.

It is highly discouraged to store the Voting Disk and OCR on OCFS2 filesystems and should be avoided whenever possible. 
 
总结:1.官方是强列地不建议使用OCFS2.
           2.使用某一个公司的产品时,一定要遵循产品说明及建议,不能一味地按照自己的偏好来使用,不然就会出很多问题,而且还得不到官方的支持,能查到的资料也很少。
 
 
2011-11-17 17:27:17: starting nodeapps...
2011-11-17 17:27:17: DHCP_flag=0
2011-11-17 17:27:17: nodes_to_start=rac1
2011-11-17 17:27:29: exit value of start nodeapps/vip is 2
2011-11-17 17:27:29: output for start nodeapps is  PRCR-1013 : Failed to start resource ora.net1.network PRCR-1064 : Failed to start resource ora.net1.network on node rac1 CRS-2674: Start of 'ora.net1.network' on 'rac1' failed  PRCR-1079 : Failed to start resource ora.rac1.vip CRS-2674: Start of 'ora.net1.network' on 'rac1' failed CRS-2632: There are no more servers to try to place resource 'ora.rac1.vip' on that would satisfy its placement policy PRCR-1013 : Failed to start resource ora.ons PRCR-1064 : Failed to start resource ora.ons on node rac1 CRS-2674: Start of 'ora.net1.network' on 'rac1' failed
2011-11-17 17:27:29: output of startnodeapp after removing already started mesgs is PRCR-1013 : Failed to start resource ora.net1.network PRCR-1064 : Failed to start resource ora.net1.network on node rac1 CRS-2674: Start of 'ora.net1.network' on 'rac1' failed  PRCR-1079 : Failed to start resource ora.rac1.vip CRS-2674: Start of 'ora.net1.network' on 'rac1' failed CRS-2632: There are no more servers to try to place resource 'ora.rac1.vip' on that would satisfy its placement policy PRCR-1013 : Failed to start resource ora.ons PRCR-1064 : Failed to start resource ora.ons on node rac1 CRS-2674: Start of 'ora.net1.network' on 'rac1' failed
2011-11-17 17:27:29: /u01/11.2.0/grid/bin/srvctl start nodeapps -n rac1 ... failed
2011-11-17 17:27:29: Install cvuqdisk rpm on Linux...
2011-11-17 17:27:29: New package to install is /u01/11.2.0/grid/cv/rpm/cvuqdisk-1.0.7-1.rpm
2011-11-17 17:27:29: Invoking "/bin/rpm -q cvuqdisk" command
2011-11-17 17:27:31: no existing cvuqdisk found
2011-11-17 17:27:31: removing old rpm
2011-11-17 17:27:31: installing/upgrading new rpm
2011-11-17 17:27:34: Configure Oracle Grid Infrastructure for a Cluster ... failed
原创粉丝点击