在公司的一个项目中,成功的为客户实施了oracle 11gR2+asm存储单实例基于hacmp的
主备集群,原理和10g基于裸设备主备集群一样,以下为安装时需要注意的地方:
1. 主节点安装grid组件时,选择第二个选项
Install and Configure Grid infrastructure for a standalone server
2. 主备节点grid用户需要增加dba,hagsuser组,oracle用户增加hagsuser组。
3. 配置oracle 11gR2 + grid+asm+hacmp主备集群,比以前了9i,10g版本多个grid组件,需要把grid代码盘从主节点漂移到备节点,然后在备节点用grid用户执行root.sh配置脚本。
4. grid用户在备节点运行完root.sh后,需要手工添加监听,asm,database 资源。
5. 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.
crsctl start has --启动grid组件,会自动带起所有资源
crsctl stop has --停止grid组件,会自动停止所有资源
crsctl disable has –禁用grid组件跟随操作系统启动
oracle 11gR2 asm 单实例维护比以前版本更方便,一个命令就搞定,不再需要先停监听,再停数据库,然后停asm实例等操作。并且可以用srvctl 命令进行维护操作。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7199859/viewspace-671220/ ,如需转载,请注明出处,否则将追究法律责任。