RAC 开启gsd和oc4j服务
来源:互联网 发布:java 获取jsp页面内容 编辑:程序博客网 时间:2024/04/29 09:42
Oracle 11g RAC中,发现oc4j以及gsd服务都处于offline状态,这是Oracle 11g RAC默认情形。即便如此,并不影响数据库的使用,因为 oc4j 是用于WLM 的一个资源, WLM在 11.2.0.2 才可用。GSD则是用于支持dbca,srvctl,oem等的交互工具。本文描述将这两个服务切换到online。
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
WLM在 11.2.0.2 才可用,如果是11.2.0.1以上版本则oc4j是默认开启的。
[grid@HE1 ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.DATA.dg ora....up.type 0/5 0/ ONLINE ONLINE he1
ora....ER.lsnr ora....er.type 0/5 0/ ONLINE ONLINE he1
ora....N1.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE he1
ora.OCR.dg ora....up.type 0/5 0/ ONLINE ONLINE he1
ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE he1
ora.eons ora.eons.type 0/3 0/ ONLINE ONLINE he1
ora.gsd ora.gsd.type 0/5 0/ OFFLINE OFFLINE
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE he1
ora....E1.lsnr application 0/5 0/0 ONLINE ONLINE he1
ora.he1.gsd application 0/5 0/0 OFFLINE OFFLINE
ora.he1.ons application 0/3 0/0 ONLINE ONLINE he1
ora.he1.vip ora....t1.type 0/0 0/0 ONLINE ONLINE he1
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE he2
ora....E2.lsnr application 0/5 0/0 ONLINE ONLINE he2
ora.he2.gsd application 0/5 0/0 OFFLINE OFFLINE
ora.he2.ons application 0/3 0/0 ONLINE ONLINE he2
ora.he2.vip ora....t1.type 0/0 0/0 ONLINE ONLINE he2
ora....network ora....rk.type 0/5 0/ ONLINE ONLINE he1
ora.oc4j ora.oc4j.type 0/5 0/0 OFFLINE OFFLINE
ora.ons ora.ons.type 0/3 0/ ONLINE ONLINE he1
ora.scan1.vip ora....ip.type 0/0 0/0 ONLINE ONLINE he1
ora.sobey.db ora....se.type 0/2 0/1 ONLINE ONLINE he1
[root@HE1 db_1]# su - grid
[grid@HE1 ~]$ crs_stat -t |grep OFFLINE
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora.he1.gsd application OFFLINE OFFLINE
ora.he2.gsd application OFFLINE OFFLINE
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
[grid@HE1 ~]$ srvctl enable oc4j
[grid@HE1 ~]$ srvctl start oc4j
[grid@HE1 ~]$ crs_stat -t |grep OFFLINE
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora.he1.gsd application OFFLINE OFFLINE
ora.he2.gsd application OFFLINE OFFLINE
[grid@HE1 ~]$ srvctl enable nodeapps
PRKO-2415 : VIP is already enabled on node(s): he1,he2
PRKO-2416 : Network resource is already enabled.
PRKO-2417 : ONS is already enabled on node(s): he1,he2
PRKO-2418 : eONS is already enabled on node(s): he1,he2
[grid@HE1 ~]$ srvctl start nodeapps
PRKO-2421 : Network resource is already started on node(s): he1,he2
PRKO-2420 : VIP is already started on node(s): he1,he2
PRKO-2420 : VIP is already started on node(s): he1,he2
PRKO-2422 : ONS is already started on node(s): he1,he2
PRKO-2423 : eONS is already started on node(s): he1,he2
[grid@HE1 ~]$ crs_stat -t |grep OFFLINE
[grid@HE1 ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.DATA.dg ora....up.type 0/5 0/ ONLINE ONLINE he1
ora....ER.lsnr ora....er.type 0/5 0/ ONLINE ONLINE he1
ora....N1.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE he1
ora.OCR.dg ora....up.type 0/5 0/ ONLINE ONLINE he1
ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE he1
ora.eons ora.eons.type 0/3 0/ ONLINE ONLINE he1
ora.gsd ora.gsd.type 0/5 0/ ONLINE ONLINE he1
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE he1
ora....E1.lsnr application 0/5 0/0 ONLINE ONLINE he1
ora.he1.gsd application 0/5 0/0 ONLINE ONLINE he1
ora.he1.ons application 0/3 0/0 ONLINE ONLINE he1
ora.he1.vip ora....t1.type 0/0 0/0 ONLINE ONLINE he1
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE he2
ora....E2.lsnr application 0/5 0/0 ONLINE ONLINE he2
ora.he2.gsd application 0/5 0/0 ONLINE ONLINE he2
ora.he2.ons application 0/3 0/0 ONLINE ONLINE he2
ora.he2.vip ora....t1.type 0/0 0/0 ONLINE ONLINE he2
ora....network ora....rk.type 0/5 0/ ONLINE ONLINE he1
ora.oc4j ora.oc4j.type 0/5 0/0 ONLINE ONLINE he2
ora.ons ora.ons.type 0/3 0/ ONLINE ONLINE he1
ora.scan1.vip ora....ip.type 0/0 0/0 ONLINE ONLINE he1
ora.sobey.db ora....se.type 0/2 0/1 ONLINE ONLINE he1
- RAC 开启gsd和oc4j服务
- 如何处理11gR2 RAC下oc4j和gsd服务为OFFLINE状态?
- 如何处理11gR2 RAC下oc4j和gsd服务为OFFLINE状态?
- 如何处理11gR2 RAC下oc4j和gsd服务为OFFLINE状态
- Oracle 11g RAC oc4j/gsd Offline
- Oracle 11g RAC oc4j/gsd Offline
- Oracle 11g RAC oc4j gsd Offline
- ORACLE RAC中的oc4j和gsd资源以及RAC相关的进程
- oc4j以及gsd服务都处于offline状态,这是Oracle 11g RAC默认情形
- rac 11gR2中 gsd 和 oc4j默认offline的解释
- oracle 11gR2 RAC “oc4j” and “gsd” resource offline
- RAC节点服务ora.rac2.gsd的offline问题解决方法(转)
- 10G RAC服务开启关闭
- 如何处理11gR2 RAC下oc4j和gs…
- Information about ora.OC4J in Rac Environment
- 开启服务和绑定服务
- OC4J介绍和使用
- RAC 在虚拟机上 GSD LSN 经常UNKNOWN 解决办法
- __construct()和__initialize()
- CRS-2800 CRS-4000
- Oracle 11gR2 RAC ohasd failed to start 解决方法
- JS原生获取class对象(getElementsByClassName)
- RAC时间同步的两种方法
- RAC 开启gsd和oc4j服务
- Java设计模式之工厂设计模式
- CentOS6+MySQL5.6二进制安装
- MySQL忘记密码怎么办
- MySQL多实例安装
- 贪心算法之最优装船
- 批量转换引擎为innodb
- java函数重载
- java基础学习之事件监听之键盘监听