楼主: paulyibinyi

[精华] 对oracle metalink文档我们也要敢于质疑

[复制链接]
论坛徽章:
76
双子座
日期:2015-07-28 14:26:072012新春纪念徽章
日期:2012-02-13 15:09:52ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15鲜花蛋
日期:2011-08-26 02:02:24管理团队成员
日期:2011-05-07 01:45:082010广州亚运会纪念徽章:皮划艇
日期:2011-04-18 11:24:412011新春纪念徽章
日期:2011-02-18 11:43:342011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:15
21#
 楼主| 发表于 2010-5-10 21:24 | 只看该作者
原帖由 zhouwf0726 于 2010-5-10 11:23 发表
两个问题吧?


--enable large page
How to enable Large Page Feature on AIX-Based Systems

--crs can not start
10.2.0.X CRS Bundle Patch Information  
Cannot startup CRS after applying 10.2.0.4 patchset or CRS Bundle Patch# 3 and above  
ASM / CSS Error : Please Change The CSS_ORACLE_USER Id CAP_PROPAGATE CAP_BYPASS_RAC_VMM CAP_NUMA_ATTACH  


不一样的,我这边是crs能启动,用srvctl start database -d dbname这种方式不能启动,必须手工用sqlplus启动数据库

asm没用上 用的是raw,
css 这些都正常

使用道具 举报

回复
论坛徽章:
76
双子座
日期:2015-07-28 14:26:072012新春纪念徽章
日期:2012-02-13 15:09:52ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15鲜花蛋
日期:2011-08-26 02:02:24管理团队成员
日期:2011-05-07 01:45:082010广州亚运会纪念徽章:皮划艇
日期:2011-04-18 11:24:412011新春纪念徽章
日期:2011-02-18 11:43:342011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:15
22#
 楼主| 发表于 2010-5-10 22:09 | 只看该作者
ASM / CSS Error : Please Change The CSS_ORACLE_USER Id CAP_PROPAGATE CAP_BYPASS_RAC_VMM CAP_NUMA_ATTACH [ID 726234.1]   

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

  修改时间 18-MAY-2009     类型 PROBLEM     状态 PUBLISHED   

In this Document
  Symptoms
  Cause
  Solution
  References



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


Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.4 to 11.1.0.7
IBM AIX Based Systems (64-bit)
AIX5L Based Systems (64-bit)
Symptoms
Note: The solution provided in this document is only for Non-clusterware configurations (non-CRS).



都不是crs

都是单实例的asm和css

使用道具 举报

回复
论坛徽章:
57
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:28:522010系统架构师大会纪念
日期:2010-09-03 16:39:572010数据库技术大会纪念徽章
日期:2010-05-13 10:04:272010新春纪念徽章
日期:2010-03-01 11:21:02
23#
发表于 2010-5-10 22:45 | 只看该作者
楼主用了large page?你说的这些权限在10203 crs bp#2以上及10204都是必须的。


