Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1169255
  • 博文数量: 178
  • 博客积分: 2776
  • 博客等级: 少校
  • 技术积分: 2809
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-22 15:36
文章分类

全部博文(178)

文章存档

2014年(3)

2013年(66)

2012年(109)

分类: Oracle

2012-08-28 17:15:35

  本文介绍如何启动ASM。无论在RAC环境中还是单实例环境,ASM实例都需要用到CSS进程,在RAC环境中,启动CRS后CSS已经运行,而在单实例环境下,需要以root用户运行脚本,初始化CSS服务,否则,在启动ASM实例时会报如下错误:
  ORA-29701: unable to connect to Cluster Manager
  执行初始化脚本的过程如下:
  [root@node1 ~]#$ORACLE_HOME/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
  Cleaning up Network socket directories
  Setting up Network socket directories
  Adding to inittab
  Startup will be queued to init within 30 seconds.
  Checking the status of new Oracle init process...
  Expecting the CRS daemons to be up within 600 seconds.
  Cluster Synchronization Services is active on these nodes.
  node1
  Cluster Synchronization Services is active on all the nodes.
  Oracle CSS service is installed and running under init(1M)
  然后启动ASM实例:
  [oracle@node1 ~]$export ORACLE_SID=+ASM
  [oracle@node1 ~]$sqlplus / as sysdba
  SQL> startup
  ASM instance started
  Total System Global Area    134217728 bytes
  Fixed Size                   1218124 bytes
  Variable Size               107833780 bytes
  ASM Cache                   25165824 bytes
  ORA-15110: no diskgroups mounted
  因为首次启动ASM实例并没有创建ASM磁盘组,双向把握所以显示 15110错误是正常的。
阅读(2476) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~