ASM instance fail CRS-1028
Dear All
In progressing DBCA then 'Fail to start ASM instance'. CRS-1028 Dependency nalysis fail. because of CRS-0223. How can i solve that
Dear All
In progressing DBCA then 'Fail to start ASM instance'. CRS-1028 Dependency nalysis fail. because of CRS-0223. How can i solve that
Similar Messages
-
Failed to start ASM instance "+ASM1" on node "rac1"
I have a problem, because when I start RAC and write command crs_stat -t
column State have 2 wrong parameter..
Name Type Target State Host
ora.....CRM.cs application ONLINE ONLINE rac2
ora....db1.srv application ONLINE ONLINE rac2
ora.devdb.db application ONLINE ONLINE rac2
ora....b1.inst application ONLINE OFFLINE
ora....b2.inst application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE UNKNOWN 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 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 rac2
When I try
srvctl start asm -n rac1 then is wrong:
PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.rac1.ASM1.asm' has placement error.]]
[PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.rac1.ASM1.asm' has placement error.]]
and when I try start instance manualy then
PRKP-1001 : Error starting instance devdb1 on node rac1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.devdb.devdb1.inst' has placement error.
:( Where is my problem??hi, i have exactly the same error
but your suggestions of remove an recreate the asm resource not working
./srvctl remove asm -n dbs2 -i +ASM2 -f
PRKS-1023 : Failed to remove CRS resource for ASM instance "+ASM2" on node "dbs2", [CRS-0214: Could not unregister resource 'ora.dbs2.ASM2.asm'.]
./srvctl start asm -n dbs2
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "dbs2", [PRKS-1009 : Failed to start ASM instance "+ASM2" on node "dbs2", [CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.dbs2.ASM2.asm' has placement error.]]
[PRKS-1009 : Failed to start ASM instance "+ASM2" on node "dbs2", [CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.dbs2.ASM2.asm' has placement error.]]
how do i proceed?
iam using solaris 10 with t2000 and t5210 server and oracle 10.2.0.4 -
Rconfig fails for migrate single ASM instance to Oracle RAC 11.2.0.3
We completed the following steps thus far to migrate single instance with ASM 11.2.0.3 on Oracle Linux to RAC:
1. Install RAC CRS 11.2.0.3 in GRID_HOME
2. Install RAC database 11.2.0.3 software in new ORACLE_HOME
3. Added ASM diskgroups to two node ASM instances
4. run rconfig from target RAC ORACLE_HOME
It fails on:
[RACConvertStep.execute:193] STEP Result=Oracle home is not a cluster database home. Make sure that oracle binary is linked with RAC option and the Oracle home entry in Oracle inventory is updated with cluster node list.
From rconfig:
$ rconfig convert.xml
<?xml version="1.0" ?>
<RConfig version="1.1" >
<ConvertToRAC>
<Convert>
<Response>
<Result code="1" >
Operation Failed
</Result>
<ErrorDetails>
Oracle home is not a cluster database home. Make sure that oracle binary is linked with RAC option and the Oracle home entry in Oracle inventory is updated with cluster node list.
</ErrorDetails>
</Response>
</Convert>
</ConvertToRAC></RConfig>
5. the orainventory inventory xml file has:
6. We have this:
Source database
ORACLE_BASE=/oracle
ORACLE_HOME=/oracle/db/112
3- target database configuration
ORACLE_BASE=/oracle/db
ORACLE_HOME=/oracle/db/11.2.0.3
4- RAC GRID_HOME
ORACLE_BASE=/oracle
GRID_HOME=/oracle/11.2.0/grid
Has anyone seen this issue before with migrating with rconfig and if so, how did you resolve it?good to know. thanks for updating the thread with what was wrong, this will help the community if someone faces this issue.
-
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]$ -
One node is up but when we start the crs on node 2 then ASM instance killed.
Hi Friends
i am facing below strange problem
one node is up but when we start the crs on node 2 then ASM instance killed. i found that one ip 169.254.98.19 is binding with private interconnect IP rathter than assigned IP.
Please help meHi Pradeep ,
Oracle S/W verstion is 11.2.0.3. Actually , we start the CRS and DB on node 1 but when we try to start on node 2 , getting below error.
[gpnpd(18284748)]CRS-2328:GPNPD started on node ggnetp04.
2013-09-03 19:48:29.162
[cssd(17694820)]CRS-1713:CSSD daemon is started in clustered mode
2013-09-03 19:48:30.557
[ohasd(13697160)]CRS-2767:Resource state recovery not attempted for 'ora.diskmon' as its target state is OFFLINE
2013-09-03 19:48:41.013
[cssd(17694820)]CRS-1707:Lease acquisition for node ggnetp04 number 2 completed
2013-09-03 19:48:42.490
[cssd(17694820)]CRS-1605:CSSD voting file is online: /dev/rhdiskpower0; details in /opt/app/11.2.0.3/grid/log/ggnetp04/cssd/ocssd.log.
2013-09-03 19:48:45.483
[cssd(17694820)]CRS-1601:CSSD Reconfiguration complete. Active nodes are ggnetp03 ggnetp04 .
2013-09-03 19:48:47.257
[ctssd(18022612)]CRS-2403:The Cluster Time Synchronization Service on host ggnetp04 is in observer mode.
2013-09-03 19:48:47.632
[ctssd(18022612)]CRS-2407:The new Cluster Time Synchronization Service reference node is host ggnetp03.
2013-09-03 19:48:47.633
[ctssd(18022612)]CRS-2401:The Cluster Time Synchronization Service started on host ggnetp04.
[client(16056466)]CRS-10001:03-Sep-13 19:48 ACFS-9391: Checking for existing ADVM/ACFS installation.
[client(16056468)]CRS-10001:03-Sep-13 19:48 ACFS-9392: Validating ADVM/ACFS installation files for operating system.
[client(16056470)]CRS-10001:03-Sep-13 19:48 ACFS-9393: Verifying ASM Administrator setup.
[client(16056472)]CRS-10001:03-Sep-13 19:48 ACFS-9308: Loading installed ADVM/ACFS drivers.
[client(16056478)]CRS-10001:03-Sep-13 19:48 ACFS-9154: Loading 'oracleadvm.ext' driver.
[client(16056486)]CRS-10001:03-Sep-13 19:48 ACFS-9154: Loading 'oracleacfs.ext' driver.
[client(16056494)]CRS-10001:03-Sep-13 19:48 ACFS-9327: Verifying ADVM/ACFS devices.
[client(16056498)]CRS-10001:03-Sep-13 19:48 ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'.
[client(16056504)]CRS-10001:03-Sep-13 19:48 ACFS-9156: Detecting control device '/dev/ofsctl'.
[client(16056508)]CRS-10001:03-Sep-13 19:48 ACFS-9322: completed
2013-09-03 19:48:59.667
[ctssd(18022612)]CRS-2409:The clock on host ggnetp04 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.
2013-09-03 19:50:53.936
[cssd(17694820)]CRS-1662:Member kill requested by node ggnetp03 for member number 1, group DB+ASM
2013-09-03 19:50:57.493
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:50:57.494
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log"
2013-09-03 19:50:58.828
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:50:58.943
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:50:59.235
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:53:00.252
[cssd(17694820)]CRS-1662:Member kill requested by node ggnetp03 for member number 1, group DB+ASM
2013-09-03 19:53:03.101
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:53:03.102
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log"
2013-09-03 19:53:05.430
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:53:05.539
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:53:05.815
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:55:07.436
[cssd(17694820)]CRS-1662:Member kill requested by node ggnetp03 for member number 1, group DB+ASM
2013-09-03 19:55:09.673
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:55:09.674
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log"
2013-09-03 19:55:12.007
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:55:12.115
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:55:12.389
[/opt/app/11.2.0.3/grid/bin/oraagent.bin(16777322)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/opt/app/11.2.0.3/grid/log/ggnetp04/agent/ohasd/oraagent_grid/oraagent_grid.log".
2013-09-03 19:55:12.405
[ohasd(13697160)]CRS-2807:Resource 'ora.asm' failed to start automatically.
2013-09-03 19:55:12.405
[ohasd(13697160)]CRS-2807:Resource 'ora.crsd' failed to start automatically.
2013-09-03 20:23:32.040
[ctssd(18022612)]CRS-2409:The clock on host ggnetp04 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode. -
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 -
I have been trying to install 10gRAC on a two virtual node cluster. I installed clusterware and it was successful. Before I started ASM install:
[oracle@rac1 bin]$ ./crs_stat -t
Name Type Target State Host
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
[oracle@rac1 logs]$ /u01/crs/oracle/product/10.2.0/crs/bin/crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[oracle@rac1 logs]$ ps -ef|grep d.bin
root 3795 1 0 13:57 ? 00:00:35 /u01/crs/oracle/product/10.2.0/crs/bin/crsd.bin reboot
oracle 4966 3793 0 13:59 ? 00:00:06 /u01/crs/oracle/product/10.2.0/crs/bin/evmd.bin
oracle 5082 5059 0 13:59 ? 00:01:06 /u01/crs/oracle/product/10.2.0/crs/bin/ocssd.bin
oracle 30520 4813 0 16:23 pts/3 00:00:00 grep d.bin
During thhe ASM install here is what I got:
WARNING: Error while copying directory /u01/app/oracle/product/10.2.0/db_1 with exclude file list 'null' to nodes 'rac2'. [PRKC-1073 : Failed to transfer directory "/u01/app/oracle/product/10.2.0/db_1" to any of the given nodes "rac2 ".
Error on node rac2:Read from remote host rac2: Connection reset by peer]
Refer to '/u01/app/oracle/oraInventory/logs/installActions2009-04-18_01-30-26PM.log' for details. You may fix the errors on the required remote nodes. Refer to the install guide for error recovery. Click 'Yes' if you want to proceed. Click 'No' to exit the install. Do you want to continue?
INFO: User Selected: Yes/OK
It appears to me as though the installer was not able to copy over the "/u01/app/oracle/product/10.2.0/db_1" directory to the rac2 node. I do not see any reason for that, I have setup ssh user equivalence for both oracle and root users, ssh and scp seem to work both ways. Permissions should not be an issue on one node and not the other as I replicated the permissions.
I continued the installation and ASM is working fine on rac1 node and not on the second node. I tried using the dbca to setup the ASM on the second node and it errors out with a "crs-0223 resource placement error". Here is what I did next:
[oracle@rac1 bin]$ ./srvctl status asm -n rac1
ASM instance +ASM1 is running on node rac1.
[oracle@rac1 bin]$ ./srvctl status asm -n rac2
ASM instance +ASM2 is not running on node rac2.
[oracle@rac1 bin]$ ./crs_sta
crs_start crs_start.bin crs_stat crs_stat.bin
[oracle@rac1 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 UNKNOWN rac2
ora....C2.lsnr application ONLINE UNKNOWN rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
[oracle@rac1 bin]$ ./crs_start ora.rac2.ASM2.asm
CRS-1028: Dependency analysis failed because of:
'Resource in UNKNOWN state: ora.rac2.ASM2.asm'
CRS-0223: Resource 'ora.rac2.ASM2.asm' has placement error.
I would like to get the ASM instance extended to the second node (rac2) and ofcourse, continue with the database instance creation. How can I accomplish this?
Thanks!Hi orafun,
this message:
+WARNING: Error while copying directory /u01/app/oracle/product/10.2.0/db_1 with exclude file list 'null' to nodes 'rac2'. [PRKC-1073 : Failed to transfer directory "/u01/app/oracle/product/10.2.0/db_1" to any of the given nodes "rac2 ".+
+Error on node rac2:Read from remote host rac2: Connection reset by peer]+
Refer to '/u01/app/oracle/oraInventory/logs/installActions2009-04-18_01-30-26PM.log' for details. You may fix the errors on the required remote nodes. Refer to the install guide for error recovery. Click 'Yes' if you want to proceed. Click 'No' to exit the install. Do you want to continue?
INFO: User Selected: Yes/OK
Tells you that the Oracle Home could not be copied onto the remote node. The logs mentioned might tell you more, but this is the reason why ASM cannot be started on the other node - there is no software that could be used to start an ASM instance. Now you said:
"+It appears to me as though the installer was not able to copy over the "/u01/app/oracle/product/10.2.0/db_1" directory to the rac2 node. I do not see any reason for that, I have setup ssh user equivalence for both oracle and root users, ssh and scp seem to work both ways. Permissions should not be an issue on one node and not the other as I replicated the permissions+."
My question would be: What do you try to achieve? IF it is your only interest to "get it done and over with", then you can TAR up the Oracle Database home from which you want to run ASM and un-TAR on the remote node. Given that the paths are all correct, the registration already took place and hence, you can try starting the ASM instance on node2. IF you want to know the reason for the issue, further investigation and more information would be required.
Hope that helps. Thanks,
Markus -
Error at ASM instance creation - PRKS-1009
Hello all,
I am in the process of creating a 2 Node RAC database, on VMWare.
OS - RHEL 4 Oracle 10g
I have successfully installed the cluster. After this i was in the process of installing Oracle 10g Binaries.. which installed almost fine, until the time when i had to setup ASM storage options in the DBCA.
Unfortunately, my bad luck the computer rebooted after an automatic (windows update) *Remember i am using RHEL on VMWare server).
I had to unintall the binaries using the Oracle GUI... after that i removed all the files from db_1 folder.
I re-initiated the process of installing the db binaries, until the time i came to the asm option, there i got a prompt asking me to re-create the asm instance, which for which i clicked ok... here.. i got an error.
PRKS-1009 Failed to start ASM Instance "+ASM2" on node "rac2".
[CRS-1028: Dependency analysis failed because of.
[CRS-0233: Resource 'ora.rac2.ASM2.asm' has placement error.
There is one more issue i have, i am unable to use crs_stat command, each time it throws an error saying crs_stat command not found!!
Please guide...Hello all,
I have managed to solve this problem.
The asm instances were running in the background even after uninstalling the binaries.
I removed the asm instances.
before that i stopped the asm instances.
/crs_stat -t
Stop instance name
crs_stop <output from crs_stat> asm 1
crs_stop <output from crs_stat> asm 2
srvctl remove asm -n rac1 -i +ASM1 -f
srvctl remove asm -n rac2 -i +ASM1 -f
then re-create the asm instance
Thanks!! -
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 -
Unable to create ASM instance in Sol 10 with oracle 10g
Hi
I am trying to create ASM instance in oracle 10g, getting an error will try to add localconfig add command
"bash-3.00# /export/home/oracle/oracle/product/10.2.0/db_1/bin/localconfig add reset
Failure at scls_scr_create with code 1
Internal Error Information:
Category: 1234
Operation: scls_scr_create
Location: mkdir
Other: Unable to make user dir
Dep: 2
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
/etc/init.d/init.cssd: /var/opt/oracle/scls_scr/Sun/root/cssrun: cannot create
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.
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started "
initcssd has been installed and unable to start also getting an error
# svcs -x svc:/system/initcssd:default
svc:/system/initcssd:default (system activity reporting package)
State: maintenance since Wed Nov 16 10:39:29 2011
Reason: Start method failed repeatedly, last exited with status 2.
See: http://sun.com/msg/SMF-8000-KS
See: sar(1M)
See: /var/svc/log/system-initcssd:default.log
Impact: This service is not running.
Can some please help me to create this instance, alos need a initcssd.zip file for 10gHi thanks,
I have passed more steps, CSS is started after changing the hostname, after that I created two drive and mounted properly
when I try to create a ASM disk its failing with following error and idea
SQL> CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
2 FAILGROUP controller1 DISK '/dev/dsk/c0d1s0'
3 FAILGROUP controller2 DISK '/dev/dsk/c1d1s0';
CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/dsk/c1d1s0' matches no disks
ORA-15025: could not open disk '/dev/dsk/c1d1s0'
ORA-15056: additional error message
Intel SVR4 UNIX Error: 13: Permission denied
Additional information: 42
Additional information: 134497888
Additional information: -809278080
ORA-15031: disk specification '/dev/dsk/c0d1s0' matches no disks
ORA-15025: could not open disk '/dev/dsk/c0d1s0'
ORA-27037: unable to obtain file status
Intel SVR4 UNIX Error: 25: Inappropriate ioctl for device
Additional information: 16
Additional information: 134497888
Additional information: -809278080 -
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 -
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 -
How to create an asm instance manaually? oracle 11gr2.
env: oracle 11gr2 os: hpux or aix single machine , not rac.
question:how to create an asm instance manaually?? diskgroup,listener,db ,they can be resigistered to crs??
can anyone give me document about it?Hi,
This is a simple answer:
Automatic Storage Management (ASM)
ASM was a new storage option introduced with Oracle Database 10gR1 that provides the services of a filesystem, logical volume manager, and software RAID in a platform-independent manner. ASM can stripe and mirror your disks, allow disks to be added or removed while the database is under load, and automatically balance I/O to remove "hot spots." It also supports direct and asynchronous I/O and implements the Oracle Data Manager API (simplified I/O system call interface) introduced in Oracle9i.
ASM is not a general-purpose filesystem and can be used only for Oracle data files, redo logs, and control files. Files in ASM can be created and named automatically by the database (by use of the Oracle Managed Files feature) or manually by the DBA. Because the files stored in ASM are not accessible to the operating system, the only way to perform backup and recovery operations on databases that use ASM files is through Recovery Manager (RMAN).
ASM is implemented as a separate Oracle instance that must be up if other databases are to be able to access it. Memory requirements for ASM are light: only 64 MB for most systems.
Installing ASM
On Linux platforms, ASM can use raw devices or devices managed via the ASMLib interface. Oracle recommends ASMLib over raw devices for ease-of-use and performance reasons. ASMLib 2.0 is available for free download from OTN. This section walks through the process of configuring a simple ASM instance by using ASMLib 2.0 and building a database that uses ASM for disk storage.
Determine Which Version of ASMLib You Need
ASMLib 2.0 is delivered as a set of three Linux packages:
* oracleasmlib-2.0 - the ASM libraries
* oracleasm-support-2.0 - utilities needed to administer ASMLib
* oracleasm - a kernel module for the ASM library
Each Linux distribution has its own set of ASMLib 2.0 packages, and within each distribution, each kernel version has a corresponding oracleasm package. The following paragraphs describe how to determine which set of packages you need.
First, determine which kernel you are using by logging in as root and running the following command:
uname -rm
Ex:
# uname -rm
2.6.9-22.ELsmp i686
The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
Use this information to find the correct ASMLib packages on OTN:
1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
2. Select the link for your version of Linux.
3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
Next, install the packages by executing the following command as root:
rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
oracleasmlib-asmlib_version.cpu_type.rpm \
oracleasm-support-asmlib_version.cpu_type.rpm
Ex:
# rpm -Uvh \
> oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
> oracleasmlib-2.0.1-1.i386.rpm \
> oracleasm-support-2.0.1-1.i386.rpm
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
3:oracleasmlib ########################################### [100%]
Configuring ASMLib
Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
# /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 <ENTER> 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
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Creating /dev/oracleasm mount point: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]
Next you tell the ASM driver which disks you want it to use. Oracle recommends that each disk contain a single partition for the entire disk. See Partitioning the Disks at the beginning of this section for an example of creating disk partitions.
You mark disks for use by ASMLib by running the following command as root:
/etc/init.d/oracleasm createdisk DISK_NAME device_name
Tip: Enter the DISK_NAME in UPPERCASE letters.
Ex:
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: [ OK ]
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: [ OK ]
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdd1
Marking disk "/dev/sdd1" as an ASM disk: [ OK ]
Verify that ASMLib has marked the disks:
# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
Create the ASM Instance
ASM runs as a separate Oracle instance which can be created and configured using the Oracle Universal Installer. Now that ASMLib is installed and the disks are marked for use, you can create an ASM instance.
Log in as oracle and start runInstaller:
$ ./runInstaller
1. Select Installation Method
* Select Advanced Installation
* Click on Next
2. Specify Inventory Directory and Credentials
* Inventory Directory: /u01/app/oracle/oraInventory
* Operating System group name: oinstall
* Click on Next
3. Select Installation Type
* Select Enterprise Edition
* Click on Next
4. Specify Home Details
* Name: OraDB10gASM
* Path: /u01/app/oracle/product/10.2.0/asm
Note:Oracle recommends using a different ORACLE_HOME for ASM than the ORACLE_HOME used for the database for ease of administration.
* Click on Next
5. Product-specific Prerequisite Checks
* If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.
* Click on Next
6. Select Configuration Option
* Select Configure Automatic Storage Management (ASM)
* Enter the ASM SYS password and confirm
* Click on Next
7. Configure Automatic Storage Management
* Disk Group Name: DATA
* Redundancy
- High mirrors data twice.
- Normal mirrors data once. This is the default.
- External does not mirror data within ASM. This is typically used if an external RAID array is providing redundancy.
* Add Disks
The disks you configured for use with ASMLib are listed as Candidate Disks. Select each disk you wish to include in the disk group.
* Click on Next
8. Summary
* A summary of the products being installed is presented.
* Click on Install.
9. Execute Configuration Scripts
* At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.
* Click on OK when finished.
10. Configuration Assistants
* The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically
11. End of Installation
* Make note of the URLs presented in the summary, and click on Exit when ready.
12. Congratulations! Your new Oracle ASM Instance is up and ready for use.
Kind regards
Mohamed -
Problem starting ASM instance after installing Oracle Grid standalone
Hi!
After installing Oracle Grid 11gr2 and rebooting my machine:
Linux localhost.localdomain 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:37:40 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
I run asmca command and it failed to startup ASM instance, I tried to paste the log but it's too long!
Could someone help me please! thank you very much!
José
I paste just the last piece:
+[main] [ 2012-03-15 15:01:56.853 CET ] [SQLEngine.initialize:354] m_bReaderStarted: false+
+[main] [ 2012-03-15 15:01:56.857 CET ] [SQLEngine.initialize:358] Starting Reader Thread...+
+[main] [ 2012-03-15 15:01:56.919 CET ] [UsmcaLogger.logExit:122] Exiting oracle.sysman.assistants.usmca.backend.USMInstance Method : createSQLEngine+
+[main] [ 2012-03-15 15:01:56.919 CET ] [OracleHome.getVersion:877] OracleHome.getVersion called. Current Version: null+
+[main] [ 2012-03-15 15:01:56.927 CET ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS+
+[main] [ 2012-03-15 15:01:56.927 CET ] [OracleHome.getVersion:896] Homeinfo /u01/app/grid/product/11.2.0/grid,1+
+[main] [ 2012-03-15 15:01:56.928 CET ] [Version.isPre:274] version to be checked 11.2.0.1.0 major version to check against10+
+[main] [ 2012-03-15 15:01:56.928 CET ] [Version.isPre:285] isPre.java: Returning FALSE+
+[main] [ 2012-03-15 15:01:56.929 CET ] [OCR.loadLibrary:308]+
Inside constructor of OCR
+[main] [ 2012-03-15 15:01:56.929 CET ] [OCR.isCluster:939] Calling OCRNative for isCluster()+
+[main] [ 2012-03-15 15:01:56.930 CET ] [OCR.isCluster:943] OCR Result status = true+
+[main] [ 2012-03-15 15:01:56.930 CET ] [OCR.isCluster:955] Bolean result = false+
+[main] [ 2012-03-15 15:01:56.930 CET ] [Version.isPre:274] version to be checked 11.2.0.1.0 major version to check against10+
+[main] [ 2012-03-15 15:01:56.930 CET ] [Version.isPre:285] isPre.java: Returning FALSE+
+[main] [ 2012-03-15 15:01:56.931 CET ] [MessageBundle.getMessageFields:338] MessageBundle.getMessage() failed to load the string PRKC-PRKC-1036 : CRS_HOME name passed to the method was null Exception: java.util.MissingResourceException: Can't find resource for bundle oracle.ops.mgmt.resources.PrkcMsg, key PRKC-1036 : CRS_HOME name passed to the method was null+
+[main] [ 2012-03-15 15:01:56.931 CET ] [ClusterUtils.getCRSActiveVersion:1797] Error getting CRS active version: PRKC-PRKC-1036 : CRS_HOME name passed to the method was null : <null>+
+[main] [ 2012-03-15 15:01:56.931 CET ] [OracleHome.getVersion:903] OracleHome.CRSActiveVersion: null+
+[main] [ 2012-03-15 15:01:57.084 CET ] [OracleHome.getVersion:922] OracleHome.server.getVersion Version: 11.2.0.1.0+
+[main] [ 2012-03-15 15:01:57.084 CET ] [OracleHome.getVersion:943] Current Version From Inventory: 11.2.0.1.0+
+[main] [ 2012-03-15 15:01:57.084 CET ] [OracleHome.getVersion:948] using sqlplus: /u01/app/grid/product/11.2.0/grid/bin/sqlplus+
+[main] [ 2012-03-15 15:01:57.084 CET ] [UsmcaLogger.logInfo:141] Role SYSASM+
+[main] [ 2012-03-15 15:01:57.085 CET ] [UsmcaLogger.logInfo:141] OS Auth true+
+[main] [ 2012-03-15 15:01:57.182 CET ] [SQLEngine.done:2148] Done called+
+[main] [ 2012-03-15 15:01:57.183 CET ] [UsmcaLogger.logException:171] SEVERE:method oracle.sysman.assistants.usmca.backend.USMInstance:checkAndStartupInstance+
+[main] [ 2012-03-15 15:01:57.183 CET ] [UsmcaLogger.logException:172] ORA-01034: ORACLE not available+
+[main] [ 2012-03-15 15:01:57.183 CET ] [UsmcaLogger.logException:173] oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACLE not available+
oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650)
oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeQuery(SQLEngine.java:823)
oracle.sysman.assistants.usmca.backend.USMInstance.checkAndStartupInstance(USMInstance.java:573)
oracle.sysman.assistants.usmca.backend.USMInstance.discoverASMInstance(USMInstance.java:340)
oracle.sysman.assistants.usmca.service.UsmcaService.discoverASMInstance(UsmcaService.java:146)
oracle.sysman.assistants.usmca.Usmca.execute(Usmca.java:230)
oracle.sysman.assistants.usmca.Usmca.main(Usmca.java:333)
+[main] [ 2012-03-15 15:01:57.184 CET ] [UsmcaLogger.logExit:122] Exiting oracle.sysman.assistants.usmca.backend.USMInstance Method : checkAndStartupInstance+
+[main] [ 2012-03-15 15:01:57.184 CET ] [UsmcaLogger.logInfo:141] ASM failed to start. Check /u01/app/grid/cfgtoollogs/asmca/asmca-1203153PM0138.log for details.+Hi,
i've got similar problem but my asm is not just down. After installing grid home with infrastructure I've restarted os and there is no crs services and the only result from this command:
# ps -ef | grep grid
grid 2075 1 0 13:58 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/ohasd.bin reboot
root 2463 2439 0 14:06 pts/0 00:00:00 grep gridgive me opposite to this one before restart:
$ ps -ef | grep grid
grid 2076 1 0 13:01 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 3646 1 0 13:44 ? 00:00:04 /u01/app/grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 3806 1 0 13:45 ? 00:00:02 /u01/app/grid/product/11.2.0/grid/bin/oraagent.bin
grid 3820 1 0 13:45 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/evmd.bin
grid 3853 3820 0 13:45 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/evmlogger.bin -o /u01/app/grid/product/11.2.0/grid/evm/log/evmlogger.info -l /u01/app/grid/product/11.2.0/grid/evm/log/evmlogger.log
root 3879 2307 0 13:46 pts/0 00:00:00 su - grid
grid 3881 3879 0 13:46 pts/0 00:00:00 -bash
grid 4172 1 0 13:48 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/cssdagent
grid 4197 1 0 13:48 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/ocssd.bin
grid 4550 1 0 13:49 ? 00:00:00 asm_pmon_+ASM
grid 4552 1 0 13:49 ? 00:00:00 asm_psp0_+ASM
grid 4554 1 0 13:49 ? 00:00:02 asm_vktm_+ASM
grid 4558 1 0 13:49 ? 00:00:00 asm_gen0_+ASM
grid 4560 1 0 13:49 ? 00:00:00 asm_diag_+ASM
grid 4562 1 0 13:49 ? 00:00:00 asm_dia0_+ASM
grid 4564 1 0 13:49 ? 00:00:00 asm_mman_+ASM
grid 4566 1 0 13:49 ? 00:00:00 asm_dbw0_+ASM
grid 4568 1 0 13:49 ? 00:00:00 asm_lgwr_+ASM
grid 4570 1 0 13:49 ? 00:00:00 asm_ckpt_+ASM
grid 4572 1 0 13:49 ? 00:00:00 asm_smon_+ASM
grid 4574 1 0 13:49 ? 00:00:00 asm_rbal_+ASM
grid 4576 1 0 13:49 ? 00:00:00 asm_gmon_+ASM
grid 4578 1 0 13:49 ? 00:00:00 asm_mmon_+ASM
grid 4580 1 0 13:49 ? 00:00:00 asm_mmnl_+ASM
grid 4582 1 0 13:49 ? 00:00:00 oracle+ASM (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 6128 1 0 13:52 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit
grid 6142 3881 0 13:53 pts/0 00:00:00 ps -ef
grid 6143 3881 0 13:53 pts/0 00:00:00 grep grid
$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): pc
$ srvctl status asm
ASM is running on pcI'm using 2x 1TB hdisk as 2 pv in one vg. I thought that lvolume permissions are incorrect but now I had:
# ls -l /dev | grep dm
crw-rw---- 1 root root 10, 61 May 16 13:57 cpu_dma_latency
brw-rw---- 1 root disk 253, 0 May 16 13:57 dm-0
brw-rw---- 1 root disk 253, 1 May 16 13:57 dm-1
brw-rw---- 1 grid asmadmin 253, 10 May 16 13:57 dm-10
brw-rw---- 1 grid asmadmin 253, 11 May 16 13:57 dm-11
brw-rw---- 1 grid asmadmin 253, 12 May 16 13:57 dm-12
brw-rw---- 1 grid asmadmin 253, 13 May 16 13:57 dm-13
brw-rw---- 1 grid asmadmin 253, 2 May 16 13:57 dm-2
brw-rw---- 1 grid asmadmin 253, 3 May 16 13:57 dm-3
brw-rw---- 1 grid asmadmin 253, 4 May 16 13:57 dm-4
brw-rw---- 1 grid asmadmin 253, 5 May 16 13:57 dm-5
brw-rw---- 1 grid asmadmin 253, 6 May 16 13:57 dm-6
brw-rw---- 1 grid asmadmin 253, 7 May 16 13:57 dm-7
brw-rw---- 1 grid asmadmin 253, 8 May 16 13:57 dm-8
brw-rw---- 1 grid asmadmin 253, 9 May 16 13:57 dm-9and:
# ls -l /dev/vg_main/
total 0
lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol1 -> ../dm-2
lrwxrwxrwx 1 root root 8 May 16 13:57 asmlvol10 -> ../dm-11
lrwxrwxrwx 1 root root 8 May 16 13:57 asmlvol11 -> ../dm-12
lrwxrwxrwx 1 root root 8 May 16 13:57 asmlvol12 -> ../dm-13
lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol2 -> ../dm-3
lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol3 -> ../dm-4
lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol4 -> ../dm-5
lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol5 -> ../dm-6
lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol6 -> ../dm-7
lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol7 -> ../dm-8
lrwxrwxrwx 1 root root 7 May 16 13:57 asmlvol8 -> ../dm-9
lrwxrwxrwx 1 root root 8 May 16 13:57 asmlvol9 -> ../dm-10
lrwxrwxrwx 1 root root 7 May 16 13:57 lv01_swap -> ../dm-1
lrwxrwxrwx 1 root root 7 May 16 13:57 lv02_root -> ../dm-0I've used search path for ams disks as /dev/dm* and /dev/vg_main/asm* and seen all of them in both configurations.
I've tried to reconfigure HAS through (as root):
$GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose
$GRID_HOME/root.shthis gave me working asm instance but after restart I'm in base position with no crs services.
And... I've tried to startup crs after restart with no luck but before restart I can shutdown everything and startup ASM instance too (so everything is fine till the reboot). I'm on CentOS 6:
$ uname -a
Linux pc 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 23:56:34 BST 2012 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/issue
CentOS release 6.2 (Final)
Kernel \r on an \mAny hints about how to resolve this problem would be most welcome.
Regards. -
ASM instances on 2 node Oracle RAC 10g r2 on Red Hat 4 u1
Hi all
I'm experiencing a problem in configuring diskgroups under +ASM instances on a two node Oracle RAC.
I followed the official guide and also official documents from metalink site, but i'm stuck with the visibility of asm disks.
I created fake disks on nfs with Netapp certified storage binding them to block device with the usual trick "losetup /dev/loopX /nfs/disk1 " ,
run "oracleasm createdisk DISKX /dev/loopX" on one node and
"oracleasm scandisks" on the other one.
With "oracleasm listdisks" i can see the disks at OS level in both nodes , but , when i try to create and mount diskgroup in the ASM instances , on the instance on which i create the diskgroup all is well, but the other one doesn't see the disks at all, and diskgroup mount fails with :
ERROR: no PST quorum in group 1: required 2, found 0
Tue Sep 20 16:22:32 2005
NOTE: cache dismounting group 1/0x6F88595E (DG1)
NOTE: dbwr not being msg'd to dismount
ERROR: diskgroup DG1 was not mounted
any help would be appreciated
thanks a lot.
AntonelloI'm having this same problem. Did you ever find a solution?
Maybe you are looking for
-
Dear Experts, We have created Project PO with following taxes(VAT 5%, Excise Duty 10.3% and Freight)and simultaneously done the GRN for the same,but the issue is that when we are checking the budget in CJ33 only BasicExcise dutyFreight value is assig
-
How do I sort music in iTunes when played from iPhone?
Okay, so I've been using my iPhone to basically carry music around and play it on different computers, right? Just turn on manual sync and then I can play music on iTunes straight from my music library without needing to have it in my computer's iTu
-
Connection wtih DataBase in WebStart
Hi, i actually need to use a applicatio that connect with oracle database, and right now im using servlets to do the connectino over the net. But i was thinking if there is another way to connect to a remote database... is possible to use RMI on the
-
I paid to convert a file from pdf to Word doc. and it is unintelligible. Why ?
I paid to convert a file from pdf to Word and it is unintelligible. Why ?
-
AS A NON=GEEK; My ISp tells me that images on my website appear to be ok but on my firefox browsre they don't appear; They told me to contact you==mention of security issues;; (I know nothing) Can you help? tomdavies