Rename asm instance name
Hi gurus,
i just install RAC (11.2.0.3 both instances) into linux 5.2
I don't know why but node 1 has ASM2 and node 2 has ASM1. How can i change it to node 1 --> +asm1 and node 2 --> asm2?
I only found that document in google:
http://blog.csdn.net/tianlesoftware/article/details/6359415
but not sure if i should do "srvctl remove asm -n <node name>" is it ok?
another issue is that each instance has his own spfile in filesystem instead asm, how can i combine both?
thanks
hi mseberg,
i checked this web but i haven't the asm parameters
ASMn.instance_number
ASMn.asm_diskgroups
in the pfile.
i found a new information looking at google :
# crsctl modify res ora.asm -attr "GEN_USR_ORA_INST_NAME@SERVERNAME(hostname)"=ASM_SID
soon as why can try it i post if it worked.
If someone have any information or idea, he is welcome
Edited by: Me_101 on 05-nov-2012 8:33
Similar Messages
-
Hello,
ClusterWare 11.2.0.3 + RAC db same version .
I need to rename one of the ASM instances
How can this be done ?
the situation is as follows , I needed to take one of the server out of the cluster and then bring him back in .
when I have added him , he got a new ASM instance name (was ASM1 now it got ASM3 , 2 node rac) ,
thanks
S.Sahar wrote:
ClusterWare 11.2.0.3 + RAC db same version .
I need to rename one of the ASM instancesNo you don't. Supply reasons and justification for wanting to changes the SID of an ASM instance,
the situation is as follows , I needed to take one of the server out of the cluster and then bring him back in .
when I have added him , he got a new ASM instance name (was ASM1 now it got ASM3 , 2 node rac) ,So? What is wrong with an instance called +ASM3 in a 2 node RAC? How does that now reduce and impair cluster functionality? -
Is it possible to rename MSSQL Instance Name
Hi everyone,
I have two sql instances installed in two node failover cluster mode, i want to rename one of my sql instance, is it possible to change instance name ,
if possible please suggest the way how i can rename the instance name.Hello,
Please read the following article.
https://msdn.microsoft.com/en-us/library/ms178083.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
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 -
Two nodes ASM has same instance name
Hi,
I created a two nodes ASM grid , when the grid installation(11.2.0.1) finished it created the +ASM1 as the instance name for both my nodes.
I did setup the ORACLE_SID to +ASM1 and +ASM2 for the node1 and node2 respectively before the installation.
Whats wrong I am doing for the grid installation? Please suggest.
ThanksHi,
For installing the grid infrastructure for cluster, yes for sure you need a shareable disks, in case of failure of one node then your data (diskgroup) is accessible on the other node.
You can add a new "Oracle VM virtualBox" Machine that works like a SAN Server (iSCSI):
Step 1: On SAN Server VM.
- Add for example 6 virtual disks (2 disks for OCR & Voting, 2 disks for DATA and 2 disks for FRA if you want).
- Install tgtd package.
- Configure the tgtd
Step 2: Then, on both Nodes:
- Install the iSCSI initiator.
- Install Device-Mapper-Multipath
- Start up the multipathd
I had written an article how to set up an SAN Server and Device-mapper-multipath.
I hope this can help you.
Best regards -
Steps to rename RAC E-biz instance name.
Hi,
I have a RAC ORacle Apps R12 database on 2 nodes namele .36 server and .37 server.
I have changed this database name using metalink doc id Changing DBNAME and DBID of RAC Database Using NID [ID 464922.1]
where i have only changed the database name and not DBID
But after following above ID only DB name ot changed and not the instance name.Now i also want to change the instance name.
So,what steps should be followed to do it.
and after changing instance name,do we need to run autoconfig on database and application..
Please help as this is urgent.
Regards,
Clover support.Hi;
Please see:
How to Rename Database/Change DB_NAME or ORACLE_SID/Instance Name [ID 15390.1]
Also see:
Rename RAC-Instances in 11.2.0.2
Regard
Helios -
How to rename voting disk name in oracle clusterware 11gr2
Hi:
I need change the name of voting disk at os level, original name is /dev/rhdisk20, I need rename to /dev/asmocr_vote1 (unix AIX), the voting disk is locate in ASM diskgroup +OCR.
Initial voting disk was: /dev/rhdisk20 in diskgroup +OCR
#(root) /oracle/GRID/11203/bin->./crsctl query css votedisk
## STATE File Universal Id File Name Disk group
1. ONLINE a2e6bb7e57044fcabf0d97f40357da18 (/dev/rhdisk20) [OCR]
I createt a new alias disk name:
#mknod /dev/asmocr_vote01 c 18 10
# /dev->ls -lrt|grep "18, 10"
brw------- 1 root system 18, 10 Aug 27 13:15 hdisk20
crw-rw---- 1 oracle asmadmin 18, 10 Sep 6 16:57 rhdisk20 --> Old name
crw-rw---- 1 oracle asmadmin 18, 10 Sep 6 16:59 asmocr_vote01 ---> alias to old name, the new name.
After change votingn disk unix name, the cluster doesn't start, voting disk is not found by CRSSD.
-STEPS to start clusterware after changing the OS voting disk name are:
1- stop al nodes:
#crsctl stop crs -f (every node)
Work only in one node (node1, +ASM1 instance):
2- Change asm_diskstring in init+ASM1.ora:
asm_diskstring = /dev/asm*
3- change disk unix permiss:
# /dev->ls -lrt|grep "18, 10"
brw------- 1 root system 18, 10 Aug 27 13:15 hdisk20
crw-rw---- 1 root system 18, 10 Sep 6 16:59 asmocr_vote01
crw-rw---- 1 oracle asmadmin 18, 10 Sep 6 17:37 rhdisk20
#(root) /dev->chown oracle:asmadmin asmocr_vote01
#(root) /dev->chown root:system rhdisk20
#(root) /dev->ls -lrt|grep "18, 10"
brw------- 1 root system 18, 10 Aug 27 13:15 hdisk20
crw-rw---- 1 oracle asmadmin 18, 10 Sep 6 16:59 asmocr_vote01 --> new name only have oracle:oinstall
crw-rw---- 1 root system 18, 10 Sep 6 17:37 rhdisk20
4-start node in exclusive mode:
# (root) /oracle/GRID/11203/bin->./crsctl start crs -excl
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.mdnsd' on 'orarac3intg'
CRS-2676: Start of 'ora.mdnsd' on 'orarac3intg' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'orarac3intg'
CRS-2676: Start of 'ora.gpnpd' on 'orarac3intg' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'orarac3intg'
CRS-2672: Attempting to start 'ora.gipcd' on 'orarac3intg'
CRS-2676: Start of 'ora.cssdmonitor' on 'orarac3intg' succeeded
CRS-2676: Start of 'ora.gipcd' on 'orarac3intg' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'orarac3intg'
CRS-2672: Attempting to start 'ora.diskmon' on 'orarac3intg'
CRS-2676: Start of 'ora.diskmon' on 'orarac3intg' succeeded
CRS-2676: Start of 'ora.cssd' on 'orarac3intg' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'orarac3intg'
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'orarac3intg'
CRS-2679: Attempting to clean 'ora.cluster_interconnect.haip' on 'orarac3intg'
CRS-2681: Clean of 'ora.cluster_interconnect.haip' on 'orarac3intg' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'orarac3intg'
CRS-2676: Start of 'ora.ctssd' on 'orarac3intg' succeeded
CRS-2676: Start of 'ora.drivers.acfs' on 'orarac3intg' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'orarac3intg' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'orarac3intg'
CRS-2676: Start of 'ora.asm' on 'orarac3intg' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'orarac3intg'
CRS-2676: Start of 'ora.crsd' on 'orarac3intg' succeeded
5-check votedisk:
# (root) /oracle/GRID/11203/bin->./crsctl query css votedisk
Located 0 voting disk(s).
--> NO VOTING DISK found
6- mount diskgroup of voting disk (+OCR in this case) in +ASM1 instance:
SQL> ALTER DISKGROUP OCR mount;
7-add votedisk belongs diskgroup +OCR:
# (root) /oracle/GRID/11203/bin->./crsctl replace votedisk +OCR
Successful addition of voting disk 86d8b12b1c294f5ebfa66f7f482f41ec.
Successfully replaced voting disk group with +OCR.
CRS-4266: Voting file(s) successfully replaced
#(root) /oracle/GRID/11203/bin->./crsctl query css votedisk
## STATE File Universal Id File Name Disk group
1. ONLINE 86d8b12b1c294f5ebfa66f7f482f41ec (/dev/asmocr_vote01) [OCR]
Located 1 voting disk(s).
8-stop node:
#(root) /oracle/GRID/11203/bin->./crsctl stop crs –f
8-start node:
#(root) /oracle/GRID/11203/bin->./crsctl start crs
10- check:
# (root) /oracle/GRID/11203/bin->./crsctl query css votedisk
## STATE File Universal Id File Name Disk group
1. ONLINE 86d8b12b1c294f5ebfa66f7f482f41ec (/dev/asmocr_vote01) [OCR]
Vicente.
HP.
Edited by: 957649 on 07-sep-2012 13:11There is no facilty to rename a column name in Oracle 8i. This is possible from Oracle 9.2 version onwards.
For you task one example given below.
Example:-
Already existed table is ITEMS
columns in ITEMS are ITID, ITEMNAME.
But instead of ITID I want ITEMID.
Solution:-
step 1 :- create table items_dup
as select itid itemid, itemname from items;
step 2 :- drop table items;
step 3 :- rename items_dup to items;
Result:-
ITEMS table contains columns ITEMID, ITEMNAME -
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 -
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 -
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 -
Asm, instance and service failing to start 10g rac redhat el5
hi,
i have been following a how to guide from oracle's website about implementing a 10g rac system using el5 (http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html), by the end of the installation and setup I had both the nodes up and running and all services were up and running. Then under the root account I rebooted one of the nodes. now when I check the status of the services I get this:
[oracle@rac01 ~]$ crs_stat -t
Name Type Target State Host
ora.orcl.db application ONLINE ONLINE rac01
ora...._taf.cs application ONLINE ONLINE rac02
ora....cl1.srv application ONLINE OFFLINE
ora....cl2.srv application ONLINE ONLINE rac02
ora....l1.inst application OFFLINE OFFLINE
ora....l2.inst application ONLINE ONLINE rac02
ora....SM1.asm application OFFLINE OFFLINE
ora....01.lsnr application ONLINE ONLINE rac01
ora.rac01.gsd application ONLINE ONLINE rac01
ora.rac01.ons application ONLINE ONLINE rac01
ora.rac01.vip application ONLINE ONLINE rac01
ora....SM2.asm application ONLINE ONLINE rac02
ora....02.lsnr application ONLINE ONLINE rac02
ora.rac02.gsd application ONLINE ONLINE rac02
ora.rac02.ons application ONLINE ONLINE rac02
ora.rac02.vip application ONLINE ONLINE rac02though I can start the asm instance manually by
srvctl start asm -n rac01and it starts but the instance and service on the rebooted node still wont start. is there a log file which tells me what the error is when it tries to start the instance? what can I do to ensure that if a node is rebooted that all of the services get started correctly and the node automatically rejoins the cluster (i thought I had set all of this from the instructions of the guide I was following).
Regards
Martin.Check ASM resource:
crs_stat -p "resource_name
$ crs_stat | grep NAME\= | grep ASM1
NAME=ora.rac01.ASM1.asm
$ crs_stat -p ora.rac01.ASM1.asm
NAME=ora.rac01.ASM1.asm
TYPE=application
ACTIVE_PLACEMENT=0
*AUTO_START*=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for ASM instance
What do you see AUTO_START?
if 1 = auto start:
or check error ASM while start... at ASM_HOME/log/rac01/racg/*
If AUTO_START=2
Oracle Clusterware is configured to start the VIP, listener, instance, ASM, database services and other resources during system boot. Starting with 10.1.0.4, it is possible to modify some resources to have their profile parameter AUTO_START set to the value 2. This means that after node reboot, or when Oracle Clusterware is started, resources with AUTO_START=2 will need to be started manually via srvctl. Please work with Oracle Support if you need to modify this attribute.
If AUTO_START=2 and need to change to 1:
Example:
$ crs_stat -p ora.rac01.ASM1.asm
NAME=ora.rac01.ASM1.asm
TYPE=application
ACTIVE_PLACEMENT=0
AUTO_START=2
$ crs_stat -p ora.rac01.ASM1.asm > ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm
$ crs_unregister ora.rac01.ASM1.asm
$ crs_stat -p ora.rac01.ASM1.asm
CRS-0210: Could not find resource 'ora.rac01.ASM1.asm
$ vi ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm.cap
AUTO_START=2
to
AUTO_START=1
$ crs_register ora.rac01.ASM1.asm
$ crs_stat -p ora.rac01.ASM1.asm
NAME=ora.rac01.ASM1.asm
TYPE=application
*AUTO_START=1*
Edited by: Surachart Opun (HunterX) on Jul 31, 2009 1:06 PM -
How to clean the asm instance from RAC manually
for some reason i run crs_unregister asm and crs_unregister lsnr to remove the asm and listener resource from crs yesterday
and today i want rebuild the asm instance ,so i run dbca again ,but error
Error when starting ASM instance on node rac1: PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [PRKS-1011 : Failed to check status of ASM instance "+ASM1" on node "rac1", [CRS-0210: Could not find resource ora.rac1.ASM1.asm.]]
[PRKS-1011 : Failed to check status of ASM instance "+ASM1" on node "rac1", [CRS-0210: Could not find resource ora.rac1.ASM1.asm.]]
DBCA could not startup the ASM instance on node: rac1. Manual intervention is required to recreate these instances. If you choose to proceed, ASM diskgroups will not be mounted on non-started remote ASM instances. Do you want to proceed with ASM diskgroup management?
and problem is how to do this "Manual intervention is required to recreate these instances", I already do 1, dd the asm disk, 2, remove the +ASM directory from $ORACLE_BASE, 3,clean ASM info from /etc/oratab, so what i can do next ?
i try restart crs ,now the error info is different !!
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/silent6.log"
for further details.
[oracle@rac1 ~]$ cat /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/silent6.log
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_+ASM1'
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_+ASM1'
Edited by: 859340 on 2011-7-8 下午11:01Hi,
Can you post the dbca log?
and do you share the asm home with oracle home? if it is separated then add LISTENER_+ASM1 in tnsnames in ASMHOME, otherwise add it in ORACLEHOME
Cheers -
ORA-15077: could not locate ASM instance serving a required diskgroup
My cluster is gone...
due to restart of the network, the cluster fenced node2 from my configuration. Since the evicting, the cluster is not starting any more.
ocrcheck
PROT-602: Failed to retrieve data from the cluster registry
PROC-26: Error while accessing the physical storage
ORA-15077: could not locate ASM instance serving a required diskgroup
The OCR Disks are within ASM.
Oracleasm does see the disks
crsctl query css votedisk is also giving the correct information about the votingsdisks which are also in the same OCR diskgroup
crsctl query css votedisk
## STATE File Universal Id File Name Disk group
1. ONLINE 0eb6aaa85e5c4fd6bf9d0481cfd7d517 (ORCL:VOTE1) [OCR]
2. ONLINE 5a66449fbada4f34bf0c3be4574f03bc (ORCL:VOTE2) [OCR]
3. ONLINE 76ad295ebc054f07bfea124fb08da432 (ORCL:VOTE3) [OCR]
Located 3 voting disk(s).
Any ideas why the cluster is not starting anymore ? I am afraid of restarting node 1...
chrisReally would help to know what operating system you are using...
When you set up the disks for use with ASM, did you stamp them with ASMLIB? If not, did you configure device persistance with udev? Without using one of these methods, the disk identification can change when a node is restarted, and ASM is then unable to locate the disks. -
Unable to recreate ASM instance in 10g rac (2 node )
Hi,
I have successfully installed the clusterware and database software.during ASM installation it got failed, i i have cleaned up ASM setup.
Now i am not able to create asm instance it show following message
PRKS-1011:Failed to check status of ASM instance "+ASM1" on node "rac1",[
CRS-0210:Could not find resource ora.rac1.ASM1.asm
here are few output of commands and activity done
[oracle@rac1 ~]$ crs_stat -t
Name Type Target State Host
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....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 rac2
[oracle@rac1 ~]$
[oracle@rac1 ~]$ crs_profile -validate ora.rac1.ASM1.asm
CRS-0181: Cannot access the resource profile '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac1.ASM1.asm.cap'.
CRS-0180: Resource '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac1.ASM1.asm.cap' validation failed.
[oracle@rac1 ~]$ crs_profile -validate ora.rac2.ASM2.asm
CRS-0181: Cannot access the resource profile '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac2.ASM2.asm.cap'.
CRS-0180: Resource '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac2.ASM2.asm.cap' validation failed.
[oracle@rac1 ~]$
[oracle@rac1 ~]$
[oracle@rac1 ~]$ crs_unregister ora.rac1.ASM1.asm
CRS-0210: Could not find resource 'ora.rac1.ASM1.asm'.
[oracle@rac1 ~]$ crs_unregister ora.rac2.ASM2.asm
CRS-0210: Could not find resource 'ora.rac2.ASM2.asm'.
I Have deleted following files
rm -Rf $ORACLE_BASE/admin/+ASM
rm -Rf $ORACLE_HOME/dbs/*ASM*
[oracle@rac1 ~]$ rm -Rf $ORACLE_HOME/dbs/*ASM*
[oracle@rac1 ~]$ rm -Rf $ORACLE_BASE/admin/+ASM
[oracle@rac1 ~]$ ssh rac2
Last login: Thu Feb 23 16:31:26 2012 from rac1.mylinux.localdomain
[oracle@rac2 ~]$ rm -Rf $ORACLE_BASE/admin/+ASM
[oracle@rac2 ~]$ rm -Rf $ORACLE_HOME/dbs/*ASM*
dbca -silent -deleteASM -nodelist rac1,rac2 -----AS per oracle DOC
Also removed entries from oratab file for ASM instances.
Dbca error message during asm instance creation for both node
PRKS-1011:Failed to check status of ASM instance "+ASM1" on node "rac1",[
CRS-0210:Could not find resource ora.rac1.ASM1.asm
PRKS-1011:Failed to check status of ASM instance "+ASM2" on node "rac2",[
CRS-0210:Could not find resource ora.rac2.ASM2.asm
Did i forget to remove entries for ASM instance somewhere.
Please help me.Hi,
I believe your OCR is corrupted....so restore the OCR from most recent backup (before error ).
Using crs_* commands on resources with the prefix ora.* (resources provided by Oracle) remains unsupported.
After restore OCR... remove ASM with "srvctl" command:
http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm#CHDBDDAD
Regards,
Levi Pereira -
Dbca fails cuz ASM instance startup fails. Unable to start both instances.
Following Jeffrey Hunter guide. Installing 2 node RAC on Oracle EL5 w/ 11g
All cluvfy operations successful up to this point of running dbca from node1 (lin1).
Errorwhen starting ASM instance on node lin2: PRKS-1009: Failed to start ASM instance "+ASM2 on node "lin2"...[CRS-0233: Resource or relatives are currently involved with another operation.]
[root@lin1 bin]# ./crs_stat -t
Name Type Target State Host
ora....SM1.asm application ONLINE ONLINE lin1
ora....N1.lsnr application ONLINE ONLINE lin1
ora.lin1.gsd application ONLINE ONLINE lin1
ora.lin1.ons application ONLINE ONLINE lin1
ora.lin1.vip application ONLINE ONLINE lin1
ora....SM2.asm application ONLINE OFFLINE
ora....N2.lsnr application ONLINE ONLINE lin2
ora.lin2.gsd application ONLINE ONLINE lin2
ora.lin2.ons application ONLINE ONLINE lin2
ora.lin2.vip application ONLINE ONLINE lin2
[root@lin1 bin]# ./crs_start ora.lin2.ASM2.asm
Attempting to start `ora.lin2.ASM2.asm` on member `lin2`
[root@lin1 bin]# pwd
/u01/app/crs/bin
[root@lin1 bin]# ./crs_start ora.lin2.ASM2.asm
Attempting to start `ora.lin2.ASM2.asm` on member `lin2`
Start of `ora.lin2.ASM2.asm` on member `lin2` failed.
lin1 : CRS-1019: Resource ora.lin2.ASM2.asm (application) cannot run on lin1
CRS-0215: Could not start resource 'ora.lin2.ASM2.asm'.
[root@lin1 bin]# ./crs_stop ora.lin1.ASM1.asm
Attempting to stop `ora.lin1.ASM1.asm` on member `lin1`
Stop of `ora.lin1.ASM1.asm` on member `lin1` succeeded.
[root@lin1 bin]# ./crs_start ora.lin2.ASM2.asm
Attempting to start `ora.lin2.ASM2.asm` on member `lin2`
Start of `ora.lin2.ASM2.asm` on member `lin2` succeeded.
[root@lin1 bin]# ./crs_stat -t
Name Type Target State Host
ora....SM1.asm application OFFLINE OFFLINE
ora....N1.lsnr application ONLINE ONLINE lin1
ora.lin1.gsd application ONLINE ONLINE lin1
ora.lin1.ons application ONLINE ONLINE lin1
ora.lin1.vip application ONLINE ONLINE lin1
ora....SM2.asm application ONLINE ONLINE lin2
ora....N2.lsnr application ONLINE ONLINE lin2
ora.lin2.gsd application ONLINE ONLINE lin2
ora.lin2.ons application ONLINE ONLINE lin2
ora.lin2.vip application ONLINE ONLINE lin2
...and so forth. I can't get both ASM instances to run concurrently. The dbca complains about whichever one is OFFLINE. When I try to start the OFFLINE instance I get something like:
[root@lin1 bin]# ./crs_start ora.lin2.ASM2.asm
Attempting to start `ora.lin2.ASM2.asm` on member `lin2`
Start of `ora.lin2.ASM2.asm` on member `lin2` failed.
lin1 : CRS-1019: Resource ora.lin2.ASM2.asm (application) cannot run on lin1
CRS-0215: Could not start resource 'ora.lin2.ASM2.asm'.
Any assistance very much appreciated. - thx, yomickthanks for the response...vip seems to be fine...
[oracle@lin1 bin]$ more /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.50 shiva
# Public Network - (eth0)
192.168.1.100 lin1
192.168.1.101 lin2
# Private Interconnect - (eth1)
192.168.2.100 lin1-priv
192.168.2.101 lin2-priv
# Public Virtual IP (VIP) - (eth0)
192.168.1.200 lin1-vip
192.168.1.201 lin2-vip
# Private Storage Network for Openfiler - (eth1)
192.168.1.195 openfiler
192.168.2.195 openfiler-priv
[2]+ Exit 255 dbca
[oracle@lin1 bin]$ ping 192.168.1.200
PING 192.168.1.200 (192.168.1.200) 56(84) bytes of data.
64 bytes from 192.168.1.200: icmp_seq=1 ttl=64 time=0.100 ms
64 bytes from 192.168.1.200: icmp_seq=2 ttl=64 time=0.092 ms
--- 192.168.1.200 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.092/0.096/0.100/0.004 ms
[oracle@lin1 bin]$ ping 192.168.1.201
PING 192.168.1.201 (192.168.1.201) 56(84) bytes of data.
64 bytes from 192.168.1.201: icmp_seq=1 ttl=64 time=3.30 ms
64 bytes from 192.168.1.201: icmp_seq=2 ttl=64 time=0.236 ms
64 bytes from 192.168.1.201: icmp_seq=3 ttl=64 time=0.297 ms
--- 192.168.1.201 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.236/1.279/3.306/1.433 ms
[oracle@lin1 bin]$ crs_stat -t
Name Type Target State Host
ora....SM1.asm application ONLINE ONLINE lin1
ora....N1.lsnr application ONLINE ONLINE lin1
ora.lin1.gsd application ONLINE ONLINE lin1
ora.lin1.ons application ONLINE ONLINE lin1
ora.lin1.vip application ONLINE ONLINE lin1
ora....SM2.asm application ONLINE OFFLINE
ora....N2.lsnr application ONLINE ONLINE lin2
ora.lin2.gsd application ONLINE ONLINE lin2
ora.lin2.ons application ONLINE ONLINE lin2
ora.lin2.vip application ONLINE ONLINE lin2
[oracle@lin1 bin]$
Maybe you are looking for
-
HT4528 Can two phones share the same Apple ID or will this cause confusion?
Can an I4s and an I5 share the same apple ID or does this cause sonfusion?
-
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-
-
TS2610 Can png menu overlays glitch in chroma button colors?
I created a png overlay with blue dots for buttons. I created my buttons around the dots only. Next to the dots are text. When I chroma out the blue and change its activation color, all of the text begins to highlights in that same color. It looks hi
-
File doesn't sound the same when I return to it
I worked hard on a mix of a tune back in December. I have a bounce from that session that I listen to as a reference, but when I open the Logic File, some regions don't play, automation is off and all sorts of things are not the same. It's like the w
-
Modify window title of popup at runtime
We have a generic popup that allows the user to scroll through a series of instructions. The instructions vary based on the test. Is there a way, at Runtime, to change the popup's window title (based on the VI's name, or read from a config file)?