11.2 RAC 上所有grid环境需要的目录的权限配置文件:crsconfig_dirs

联系:QQ(5163721)

标题:11.2 RAC 上所有grid环境需要的目录的权限配置文件:crsconfig_dirs

作者:Lunar©版权所有[文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.]

在11.2的$GRID_HOME/crs/utl目录下有一个文件crsconfig_dirs,记录了所有grid目录下各个目录的权限定义,例如:

[root@lunardb01 utl]# cat crsconfig_dirs
# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. 
# The values in each line use the following format:
#
# OSLIST DIRNAME OWNER GROUP CLOSED-PERMS OPEN-PERMS
#
# Note:
# 1) OSLIST is a comma-separated list of platforms on which the directory
#    needs to be created.  'all' indicates that the directory needs to be
#    created on every platform.  OSLIST MUST NOT contain whitespace.
# 2) Permissions need to be specified AS OCTAL NUMBERS.  If permissions are
#    not specified, default (umask) values will be used.
#
# TBD: OPEN-PERMS need to be added for each dir

all /u01/app/11.2.0/grid/cdata grid oinstall 0775
all /u01/app/11.2.0/grid/cdata/lunardb-cluster grid oinstall 0775
all /u01/app/11.2.0/grid/cfgtoollogs grid oinstall 0775
all /u01/app/11.2.0/grid/cfgtoollogs/crsconfig grid oinstall 0775
all /u01/app/11.2.0/grid/log grid oinstall 0775
all /u01/app/11.2.0/grid/log/lunardb01 root oinstall 01755
all /u01/app/11.2.0/grid/log/lunardb01/crsd root oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/ctssd root oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/evmd grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/cssd grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/mdnsd grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/gpnpd grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/gnsd root oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/srvm grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/gipcd grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/diskmon grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/cvu grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/cvu/cvulog grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/cvu/cvutrc grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/acfssec root oinstall 0755
all /u01/app/11.2.0/grid/log/lunardb01/acfsrepl grid oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/acfslog grid oinstall 0750
all /u01/app/11.2.0/grid/cdata/localhost grid oinstall 0755
all /u01/app/11.2.0/grid/cdata/lunardb01 grid oinstall 0755
all /u01/app/11.2.0/grid/cv grid oinstall 0775
all /u01/app/11.2.0/grid/cv/log grid oinstall 0775
all /u01/app/11.2.0/grid/cv/init grid oinstall 0775
all /u01/app/11.2.0/grid/cv/report grid oinstall 0775
all /u01/app/11.2.0/grid/cv/report/html grid oinstall 0775
all /u01/app/11.2.0/grid/cv/report/text grid oinstall 0775
all /u01/app/11.2.0/grid/cv/report/xml grid oinstall 0775

# These dirs must be owned by crsuser in SIHA, and $SUPERUSER in cluster env.
# 'HAS_USER' is set appropriately in roothas.pl and rootcrs.pl for this
# purpose
all /u01/app/11.2.0/grid/log/lunardb01/ohasd root oinstall 0750
all /u01/app/11.2.0/grid/lib root oinstall 0755
all /u01/app/11.2.0/grid/bin root oinstall 0755

