Issues connecting to ASM instance.
Hi,
I set the ORACLE_SID=+ASM1
export ASM_BASE=/u101/app/asm
export ASM_HOME=$ASM_BASE/product/11.1.0
But when i am trying to connect asmcmd utility.
[oracle@dldb1 ~]$ asmcmd
ASMCMD-08103: failed to connect to ASM; ASMCMD running in non-connected mode
Do i am setting wrong parameters? Please advice me.
Thanks
thank you for you kind.. I forgot it... but after I modify tnsname.ora, Error number changed..
tnsname.ora:
# tnsnames.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ITPUB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = itpub)
+ASM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = +ASM)
*>sqlplus /nolog*
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 12:50:07 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect sys@+asm as sysasm
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SQL>
tnsping +asmTNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2
010 12:51:09
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
E:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac-clus
ter-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = +as
m)))
OK (20 msec)
Similar Messages
-
ORA-12154: Error when connecting to asm instance
hi all, I am now facing new problem with asm of clusterware, I failed to connect to asm instance, there is how I did it:
sqlplus /nologSQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 04:58:52 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect sys@+ASM as sysasm
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
I consider listener is correct configed.
lsnrctl statusLSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2010 08:51:49
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 05-JUL-2010 22:12:29
Uptime 1 days 6 hr. 39 min. 23 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\app\11.2.0\grid\network\admin\listener.ora
Listener Log File e:\app\11.2.0\grid\log\diag\tnslsnr\rac1\listener\aler
t\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENERipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.110)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.112)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm2", status READY, has 1 handler(s) for this service...
Service "itpub" has 1 instance(s).
Instance "itpub2", status READY, has 1 handler(s) for this service...
Service "itpubXDB" has 1 instance(s).
Instance "itpub2", status READY, has 1 handler(s) for this service...
The command completed successfully
How to resolve the promblem? Best regards..thank you for you kind.. I forgot it... but after I modify tnsname.ora, Error number changed..
tnsname.ora:
# tnsnames.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ITPUB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = itpub)
+ASM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = +ASM)
*>sqlplus /nolog*
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 12:50:07 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect sys@+asm as sysasm
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SQL>
tnsping +asmTNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2
010 12:51:09
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
E:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac-clus
ter-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = +as
m)))
OK (20 msec) -
Create a new user for oracle 10G ASM instance with sysdba system privilege
Hi,
In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to connnect to ASM instance.
I'm getting the error message "ORA-01109: database not open",When I tried to create a new user using the below the steps in oracle 10g ASM instance
1. Login using "sqlplus / as sysdba"
2. Create user <username> identified by <password>;
But in oracle 11g ASM instance, I'm able to create new user by connecting the ASM instance with SYSASM role without issues.
Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
Thanks in advance .Hi,
Recreate the password file for the ASM instance as follows:
Unix:
orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
Windows:
orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
SQL> create user ASMDBA identified by test01;
User created.
SQL> grant SYSASM, SYSOPER to ASMDBA;
Grant succeeded.
SQL> select * from v$pwfile_users;
USERNAME SYSDBA SYSOPE SYSASM
SYS TRUE TRUE TRUE
ASMDBA FALSE TRUE TRUE
Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
Thank you -
11g R2 Grid Infrastructure asmca cannot detect 11g R1 ASM instance
I am playing with 11g ASM with XEN (one node on host (or dom0) and another node on vm (or dom1)) and was trying to do a Clusterware + ASM upgrade from 11.0.6 to 11.2.0. After solving some stupid problem, (see [rootupgrade.sh failed on 11g R1 to R2 Upgrade |http://forums.oracle.com/forums/thread.jspa?threadID=1005424&tstart=0]) so that all services can be started in both nodes, I am trying to upgrade ASM.
I am trying asmca. But it is unable to detect the 11g R1 ASM instance. When started in GUI mode, it just offer to create ASM. When started in silent mode for upgrade, it shows:
oracle@penguin-dom0:~> asmca -silent -upgradeASM
Enter ASMSNMP Password
ORA-01034: ORACLE not availableAnd I can't find anything in ASM alert log
ASM is running from 11g R1 home
oracle@penguin-dom0:~> ps -ef|grep asm
oracle 21811 1 0 Jan06 ? 00:00:00 asm_pmon_+ASM1
oracle 21813 1 0 Jan06 ? 00:00:03 asm_vktm_+ASM1
oracle 21817 1 0 Jan06 ? 00:00:02 asm_diag_+ASM1
oracle 21819 1 0 Jan06 ? 00:00:00 asm_ping_+ASM1
oracle 21821 1 0 Jan06 ? 00:00:00 asm_psp0_+ASM1
oracle 21825 1 0 Jan06 ? 00:00:09 asm_dia0_+ASM1
oracle 21827 1 0 Jan06 ? 00:00:05 asm_lmon_+ASM1
oracle 21829 1 0 Jan06 ? 00:00:03 asm_lmd0_+ASM1
oracle 21831 1 0 Jan06 ? 00:00:03 asm_lms0_+ASM1
oracle 21835 1 0 Jan06 ? 00:00:00 asm_mman_+ASM1
oracle 21837 1 0 Jan06 ? 00:00:00 asm_dbw0_+ASM1
oracle 21839 1 0 Jan06 ? 00:00:00 asm_lgwr_+ASM1
oracle 21841 1 0 Jan06 ? 00:00:00 asm_ckpt_+ASM1
oracle 21843 1 0 Jan06 ? 00:00:00 asm_smon_+ASM1
oracle 21845 1 0 Jan06 ? 00:00:01 asm_rbal_+ASM1
oracle 21847 1 0 Jan06 ? 00:00:00 asm_gmon_+ASM1
oracle 21856 1 0 Jan06 ? 00:00:00 asm_lck0_+ASM1
oracle 22021 1 0 Jan06 ? 00:00:00 /u01/app/oradb/product/11.1.0/db_1/bin/racgimon daemon ora.penguin-dom0.ASM1.asm11g R1 Listener is serving to ASM
oracle@penguin-dom0:~> lsnrctl status
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 07-JAN-2010 00:33:44
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER_PENGUIN-DOM0
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 06-JAN-2010 22:29:51
Uptime 0 days 2 hr. 3 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oradb/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oradb/diag/tnslsnr/penguin-dom0/listener_penguin-dom0/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.201)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.101)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
The command completed successfullyNo tnsnames.ora in 11g R1 or Grid Infrastructure home.
Setting ORACLE_HOME to 11g R1 home and ORACLE_SID=+ASM1, I can connect to ASM instance as sysasm using R1 sqlplus
oracle@penguin-dom0:~> export ORACLE_HOME=/u01/app/oradb/product/11.1.0/db_1
oracle@penguin-dom0:~> export ORACLE_SID=+ASM1
oracle@penguin-dom0:~> $ORACLE_HOME/bin/sqlplus / as sysasm
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 7 00:40:15 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP,
Data Mining and Real Application Testing options
SQL> Tried different combinations of ORACLE_HOME (11g R1 db home, grid infrastructure home, 11g R1 clusterware home) and ORACLE_SID (+ASM, +ASM1), but asmca still cannot connect to ASM instance.
Some documents mentioned to configure 'Oracle Restart' and the ASM instance name is +ASM. Are these necessary requirements? If so, where can I find information on Oracle Restart and how to rename the ASM instance? Besides, the documents said it is recommanded to upgrade with OUI, but I've already installed the software, can I still use OUI?
OS: OpenSUSE 11.1, XEN DOM0 and DOM1
Oracle: 11.0.6 upgrade to 11.2.0
Edited by: thtsang on Jan 6, 2010 8:47 AM
Edited by: thtsang on Jan 6, 2010 5:33 PMHi Thtsang,
sorry for not coming back to you earlier and thanks for "the helpful".
So, are you saying that after you have removed all the environment variables, you still got the error message "ORA-01034: ORACLE not available"? I thought you got an "ASM upgrade failed", because ASM was down at the time of the upgrade, which you then corrected saying: "In fact, ASM instance was started from Grid Infrastructure home.". Overall, I need to say that I am a bit confused to be honest.
The alert log entry sounds promising, although, one would need to see more context. For: "But when I use crsctl / srvctl to start ASM, it is still running in 11g R1 Oracle Home." So, something went wrong with the update. For: "BTW, if asmca does not work for me, can I upgrade manually?" - ASMCA is the tool that will perform an ASM upgrade. You can call it interactively, but you will have to use it.
Support note ID 950200.1 - "ASM 11gR2: How To Upgrade An ASM Instance To Release 11gR2 (11.2.0.1.0)?" describes an ASM upgrade to 11.2. Maybe this note can help you and if it is only to analyze what stage your cluster is in right now. It sounds like, this would be first thing that we need to find out.
Good luck. Thanks,
Markus -
Change Node association of ASM instance
Hi,
I have a 4-node cluster running RHEL 5 and GI - 11.2.0.2. After a successful installation we discovered that the asm instance association got switched between Node 2 & Node 3.
e.g., - Node 2 is running ASM3 instance
Node 3 is running ASM2 instance.
Is it possible to correct this, or do I need to rebuild the whole cluster again!?
Thanks,
AbbYHi AbbY,
this is the result, that the root.sh on node 3 was faster than the one on node 2 during install.
If you would like to have the ASM instance in a specific order after installation, you have to run them sequentially (and nor in parallel).
But one thing you should also be aware of, is that the ASM number in 11.2 is not fix anymore:
=> The ASM instance number is dependant on the node number (olsnodes -n -i -t -s).
=> Each nodes gets a lease for the node number for approx. 1 week. It's like a DHCP lease, which can expire if not started.
So if you would shut down node 2 and 3 for one week and then restart the nodes in a different order, lease would change (and therefor the ASM instance number).
Which leads to the further question (because this is really flexible): Why do you want the +ASM instances to have fixed names?
If your nodes would be "Mars" and "Pluto", would it matter where ASM1 and ASM2 runs on?
If you say: We need to know for sqlplus to connect to ASM instance. Why not simply connect this way to ASM:
sqlplus sys/pwd@hostname:port/+ASM
You will always end up on the ASM instance on the node (no matter what instance number the ASM instance has on that node).
O.k. I have to admit there are still a few tools who need the instance number (like asmcmd), but I know this necessity will change, since cluster gets more flexible in the future.
Sebastian -
ASM instance crash due to error ORA-27506: IPC error connecting to a port
Hi All,
Today the ASM instance goes down.
When i checked the alert log I found the below error.
ORA-27506: IPC error connecting to a port
ORA-27300: OS system dependent operation:sendmsg failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgxpsnd1
Please find the environment details.
OS : RHEL-5
DB: 11.1.0.7 2-node RAC
I want to know the root cause of this issue.
Please suggest.
Thanks and Regards,Hi,
Could you please upload cluster alert log and cssd.log?
regards,
Kishore -
hi
I cannot be able to connect to the asm instance.I want to check the space and datafiles inside the asm.
su - oracle
$ export ORACLE_SID=+ASM1
$ export ORACLE_HOME=/oracle/products/asm
$ pwd
/oracle/products/asm/bin
$ ./asmcmd
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HPUX-ia64 Error: 2: No such file or directory (DBD ERROR: OCISessionBegin)yes it is up
# ps -ef|grep ASM
oracle 5488 1 0 Oct 16 ? 4:53 asm_diag_+ASM1
oracle 5498 1 0 Oct 16 ? 0:22 asm_mman_+ASM1
oracle 5767 1 0 Oct 16 ? 1:18 /oracle/products/asm/bin/racgim
n daemon ora.aeorcl01.ASM1.asm
oracle 5502 1 0 Oct 16 ? 0:19 asm_lgwr_+ASM1
oracle 5486 1 0 Oct 16 ? 2:04 asm_pmon_+ASM1
oracle 5492 1 0 Oct 16 ? 6:20 asm_lmon_+ASM1
oracle 5490 1 0 Oct 16 ? 0:16 asm_psp0_+ASM1
oracle 5506 1 0 Oct 16 ? 0:32 asm_smon_+ASM1
oracle 5494 1 0 Oct 16 ? 10:02 asm_lmd0_+ASM1
oracle 5500 1 0 Oct 16 ? 0:19 asm_dbw0_+ASM1
oracle 5508 1 0 Oct 16 ? 0:14 asm_rbal_+ASM1
oracle 5504 1 0 Oct 16 ? 0:26 asm_ckpt_+ASM1
oracle 5496 1 0 Oct 16 ? 6:04 asm_lms0_+ASM1
oracle 5510 1 0 Oct 16 ? 0:36 asm_gmon_+ASM1
oracle 5566 1 0 Oct 16 ? 0:48 asm_lck0_+ASM1
oracle 5976 1 0 Oct 16 ? 0:00 asm_o000_+ASM1
oracle 24346 1 0 Oct 16 ? 0:51 oracle+ASM1 (LOCAL=NO)
oracle 6376 1 0 Oct 16 ? 0:23 oracle+ASM1 (DESCRIPTION=(LOCAL
YES)(ADDRESS=(PROTOCOL=beq)))
oracle 2258 1 0 12:30:48 ? 0:00 asm_pz99_+ASM1
root 5521 5078 1 12:32:52 pts/ta 0:00 grep ASM
oracle 2270 1 0 12:30:49 ? 0:00 asm_pz98_+ASM1 -
Issue At the time of Creating ASM instance through DBCA For 11g RAC db :
Hi,
I have configured two node RAC with OEL5.
I have installed below software successfully under different home locations.
1) Clusterware :
2) ASM
3) Database
I want to run ASM instance under separate home but when i am executing dbca from ASM home location to create asm i am facing a problem which is not traceable by me. Please help me if any body has any idea on it.
Problem:
Sometime(displayed below) ASM instance is running from node 1 and some times from node 2. At a time ASM in both instance is not in online state. At the end dbca is displaying ORA-01034: ORACLE not available. Please let me know what may be the exact reason for this.
1) State 1
Name Type Target State Host
ora....SM1.asm application ONLINE ONLINE mac1
ora....C1.lsnr application ONLINE ONLINE mac1
ora.mac1.gsd application ONLINE ONLINE mac1
ora.mac1.ons application ONLINE ONLINE mac1
ora.mac1.vip application ONLINE ONLINE mac1
ora....SM2.asm application ONLINE OFFLINE
ora....C2.lsnr application ONLINE ONLINE mac2
ora.mac2.gsd application ONLINE ONLINE mac2
ora.mac2.ons application ONLINE ONLINE mac2
ora.mac2.vip application ONLINE ONLINE mac2
2)Name Type Target State Host
ora....SM1.asm application ONLINE OFFLINE
ora....C1.lsnr application ONLINE ONLINE mac1
ora.mac1.gsd application ONLINE ONLINE mac1
ora.mac1.ons application ONLINE ONLINE mac1
ora.mac1.vip application ONLINE ONLINE mac1
ora....SM2.asm application ONLINE ONLINE mac2
ora....C2.lsnr application ONLINE ONLINE mac2
ora.mac2.gsd application ONLINE ONLINE mac2
ora.mac2.ons application ONLINE ONLINE mac2
ora.mac2.vip application ONLINE ONLINE mac2
With Regards,
SNPYes you are right , I have to make to sure stock budget doesn't get credited.
If you remember in one of my other threads, i wanted to derive commitment item from Matl grp, it was for this purpose. I will derive commitment through matl group at the time of procurement / GR etc and assign a dummy commitment item to stock a/cs. Where as i will derive a consumption commiment item from consumption GLs.
Thank you
Chris -
Proble shutting down ASM instance on Windows 2003 server.
Hi,
Before booting the windows 2003 server, I am trying to shutdown the ASM instance and it is just siiting there without any response. This is a 10g database and a 2003 server.
C:\Documents and Settings\Administrator>set oracle_sid=+ASM
C:\Documents and Settings\Administrator>sqlplus " / as sysdba"
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> shutdown immediate;
Thanks.Thanks for your response. Yes I did stopped the database. I was having the same problem with the database ( as it was sitting there after I issued the shutdown immediate ). Finally I had to do shutdown abort, start up in restrict mode and do a shutdown again to stop the database gracefully
-
Upgrade ASM instance database 10g to 11g
Hi,
In my environment, I have ASM instance database 10.2.0.3 running on solaris 10 (64-bit), I need to upgrade to ASM instance 11.1.0.6 database. please guide me an overview of steps...
thanks in advanceThanks for the response,
Sorry, In my environment I know database (10.2.0.3) is mounted in ASM diskgroups, now i have a concern
1) If database is mounted in ASM diskgroups, could it be a database instance or it has to be only ASM instance connected to the database?
2) As in my upgrade from ASM instance (10.2.0.3) to ASM instance (11.1.0.6), do we need to upgrade asm instance as well as database? i mean to invoke DBUA twice for upgrading ASM instance then for upgrading database as well?
Sorry for some silly questions...please make me clear...
Regards -
ASM instance on one node can not startup
use dbca create database failure
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb.log" for further details.
[oracle@rac1 ~]$ cat "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb.log"
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [CRS-0215: Could not start resource 'ora.rac2.ASM2.asm'.]
ORA-03135: connection lost contact
[oracle@rac2 bin]$ ./crs_stat -t
Name Type Target State Host
ora....SM1.asm application ONLINE ONLINE rac1
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE OFFLINE
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2so i try to start asm instance on rac2
[oracle@rac2 bin]$ ./srvctl start asm -n rac2
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 25 17:58:21 2011
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:Copyright (c) 1982, 2005, Oracle. All rights reserved.
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:Enter user-name: Connected to an idle instance.
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:SQL> ORA-03113: end-of-file on communication channel
rac2:ora.rac2.ASM2.asm:SQL> Disconnected
rac2:ora.rac2.ASM2.asm:
CRS-0215: Could not start resource 'ora.rac2.ASM2.asm'.]]
[PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 25 17:58:21 2011
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:Copyright (c) 1982, 2005, Oracle. All rights reserved.
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:Enter user-name: Connected to an idle instance.
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:SQL> ORA-03113: end-of-file on communication channel
rac2:ora.rac2.ASM2.asm:SQL> Disconnected
rac2:ora.rac2.ASM2.asm:check the alert log find
Mon Jul 25 17:58:23 2011
Maximum Tranmission Unit (mtu) of the ether adapter is different
on the node running instance 1, and this node.
Ether adapters connecting the cluster nodes must be configured
with identical mtu on all the nodes, for Oracle.
Please ensure the mtu attribute of the ether adapter on all
nodes are identical, before running Oracle.
Mon Jul 25 17:58:23 2011
Errors in file /opt/ora/admin/+ASM/bdump/+asm2_lmon_29711.trc:
ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
LMON: terminating instance due to error 27550
Mon Jul 25 17:58:25 2011
Shutting down instance (abort)
License high water mark = 0
Mon Jul 25 17:58:28 2011
Instance terminated by LMON, pid = 29711
Mon Jul 25 17:58:30 2011
Instance terminated by USER, pid = 29831and i checked my eth
[root@rac1 oracle]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:29:3C:42:0C
inet addr:192.168.40.102 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9762 errors:0 dropped:0 overruns:0 frame:0
TX packets:6028 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1193646 (1.1 MiB) TX bytes:1037252 (1012.9 KiB)
Interrupt:67 Base address:0x2400
eth0:1 Link encap:Ethernet HWaddr 00:0C:29:3C:42:0C
inet addr:192.168.40.201 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:67 Base address:0x2400
eth1 Link encap:Ethernet HWaddr 00:0C:29:3C:42:16
inet addr:10.10.17.221 Bcast:10.10.17.225 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30185 errors:0 dropped:0 overruns:0 frame:0
TX packets:37936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19988844 (19.0 MiB) TX bytes:35126056 (33.4 MiB)
Interrupt:51 Base address:0x2480
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52537 errors:0 dropped:0 overruns:0 frame:0
TX packets:52537 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4380651 (4.1 MiB) TX bytes:4380651 (4.1 MiB)
[root@rac2 ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:29:9C:CC:90
inet addr:192.168.40.103 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3665 errors:0 dropped:0 overruns:0 frame:0
TX packets:1489 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:563952 (550.7 KiB) TX bytes:243127 (237.4 KiB)
Interrupt:67 Base address:0x2400
eth0:1 Link encap:Ethernet HWaddr 00:0C:29:9C:CC:90
inet addr:192.168.40.202 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:67 Base address:0x2400
eth1 Link encap:Ethernet HWaddr 00:0C:29:9C:CC:9A
inet addr:10.10.17.222 Bcast:10.10.17.225 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38281 errors:0 dropped:0 overruns:0 frame:0
TX packets:29683 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35182270 (33.5 MiB) TX bytes:19905266 (18.9 MiB)
Interrupt:51 Base address:0x2480
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44387 errors:0 dropped:0 overruns:0 frame:0
TX packets:44387 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2299383 (2.1 MiB) TX bytes:2299383 (2.1 MiB)any idea ?
i try to run dbca on rac2 ,it seems OK
============
ASM instance still have problem,no ASM instance create in rac1
[oracle@rac2 bin]$ ./crs_stat -t
Name Type Target State Host
ora.mydb.db application ONLINE ONLINE rac1
ora....b1.inst application ONLINE OFFLINE
ora....b2.inst application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE OFFLINE
ora....C1.lsnr application ONLINE ONLINE rac1
ora....C2.lsnr application ONLINE OFFLINE => ora.rac1.LISTENER_RAC2.lsnr (i do not know where this resource come from ??)
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2and here is my dbca.rsp file content
[GENERAL]
RESPONSEFILE_VERSION = "10.0.0"
OPERATION_TYPE = "createDatabase"
[CREATEDATABASE]
GDBNAME = "mydb.us.oracle.com"
SID = "mydb"
NODELIST=rac1,rac2
TEMPLATENAME = "/home/oracle/mydb.dbc"
SYSPASSWORD = "Myss123456"
SYSTEMPASSWORD = "Myss123456"
EMCONFIGURATION = "NONE"
DBSNMPPASSWORD = "Myss123456"
STORAGETYPE=ASM
DISKLIST=/dev/oracleasm/disks/VOL1,/dev/oracleasm/disks/VOL2
DISKGROUPNAME=ORADG
REDUNDANCY=EXTRENAL
DISKSTRING="/dev/oracleasm/disks/*"
ASM_SYS_PASSWORD="Myss123456"
LISTENERS = "listener1 listener2"Edited by: 859340 on 2011-7-24 下午7:23
Edited by: 859340 on 2011-7-24 下午7:32
Edited by: 859340 on 2011-7-24 下午7:35
Edited by: 859340 on 2011-7-24 下午7:51Hi,
Use this tech note on MOS.
*Instance Crash on startup with ORA-27550: Target ID protocol check failed [ID 730516.1]*
Regards,
Levi Pereira -
Multiple ASM instances on a single node
Can i have multiple ASM instances on a single node? This is to have each instance supporting different environment dev,stage etc
Thanks
SannidhiI had been discussing the same issue with someone from Oracle. I asked for multiple ASMs on a server so that we could have seperate ASMs running for, say, 10g and 11g.
He explained that we should think of ASM as being the same as Veritas FileSystem. We don't run multiple instances of Veritas on our servers. On single Veritas "instance" (set of drivers) provides all the Veritas Fx mountpoints on the server. Similarly, there should be only 1 ASM instance on a server.
(substitute UFS or ZFS or CFS for Veritas in the above example and you still have only 1 filesystem manager on a server providing one type of filesystem, although you could have, say , UFS and Veritas co-exist ; just as you could have Veritas, ASM and Raw co-exist on a server).
Hemant K Chitale
Edited by: Hemant K Chitale on Sep 29, 2009 11:50 AM -
Multiple ASM Instances on single node
Hi All,
After going through some threads it seems to me that multiple ASM instances on a node is not supported and recommended by ORACLE but i coudn't find any ORACLE document or support matrix mentioning this. Can any one give me a pointer to this. Please correct me if i am wrong and Multiple ASM instances are fully supported by ORACLE.
Thanks,Multiple ASM instances on a single node are supported but not recommended due to several issues you could encounter during that kind of configuration.
Possible interraction between those instances for identification of each disk area usage,each disk area permissions , database instance to asm instance mapping and so on, could result in unwanted behaviour, as ASM is in some way just oracle's representation of LVM.
Intention is that any kind of distinction/separation of oracle related data under the ASM should be done through the disk groups.
So it seems it would be better to apply this kind of logic rather than doing suspiciously magical and rare configurations that could bring you similiary strange and unexpected problems. -
How does 1 ASM instance in a 10 node RAC cause all 10 ASM instance to hang
Linux RHEL4
11.2.0.1.0 GI
11.2.0.1.0 RDBMS
11.1.0.7.0 RDBMS
10.2.0.4.4 RDBMS
Yesterday we had one of the ASM instance on our 10-node cluster hang with a latch "ASM file allocation latch". Oracle support has stated we are hitting a bug with is fixed in the latest PSU.
What I am trying to understand is how a latch on one ASM instance caused all 10 ASM instances to hang?
Oracle Supports explanation still does not answer how all 10 ASM instance were affected other then the faulty code that the patch fixes. Bellow is info out of the SAR.
Data Guard Site:
================
ARC1 PID 21508 reports ORA-240 'control file enqueue held for more than 120 seconds' at Thu Oct 28 11:35:54 2010. This message means ARC1 PID 21508 was holding the enqueue past the maximum tine limit of 120 seconds.
Next ARC0 PID 17398 reports ORA-16146: 'control file enqueue unavailable' at Thu Oct 28 11:36:52 2010. This means ARC0 PID 17398 tried to access the controlfile and it could get the lock.
ARC1 PID 21508 is then killed at Thu Oct 28 11:49:57 2010.
Killing enqueue blocker (pid=21508) on resource CF-00000000-00000000 by (pid=23078) by killing session 5.3
We see that RSM has been restarted by Broker. This matches to the alert.log and messages showing RSM being restarted several time. i.e. RSM0 started with pid=84, OS id=27915
Since this started happening around 11:14, the problem may have really started then instead of w/ the CF enqueue block.
The primary appears to be shipping redo to the standby using asynchronous mode. Unless there was a gap, I do no know if ARC1 should have been doing any remote network I/O. Because a log switch to thread 1 sequence 5235 had just happened at 11:33am, I suspect it was a local disk I/O that was started at least. The ORA-240 is reported at 11:35, exactly 120 sec (or 2min) from this log switch. Notice also the entry to show the log thread 1 sequence 5234 was registered to the controlfile didn't happen yet.
ASM Side:
============
From the systemstate dump on ASM, multiple processes are waiting on 'ASM file allocation latch' and we are kind of stuck on stack:
ksedsts()+461<-ksdxfstk()+32<-ksdxcb()+1782<-sspuser()+112<-0000003218E0C5B0<-kfuhInsert()+175<-kffilCreate()+601<-kfnsUFG()+3691<-kfnsBackground()+4382<-kfnDispatch()+527<-opiodr()+1149<-ttcpip()+1251<-opitsk()+1633<-opiino()+958<-opiodr()+1149<-opidrv()+570<-sou2o()+103<-opimai_real()+133<-ssthrdmain()+214<-main()+201<-__libc_start_main()+219
This caused the hang on the ASM side and hence ASM was not responding to the database. The CF Enqueue issue on the database was a side effect of this.
This is a direct <BUG:9232266> which is a duplicate of <BUG:8974548>Thanks Murali,
I was little reluctent to open a tar since my experince says that its better to troubleshoot the issue yourself instead of spending time with the Oracle support :)
Well, I got some more information on this : the sql for the process id of ASM instance is :
Alter Diskgroup mount all;
It looks like it is unable to mount the diskgroup and get hunged at that point , is it due to the new disk added to the system or do we missed something after adding the new disk.
Also, the ASM process can not be killed from unix box while the ASM is down.
Will appreciate your time if we can move in any directions from here ..
Thanks ,
Ankur -
Error while starting ASM instance
when i was trying to startup my ASM database , i was getting the following error.
SQL> startup
ASM instance started
Total System Global Area 125829120 bytes
Fixed Size 2019000 bytes
Variable Size 98644296 bytes
ASM Cache 25165824 bytes
ORA-15032: not all alterations performed
ORA-15003: diskgroup "DBDATA" already mounted in another lock name space"
thnx in advanceHi,
i was not aware of ASM anymore, i can give some more details of this.
There was already an instance named +ASM in the host, which has the diskgroup 'DBDATA' created.
But now i have created a new instance and i was trying to connect to the same diskgroup.
I dont have permission of the root, but i have the oracle login.
could u pleaze help me in this regard...
i need to connect to the diskgroup, if i try to stop the other instance, i was not getting the error, but the diskgroup is getting dis-mounted.
thnx alot for the replies
Maybe you are looking for
-
Hi, all. How do you get information entered into iCal and Contacts on an equipped iPhone to push to an equipped MacPro? So far it's been a one way street Macpro to phone, and that's not what I was told it would be. I've been through all settings on b
-
Smartform with text containing html tags
I am reading from a table that contains html tags like <br> <menu> <LI type="disc">This is a line which contains html tags that goes over to 2nd line <LI type="disc"> This is also another line which contains html tags. and each line is stored in a di
-
Please help I need to rest the deleted history
Please help I need to rest the deleted history
-
Best Possible Approach : Service Broker or replication?
I have a business scenario. I have an application whose DB resides on SQL Server A. My application resides on SQL server B. Both SQL servers are on the same network. Server A has a table that is being constantly updated via a web application. We want
-
Hello, I have two interfaces, the first is a file to bapi interface and the other is a file to IDOC interface. How many products, software components, technical system and business system I need? Thanks.