楼主: Himmelskorper

Oracle11gR2 ASM Grid Infrastructure Installation 本帖不回答RAC问题

[复制链接]
论坛徽章:
10
2010新春纪念徽章
日期:2010-03-01 11:20:062014年新春福章
日期:2014-02-18 16:41:112013年新春福章
日期:2013-02-25 14:51:24奥运会纪念徽章:蹦床
日期:2012-10-12 14:07:54紫蛋头
日期:2012-06-05 23:31:082012新春纪念徽章
日期:2012-01-04 11:50:44ITPUB十周年纪念徽章
日期:2011-11-01 16:20:282011新春纪念徽章
日期:2011-02-18 11:43:35ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26马上有车
日期:2014-02-18 16:41:11
71#
发表于 2009-10-30 10:44 | 只看该作者
谢谢 楼主的回复 ;

不是在虚拟机做的,都是真实服务器做的。  机器也重启了,但还是找不到。

系统版本和楼主的一样。

使用道具 举报

回复
论坛徽章:
12
2011新春纪念徽章
日期:2011-01-04 10:37:10复活蛋
日期:2011-08-05 07:49:13ITPUB官方微博粉丝徽章
日期:2011-07-01 14:13:35数据库板块每日发贴之星
日期:2011-05-17 01:01:012010广州亚运会纪念徽章:篮球
日期:2011-05-16 15:17:13数据库板块每日发贴之星
日期:2011-05-02 01:01:02数据库板块每日发贴之星
日期:2011-04-27 01:01:022010广州亚运会纪念徽章:棋类
日期:2011-04-26 14:51:37ITPUB学员
日期:2011-04-08 09:44:05ITPUB元老
日期:2012-08-12 12:19:07
72#
 楼主| 发表于 2009-10-30 11:18 | 只看该作者
原帖由 爱乐 于 2009-10-30 10:44 发表
谢谢 楼主的回复 ;

不是在虚拟机做的,都是真实服务器做的。  机器也重启了,但还是找不到。

系统版本和楼主的一样。


参见这个
http://himmelskorper.spaces.live ... E5296678E!781.entry
安装在最后

最后一定要确定识别出盘

确定之后到你安装的那一步

Oracle provides an Automatic Storage Management library driver that you can use to simplify the configuration and management of the disk devices that you want to use with Automatic Storage Management. A disk that is configured for Automatic Storage Management is known as a candidate disk.

If you intend to use Automatic Storage Management for database storage on Linux, then Oracle recommends that you install the Automatic Storage Management library driver (ASMLIB) and associated utilities and use them to configure the devices that you want to include in an Automatic Storage Management disk group.

Note:
If you choose to configure disks using the Automatic Storage Management library driver, then you must change the default disk discovery string to ORCL:*. If the diskstring is set to ORCL:*, or is left empty (""), then the installer discovers these disks.

在你做的一部可以使用 ORCL: 识别

http://download.oracle.com/docs/ ... estart.htm#CIHCBGCC

上帖忘记说了 因为我总是用虚拟机 磁盘都是默认识别的好的。。。。

使用道具 举报

回复
论坛徽章:
10
2010新春纪念徽章
日期:2010-03-01 11:20:062014年新春福章
日期:2014-02-18 16:41:112013年新春福章
日期:2013-02-25 14:51:24奥运会纪念徽章:蹦床
日期:2012-10-12 14:07:54紫蛋头
日期:2012-06-05 23:31:082012新春纪念徽章
日期:2012-01-04 11:50:44ITPUB十周年纪念徽章
日期:2011-11-01 16:20:282011新春纪念徽章
日期:2011-02-18 11:43:35ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26马上有车
日期:2014-02-18 16:41:11
73#
发表于 2009-11-5 20:02 | 只看该作者
LZ 又遇到一个问题
在运行 /u01/app/grid/product/11.2.0/grid/root.sh脚本的时候报错
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2009-11-05 19:47:47: Checking for super user privileges
2009-11-05 19:47:47: User has super user privileges
2009-11-05 19:47:47: Parsing the host name
Using configuration parameter file: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware
run '/u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl -deconfig'
to configure existing failed configuration and then rerun root.sh
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl -deconfig
2009-11-05 19:47:58: Parsing the host name
2009-11-05 19:47:58: Checking for super user privileges
2009-11-05 19:47:58: User has super user privileges
Using configuration parameter file: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Oracle Clusterware stack is not active on this node
Restart the clusterware stack (use /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs) and retry
Failed to verify resources

