1、--查询RAC中数据库实例的信息
srvctl config database -d yjdd(实例名)-a
Database unique name: yjdd
Database name: yjdd
Oracle home: /u01/app/oracle/product/11.2.0/db_1
Oracle user: oracle
Spfile: +DBDATA/yjdd/spfileyjdd.ora
Domain: nxnm.gov.cn
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: yjdd
Database instances: yjdd1,yjdd2
Disk Groups: DBDATA,ARCH
Services:
Database is enabled
Database is administrator managed
2、安装完RAC后,CRS进程栈默认随操作系统的启动而自动启动
出于维护的目的有时需要关闭这个特性,登录root用户执行下面命令:
[root#]$CRS_HOME/bin/crsctl disable crs
重新打开特性的命令
[root#]$CRS_HOME/bin/crsctl enable crs
上面的命令实际是修改了文件/etc/oracle/scls_scr/db01/root/crsstart的内容
# more /etc/oracle/scls_scr/db01/root/crsstart
enable
时间: 2024-10-10 03:37:33