怎样进行ASM安装
本篇文章为大家展示了怎样进行ASM安装,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。
成都地区优秀IDC服务器托管提供商(创新互联).为客户提供专业的成都服务器托管,四川各地服务器托管,成都服务器托管、多线服务器托管.托管咨询专线:18982081108
ASM学习笔记_ASM安装
Refer to the <
1 ASM’s installtion can be done by DBCA.
2 如果是非RAC环境下使用ASM, 需要在安装ASM之前用脚本$ORACLE_HOME/bin/localconfig add 启动CSS服务
CSS服务在单实例下的作用还有待确认?
只需启动CSS服务,用来实现ASM实例与RDBMS实例之间的通信
The Cluster Synchronization Services (CSS) daemon is required to enable synchronization between ASM and its client
database instances.
Oracle> su - root
password: xxxx
# /opt/oracle/product/10gr2/bin/localconfig delete
Stopping CSSD.
Unable to communicate with the CSS daemon.
Shutdown has begun. The daemons should exit soon.
#/opt/oracle/product/10gr2/bin/localconfig add
/etc/oracle does not exist. Creating it now.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
Startup will be queued to init within 90 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
...........
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is starte
启动不了
查看/opt/oracle/product/10gr2/log/z810/client/css.log
[ CSSCLNT][2550264832]clsssInitNative: connect failed, rc 9
运行DBCA过程中报如下错误
Oracle> $ORACLE_HOME/bin/dbca
报错:ORA-29701:Unable to connect to Cluster Manager
单实例下如何启动CRS,CSS,EVM
/etc/init.d/start crs
/etc/init.d/start css
/etc/init.d/start evm
Oracle@Z810:/opt/oracle/product/10gr2/bin/crsctl check crs
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
Oracle@Z810:/opt/oracle/product/10gr2/bin/crsctl start crs
Attempting to start CRS stack
The CRS stack will be started shortly
Oracle@Z810:/opt/oracle/product/10gr2/bin/crsctl check crs
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
启动不了
在尝试了n次后终于成功了
可能的问题
1 由于在同一个节点上安装了两个Oracl版本:9i,10g.有两个ORACLE_HOME,造成混乱
在有多个ORACLE_HOME的环境下,似乎可以通过/opt/oracle/product/10gr2/bin/localconfig reset来设置环境变量
/opt/oracle/product/10gr2/bin/localconfig $ORACLE_HOME
是这样吗? 尝试几次都未能成功
2 每尝试一次前应先将LISTENER与各个后台进程建立连接的IPC Socket临时文件删除
rm -f /var/tmp/.oracle/*
rm -f /tmp/.oracle/*
rm -f /usr/tmp/.oracle/*
3 启动监听
4 /opt/oracle/product/10gr2/bin/localconfig add
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
Startup will be queued to init within 90 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
z810
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
5 oracle@Z810:/var/tmp/.oracle> /opt/oracle/product/10gr2/bin/crsctl check crs
CSS appears healthy
Cannot communicate with CRS
Cannot communicate with EVM
上述内容就是怎样进行ASM安装,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联行业资讯频道。
新闻名称:怎样进行ASM安装
文章转载:http://pwwzsj.com/article/gcdhoj.html