[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]#



[grid@ora11g lib]$ ll libcln*
lrwxrwxrwx 1 grid oinstall       55 Nov  5 19:10 libclntsh.so -> /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1
lrwxrwxrwx 1 grid oinstall       50 Nov  5 19:06 libclntsh.so.10.1 -> /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so
-rwxr-xr-x 1 grid oinstall 48724689 Nov  5 19:10 libclntsh.so.11.1
-rw-r--r-- 1 grid oinstall        0 Aug 15 00:26 libclntst11.a
[grid@ora11g lib]$


[grid@ora11g lib]$ ll /u01/app/grid/product/11.2.0/grid/bin/crsctl.bin
-rwxr-xr-x 1 grid oinstall 16656282 Jul 31 08:47 /u01/app/grid/product/11.2.0/grid/bin/crsctl.bin
[grid@ora11g lib]$


这样设置权限有问题?

谢谢 指点!

使用道具 举报

回复
论坛徽章:
12
2011新春纪念徽章
日期:2011-01-04 10:37:10复活蛋
日期:2011-08-05 07:49:13ITPUB官方微博粉丝徽章
日期:2011-07-01 14:13:35数据库板块每日发贴之星
日期:2011-05-17 01:01:012010广州亚运会纪念徽章:篮球
日期:2011-05-16 15:17:13数据库板块每日发贴之星
日期:2011-05-02 01:01:02数据库板块每日发贴之星
日期:2011-04-27 01:01:022010广州亚运会纪念徽章:棋类
日期:2011-04-26 14:51:37ITPUB学员
日期:2011-04-08 09:44:05ITPUB元老
日期:2012-08-12 12:19:07
74#
 楼主| 发表于 2009-11-5 20:46 | 只看该作者
原帖由 爱乐 于 2009-11-5 20:02 发表
LZ 又遇到一个问题
在运行 /u01/app/grid/product/11.2.0/grid/root.sh脚本的时候报错
Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2009-11-05 19:47:47: Checking for super user privileges
2009-11-05 19:47:47: User has super user privileges
2009-11-05 19:47:47: Parsing the host name
Using configuration parameter file: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware
run '/u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl -deconfig'
to configure existing failed configuration and then rerun root.sh
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl -deconfig
2009-11-05 19:47:58: Parsing the host name
2009-11-05 19:47:58: Checking for super user privileges
2009-11-05 19:47:58: User has super user privileges
Using configuration parameter file: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Oracle Clusterware stack is not active on this node
Restart the clusterware stack (use /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs) and retry
Failed to verify resources

[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]#

谢谢 指点!


只是猜测 在安装grid 前 /etc/inittab 是3 还是 5

建议安装前设置为3 启动 进入后使用startx进入图形界面进行安装

假如在安装前设置为5 但安装后更改为3应该会报错 因为grid 会在 inittab的对应脚本中写入一些东西 假如有需要的我可以找一下文档

使用道具 举报

回复
论坛徽章:
17
itpub13周年纪念徽章
日期:2014-10-08 15:13:38蒙奇·D·路飞
日期:2017-05-25 19:04:24NBA之星
日期:2017-04-18 17:10:08NBA之星
日期:2017-04-18 13:53:48NBA大富翁
日期:2017-04-18 13:47:55夏洛特黄蜂
日期:2017-04-18 13:16:11亚特兰大老鹰
日期:2017-04-18 13:16:11迈阿密热火
日期:2017-04-18 13:16:11多伦多猛龙
日期:2017-04-18 13:16:11波士顿凯尔特人
日期:2017-04-18 13:16:11
75#
发表于 2009-11-11 19:20 | 只看该作者
LZ好,我在redhat5.3上安装好了11gr2,想学习下ASM,asmlib和磁盘安装ok,现在在安装grid可以不?安装时需要注意哪些方面?
谢谢LZ!

