Use Oracle ASM
Hello all,
Would someone shed some light for me on how to configure my oracle database with ASM on SUSE9? I am new to ASM so I have no idea. I don't have anything installed yet. Not even oracle software. This is a fresh install. When I run the runInstaller, I selected ASM but it didn't see any disks. Do I need to format my disks and mount them or just leave them raw? Any help is appreciated.
thanks,
Thank you Hans. So raw disks only. So why would
Oracle talks so much about ASM when it only support
raw disks? If your server uses either LVM or VxVM,
then ASM is out of the question, correct?Part of the problem is the typical file system is designed to handle large numbers of small files. Another part of the problem is an LVM is designed to handle (eg:stripe) on a sector basis, regardless of actual contents.
ASM provides a database-oriented counterpart to LVM that understands load balancing and logical management - at the tablespace file level.
Often people put a file system on top of LVM. However, in RAC this MUST be a cluster-aware file system. ASM replaces the need for a cluster-aware file system.
LVM can be used in conjunction with ASM. Although ASM is effectively both an LVM AND a file system all by itself.
Similar Messages
-
We are looking for a low cost solution for some qa databases and I am trying to find out if you can use iscsi storage for running multiple instances using Oracle ASM?
Is this supported and is this a good idea?
Thx.Such a configuration works,but neither supported nor recommended for production environments:
http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html
Werner -
I setup two databases on the same server one configured to use Oracle ASM and the other just sitting on top of an LVM2 volume using the same set of disks. They are both configured exactly the same, but on the ASM database it takes 7 minutes to run a simple count on a large table and 2 minutes on the other. I noticed that when running the query on the ASM db the CPU usage stays very low, but on the other it goes to 100%. Is there some sort of tuning I need to do on the ASM side?
Am using ASM extensively.. and no, it is not slower. If it seems to be, you need to pop the hood, inspect the setup and configuration and implementation - as it is likely flawed.
On Linux, if you want to use ASM properly, then assign block devices directly to ASM. Do not put LVMs and cooked file systems and other software layers in between.
From a Linux perspective: the only software layer that, IMO, can be below ASM is multipath. And if you're not using HBAs and external storage, or srp devices and Infiniband storage, then multipath is not needed and ASM should deal directly with the disks as block devices. -
Hi,
I have a new server Sunfire X4100 4x146G SAS disks running Solaris 10 X86 U4.
1 pair of disks is Hardware mirrored for the OS. I created Oracle home on this partition and installed oracle 10g.
I have been trying to decide if using Oracle ASM for the othere two disks is a good idea or not. Should I us ASM to create a disk group with the two remaining disks and run my production database on it or should I stick with manual storage management and raid those disks in hardware or even ZFS... ahh the choices?
The white papers talk about databases with loads of disks and controllers, I am not at that level of hardware and expenditure, YET!
Do ASM and OMF remove the need for me to manage the datafiles for the tablespaces?
Do they handle the layout and optimization of the tables within a tablespace or is that still down to the admin to define the size of the extents during expansion etc?
Can I run a standby database using non ASM storage from a database which uses ASM storage? If this is possible how are the datafiles handled on the standby database?
I guess I could keep reading but I hoped some benevolent sole might already know the answers and save me days of reading!
Finally, How reliable is ASM anybody care to comment? I know I can recover data using my existing OS level database files and ASM makes me uneasy...You really want to invest in http://www.oracle.com/technology/bookstore/index.html
Bottom line: with ASM, the database still runs against RAW disk (physical or LVM) for best possible performance. However, instead of grabbing an entire disk for each tablespace, ASM holds the metadata that tells the database instance where to read and write for specific tablespaces. This allows ASM to coordinate things like striping in a way that is really beneficial for the database.
The white papers talk about databases with loads of
disks and controllers, I am not at that level of
hardware and expenditure, YET!ASM allows you to grow to that when needed.
>
Do ASM and OMF remove the need for me to manage the
datafiles for the tablespaces?Effectively yes. ... remove? how about minimize ...
Do they handle the layout and optimization of the
tables within a tablespace or is that still down to
the admin to define the size of the extents during
expansion etc?ASM uses the principals of SAME (Stripe and Mirror Everything) to minimize admin.
>
Can I run a standby database using non ASM storage
from a database which uses ASM storage? If this is
possible how are the datafiles handled on the standby
database?Logical or physical standby. (I only have experience in the physical standby matching the storage technique of the prime. But I don't see why it should impact the physical standby to mix.)
>
I guess I could keep reading but I hoped some
benevolent sole might already know the answers and
save me days of reading!I know what you mean. The book mentioned above does consolidate a lot of the reading - worth the price and effort.
>
Finally, How reliable is ASM anybody care to comment?Very - you are still using RAW disk and Oracle has been doing that for decades.
I know I can recover data using my existing OS level
database files and ASM makes me uneasy...Not unusual. -
Configuring Oracle ASM 11gR2 to use ASMM
Hello,
Kernel hugepages under Oracle Linux is incompatible with Oracle AMM. The Oracle ASM instance under 11g uses AMM by default. So in order to configure Oracle ASM to use ASMM, what are the recommended settings please?
I reviewed http://docs.oracle.com/cd/E18283_01/server.112/e16102/asminst.htm#CHDBBIBF which outlines some information about various pool size parameters required for ASMM, depending on the size of the datafiles that will used.
But what about typical ASMM parametes like sga_target and pga_aggregate_target, or are these not used in an ASM instance?
How have you configred ASMM for Oracle ASM 11gR2?
Thanks!The minimum MEMORY_TARGET requirment for Oracle ASM is 256 MB. which we have set in ASM.
But what about typical ASMM parametes like sga_target and pga_aggregate_target, or are these not used in an ASM instance? yes ,they will be used ,below snap from aix 6.1 OS
SQL> sho parameter memory
NAME TYPE VALUE
memory_max_target big integer 272M
memory_target big integer 272M
SQL> r
1* select * from V$MEMORY_DYNAMIC_COMPONENTS
COMPONENT CURRENT_SIZE MIN_SIZE MAX_SIZE USER_SPECIFIED_SIZE OPER_COUNT LAST_OPER_TYP LAST_OPER LAST_OPER GRANULE_SIZE
shared pool 201326592 201326592 201326592 0 0 STATIC 4194304
large pool 20971520 12582912 20971520 12582912 2 GROW IMMEDIATE 04-JUN-12 4194304
java pool 0 0 0 0 0 STATIC 4194304
streams pool 0 0 0 0 0 STATIC 4194304
SGA Target 264241152 255852544 264241152 0 2 GROW IMMEDIATE 04-JUN-12 4194304
DEFAULT buffer cache 0 0 0 0 0 STATIC 4194304
KEEP buffer cache 0 0 0 0 0 STATIC 4194304
RECYCLE buffer cache 0 0 0 0 0 STATIC 4194304
DEFAULT 2K buffer cache 0 0 0 0 0 STATIC 4194304
DEFAULT 4K buffer cache 0 0 0 0 0 STATIC 4194304
DEFAULT 8K buffer cache 0 0 0 0 0 STATIC 4194304
COMPONENT CURRENT_SIZE MIN_SIZE MAX_SIZE USER_SPECIFIED_SIZE OPER_COUNT LAST_OPER_TYP LAST_OPER LAST_OPER GRANULE_SIZE
DEFAULT 16K buffer cache 0 0 0 0 0 STATIC 4194304
DEFAULT 32K buffer cache 0 0 0 0 0 STATIC 4194304
Shared IO Pool 0 0 0 0 0 STATIC 4194304
PGA Target 20971520 20971520 29360128 0 2 SHRINK IMMEDIATE 04-JUN-12 4194304
ASM Buffer Cache 25165824 25165824 25165824 0 0 STATIC 4194304
16 rows selected.Edited by: Kuljeet Pal Singh on Jun 27, 2012 6:59 PM -
How to transfer files using Oracle Managed File Transfer from Oracle EBS 12.1.3
Hello,
I'm looking for ideas to securely transfer files bi-directional between Oracle EBS 12.1.3 to IIS using Oracle Managed File Transfer and SOA. Any help is greatly appreciated.
ThanksHi Hussain,
In the Note 466649.1
Edited
I have installed R12.1.1
Datafiles on installed on local file system /u01/EBS_DATa/*dbf, *.ctl, *.log
doing non RAC to RAC conversion with ASM option,
I am using ASM with RAC and created ASM disks (DATA, FRA, CRS) on Shared SAN disks between node1 and node2 which are DATA for CRD (control, redo and Data) files, FRA for archive files, CRS for cluster files while doing RAC instalation,
now how i move my CRD on local file system /u01/EBS_DATa/*dbf, *.ctl, *.log to shared ASM disk DATA ???????
Please describe with step wise,
Thanks in advance.
Regards,
Vara
Edited by: user13409653 on Jan 3, 2012 12:25 AM
Edited by: user13409653 on Jan 3, 2012 5:10 AM -
Oracle ASM Configuration on Solaris Cluster - Oracle 11.2.0.3
Hi,
I want some clarifications!
I need to set Active and Passive Cluster settup on Solaris 10 SPARC Operating System, the HA software is Solaris Cluster and Oracle 11.2.0.3.
1) I understand "Single instance Oracle ASM is not supported with Oracle 11g release 2" so we need to go for Clustered ASM - is it required to use RAC framework in this case?
2) When i use the RAC framework, do i need to have license for RAC?
Am new to Oracle, any help is appreciated.
Regards,
ShashankHi,
I want some clarifications!
I need to set Active and Passive Cluster settup on Solaris 10 SPARC Operating System, the HA software is Solaris Cluster and Oracle 11.2.0.3.
1) I understand "Single instance Oracle ASM is not supported with Oracle 11g release 2" so we need to go for Clustered ASM - is it required to use RAC framework in this case?
2) When i use the RAC framework, do i need to have license for RAC?
Am new to Oracle, any help is appreciated.
Regards,
Shashank -
Can I use Oracle Clusterware 11 against 10.2.0.4 databases?
Implementing a 2 node RAC system on Linux RHEL 5, with version 10.2.0.4 databases. I read a fleeting post mentioning that you can use Oracle Clusterware version 11 against a 10R2 databases - is that the case? I've searched but can find no additional information regarding this, so if anyone can provide additional links or info, I would be most appreciative -
-kpwHi,
Implementing a 2 node RAC system on Linux RHEL 5, with version 10.2.0.4 databases. I read a fleeting post > mentioning that you can use Oracle Clusterware version 11 against a 10R2 databases - is that the case? Yes,
You can use the 11g clusteware to manage 10g and 11g RAC databases.
I've searched but can find no additional information regarding this, so if anyone can provide additional links or info, I would be most appreciative -
Take a look here [Understanding Compatibility in Oracle RAC Environments|http://download.oracle.com/docs/cd/E11882_01/rac.112/e10718/admin.htm#RACAD803], here [Oracle Clusterware Version Compatibility|http://download.oracle.com/docs/cd/E11882_01/rac.112/e10717/intro.htm#CWADD1118] and also in metalink note 337737.1 (Oracle Clusterware - ASM - Database Version Compatibility)
Hope it helps,
Cerreia
Edited by: Cerreia on 27/10/2009 20:38 -
We have Oracle datbase 11gR1 in RAC node with Oracle ASM.Recently our database server got crashed and we are trying to restore back services.
Using Snapshot technologyBusiness copy we had synced all our disk on storage level. Post this when we are trying to start ASM instance on node 1 it is coming and showing all diskgroups but on other node it is throwing errot with missing e diskgroup.
ORA-15032: not all alterations performed
ORA-15040: diskgroup is incomplete
ORA-15042: ASM disk "5" is missing
Expert please share your views.
Thanks,
TusharThe I/O fabric layer on the other node failed to mount all storage LUNs - resulting in ASM being unable to mount a diskgroup as there are missing disks in that group.
Rebooting is exactly what could be needed to reset the h/w and infrastructure used by that node, in order for it to see all the storage disks again. As node 1 sees all storage disks (and is working), the disk itself on the storage system is intact and usable.
What is the o/s? What is the fabric layer? What is used on o/s for dealing with the I/O fabric layer? -
Do we need rpm package oracleasmlib for using Oracle ASMLib?
..The Oracle ASMLib kernel driver is now included in the Unbreakable Enterprise Kernel.
No driver package needs to be installed when using this kernel.
The oracleasm-support and oracleasmlib packages still need to be installed from ULN+
http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html
i use:
root@oel62 ~]# uname -r
2.6.32-300.3.1.el6uek.x86_64I understood:
-oracleasm: is include in the kernel(kernel/drivers/block/oracleasm/oracleasm.ko)
-oracleasm-support: can be found on the install ISO or in Oracle Public Yum Server.
-oracleasmlib: ? not found in Oracle Public Yum Server! can be found only in ULN?
Question: Do we need it, rpm package oracleasmlib for install Oracle ASMLib?
I have add kernel module oracleasm (via modprobe) and install rpm oracleasm-support
(but without oracleasmlib) and it works !!??
..and I'm confused ???Dude wrote:
Saying that it works seems quite audacious to me. Well, I can start the engine, let's fly! I'd rather remain on the ground ;-)Hi Dude!
You do not mean I talk nonsense, right?
Maybe! But once again i will protocol here what i did.
It would be very nice if you take a look here:
Ok! Step by step..
My environment: Oracle Linux 6.2 in VMWare
Linux kernel:
[root@oel62 ~]# uname -r
2.6.32-300.3.1.el6uek.x86_64Install oracleasm:
[root@oel62 ~]# modprobe oracleasm
[root@oel62 ~]# modprobe -l oracleasm
kernel/drivers/block/oracleasm/oracleasm.ko
[root@oel62 ~]# lsmod | grep oracle
oracleasm 48482 1 Install oracleasm-support:
root@oel62 ~]# yum install oracleasm-support
Installed:
oracleasm-support.x86_64 0:2.1.5-1.el6
Complete!I have only oracleasm-support(no oracleasmlib!)
[root@oel62 ~]# rpm -qa| grep oracleasm
oracleasm-support-2.1.5-1.el6.x86_64
[root@oel62 ~]# Status:
[root@oel62 ~]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: noConfigure:
[root@oel62 ~]# /etc/init.d/oracleasm configure
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]Status again:
root@oel62 ~]# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yesI create 2 virtual disks and then create partition on those disks.
Result: /dev/sdg1, /dev/sdh1
and now create ASM disks:
[root@oel62 ~]# oracleasm createdisk asmdisk1 /dev/sdg1
Writing disk header: done
Instantiating disk: done
[root@oel62 ~]# oracleasm createdisk asmdisk2 /dev/sdh1
Writing disk header: done
Instantiating disk: donelistdisks
[root@oel62 ~]# oracleasm listdisks
ASMDISK1
ASMDISK2querydisk
[root@oel62 ~]# oracleasm querydisk -d /dev/sdg1
Device "/dev/sdg1" is marked an ASM disk with the label "ASMDISK1"
[root@oel62 ~]# oracleasm querydisk -d /dev/sdh1
Device "/dev/sdh1" is marked an ASM disk with the label "ASMDISK2"-Create diskgroup TEST_DG:
run asmca, step through all screens, specify "Disk discovery path"
/dev/oracleasm/disks/*Result:
ASMCMD [+] > lsdsk -p -G test_dg
Group_Num Disk_Num Incarn Mount_Stat Header_Stat Mode_Stat State Path
1 0 3915949404 CACHED MEMBER ONLINE NORMAL /dev/oracleasm/disks/ASMDISK1
1 1 3915949403 CACHED MEMBER ONLINE NORMAL /dev/oracleasm/disks/ASMDISK2-Run dbca create a database testdb with storage using diskgroup TEST_DG
and here is the DB testdb on diskgroup test_dg
[grid@oel62 ~]$ rlwrap asmcmd -p
ASMCMD [+] > ls test_dg/testdb
CONTROLFILE/
DATAFILE/
ONLINELOG/
PARAMETERFILE/
TEMPFILE/
spfiletestdb.ora
ASMCMD [+] > ls -l test_dg/testdb/datafile
Type Redund Striped Time Sys Name
DATAFILE UNPROT COARSE JUN 27 11:00:00 Y SYSAUX.257.787055133
DATAFILE UNPROT COARSE JUN 27 11:00:00 Y SYSTEM.256.787055133
DATAFILE UNPROT COARSE JUN 27 11:00:00 Y UNDOTBS1.258.787055133
DATAFILE UNPROT COARSE JUN 27 11:00:00 Y USERS.259.787055133
ASMCMD [+] > Service status:
[grid@oel62 ~]$ srvctl status diskgroup -g test_dg
Disk Group test_dg is running on oel62
[grid@oel62 ~]$ Once again i did not install oracleasmlib!
I have no RPM oracleasmlib on my system:
root@oel62 ~]# rpm -qa| grep oracleasm
oracleasm-support-2.1.5-1.el6.x86_64It is a "perfect" installation, or what do you mean?
It works fine, but why it works??
Well, folks! Tell me now why it works without oracleasmlib ?
What happened, what is going on here?
Thank you for reading my long text here! -
Is the Use of ASM Mandatory in 11g Rel 2
Hello.
I am currently using Oracle DB server 11g Rel 1 (11.1.0.7.0). We are planning on going to Release 2 soon. We do not use ASM at the moment, but have a NAS implemetation instead. An associate of mine who is also on Rel 1 of 11g told me that I will be REQUIRED to use ASM when I go to 11g Rel 2. I have not ever heard this before and not found it in any documentation that I have ever looked at. My simple question: is ASM required when going to Oracle DB 11g Release 2? Thank you.
MattMatt,
From 11g onwards, the support of raw devices is removed by oracle. So what your colleague probably wanted to mention that if you are having a use of raw devices in the current set up of yours, it won't be supported in 11.2. This is partially correct since if you are already on raw, after upgrading as well, oracle would support it at least for 11.2 . In 12g, this won't be possible at all and you would need to migrate to the ASM on a mandatory basis. The file system support(cooked) remains as it is and thus is available in both previous versions and in 11.2 as well. This also would remain as a supported option in the next releases as well.
Hope that helps.
Aman.... -
How reInstall Gride Infrastructure and Use old ASM disk groups
<pre>Hello to all
I installed Grig Infrastructure 11gR2 on a standalone server (OS is Linux)
and I configured ASM and my database created on ASM
Conceive that my OS disk corrupted and OS doesn't start and the Gride Home is on that disk,
and I have to install OS again
My ASM disks are safe , Now how can I install Grig Infrastructure again somehow that it can use previous ASM disks
and disk groups and I don't oblige to create my database again ?
In the step 2 of installing Gride Infrastructure it has four options
<pre>
1.Install and configure Oracle Grid Infrastructure for a Cluster
2.Configure Oracle Grid Infrastructure for a Standalone Server
3.Upgrade Oracle Gride Infrastructure or Oracle Automatice Storage Management
4.Install Oracle Gride Infrastructure Software Only
</pre>
If I select the option 2 it wants to create a disk group again
I guess that I need to select option 4 and then do some configuration but I don't know what I must configure
Do you know answer of my question , if yes please explain it's stages
Thank you so much
</pre>Hi,
no you are not obliged to recreate your database again. However there is a small flaw in the installation procedure, which does not make it 100% easy...
When you installed the Oracle Restart (Standalone GI), your ASM diskgroup will contain the SPFILE of the ASM instance. And this is exactly the small flaw you will be encountering. So you have 2 options for "recovery":
1.) Do a software only install (4), and run roothas.pl. This however will not create any ASM entries. You would have to add it manually (using srvctl) and you can specify the ASM Spfile with the srvctl command. Problem here is however to have to know where your ASM spfile has been. If you have a backup of your OLR and a backup of the GPNP profile, this might be easier to find out.
2.) Do a new installation (2) and configure a new diskgroup (with a "spare" disk or small lun and a new name), that Oracle restart creates ASM instance and the new ASMSpfile for you.
Then you can simply mount the diskgroup containing your database additionally. You then shoudl however move your new ASMSpfile to the new diskgroup (or simply exchange it with the existing one). In this case it is easier to find out where it was - however you will need a spare (though small) LUN for the new spfile (temporarily, until you exchange it).
In either case after you have your ASM instance back (and access to your old diskgroup), you have to reregister your database and services - if you do not have an OLR backup.
Again => It is doable and you can simply mount the ASM diskgroup containing your database. However I suggest you try this one time to know what really needs to be done in this case.
Regards
Sebastian -
Oracle ASM uninstall issue.
Hello folks. I am using Oracle Database 10.2.0.5
I am having some issues here:
I was told to uninstall a Single instance database that was using a ASM.
I did it using dbca, now i was told to uninstall ASM. But i have a problem, i don't know what's the node's name. How can i check this, once the database was already uninstalled ?
I tried to use crs_start
Thanks in advance.
Edited by: BSalesRashid on 07/02/2013 08:17BSalesRashid wrote:
Hello folks. I am using Oracle Database 10.2.0.5
I am having some issues here:
I was told to uninstall a Single instance database that was using a ASM.
I did it using dbca, Well, that did not "uninstall" anything, it just deleted a particular database.
now i was told to uninstall ASM. Maybe you should explain exactly what you mean by "uninstall", seeing as your usage of the term in regards to databases is incorrect.
But i have a problem, i don't know what's the node's name. How can i check this, once the database was already uninstalled ?Where are you being asked for the node's name. What node? Is this a RAC setup?
>
I tried to use crs_start To do what?
>
Thanks in advance.
Edited by: BSalesRashid on 07/02/2013 08:17 -
How to Install Oracle ASM 11gR2 In Oracle Linux 6.5
Hi
I want to install oracle ASM in oracle linux 6.5 .
Can any one helps me to find a paper with above subject?
ThanksTheses steps only if You want to use ISCSI. This is fine to get the howto:
If You ar running in VM Ware Boxes:
Add the following to the *.vmx file for the virtual machine:
disk.EnableUUID = "TRUE"
Restart the vm machine and the /dev/disk/by-id/scsi**** should be visible.
That's a nasty one - without this ISCSI just doesn't work
chkconfig iscsi on
iscsiadm -m discovery -t st -p 192.168.146.100
iscsiadm -m node -T iqn.1991-05.com.microsoft:iscsi-asm-target -p 192.168.146.100 -l
192.168.146.100 <=== IP Number of ISCSI Host
iqn.1991-05.com.microsoft:iscsi-asm-target <== Name of ISCSI Server, you get this as output from discovery command
Now, you must make sure that the devices belong to oracle.
Take a look at this link:
http://www.oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux-5-and-6.php#make_scsi_devices_trusted
Add the following to the "/etc/scsi_id.config" file to configure SCSI devices as trusted. Create the file if it doesn't already exist.
options=-g
/sbin/scsi_id -g -u -s /block/sdc <== for all ISCSI devives
vi /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1a9a1ce9b75e35f63", NAME="asm1-disk1", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18af9aa132d316eca", NAME="asm1-disk2", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b5bd65a6089784ae", NAME="asm1-disk3", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b0098f974c463139", NAME="asm1-disk4", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18b94be6b8e64ae1a", NAME="asm2-disk1", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1ba97827387889d2f", NAME="asm2-disk2", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c19344e120143d71a6", NAME="asm2-disk3", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b088599c1a9a0a7f", NAME="asm2-disk4", OWNER="asm", GROUP="dba", MODE="0660"
RESULT=="360003fff419213c1b088599c1a9a0a7f" <=== That is returned by /sbin/scsi_id -g -u -s
Reload:
/sbin/udevcontrol reload_rules
/sbin/start_udev
Now you have your devices read, belonging to oracle:
ls -al /dev/asm*
Next go to oracle download click on list all and get:
Oracle Grid Infrastructure 11g Release 2 (11.2.0.1.0) for Linux x86-64
After extracting this you are ready to go.
When starting the install process you get an option to "change path", here select /dev.
In my test systems I use to set "external" for dataprotection.
Regards
Christian -
Hello Experts,
My name is Rohan and I'm working as Oracle DBA now I came accross the ASM and I want to learn it.
I have basic knowledge of Oracle ASM and I have also configured/created an instance with the help of DBCA.
Now for the better understandings I want to create the same with Command line.
Will anybody please give me the proper tutorial for the same?????
I am using oracle 11.2.0.3 on windows.
Thanks in advance.Hello,
Need your help again.
I have successfully created the diskgroup and mounted
please find the logs below:
asmtool -list
NTFS \Device\Harddisk0\Partition1 100M
NTFS \Device\Harddisk0\Partition2 99900M
NTFS \Device\Harddisk0\Partition3 376938M
ORCLDISKDATA \Device\Harddisk1\Partition1 1022M
ORCLDISKDATA1 \Device\Harddisk2\Partition1 1022M
C:\Windows\system32>sqlplus / as sysasm
SQL> select DISK_NUMBER,path from v$asm_disk;
DISK_NUMBER PATH
1 \\.\ORCLDISKDATA
0 \\.\ORCLDISKDATA1
SQL> select NAME,STATE,TYPE,TOTAL_MB,FREE_MB from v$asm_diskgroup;
NAME STATE TYPE TOTAL_MB FREE_MB
DATA MOUNTED NORMAL 2044 1942
Now I am connected to sysdba and firing the command to create database it's showing me the following error :
create database testdb
ERROR at line 1:
ORA-15000: command disallowed by current instance type
How to troubleshot this problem?
PFB the create database script :
create database rohan
logfile group 1 ('+DATA\disk1\redo1.log') size 10M,
group 2 ('+DATA\disk1\redo2.log') size 10M,
group 3 ('+DATA\disk1\redo3.log') size 10M
character set WE8ISO8859P1
national character set utf8
datafile '+DATA\disk1\system.dbf'
size 50M
autoextend on
next 10M maxsize unlimited
extent management local
sysaux datafile '+DATA\disk1\sysaux.dbf'
size 10M
autoextend on
next 10M
maxsize unlimited
undo tablespace undoTBS
datafile '+DATA\disk1\undo.dbf'
size 10M
default temporary tablespace temp
tempfile '+DATA\disk1\temp.dbf'
size 10M;
Maybe you are looking for
-
How do I transfer music from my ipod to a new computer?
I need to move all the music from my ipod to a new computer so I can put it in iTunes?
-
Adjust standard font (Times new Roman) in an interactive pdf created in Indesign
Could anybody please help me out? Is it possible (and if so, please tell me how) using Indesign CS6 for creating an interactive form: - to choose a font (i.e. arial) and have this being exported as interactive pdf (instead of the regular used font Ti
-
Window RUEKOPF is not defined for form ZWESCHEINV3
Hi Guru, I have encountered an issue whose possible resolution i am not able to meet. The issue is like this : While performing MIGO for the Return Delivery user is successfully getting the maerial document number . But when user trying to perfor /n
-
Mail Crashes on viewing HTML email
Hi, I've been having trouble with Mail crashing when I click on an email that is formated as HTML or RTF. Not all of them will crash Mail just certain emails. I have notices that emails that come Microsoft Outlook on windows tend to crash Mail readil
-
Mac Mini WiFi (airport) fails after waking from sleep
I recently bought a Mac Mini (Mid 2010 model)...my first Apple computer since my dearly departed IIe. I've been having repeated intermittent issues with the WiFi on this machine. Owning it for two weeks, then one day it woke from sleep, and decided