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

联系:QQ(5163721)

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

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

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

[root@lunardb01 utl]# pwd
/u01/app/11.2.0/grid/crs/utl
[root@lunardb01 utl]# ls
appvipcfg     crfsetenv            crswrap.sh         evmlogger.conf  logging.properties  oclumon.pl  onsconfig       rootconfigadd      scrctl
clsrwrap      crsconfig_dirs       cvures             gsdctl          lsnodes             ohasd       onsctl          rootdeinstall.sh   setasmgidwrap
cluutil       crsconfig_fileperms  diagcollection.sh  gsd.sh          ndfnceca            ohasd.sles  preupdate.sh    rootdeletenode.sh  srdtool
cluvfy        crsconfig_files      evm.auth           init.ohasd      oc4jctl             ologdbg     qosctl          rootdelete.sh      srvctl
cmdllroot.sh  crswrapexece.pl      evmdaemon.conf     localconfig     oclumon             ologdbg.pl  rootaddnode.sh  rootinstalladd     usrvip
[root@lunardb01 utl]# cat crsconfig_fileperms
# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. 
# The values in each line use the following format:
#
# OSLIST FILENAME OWNER GROUP PERMS
#
# Note:
# 1) OSLIST is a comma-separated list of platforms on which the file
#    permissions need to be set.  '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.
# 3) The fields within each line of this file must be delimited by a single space
#
unix /u01/app/11.2.0/grid/log/lunardb01/alertlunardb01.log grid oinstall 0664
unix /u01/app/11.2.0/grid/bin/usrvip root oinstall 0755
unix /u01/app/11.2.0/grid/bin/appvipcfg root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/preupdate.sh grid oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/s_crsconfig_defs grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/cluutil grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/ocrcheck root oinstall 0755
unix /u01/app/11.2.0/grid/bin/ocrcheck.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/ocrconfig root oinstall 0755
unix /u01/app/11.2.0/grid/bin/ocrconfig.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/ocrdump root oinstall 0755
unix /u01/app/11.2.0/grid/bin/ocrdump.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/ocrpatch root oinstall 0755
unix /u01/app/11.2.0/grid/bin/appagent grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/clssproxy grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/cssvfupgd root oinstall 0755
unix /u01/app/11.2.0/grid/bin/cssvfupgd.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/racgwrap grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/cemutls grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/cemutlo grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_getperm grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_profile grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_register grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_relocate grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_setperm grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_start grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_stat grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_stop grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crs_unregister grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/gipcd grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/mdnsd grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/gpnpd grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/gpnptool grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/oranetmonitor grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/rdtool grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/octssd root oinstall 0741
unix /u01/app/11.2.0/grid/bin/octssd.bin root oinstall 0741
unix /u01/app/11.2.0/grid/bin/ohasd root oinstall 0741
unix /u01/app/11.2.0/grid/bin/ohasd.bin root oinstall 0741
unix /u01/app/11.2.0/grid/bin/crsd root oinstall 0741
unix /u01/app/11.2.0/grid/bin/crsd.bin root oinstall 0741
unix /u01/app/11.2.0/grid/bin/evmd grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/evminfo grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/evmlogger grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/evmmkbin grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/evmmklib grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/evmpost grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/evmshow grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/evmsort grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/evmwatch grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/lsnodes grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/oifcfg grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/olsnodes grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/oraagent grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/orarootagent root oinstall 0741
unix /u01/app/11.2.0/grid/bin/orarootagent.bin root oinstall 0741
unix /u01/app/11.2.0/grid/bin/scriptagent grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/lsdb grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/emcrsp grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/onsctl grid oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/onsconfig grid oinstall 0554
unix /u01/app/11.2.0/grid/bin/gnsd root oinstall 0741
unix /u01/app/11.2.0/grid/bin/gnsd.bin root oinstall 0741
unix /u01/app/11.2.0/grid/bin/gsd.sh grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/gsdctl grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/scrctl grid oinstall 0750
unix /u01/app/11.2.0/grid/bin/vipca grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/oc4jctl grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/cvures grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/odnsd grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/qosctl grid oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/cmdllroot.sh grid oinstall 0755
unix /u01/app/11.2.0/grid/crs/utl/rootdelete.sh root root 0755
unix /u01/app/11.2.0/grid/crs/utl/rootdeletenode.sh root root 0755
unix /u01/app/11.2.0/grid/crs/utl/rootdeinstall.sh root root 0755
unix /u01/app/11.2.0/grid/crs/utl/rootaddnode.sh root root 0755
unix /u01/app/11.2.0/grid/lib/libskgxpcompat.so grid oinstall 0644