使用道具 举报

回复
论坛徽章:
12
2011新春纪念徽章
日期:2011-01-04 10:37:10复活蛋
日期:2011-08-05 07:49:13ITPUB官方微博粉丝徽章
日期:2011-07-01 14:13:35数据库板块每日发贴之星
日期:2011-05-17 01:01:012010广州亚运会纪念徽章:篮球
日期:2011-05-16 15:17:13数据库板块每日发贴之星
日期:2011-05-02 01:01:02数据库板块每日发贴之星
日期:2011-04-27 01:01:022010广州亚运会纪念徽章:棋类
日期:2011-04-26 14:51:37ITPUB学员
日期:2011-04-08 09:44:05ITPUB元老
日期:2012-08-12 12:19:07
76#
 楼主| 发表于 2009-11-12 06:20 | 只看该作者
原帖由 bobosky008 于 2009-11-11 19:20 发表
LZ好,我在redhat5.3上安装好了11gr2,想学习下ASM,asmlib和磁盘安装ok,现在在安装grid可以不?安装时需要注意哪些方面?
谢谢LZ!


本人没有尝试过先装database 再装grid的方式 文档上说明的顺序为grid,database

需要注意方面请自行参考文档,本人只回答错误问题,请询问者先自行查询文档

使用道具 举报

回复
论坛徽章:
0
77#
发表于 2009-11-12 16:06 | 只看该作者
本人也安装成功,进程都已启动,但是客户端通过scan连不到数据库
安装过程见http://www.itpub.net/thread-1235578-1-1.html
怎么回事〉?
不知道还需要对san还要设置什么

使用道具 举报

回复
论坛徽章:
12
2011新春纪念徽章
日期:2011-01-04 10:37:10复活蛋
日期:2011-08-05 07:49:13ITPUB官方微博粉丝徽章
日期:2011-07-01 14:13:35数据库板块每日发贴之星
日期:2011-05-17 01:01:012010广州亚运会纪念徽章:篮球
日期:2011-05-16 15:17:13数据库板块每日发贴之星
日期:2011-05-02 01:01:02数据库板块每日发贴之星
日期:2011-04-27 01:01:022010广州亚运会纪念徽章:棋类
日期:2011-04-26 14:51:37ITPUB学员
日期:2011-04-08 09:44:05ITPUB元老
日期:2012-08-12 12:19:07
78#
 楼主| 发表于 2009-11-12 16:09 | 只看该作者
原帖由 zhao76820 于 2009-11-12 16:06 发表
本人也安装成功,进程都已启动,但是客户端通过scan连不到数据库
安装过程见http://www.itpub.net/thread-1235578-1-1.html
怎么回事〉?
不知道还需要对san还要设置什么



不玩RAC 不好意思 本人对Oracle只是兴趣爱好 不靠这挣钱 所以对RAC没有需求

使用道具 举报

回复
论坛徽章:
0
79#
发表于 2009-11-13 11:19 | 只看该作者

在RAC2跑root脚本时出以下,错,请帮忙解释一下

/u01/oracle/product/11.2.0/db_1/root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/oracle/product/11.2.0/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Creating /usr/local/bin directory...
   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/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2009-11-13 14:14:03: Parsing the host name
