oracle11gRAC之srvctl命令:
oracle11gRAC之srvctl命令:srvctl版本查询:[grid@dbserver1:/home/grid]$srvctl -Vsrvctl version: 11.2.0.1.0srvctl常用命令分类:*增加 oracle asm/database/listener 注册信息 eg:srvctl add asm -l LISTENER -p +crs/dbserve-cluster/ASMPARAMETERFILE/registry.253.743836405 eg: srvctl add database -d orclqt -o /oracle/app/oracle/product/11.2.0/dbhome_1 -p +DATADG/orclqt/spfileorclqt.ora eg: srvctl add listener -p TCP:1522 -o /u01/app/oracle/product/11.2.0/dbhome_1 *查看 oracle asm/database/listen
oracle11gRAC之crsctl命令
oracle11gRAC之crsctl命令:完整的crsctl命令:# su - grid[grid@dbserver1:/home/grid]$crsctl -hUsage: crsctl add - add a resource, type or other entity crsctl check - check a service, resource or other entity crsctl config - output autostart configuration crsctl debug - obtain or modify debug state crsctl delete - delete a resource, type or other entity crsctl disable - disable autostart crsctl enable - enable autostart crsctl get
oracle11gRAC之log日志体系
oracle11gRAC之log日志体系:1、CRS日志(grid):首选查看alertlog:$CRS_HOME/grid/log/hostname/alertdbserver1.logClusterware后台进程日志:crsd.Log: $ORA_CRS_HOME/grid/log/hostname/crsd/crsd.Logocssd.Log: $ORA_CRS_HOME/grid/log/hostname/cssd/ocsd.Logevmd.Log: $ORA_CRS_HOME/grid/log/hostname/evmd/evmd.Log工具执行日志:$ORA_CRS_HOME/log/hostname/client/Clusterware 提供了许多命令行工具: 比如crsctl、ocrcheck, ocrconfig,ocrdump,oifcfg和clscfg, 这些工具产生的日志就放在这个目录下2、DB日志(oracle)alertl
oracle11gRAC之asm管理
oracle11gRAC之asm管理一:通过sqlplus查看asm磁盘组与磁盘基本信息[grid@dbserver1:/home/grid]$sqlplus / as sysasmSQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 27 13:54:32 2012Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionWith the Real Application Clusters and Automatic Storage Management optionsSQL> select instance_name,status from v$instance;INSTANCE_NAME STATUS---------------------------------