ASM实例可以管理多个Oracle数据库文件,CSS实现了ASM实例与Oracle数据库实例之间的同步。CSS是集群同步的意思,不需要额外安装,在安装Oracle数据库软件时会自动安装。
[root@test bin]# ./localconfig add
启动cluster synchronization services daemon
单实例使用root用户执行localconfig add
如果出现OCCSD运行异常,可以使用localconfig reset重启。重启的过程是首先killCSS服务进程,然后再次启动。
该命令在ORACLE_HOME/bin目录下
[root@test 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 started
遇到红色字体的问题,可以delete后重新add
[root@test bin]#
./localconfig delete
Stopping CSSD.
Unable to communicate with the CSS daemon.
Shutdown has begun. The daemons should exit soon.
[root@test bin]#
[root@test bin]#
[root@test 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.
test
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
/etc/init.d/init.cssd run &
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29047826/viewspace-1355582/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29047826/viewspace-1355582/