2009-11-13 14:14:03: Checking for super user privileges
2009-11-13 14:14:03: User has super user privileges
Using configuration parameter file: /u01/oracle/product/11.2.0/db_1/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-4402: CSS 守护程序已在独占模式下启动, 但在节点 rac1 (编号为 1) 上发现活动 CSS 守护程序, 因此正在终止
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: 尝试启动 'ora.mdnsd' (在 'rac2' 上)
CRS-2676: 成功启动 'ora.mdnsd' (在 'rac2' 上)
CRS-2672: 尝试启动 'ora.gipcd' (在 'rac2' 上)
CRS-2676: 成功启动 'ora.gipcd' (在 'rac2' 上)
CRS-2672: 尝试启动 'ora.gpnpd' (在 'rac2' 上)
CRS-2676: 成功启动 'ora.gpnpd' (在 'rac2' 上)
CRS-2672: 尝试启动 'ora.cssdmonitor' (在 'rac2' 上)
CRS-2676: 成功启动 'ora.cssdmonitor' (在 'rac2' 上)
CRS-2672: 尝试启动 'ora.cssd' (在 'rac2' 上)
CRS-2672: 尝试启动 'ora.diskmon' (在 'rac2' 上)
CRS-2676: 成功启动 'ora.diskmon' (在 'rac2' 上)
CRS-2676: 成功启动 'ora.cssd' (在 'rac2' 上)
CRS-2672: 尝试启动 'ora.ctssd' (在 'rac2' 上)
Start action for octssd aborted
CRS-2676: 成功启动 'ora.ctssd' (在 'rac2' 上)
CRS-2672: 尝试启动 'ora.drivers.acfs' (在 'rac2' 上)
CRS-2672: 尝试启动 'ora.asm' (在 'rac2' 上)
CRS-2676: 成功启动 'ora.drivers.acfs' (在 'rac2' 上)
CRS-2676: 成功启动 'ora.asm' (在 'rac2' 上)
CRS-2664: 资源 'ora.ctssd' 已在 'rac2' 上运行
CRS-4000: Command Start failed, or completed with errors.
Command return code of 1 (256) from command: /u01/oracle/product/11.2.0/db_1/bin/crsctl start resource ora.asm -init
Start of resource "ora.asm -init" failed
Failed to start ASM
Failed to start Oracle Clusterware stack
[root@rac2 disk]#

使用道具 举报

回复
论坛徽章:
10
2010新春纪念徽章
日期:2010-03-01 11:20:062014年新春福章
日期:2014-02-18 16:41:112013年新春福章
日期:2013-02-25 14:51:24奥运会纪念徽章:蹦床
日期:2012-10-12 14:07:54紫蛋头
日期:2012-06-05 23:31:082012新春纪念徽章
日期:2012-01-04 11:50:44ITPUB十周年纪念徽章
日期:2011-11-01 16:20:282011新春纪念徽章
日期:2011-02-18 11:43:35ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26马上有车
日期:2014-02-18 16:41:11
80#
发表于 2009-11-16 20:43 | 只看该作者
QUOTE:
--------------------------------------------------------------------------------
原帖由 爱乐 于 2009-11-5 20:02 发表
LZ 又遇到一个问题
在运行 /u01/app/grid/product/11.2.0/grid/root.sh脚本的时候报错
Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2009-11-05 19:47:47: Checking for super user privileges
2009-11-05 19:47:47: User has super user privileges
2009-11-05 19:47:47: Parsing the host name
Using configuration parameter file: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware
run '/u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl -deconfig'
to configure existing failed configuration and then rerun root.sh
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl -deconfig
2009-11-05 19:47:58: Parsing the host name
2009-11-05 19:47:58: Checking for super user privileges
2009-11-05 19:47:58: User has super user privileges
Using configuration parameter file: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Oracle Clusterware stack is not active on this node
Restart the clusterware stack (use /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs) and retry
Failed to verify resources

[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]# /u01/app/grid/product/11.2.0/grid/bin/crsctl start crs
/u01/app/grid/product/11.2.0/grid/bin/crsctl.bin: error while loading shared libraries: /u01/app/grid/product/11.2.0/grid/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[root@ora11g install]#

谢谢 指点!
--------------------------------------------------------------------------------

只是猜测 在安装grid 前 /etc/inittab 是3 还是 5

建议安装前设置为3 启动 进入后使用startx进入图形界面进行安装

假如在安装前设置为5 但安装后更改为3应该会报错 因为grid 会在 inittab的对应脚本中写入一些东西 假如有需要的我可以找一下文档



/etc/inittab 设置成3 错误还是一样。

在metlink 看见有人说 /etc/selinux/config
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
设置后还是不成功。
请LZ指点。

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表