Custom Search . . .

Monday, March 30, 2009

ORA-29701: Unable to connect to Cluster Manager


ORA-29701: Unable to connect to Cluster Manager

Every time I would try to start an ASM instance I would get this error:


Today In my ASM environment; When I try to start asm instance i got the below error message.

ORA-29701: Unable to connect to Cluster Manager

This is error releated to cluster manager goes down. We need to start manager using "localconfig add/delete"

1/ Log in as roor user
2/ Set your ORACLE_HOME
3/ execute the below command

$ORACLE_HOME/bin/localconfig delete
$ORACLE_HOME/bin/localconfig add

In Windows

C:\Documents and Settings\Baskar>SET ORACLE_SID=+ASM

C:\Documents and Settings\Baskar>set ORACLE_HOME=f:\oracle\product\10.2.0\db_1

C:\Documents and Settings\Baskar>%ORACLE_HOME%\bin\localconfig delete
Step 1: stopping local CSS stack
Step 2: deleting OCR repository
successfully deleted local CSS setup


C:\Documents and Settings\Baskar>
C:\Documents and Settings\Baskar>%ORACLE_HOME%\bin\localconfig add
Step 1: creating new OCR repository
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'baskar', privgrp ''..
Operation successful.
Step 2: creating new CSS service
successfully created local CSS service
successfully added CSS to home



Feel free post your comments.


Sunday, March 22, 2009

"Marking disk "VOL1" as an ASM disk: [FAILED]"


Kernel : 2.6.9-42.EL-2.0.3

OS : Red Hat Enterprise Linux 4 AS

Database: 10.2.0.1


While doing ASM Configuraion, I got below error message

"Marking disk "VOL1" as an ASM disk: [FAILED]"

Not able to create ASM Disk's


[oracle@localhost ~]$ su - root

Password:

[root@localhost Desktop]# uname -r

2.6.9-42.0.0.0.1.ELhugemem

[root@localhost ~]#

[root@localhost ~]# cd Desktop/

[root@localhost Desktop]# ls -lrt

total 8

drwx------ 2 root root 4096 Mar 22 04:15 Trash

[root@localhost Desktop]# cd /home/oracle/Desktop/

[root@localhost Desktop]# ls -lrt

total 268

drwx------ 2 oracle oinstall 4096 Mar 22 14:20 Trash

-rw-r--r-- 1 oracle oinstall 4298 Mar 22 14:20 Home.desktop

-rw-r--r-- 1 oracle oinstall 82256 Mar 22 14:40 oracleasm-support-2.1.2-1.el4.i386.rpm

-rw-r--r-- 1 oracle oinstall 12948 Mar 22 14:40 oracleasmlib-2.0.2-1.i386.rpm

-rw-r--r-- 1 oracle oinstall 127412 Mar 22 14:41 oracleasm-2.6.9-42.EL-2.0.3-1.i686.rpm

[root@localhost Desktop]#

[root@localhost Desktop]# rpm -Uvh oracleasm-2.6.9-42.EL-2.0.3-1.i686.rpm \

> oracleasmlib-2.0.2-1.i386.rpm \

> oracleasm-support-2.1.2-1.el4.i386.rpm

Preparing... ########################################### [100%]

1:oracleasm-support ########################################### [ 33%]

2:oracleasm-2.6.9-42.EL ########################################### [ 67%]

3:oracleasmlib ########################################### [100%]

[root@localhost Desktop]#

[root@localhost Desktop]# /etc/init.d/oracleasm scandisks

Scanning the system for Oracle ASMLib disks: [ OK ]

[root@localhost Desktop]#

[root@localhost Desktop]# /etc/init.d/oracleasm configure

Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library

driver. The following questions will determine whether the driver is

loaded on boot and what permissions it will have. The current values

will be shown in brackets ('[]'). Hitting without typing an

answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: oracle

Default group to own the driver interface []: dba

Start Oracle ASM library driver on boot (y/n) [n]: y

Scan for Oracle ASM disks on boot (y/n) [y]: y

Writing Oracle ASM library driver configuration: done

Initializing the Oracle ASMLib driver: [ OK ]

Scanning the system for Oracle ASMLib disks: [ OK ]

[root@localhost Desktop]#

[root@localhost Desktop]# /etc/init.d/oracleasm start

Initializing the Oracle ASMLib driver: [ OK ]

Scanning the system for Oracle ASMLib disks:

^[[A

[ OK ]

[root@localhost Desktop]#

[root@localhost Desktop]# /etc/init.d/oracleasm start

Initializing the Oracle ASMLib driver: [ OK ]

Scanning the system for Oracle ASMLib disks: [ OK ]

[root@localhost Desktop]#

[root@localhost Desktop]# /etc/init.d/oracleasm enable

Writing Oracle ASM library driver configuration: done

Initializing the Oracle ASMLib driver: [ OK ]

Scanning the system for Oracle ASMLib disks: [ OK ]

[root@localhost Desktop]#

[root@localhost Desktop]# /etc/init.d/oracleasm createdisk /dev/sda6

Action "createdisk" requires two arguments

[root@localhost Desktop]#

[root@localhost Desktop]# /etc/init.d/oracleasm createdisk VOL1 /dev/sda6

Marking disk "VOL1" as an ASM disk: [FAILED]

Loading module "oracleasm": Unable to load module "oracleasm"

OS: Red Hat Enterprise Linux 4

Kernel : 2.6.9-22.EL

Database Version: 10.2.0.1


When I try to configure ASM disk I got below error message.


"Loading module "oracleasm": Unable to load module "oracleasm"


As per metalink "Doc ID: 338770.1". Need to upgrade kernel version


Uname –r
2.6.9-22.EL



[root@localhost Desktop]# rpm -Uvh

oracleasm-2.6.9-11.EL-2.0.3-1.i686.rpm \ >

oracleasmlib-2.0.2-1.i386.rpm \

> oracleasm-support-2.0.3-1.i386.rpm

Preparing... ########################################### [100%]

1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.9-11.EL ########################################### [ 67%]
3:oracleasmlib ########################################### [100%]



[root@localhost ~]# /etc/init.d/oracleasm configure

Configuring the Oracle ASM library driver.



This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.


Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [y]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": Unable to load module "oracleasm"

[FAILED]