Idle ASM-instance in list of processess
Hello!
I see smon of ASM-instanse in list of processes of AIX,
after chekin the status :
srvctl status ASM
ASM is not running.Please let me now , why ASM-instance is idle and at the same time is in list of processes of OS ?
I think if instance is idle then shу don't take server resources
I'm usung 11.2.0.3
Thanks and regards,
Pavel
Hi Victor
ps -ef|grep asm
oracle 9309 1 0 Aug 10 ? 18:17 asm_pmon_+ASM
oracle 9311 1 0 Aug 10 ? 2:49 asm_psp0_+ASM
oracle 9313 1 0 Aug 10 ? 4:38 asm_mman_+ASM
oracle 9315 1 0 Aug 10 ? 2:56 asm_dbw0_+ASM
oracle 9317 1 0 Aug 10 ? 3:41 asm_lgwr_+ASM
oracle 9319 1 0 Aug 10 ? 4:03 asm_ckpt_+ASM
oracle 9321 1 0 Aug 10 ? 2:41 asm_smon_+ASM
oracle 9323 1 0 Aug 10 ? 3:06 asm_rbal_+ASM
oracle 9326 1 0 Aug 10 ? 9:24 asm_gmon_+ASM
oracle 8052 18584 0 18:13:03 pts/13 0:00 grep asm
oracle 4883 1 0 Oct 09 ? 5:25 /u/oracle/grid/bin/tnslsnr listener_asm -inherit
crsctl status res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.asm
OFFLINE OFFLINE p900 Instance Shutdown
ora.ons
OFFLINE OFFLINE p900
Cluster Resources
ora.cssd
1 OFFLINE OFFLINE
ora.diskmon
1 OFFLINE OFFLINE
ora.evmd
1 OFFLINE OFFLINE
Are you using "oracle" user for ORACLE DATABASE and "grid" user for GI?
Yes , Viktor
export ...
sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Dec 20 18:16:31 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.Pavel
Similar Messages
-
ASM instance on one node can not startup
use dbca create database failure
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb.log" for further details.
[oracle@rac1 ~]$ cat "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb.log"
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [CRS-0215: Could not start resource 'ora.rac2.ASM2.asm'.]
ORA-03135: connection lost contact
[oracle@rac2 bin]$ ./crs_stat -t
Name Type Target State Host
ora....SM1.asm application ONLINE ONLINE rac1
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE OFFLINE
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2so i try to start asm instance on rac2
[oracle@rac2 bin]$ ./srvctl start asm -n rac2
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 25 17:58:21 2011
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:Copyright (c) 1982, 2005, Oracle. All rights reserved.
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:Enter user-name: Connected to an idle instance.
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:SQL> ORA-03113: end-of-file on communication channel
rac2:ora.rac2.ASM2.asm:SQL> Disconnected
rac2:ora.rac2.ASM2.asm:
CRS-0215: Could not start resource 'ora.rac2.ASM2.asm'.]]
[PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 25 17:58:21 2011
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:Copyright (c) 1982, 2005, Oracle. All rights reserved.
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:Enter user-name: Connected to an idle instance.
rac2:ora.rac2.ASM2.asm:
rac2:ora.rac2.ASM2.asm:SQL> ORA-03113: end-of-file on communication channel
rac2:ora.rac2.ASM2.asm:SQL> Disconnected
rac2:ora.rac2.ASM2.asm:check the alert log find
Mon Jul 25 17:58:23 2011
Maximum Tranmission Unit (mtu) of the ether adapter is different
on the node running instance 1, and this node.
Ether adapters connecting the cluster nodes must be configured
with identical mtu on all the nodes, for Oracle.
Please ensure the mtu attribute of the ether adapter on all
nodes are identical, before running Oracle.
Mon Jul 25 17:58:23 2011
Errors in file /opt/ora/admin/+ASM/bdump/+asm2_lmon_29711.trc:
ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
LMON: terminating instance due to error 27550
Mon Jul 25 17:58:25 2011
Shutting down instance (abort)
License high water mark = 0
Mon Jul 25 17:58:28 2011
Instance terminated by LMON, pid = 29711
Mon Jul 25 17:58:30 2011
Instance terminated by USER, pid = 29831and i checked my eth
[root@rac1 oracle]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:29:3C:42:0C
inet addr:192.168.40.102 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9762 errors:0 dropped:0 overruns:0 frame:0
TX packets:6028 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1193646 (1.1 MiB) TX bytes:1037252 (1012.9 KiB)
Interrupt:67 Base address:0x2400
eth0:1 Link encap:Ethernet HWaddr 00:0C:29:3C:42:0C
inet addr:192.168.40.201 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:67 Base address:0x2400
eth1 Link encap:Ethernet HWaddr 00:0C:29:3C:42:16
inet addr:10.10.17.221 Bcast:10.10.17.225 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30185 errors:0 dropped:0 overruns:0 frame:0
TX packets:37936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19988844 (19.0 MiB) TX bytes:35126056 (33.4 MiB)
Interrupt:51 Base address:0x2480
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52537 errors:0 dropped:0 overruns:0 frame:0
TX packets:52537 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4380651 (4.1 MiB) TX bytes:4380651 (4.1 MiB)
[root@rac2 ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:29:9C:CC:90
inet addr:192.168.40.103 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3665 errors:0 dropped:0 overruns:0 frame:0
TX packets:1489 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:563952 (550.7 KiB) TX bytes:243127 (237.4 KiB)
Interrupt:67 Base address:0x2400
eth0:1 Link encap:Ethernet HWaddr 00:0C:29:9C:CC:90
inet addr:192.168.40.202 Bcast:192.168.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:67 Base address:0x2400
eth1 Link encap:Ethernet HWaddr 00:0C:29:9C:CC:9A
inet addr:10.10.17.222 Bcast:10.10.17.225 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38281 errors:0 dropped:0 overruns:0 frame:0
TX packets:29683 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35182270 (33.5 MiB) TX bytes:19905266 (18.9 MiB)
Interrupt:51 Base address:0x2480
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44387 errors:0 dropped:0 overruns:0 frame:0
TX packets:44387 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2299383 (2.1 MiB) TX bytes:2299383 (2.1 MiB)any idea ?
i try to run dbca on rac2 ,it seems OK
============
ASM instance still have problem,no ASM instance create in rac1
[oracle@rac2 bin]$ ./crs_stat -t
Name Type Target State Host
ora.mydb.db application ONLINE ONLINE rac1
ora....b1.inst application ONLINE OFFLINE
ora....b2.inst application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE OFFLINE
ora....C1.lsnr application ONLINE ONLINE rac1
ora....C2.lsnr application ONLINE OFFLINE => ora.rac1.LISTENER_RAC2.lsnr (i do not know where this resource come from ??)
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2and here is my dbca.rsp file content
[GENERAL]
RESPONSEFILE_VERSION = "10.0.0"
OPERATION_TYPE = "createDatabase"
[CREATEDATABASE]
GDBNAME = "mydb.us.oracle.com"
SID = "mydb"
NODELIST=rac1,rac2
TEMPLATENAME = "/home/oracle/mydb.dbc"
SYSPASSWORD = "Myss123456"
SYSTEMPASSWORD = "Myss123456"
EMCONFIGURATION = "NONE"
DBSNMPPASSWORD = "Myss123456"
STORAGETYPE=ASM
DISKLIST=/dev/oracleasm/disks/VOL1,/dev/oracleasm/disks/VOL2
DISKGROUPNAME=ORADG
REDUNDANCY=EXTRENAL
DISKSTRING="/dev/oracleasm/disks/*"
ASM_SYS_PASSWORD="Myss123456"
LISTENERS = "listener1 listener2"Edited by: 859340 on 2011-7-24 下午7:23
Edited by: 859340 on 2011-7-24 下午7:32
Edited by: 859340 on 2011-7-24 下午7:35
Edited by: 859340 on 2011-7-24 下午7:51Hi,
Use this tech note on MOS.
*Instance Crash on startup with ORA-27550: Target ID protocol check failed [ID 730516.1]*
Regards,
Levi Pereira -
Multiple ASM instances using single cluster install - Is it possible??
Hi,
I have 2 node RAC cluster installed on Linux. All the storage is on EMC. I need to setup another environment using HP storage on the same hosts. Is it possible to created second ASM instance using the same cluster install?? I wanted to have clear separation b/w EMC and HP environments and that's wondering if it's feasible to do that.
Haven't tried it yet to see if it complains.
Thx
AnithaAnitha,
The data migration won't happen (at least not aggressively) until you do step 2 in your list where you remove the EMC disks. That removal operation will take a long time as Oracle will have to move the data before it can complete the operation. If you want to be sure, I'd recommend creating a new disk group with one of your new disks, put a small tablespace in it, create some data in it, then add a disk to that new group and remove the original disk. Then you'll have some confidence in the procedure and verify that it works without risking your production data. After you test, you can drop the disk group and use the disks for their intended purposes.
To answer your question, yes, that's the process exactly as I suggested it above. Should work fine--but will probably take a while to do the remove, so be prepared to leave that running for quite a while (i.e. don't expect to close the terminal and go home right after running the remove).
Dan -
How to login to asm instance?
T login to an asm instance I have set the
bash-2.03$ export ORACLE_HOME=/u01app/oracle/product/102/asm
bash-2.03$ export ORACLE_SID=+ASM
but when i do a sqlplus "/as sysdba" it shows as connected to idle instance.
But all asm backgroup processes are up and running.
How do we login to run the sql:
select * from V$ASM_DISKGROUP;first few rows of ps -ef|grep asm
oracle 23188 1 0 Jun 05 ? 0:07 asm_diag_+ASM
oracle 23210 1 0 Jun 05 ? 0:13 asm_dbw0_+ASM
oracle 23186 1 0 Jun 05 ? 0:12 asm_pmon_+ASM
oracle 23204 1 0 Jun 05 ? 1:03 asm_lms0_+ASM
oracle 23214 1 0 Jun 05 ? 0:13 asm_ckpt_+ASM
oracle 23216 1 0 Jun 05 ? 2:30 asm_smon_+ASM
oracle 23250 1 0 Jun 05 ? 3:14 asm_lck0_+ASM -
Getting error 'could not locate ASM instance' when make copy of ASM VM
Hi everyone,
I make virtual machine of OEL 5.7 with oracle 10.2.0.1 and successfully configured ASM instance. I am using vmware workstation.
Now when I make copy of this virtual machine and startup database, then I get the below error:
[oracle@oelinux ~]$ export ORACLE_SID=asmdb
[oracle@oelinux ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 01:10:26 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ASMGROUP/asmdb/spfileasmdb.ora'
*ORA-17503: ksfdopn:2 Failed to open file +ASMGROUP/asmdb/spfileasmdb.ora*
ORA-15077: could not locate ASM instance serving a required diskgroup
So how can i solve this problem??
Note: I copy this VM using both copy/paste and clone option, but get this error both times.
Regards,
Khurram BhattiEdStevens wrote:
Khurram Shehzad wrote:
I add 3 SCSI vmware disks. and then use them as a raw device. no ASMLib is used.
I refer below tutorial
[http://www.oracle-base.com/articles/10g/asm-using-asmlib-and-raw-devices.php]
That tutorial picks up after you created the disks.
How did you create the virtual disks attatched to your vm? What are its properties - from VMWorksation's perspective.
How did you create the "copy" of the vm?
It depends on how you actually created the disks, at the vm level, not the partitioning and formatting at the vm's OS level. I've used Tim's tutorials myself on some other ASM related projects, and he typically has you create the ASM disks as 'sharable', which would mean they would not copy necessarily copy with the vm. I've not played around the with variants much, but I'm pretty sure what you are seeing is a result of either the way the disk was created in the original vm, or the way you made the copy of the vm, or both.
Take a look at the machine properties of the two vms in the VMWorkstation control panel, looking at the HDD definitions. Compare and contrast.Hi EdStevens,
My problem resolved with below steps. Thanks fro your replies.
export ORACLE_SID=+ASM
sqlplus sys as sysdba
Connected to an idle instance.
SQL> startup mount
SQL> alter system register;
SQL> exit
[oracle@oelinux ~]$ export ORACLE_SID=asmdb
[oracle@oelinux ~]$ sqlplus sys as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Regards,
Khurram -
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.
-
Using DBCA to create ASM instance; no member disks found
OK, we've been struggling with this for two days and we can't seem to find the magic mojo to get it working.
I've got two Redhat 64-bit machines running Oracle 10.2.0.3 on them. Clusterware is installed fine and communicating properly. We've installed ASMLib and created our ASM disks fine and they list correctly using the oracleasm utility.
Our problem is that when I go to create the ASM instance (using DBCA) the member disks do not show up. I have tried changing the "Disk Discovery Path", I've created listeners, started DBCA from different Oracle homes, re-installed, etc... nothing seems to work.
I've even seen a few threads where people have experienced the same problem but have not seen solutions. Anyone have ideas how I can resolve this issue?Actually, it needs to be root:dba, sorry for the confusion:
$>ls -l
total 0
crw-rw---- 1 root dba 162, 1 May 15 22:49 raw1
crw-rw---- 1 root dba 162, 10 May 15 22:49 raw10
crw-rw---- 1 root dba 162, 11 May 15 22:49 raw11
crw-rw---- 1 root dba 162, 12 May 15 22:49 raw12
crw-rw---- 1 root dba 162, 13 May 15 22:49 raw13
crw-rw---- 1 root dba 162, 14 May 15 22:49 raw14
crw-rw---- 1 root dba 162, 15 May 15 22:49 raw15
crw-rw---- 1 root dba 162, 16 May 15 22:49 raw16
crw-rw---- 1 root dba 162, 17 May 15 22:49 raw17
crw-rw---- 1 root dba 162, 18 May 15 22:49 raw18
crw-rw---- 1 root dba 162, 19 May 15 22:49 raw19
crw-rw---- 1 root dba 162, 2 May 15 22:49 raw2
crw-rw---- 1 root dba 162, 20 May 15 22:49 raw20
crw-rw---- 1 root dba 162, 21 May 15 22:49 raw21
crw-rw---- 1 root dba 162, 22 May 15 22:49 raw22
crw-rw---- 1 root dba 162, 23 May 15 22:49 raw23
crw-rw---- 1 root dba 162, 24 May 15 22:49 raw24
crw-rw---- 1 root dba 162, 25 May 15 22:49 raw25
crw-rw---- 1 root dba 162, 26 May 15 22:49 raw26
crw-rw---- 1 root dba 162, 27 May 15 22:49 raw27
crw-rw---- 1 root dba 162, 28 May 15 22:49 raw28
crw-rw---- 1 root dba 162, 29 May 15 22:49 raw29
crw-rw---- 1 root dba 162, 3 May 15 22:49 raw3
crw-rw---- 1 root dba 162, 30 May 15 22:49 raw30
crw-rw---- 1 root dba 162, 31 May 15 22:49 raw31
crw-rw---- 1 root dba 162, 32 May 15 22:49 raw32
crw-rw---- 1 root dba 162, 33 May 15 22:49 raw33
crw-rw---- 1 root dba 162, 4 May 15 22:49 raw4
crw-rw---- 1 root dba 162, 5 May 15 22:49 raw5
crw-rw---- 1 root dba 162, 6 May 15 22:49 raw6
crw-rw---- 1 root dba 162, 7 May 15 22:49 raw7
crw-rw---- 1 root dba 162, 8 May 15 22:49 raw8
crw-rw---- 1 root dba 162, 9 May 15 22:49 raw9
ADPRD2@oracle15 oracle Last rc=0 /dev/raw
$>
Also, I see that you're using block devices while I am using raw devices. I know that
Oracle11 can utilize block devices, especially on RHEL 5, but I am not sure that
Oracle10g can do that. -
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 -
After a system shutdown, Is this the right way to startup an Instance running on ASM
Step 1:$ export ORACLE_SID=+ASM
Step 2: $ export ORACLE_SID=instance_name
Step 3: $ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 22 11:06:05 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup open;Do i have to set ORACLE_HOME for ASM? If so, How can i find ORACLE_HOME for ASM?You are nearly right. You export the ASM ORACLE_SID (and ASM ORACLE_HOME), then startup from SQL*Plus.
Then, once ASM instance is up & running, you export the Database ORACLE_SID (and Database ORACLE_HOME, if different to the ASM ORACLE_HOME), then startup from SQL*Plus.
ORACLE_HOMEs: Have a look in /etc/oratab -
HELP !! only one ASM instance up at any given time on a 2 node RAC cluster
OS: Solaris 10
Oracle: 10.2.0.4
Problem: Installing ASM, dbca hangs, and errors out with End of communication channel.
Only one ASM instance can be brought up at any given time
PLEASE HELP !!!!
- nkalert log
======
Thu Oct 1 23:09:54 2009
lmon registered with NM - instance id 1 (internal mem no 0)
Thu Oct 1 23:09:54 2009
Reconfiguration started (old inc 0, new inc 12)
ASM instance
List of nodes:
0 1
Global Resource Directory frozen
Communication channels reestablished
Thu Oct 1 23:24:59 2009
Errors in file /oracle/admin/+ASM/bdump/+asm1_lmon_1999.trc:
ORA-00481: LMON process terminated with error
Thu Oct 1 23:24:59 2009
LMON: terminating instance due to error 481
Thu Oct 1 23:24:59 2009
System state dump is made for local instance
Thu Oct 1 23:24:59 2009
Trace dumping is performing id=[cdmp_20091001232459]
Thu Oct 1 23:25:00 2009
Instance terminated by LMON, pid = 1999
Thu Oct 1 23:25:03 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 bge1 192.168.10.0 configured from OCR for use as a cluster interconnect
Interface type 1 bge0 10.134.246.32 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned off.
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
large_pool_size = 12582912
instance_type = asm
cluster_database = TRUE
instance_number = 1
remote_login_passwordfile= EXCLUSIVE
background_dump_dest = /oracle/admin/+ASM/bdump
user_dump_dest = /oracle/admin/+ASM/udump
core_dump_dest = /oracle/admin/+ASM/cdump
asm_diskgroups =
Cluster communication is configured to use the following interface(s) for this instance
192.168.10.1
Thu Oct 1 23:25:03 2009
cluster interconnect IPC version:Oracle UDP/IP (generic)
IPC Vendor 1 proto 2
PMON started with pid=2, OS id=17923
DIAG started with pid=3, OS id=17925
PSP0 started with pid=4, OS id=17927
LMON started with pid=5, OS id=17929
LMD0 started with pid=6, OS id=17931
LMS0 started with pid=7, OS id=17933
MMAN started with pid=8, OS id=17937
DBW0 started with pid=9, OS id=17939
LGWR started with pid=10, OS id=17941
CKPT started with pid=11, OS id=17943
SMON started with pid=12, OS id=17945
RBAL started with pid=13, OS id=17955
GMON started with pid=14, OS id=17957
Thu Oct 1 23:25:04 2009
lmon registered with NM - instance id 1 (internal mem no 0)
Thu Oct 1 23:25:04 2009
Reconfiguration started (old inc 0, new inc 14)
ASM instance
List of nodes:
0 1
Global Resource Directory frozen
Communication channels reestablished
Thu Oct 1 23:40:09 2009
Errors in file /oracle/admin/+ASM/bdump/+asm1_lmon_17929.trc:
ORA-00481: LMON process terminated with error
Thu Oct 1 23:40:09 2009
LMON: terminating instance due to error 481
Thu Oct 1 23:40:09 2009
System state dump is made for local instance
Thu Oct 1 23:40:09 2009
Trace dumping is performing id=[cdmp_20091001234009]
Thu Oct 1 23:40:10 2009
Instance terminated by LMON, pid = 17929
Thu Oct 1 23:40:12 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 bge1 192.168.10.0 configured from OCR for use as a cluster interconnect
Interface type 1 bge0 10.134.246.32 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned off.
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
large_pool_size = 12582912
instance_type = asm
cluster_database = TRUE
instance_number = 1
remote_login_passwordfile= EXCLUSIVE
background_dump_dest = /oracle/admin/+ASM/bdump
user_dump_dest = /oracle/admin/+ASM/udump
core_dump_dest = /oracle/admin/+ASM/cdump
asm_diskgroups =
Cluster communication is configured to use the following interface(s) for this instance
192.168.10.1
Thu Oct 1 23:40:13 2009
cluster interconnect IPC version:Oracle UDP/IP (generic)
IPC Vendor 1 proto 2
PMON started with pid=2, OS id=26086
DIAG started with pid=3, OS id=26088
PSP0 started with pid=4, OS id=26090
LMON started with pid=5, OS id=26092
LMD0 started with pid=6, OS id=26094
LMS0 started with pid=7, OS id=26096
MMAN started with pid=8, OS id=26100
DBW0 started with pid=9, OS id=26102
LGWR started with pid=10, OS id=26112
CKPT started with pid=11, OS id=26114
SMON started with pid=12, OS id=26116
RBAL started with pid=13, OS id=26118
GMON started with pid=14, OS id=26120
Thu Oct 1 23:40:13 2009
lmon registered with NM - instance id 1 (internal mem no 0)
Thu Oct 1 23:40:14 2009
Reconfiguration started (old inc 0, new inc 16)
ASM instance
List of nodes:
0 1
Global Resource Directory frozen
Communication channels reestablished -
Can there be multiple ASM instances on single node?
Hi,
Can there be multiple ASM instances on single node?
This one says No : http://www.freelists.org/archives/oracle-l/02-2008/msg00317.html
And This one says Yes : http://www.databasejournal.com/features/oracle/article.php/3571371
Thanks in advance.
Thanks,
Harsha
Edited by: user498756 on Sep 11, 2008 2:23 AM...that document doesnt say you cannot have multiple ASM instances on a node. It says "...ASM, +you only need one ASM+ instance for that computer, to manage the two database instances that use ASM."
The fact that you only need one - and I cannot think of a good reason to have more than one - does not preclude the fact that you do seem to be able to have multiple ASM instances on a single node, each looking after its own set of disks and diskgroups.
Again - I cannot think of a good reason to do so though!
-Bob -
Upgrade ASM instance database 10g to 11g
Hi,
In my environment, I have ASM instance database 10.2.0.3 running on solaris 10 (64-bit), I need to upgrade to ASM instance 11.1.0.6 database. please guide me an overview of steps...
thanks in advanceThanks for the response,
Sorry, In my environment I know database (10.2.0.3) is mounted in ASM diskgroups, now i have a concern
1) If database is mounted in ASM diskgroups, could it be a database instance or it has to be only ASM instance connected to the database?
2) As in my upgrade from ASM instance (10.2.0.3) to ASM instance (11.1.0.6), do we need to upgrade asm instance as well as database? i mean to invoke DBUA twice for upgrading ASM instance then for upgrading database as well?
Sorry for some silly questions...please make me clear...
Regards -
How to configure Oracle Enterprise manager 11.2.0.1 for ASM instance
Hi All,
Please let us know How to configure Oracle Enterprise manager 11.2.0.1 for ASM instance.
Reagrds,
VikasAssuming an agent is running on the servers you want to monitor,
navigate to the Agent home page (Via setup --> Agent)
When in the agent home page select 'Add Database'and press [Go]
Assuming yopur database now gets recognized, select the Configure icon and enter the password for dbsnmp.
When done, press [Ok] to return to the agent home page.
Regards
Rob
http://oemgc.wordpress.com -
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?
-
Asm instances on single system
Hi ,
How many ASM instance can reside on one single machine.....Hi,
Only one ASM instance can run on a server.
Mahir
Maybe you are looking for
-
Fusion Drive - HDD spins up often
Hi, I am currently using Fusion Drive and all seems to be working fine. The only thing I could remark on at the moment is that the HDD is being turned on and off very often by Fusion Drive. Sometimes, it even stalls the computer, until the HDD is ful
-
I recently had to purchase a new iPhone 4S. I backed up my old 4s to my iMac and when I went to restore, I got this message "iTunes could not restore the iPhone because the backup was corrupt or not compatible with the iPhone that is being restored"
-
Creating module pool programming in abap objects
Hello... I just wanted to know how u create a give modulepool programming in classes and objects.Could anyone tell me the procedure how to do so.And i knew that module pool programming has become obsolete and now everyone are using object oriented co
-
Need a program for Y/Z report (extended report ) in START_REPORT
Hi, Am trying to execute a Y transaction (report ) which is called by start_report transaction. Pls find the details below. D_SREPOVARI-REPORTTYPE= RE D_SREPOVARI-REPORT= D_SREPOVARI-EXTDREPORT= KP 01RPSCO_X Z12KST1D4 I want to
-
Change Commission-value for Commisson-Groups on item/BP-level
Hello, at the moment it is possible to change the defined commission-% of an commisssion-group for specific items and BP. I was told by the support, that this is not the correct way according system definition and that's the reason why all this indiv