Oracle 11gR2 New Features Oracle Restart
Oracle 11gR2 New Features Oracle Restart
oracle 11gR2 单机如果要安装asm存储的数据库,需要先安装grid组件,通过ocssd进程与asm实例进行通信
在安装的四个选项,选择第二个:
即installation option
Install and Configure Grid infrastructure for a standalone server
按下一步安装创建asm instance 和 asm diskgroup 和 监听
最后按提示运行root.sh 脚本即可,可以用crsctl status res -t 命令查看组件的状态
安装完grid后的状态如下:
[grid@zjzxdb1:/grid/app]$crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DGSYSTEM.dg
ONLINE ONLINE zjzxdb1
ora.LISTENER.lsnr
ONLINE ONLINE zjzxdb1
ora.asm
ONLINE ONLINE zjzxdb1 Started
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE zjzxdb1
ora.diskmon
1 ONLINE ONLINE zjzxdb1
[grid@zjzxdb1:/grid/app]$
起停grid组件是用crsctl start has,crsctl stop has命令
禁用grid组件跟随操作系统启动用crsctl disable crs
即Oracle 11gR2 New Features Oracle Restart
Oracle Restart improves the availability of your single-instance Oracle database. Oracle Restart automatically restarts the database instance, the Automatic Storage Management (ASM) instance, the listener, and other components after a hardware or software failure or whenever your database host computer restarts. Server Control (SRVCTL) is the command line interface to manage Oracle processes that are managed by Oracle Restart on a standalone server.