On Aix starting with 10203 (BP#2) and 10204, CRS owner on AIX platform
requires some special attributes. Lack of these attributes will cause CRS to
fail to startup.

These attributes are usually set using
# /usr/bin/chuser capabilities=CAP_BYPASS_RAC_VMM,
CAP_PROPAGATE,CAP_NUMA_ATTACH crsha
and can be checked by
# /usr/bin/lsuser -f crsha | grep capabilities
capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE,CAP_NUMA_ATTACH
CAP_PROPAGATE,CAP_NUMA_ATTACH crsha
*** ANAIR 07/28/08 11:46 am BUSINESS NEED ***
Will help customers configure these things before they run into the problem.
The CVU run before applying the patch should ideally report this.
*** JCREIGHT 07/28/08 12:07 pm RESPONSE ***
@ Looks like this one is critical for AIX






Known Issues for 10.2.0.3 CRS Bundle Patch #2:
These capabilities (CAP_BYPASS_RAC_VMM,CAP_PROPAGATE,CAP_NUMA_ATTACH) are needed now that the CSS daemon runs in realtime to avoid resource constraints.  It uses the mlockall subroutine which causes all of the pages mapped by the address space of a process to be memory-resident until unlocked or until the process exits or executes another process image.  The definitions of each capability are:

CAP_BYPASS_RAC_VMM - A process has the ability to bypass restrictions on VMM resource usage.
CAP_PROPAGATE - All capabilities are inherited by child processes.
CAP_NUMA_ATTACH - A process has the ability to bind to specific resources.

使用道具 举报

回复
论坛徽章:
76
双子座
日期:2015-07-28 14:26:072012新春纪念徽章
日期:2012-02-13 15:09:52ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15鲜花蛋
日期:2011-08-26 02:02:24管理团队成员
日期:2011-05-07 01:45:082010广州亚运会纪念徽章:皮划艇
日期:2011-04-18 11:24:412011新春纪念徽章
日期:2011-02-18 11:43:342011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:15
24#
 楼主| 发表于 2010-5-10 22:49 | 只看该作者
原帖由 zhouwf0726 于 2010-5-10 22:45 发表
楼主用了large page?你说的这些权限在10203 crs bp#2以上及10204都是必须的。


On Aix starting with 10203 (BP#2) and 10204, CRS owner on AIX platform
requires some special attributes. Lack of these attributes will cause CRS to
fail to startup.
These attributes are usually set using
# /usr/bin/chuser capabilities=CAP_BYPASS_RAC_VMM,
CAP_PROPAGATE,CAP_NUMA_ATTACH crsha
and can be checked by
# /usr/bin/lsuser -f crsha | grep capabilities
capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE,CAP_NUMA_ATTACH
CAP_PROPAGATE,CAP_NUMA_ATTACH crsha
*** ANAIR 07/28/08 11:46 am BUSINESS NEED ***
Will help customers configure these things before they run into the problem.
The CVU run before applying the patch should ideally report this.
*** JCREIGHT 07/28/08 12:07 pm RESPONSE ***
@ Looks like this one is critical for AIX






Known Issues for 10.2.0.3 CRS Bundle Patch #2:
These capabilities (CAP_BYPASS_RAC_VMM,CAP_PROPAGATE,CAP_NUMA_ATTACH) are needed now that the CSS daemon runs in realtime to avoid resource constraints.  It uses the mlockall subroutine which causes all of the pages mapped by the address space of a process to be memory-resident until unlocked or until the process exits or executes another process image.  The definitions of each capability are:

CAP_BYPASS_RAC_VMM - A process has the ability to bypass restrictions on VMM resource usage.
CAP_PROPAGATE - All capabilities are inherited by child processes.
CAP_NUMA_ATTACH - A process has the ability to bind to specific resources.


对,所以How to enable Large Page Feature on AIX-Based Systems [ID 372157.1]
metalinke 文档 确实是少写了一项 呵呵

使用道具 举报

回复
论坛徽章:
57
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:28:522010系统架构师大会纪念
日期:2010-09-03 16:39:572010数据库技术大会纪念徽章
日期:2010-05-13 10:04:272010新春纪念徽章
日期:2010-03-01 11:21:02
25#
发表于 2010-5-10 22:54 | 只看该作者
那些都是crs必须的东西,是否是enable large page必须的不敢说,问问metalink吧,方便的话说说SR号?

使用道具 举报

回复
论坛徽章:
57
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:28:522010系统架构师大会纪念
日期:2010-09-03 16:39:572010数据库技术大会纪念徽章
日期:2010-05-13 10:04:272010新春纪念徽章
日期:2010-03-01 11:21:02
26#
发表于 2010-5-10 22:58 | 只看该作者

Guide to Multiple Page Size Support
on AIX 5L Version 5.3
March, 2006
David Hepkin
IBM Corporation
Contributors: Augie Mena, Greg Mewhinney



The memory allocated to 16MB pages can only be used for 16MB pages, and the
memory allocated to 16GB pages can only be used for 16GB pages. Thus, pages of these
aixtrmultiplepagewp030206.doc 4
sizes should only be configured in high-performance environments. The use of 16MB
and 16GB pages is restricted. In order to allocate pages of these sizes, a user must have
the CAP_BYPASS_RAC_VMM and CAP_PROPAGATE capabilities or have root
authority. The chuser command can be used to grant these capabilities to users.

使用道具 举报

回复
论坛徽章:
57
马上加薪
日期:2014-02-19 11:55:142011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:41:01ITPUB9周年纪念徽章
日期:2010-10-08 09:28:522010系统架构师大会纪念
日期:2010-09-03 16:39:572010数据库技术大会纪念徽章
日期:2010-05-13 10:04:272010新春纪念徽章
日期:2010-03-01 11:21:02
27#
发表于 2010-5-10 23:02 | 只看该作者
对于large page来说,root用户本身就够了;对于crs来说,oracle要求CRS owner 用户需要3个权限。

a user must have
the CAP_BYPASS_RAC_VMM and CAP_PROPAGATE capabilities or have root
authority.

使用道具 举报

回复
论坛徽章:
76
双子座
日期:2015-07-28 14:26:072012新春纪念徽章
日期:2012-02-13 15:09:52ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15鲜花蛋
日期:2011-08-26 02:02:24管理团队成员
日期:2011-05-07 01:45:082010广州亚运会纪念徽章:皮划艇
日期:2011-04-18 11:24:412011新春纪念徽章
日期:2011-02-18 11:43:342011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:15
28#
 楼主| 发表于 2010-5-10 23:12 | 只看该作者
恩 谢谢斑竹的进一步解释,又加深理解了

[ 本帖最后由 paulyibinyi 于 2010-5-10 23:15 编辑 ]

使用道具 举报

回复
论坛徽章:
2
2011新春纪念徽章
日期:2011-02-18 11:42:49双黄蛋
日期:2012-02-13 14:32:20
29#
发表于 2010-5-11 08:58 | 只看该作者
对于这种态度,赞一个。

使用道具 举报

回复
论坛徽章:
97
ITPUB元老
日期:2008-06-30 12:48:39暖羊羊
日期:2015-03-04 14:50:372015年新春福章
日期:2015-03-06 11:57:312010数据库技术大会纪念徽章
日期:2015-04-23 10:33:192011数据库大会纪念章
日期:2015-04-23 10:33:192012数据库大会纪念章
日期:2015-04-23 10:33:192013数据库大会纪念章
日期:2015-04-23 10:33:192014数据库大会纪念章
日期:2015-04-23 10:33:19林肯
日期:2013-10-31 12:31:382013年新春福章
日期:2013-02-25 14:51:24
30#
发表于 2010-5-11 09:30 | 只看该作者
还有 root 也需要有 CAP_BYPASS_RAC_VMM,CAP_PROPAGATE  属性。

SGA Not Pinned In The AIX Large Pages When Instance Is Started With Srvctl [ID 369424.1]

Cause
The root user ID does not have the necessary capabilities CAP_BYPASS_RAC_VMM and CAP_PROPAGATE.
Solution
Check that the capabilities CAP_BYPASS_RAC_VMM and CAP_PROPAGATE have been enabled for root.

As root:

# lsuser –a capabilities root

If not enabled, add the capabilities:

# chuser capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE root

使用道具 举报

回复

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

本版积分规则 发表回复

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