all /u01/app/11.2.0/grid/log/lunardb01/agent root oinstall 01775
all /u01/app/11.2.0/grid/log/lunardb01/agent/crsd root oinstall 01777
all /u01/app/11.2.0/grid/log/lunardb01/agent/ohasd root oinstall 01775
all /u01/app/11.2.0/grid/log/lunardb01/client grid oinstall 0751
all /u01/app/11.2.0/grid/log/lunardb01/racg grid oinstall 01775
all /u01/app/11.2.0/grid/log/lunardb01/racg/racgmain grid oinstall 01777
all /u01/app/11.2.0/grid/log/lunardb01/racg/racgeut grid oinstall 01777
all /u01/app/11.2.0/grid/log/lunardb01/racg/racgevtf grid oinstall 01777
all /u01/app/11.2.0/grid/log/lunardb01/admin grid oinstall 0750
all /u01/app/11.2.0/grid/log/diag/clients grid asmadmin 01770
all /u01/app/11.2.0/grid/evm grid oinstall 0750
all /u01/app/11.2.0/grid/evm/init grid oinstall 0750
all /u01/app/11.2.0/grid/auth/evm/lunardb01 root oinstall 01777
all /u01/app/11.2.0/grid/evm/log grid oinstall 01770
all /u01/app/11.2.0/grid/eons/init grid oinstall 0750
all /u01/app/11.2.0/grid/auth/ohasd/lunardb01 root oinstall 01777
all /u01/app/11.2.0/grid/mdns grid oinstall 0750
all /u01/app/11.2.0/grid/mdns/init grid oinstall 0750
all /u01/app/11.2.0/grid/gipc grid oinstall 0750
all /u01/app/11.2.0/grid/gipc/init grid oinstall 0750
all /u01/app/11.2.0/grid/gns root oinstall 0750
all /u01/app/11.2.0/grid/gns/init root oinstall 0750
all /u01/app/11.2.0/grid/gpnp grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp/init grid oinstall 0750
all /u01/app/11.2.0/grid/ohasd grid oinstall 0750
all /u01/app/11.2.0/grid/ohasd/init grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp/profiles grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp/profiles/peer grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp/wallets grid oinstall 01750
all /u01/app/11.2.0/grid/gpnp/wallets/root grid oinstall 01700
all /u01/app/11.2.0/grid/gpnp/wallets/prdr grid oinstall 01750
all /u01/app/11.2.0/grid/gpnp/wallets/peer grid oinstall 01700
all /u01/app/11.2.0/grid/gpnp/wallets/pa grid oinstall 01700
all /u01/app/11.2.0/grid/mdns grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp/lunardb01/profiles grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp/lunardb01/profiles/peer grid oinstall 0750
all /u01/app/11.2.0/grid/gpnp/lunardb01/wallets grid oinstall 01750
all /u01/app/11.2.0/grid/gpnp/lunardb01/wallets/root grid oinstall 01700
all /u01/app/11.2.0/grid/gpnp/lunardb01/wallets/prdr grid oinstall 01750
all /u01/app/11.2.0/grid/gpnp/lunardb01/wallets/peer grid oinstall 01700
all /u01/app/11.2.0/grid/gpnp/lunardb01/wallets/pa grid oinstall 01700
all /u01/app/11.2.0/grid/css grid oinstall 0711
all /u01/app/11.2.0/grid/css/init grid oinstall 0711
all /u01/app/11.2.0/grid/css/log grid oinstall 0711
all /u01/app/11.2.0/grid/auth/css/lunardb01 root oinstall 01777
all /u01/app/11.2.0/grid/crs root oinstall 0755
all /u01/app/11.2.0/grid/crs/init root oinstall 0755
all /u01/app/11.2.0/grid/crs/profile root oinstall 0755
all /u01/app/11.2.0/grid/crs/script root oinstall 0755
all /u01/app/11.2.0/grid/crs/template root oinstall 0755
all /u01/app/11.2.0/grid/auth/crs/lunardb01 root oinstall 01777
all /u01/app/11.2.0/grid/crs/log grid oinstall 01750
all /u01/app/11.2.0/grid/crs/trace grid oinstall 01750
all /u01/app/11.2.0/grid/crs/public grid oinstall 01777
all /u01/app/11.2.0/grid/ctss root oinstall 0755
all /u01/app/11.2.0/grid/ctss/init root oinstall 0755
all /u01/app/11.2.0/grid/racg/usrco grid oinstall
all /u01/app/11.2.0/grid/racg/dump grid oinstall 0775
all /u01/app/11.2.0/grid/srvm/admin grid oinstall 0775
all /u01/app/11.2.0/grid/srvm/log grid oinstall 0775
all /u01/app/11.2.0/grid/evm/admin/conf grid oinstall 0750
all /u01/app/11.2.0/grid/evm/admin/logger grid oinstall 0750
all /u01/app/11.2.0/grid/crf root oinstall 0750
all /u01/app/11.2.0/grid/crf/admin root oinstall 0750
all /u01/app/11.2.0/grid/crf/admin/run grid oinstall 0750
all /u01/app/11.2.0/grid/crf/admin/run/crfmond root oinstall 0700
all /u01/app/11.2.0/grid/crf/admin/run/crflogd root oinstall 0700
all /u01/app/11.2.0/grid/crf/db root oinstall 0750
all /u01/app/11.2.0/grid/crf/db/lunardb01 root oinstall 0750
all /u01/app/11.2.0/grid/osysmond root oinstall 0755
all /u01/app/11.2.0/grid/osysmond/init root oinstall 0755
all /u01/app/11.2.0/grid/ologgerd root oinstall 0755
all /u01/app/11.2.0/grid/ologgerd/init root oinstall 0755
all /u01/app/11.2.0/grid/log/lunardb01/crfmond root oinstall 0750
all /u01/app/11.2.0/grid/log/lunardb01/crflogd root oinstall 0750

unix /etc/oracle/oprocd root oinstall 0775
unix /etc/oracle/oprocd/check root oinstall 0770
unix /etc/oracle/oprocd/stop root oinstall 0770
unix /etc/oracle/oprocd/fatal root oinstall 0770
unix /etc/oracle/scls_scr root oinstall 0755
unix /etc/oracle/scls_scr/lunardb01 root oinstall 0755
unix /var/tmp/.oracle root oinstall 01777
unix /tmp/.oracle root oinstall 01777
unix /u01/app/11.2.0/grid/log/lunardb01/acfsreplroot root oinstall 0750
# create $ID, if it doesn't exist (applicable only in dev env)
unix /etc/init.d root root 0755
unix /u01/app/11.2.0/grid root oinstall 0755

# Last Gasp files directory - change "unix" to "all"
# once Windows makes a directory decision.
unix /etc/oracle/lastgasp root oinstall 0770
[root@lunardb01 utl]#  
此条目发表在 RAC 分类目录,贴了 , , 标签。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注