Archive for January 15th, 2009

关于ocssd.bin进程

Thursday, January 15th, 2009

前几天问奶妈要了一台服务器上面以前装了11G+ASM的,我猜。因为我看到有ASM的init文件。
今晚心血来潮,想去搞那个服务器。(这句话,好像有点潮~··)
一上去就有这个进程:
[root@my11g ~]# ps -ef|grep ora
oracle    8787     1  0 03:50 ?        00:00:00 /opt/oracle/products/11.1.0/bin/ocssd.bin
随便我怎么杀,还是有。
后来网上查了下,ocssd进程主要是用于ORACLE和asm之间同步用的。在安装ORACLE的时候,运行root.sh的时候自动生成的。
如果要停止这个进程,必须做两个地方:
1:改掉/etc/inittab;
把:
#h1:35:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1 </dev/null
注释掉
2:以root的身份,进入ORACLE_HOME的bin文件夹:
然后开搞:
[root@my11g bin]# ./localconfig delete
Stopping Cluster Synchronization Services.
Shutting down the Cluster Synchronization Services daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
Cleaning up Network socket directories
OK,就此搞定~~~

DBA