ASM与CSS集群同步服务
来源:互联网 发布:影视制作用什么软件 编辑:程序博客网 时间:2024/05/29 05:04
CSS:Cluster Synchronization Service 集群同步服务
要使用ASM,必须确保已经运行了CSS集群同步服务,CSS负责ASM实例和数据库实例之间的同步。
1:查看CSS服务是否在运行:
Ora10gASM-> ps -ef | grep css
oracle 6030 4622 0 19:36 pts/1 00:00:00 grep css
Ora10gASM-> crsctl check cssd
Failure 1 contacting CSS daemon
如果CSS服务没有启动,则不能使用ASM。
Ora10gASM-> export ORACLE_SID=+ASM
Ora10gASM-> sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 29 19:36:49 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-29701: unable to connect to Cluster Manager
SQL> !oerr ora 29701
29701, 00000, "unable to connect to Cluster Manager"
// *Cause: Connect to CM failed or timed out.
// *Action: Verify that the CM was started. If the CM was not started,
// start it and then retry the database startup. If the CM died
// or is not responding, check the Oracle and CM trace files for
// errors.
SQL> exit
Disconnected
2:启动CSS服务
切换到root
Ora10gASM-> su -
Password:
运行下面的命令启动CSS服务
[root@Ora10gASM ~]# cd /oracle/product/10.2.0/db_1/bin
[root@Ora10gASM 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.
ora10gasm
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
[root@Ora10gASM bin]#
[root@Ora10gASM bin]# exit
logout
Ora10gASM-> crsctl check cssd
CSS appears healthy
Ora10gASM-> ps -ef | grep cssd
root 6762 1 0 19:44 ? 00:00:00 /bin/su -l oracle -c sh -c 'cd /oracle/product/10.2.0/db_1/log/ora10gasm/cssd; ulimit -c unlimited; exec /oracle/product/10.2.0/db_1/bin/ocssd '
oracle 6856 6762 1 19:45 ? 00:00:00 /oracle/product/10.2.0/db_1/bin/ocssd.bin
Ora10gASM-> sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 29 19:46:47 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area 83886080 bytes
Fixed Size 1217836 bytes
Variable Size 57502420 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL>
3:删除CSS服务
Ora10gASM-> su -
Password:
[root@Ora10gASM ~]# cd /oracle/product/10.2.0/db_1/bin
[root@Ora10gASM bin]# ./localconfig delete
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
- ASM与CSS集群同步服务
- RAC集群时间同步服务
- 缓存的集群与同步
- redis中的主从同步与集群管理
- oracle 11g ctss 集群时间同步服务几个要点
- 集群服务器安装时间同步服务(chrony)
- ASM disk header 备份与恢复、单机ASM下CSS进程无法启动
- 单机asm和集群asm 的不同之处.
- RAC CRS命令与集群服务
- Web集群与负载均衡服务实现
- 时区修改与服务之间时间同步
- ORACLE10G+asm+RAC集群(linux)
- 服务集群
- Android Screen Monitor (ASM)手机真机与Android模拟器屏幕同步
- 润乾报表的缓存与集群同步
- elasticsearch与mongodb分布式集群环境下数据同步
- 10008---Elasticsearch与mongodb分布式集群环境下数据同步
- Redis之(七)主从同步与集群管理
- oracle ASM 重启服务步骤
- C一些基础知识
- 什么是卷积、傅里叶变换?
- table页的html css
- vs2008为什么有连接不上呢,新状况,浪费了我一个下午时间,不过终于解决了。
- ASM与CSS集群同步服务
- 24点之1 7 9 10
- mapinfo 应用于win7 64位机
- 转 如何进行Lucene的分布式应用
- Linux修改当前时间
- gtk开发环境的配置
- ArcGIS介绍:ArcObjects、 ArcGIS Desktop、ArcGIS Engine 和 ArcSDE、ArcIMS、ArcGIS Server
- usbnet驱动深入分析-usb虚拟网卡host端
- FreeTextBox和FCKeditor遇到安全问题警告的解决办法