unix /u01/app/11.2.0/grid/bin/srvctl root oinstall 0755
unix /u01/app/11.2.0/grid/bin/clsecho root oinstall 0755
unix /u01/app/11.2.0/grid/bin/clsecho.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/clscfg root oinstall 0755
unix /u01/app/11.2.0/grid/bin/clscfg.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/clsfmt root oinstall 0755
unix /u01/app/11.2.0/grid/bin/clsfmt.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/clsid grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/cluvfy grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/crsctl root oinstall 0755
unix /u01/app/11.2.0/grid/bin/crsctl.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/ndfnceca grid oinstall 0750
unix /u01/app/11.2.0/grid/bin/oclskd root oinstall 0755
unix /u01/app/11.2.0/grid/bin/oclskd.bin root oinstall 0751
unix /u01/app/11.2.0/grid/bin/oclsomon grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/oclsvmon grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/ocssd grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/cssdagent root oinstall 0741
unix /u01/app/11.2.0/grid/bin/cssdagent.bin root oinstall 0741
unix /u01/app/11.2.0/grid/bin/cssdmonitor root oinstall 0741
unix /u01/app/11.2.0/grid/bin/cssdmonitor.bin root oinstall 0741
unix /u01/app/11.2.0/grid/bin/diskmon root oinstall 0741
unix /u01/app/11.2.0/grid/bin/diskmon.bin root oinstall 0741
unix /u01/app/11.2.0/grid/bin/diagcollection.sh root oinstall 0755
unix /u01/app/11.2.0/grid/bin/oradnssd grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/oradnssd.bin grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/setasmgidwrap grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/oclumon root oinstall 0750
unix /u01/app/11.2.0/grid/bin/oclumon.bin root oinstall 0750
unix /u01/app/11.2.0/grid/bin/oclumon.pl grid oinstall 0750
unix /u01/app/11.2.0/grid/bin/crswrapexece.pl root oinstall 0744
unix /u01/app/11.2.0/grid/bin/crfsetenv root oinstall 0750
unix /u01/app/11.2.0/grid/bin/osysmond root oinstall 0750
unix /u01/app/11.2.0/grid/bin/osysmond.bin root oinstall 0750
unix /u01/app/11.2.0/grid/bin/ologgerd root oinstall 0750
unix /u01/app/11.2.0/grid/bin/ologdbg grid oinstall 0750
unix /u01/app/11.2.0/grid/bin/ologdbg.pl grid oinstall 0750
unix /etc/oracle/setasmgid root oinstall 4710

# Jars and shared libraries used by the executables invoked by the root script

unix /u01/app/11.2.0/grid/jlib/srvm.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/srvmasm.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/srvctl.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/srvmhas.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/gns.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/ons.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/netcfg.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/i18n.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/supercluster.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/supercluster-common.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/antlr-complete.jar root oinstall 0644
unix /u01/app/11.2.0/grid/jlib/antlr-3.3-complete.jar root oinstall 0644

unix /u01/app/11.2.0/grid/lib/libhasgen11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libocr11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libocrb11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libocrutl11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libclntsh.so.11.1 root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libclntshcore.so.11.1 root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libskgxn2.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libskgxp11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libasmclntsh11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libcell11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libnnz11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libclsra11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libgns11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libeons.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libonsx.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libeonsserver.so root oinstall 0644

unix /u01/app/11.2.0/grid/lib/libsrvm11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libsrvmhas11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libsrvmocr11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libuini11.so root oinstall 0644

unix /u01/app/11.2.0/grid/lib/libgnsjni11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/librdjni11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libgnsjni11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libclsce11.so root oinstall 0644
unix /u01/app/11.2.0/grid/lib/libcrf11.so root oinstall 0644

unix /u01/app/11.2.0/grid/bin/diagcollection.pl root oinstall 0755

# crs configuration scripts invoked from rootcrs.pl
unix /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/s_crsconfig_lib.pm root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/crsdelete.pm root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/crspatch.pm root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/oracss.pm root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/oraacfs.pm root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/hasdconfig.pl root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/rootcrs.pl root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/roothas.pl root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/preupdate.sh root oinstall 0755
unix /u01/app/11.2.0/grid/crs/install/rootofs.sh root oinstall 0755


# XXX: required only for dev env, where inittab ($IT) is not present already
unix /etc/inittab root root 0644

# USM FILES
# Only files which will be installed with executable permissions need
# to be listed.
unix /u01/app/11.2.0/grid/bin/acfsdriverstate root oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsload root oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsregistrymount root oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsroot root oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfssinglefsmount root oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsrepl_apply root oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsrepl_apply.bin root oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsreplcrs grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsreplcrs.pl grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsrepl_initializer root oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsrepl_monitor grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsrepl_preapply grid oinstall 0755
unix /u01/app/11.2.0/grid/bin/acfsrepl_transport grid oinstall 0755
unix /u01/app/11.2.0/grid/lib/acfsdriverstate.pl root oinstall 0644
unix /u01/app/11.2.0/grid/lib/acfsload.pl root oinstall 0644
unix /u01/app/11.2.0/grid/lib/acfsregistrymount.pl root oinstall 0644
unix /u01/app/11.2.0/grid/lib/acfsroot.pl root oinstall 0644
unix /u01/app/11.2.0/grid/lib/acfssinglefsmount.pl root oinstall 0644
unix /u01/app/11.2.0/grid/lib/acfstoolsdriver.sh root oinstall 0755
unix /u01/app/11.2.0/grid/lib/libusmacfs11.so grid oinstall 0644

#EVM config files
unix /u01/app/11.2.0/grid/evm/admin/conf/evm.auth root oinstall 0644
unix /u01/app/11.2.0/grid/evm/admin/conf/evmdaemon.conf root oinstall 0644
unix /u01/app/11.2.0/grid/evm/admin/conf/evmlogger.conf root oinstall 0644
unix /u01/app/11.2.0/grid/cdata/lunardb01.olr root oinstall 0600
unix /etc/oracle/olr.loc root oinstall 0644
unix /etc/oracle/ocr.loc root oinstall 0644
[root@lunardb01 utl]# 
此条目发表在 RAC 分类目录,贴了 , , 标签。将固定链接加入收藏夹。

发表评论

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