Oracle ASM failgroup confused....
hello,
iam pretty much confused with the fail groups here. see i have three 4 disks configured for asM
/dev/sdc1
/dev/sdd1
/dev/sde1
/dev/sdf1
i create a asm diskgroup using two disks with normal redundancy as follows:
create diskgroup asdf nomal redundancy
failgroup fail1 DISK
'/dev/sdc1' name disk01
failgroup fail2 DISK
'/dev/sdd1' name disk02
attribute 'au_size'='4M','compatible.asm'='11.1','compatible.rdbms'='11.1';
sorry for not including this statement before...
alter diskgroup asdf add disk '/dev/sdd1';
after creating the diskgroup the views the shows the information as
select name,group_number,total_mb from V$ASM_DISKGROUP;
NAME GROUP_NUMBER TOTAL_MB
ASDF 1 12276
select group_number,disk_number from v$asm_disk;
GROUP_NUMBER DISK_NUMBER
0 3
0 4
1 0
1 1
1 2
can any one please explain what is going on here... what is the group with group number 0
and as far as the oracle documentation is considered if we dont specify the failgroup during the datagroup creation time then each disk we specify in the CREATE DISKGROUP STATEMENT will be assigned one fail group.. if it is this case then how are the data being distributed and is the existing data in the diskgroup evenly distributed amoung all the disks in the diskgroup...
help please....
Edited by: vishnusivathej on Sep 18, 2010 7:35 PM
select GROUP_NUMBER, DISK_NUMBER, MODE_STATUS, STATE, NAME, PATH from v$asm_disk;
GROUP_NUMBER DISK_NUMBER MODE_ST STATE NAME
PATH
0 3 ONLINE NORMAL
/dev/sde1
0 4 ONLINE NORMAL
/dev/sdf1
1 0 ONLINE NORMAL DISK01
/dev/sdb1
GROUP_NUMBER DISK_NUMBER MODE_ST STATE NAME
PATH
1 1 ONLINE NORMAL DISK02
/dev/sdc1
1 2 ONLINE NORMAL ASDF_0002
/dev/sdd1
Similar Messages
-
Oracle ASM file access control ?
dear all,
i'm confuse about oracle ASM file access control, so can anyone more explain clear for me?
thanks,really this is only if there are many user groups on the server. if so then you can limit the users on the server to who can actually do anything with the diskgroups. If you are using OEM follow below. hope that helps
To manage Oracle ASM File Access Control:
1.Access the Oracle Automatic Storage Management Home page.
See "Oracle Automatic Storage Management Home Page" for instructions.
2.Click the Disk Groups link to display the Disk Groups property page.
3.Click a link in the Name column to select a disk group.
4.Click the Access Control tab to display the Access Control page.
On this page, you can add or remove users from a user group and create or delete user groups. -
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 -
Oracle ASM installation in Solaris Cluster
hello Experts,
Could someone please tell me how to install Oracle ASM in Solaris Cluster and how to integrate it into the cluster resources.
Details,
2 Nodes (Pri & Sec) solaris 10 SPARC 64 bit OS
solaris cluster 3.3 u5/11
Thanks & Regardshi,
pls take a look at tihs doc
http://docs.oracle.com/cd/E18728_01/html/821-2678/gjcwv.html
regards, -
ORACLE ASM OR ZFS IN SOLARIS 11
ORACLE DBA EXPERTS
What kind of storage technology is recommended in order to implement an Oracle 11gr2 database in a Solaris 11 OS?
-Oracle ASM or the Solaris 11 ZFS filesystem.
Its any difference between the performance of both storage technologies?
Thanks for answer my questions and i wish to yours a very "Happy Hollydays".
Sincerely,
JOHN JAIRO GOMEZ LAVERDEFrom what I understand Oracle recommends ASM. You cannot directly compare ASM with ZFS. ASM is a storage solution providing data management, availability and redundancy specific to Oracle. ZFS is an advanced file system. Whether you choose one over the other will depend on your storage requirements and knowledge.
-
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? -
Hi,
Having a multiple Oracle ASM disk group is more beneficial for Oracle database? if no why? if yes why?
Any metalink note if have.
thanksAny metalink note do you refer?What is your database version?
Please see these docs.
11g ASM New Feature [ID 429098.1]
ASM 11g New Features - How ASM Disk Resync Works. [ID 466326.1]
Thanks,
Hussein -
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 -
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 -
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; -
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 -
Oracle ASM rebalancing does change rowid??
Hi, all.
The db is 11.2.0.3 on a linux machine.
I use ASM for storage management.
When oracle ASM rebalancing occurs, does the rowid of rows change?
In my production environment, some application modules depend on rowid of rows.
Have a wonderful day.
Best Regards.Hi
When oracle ASM rebalancing occurs, does the rowid of rows change?No, the load balancing is doie by moving ASM allocation units i.e datafiles extents (synonymous to OS blocks) to other physical volumns within same diskgroup to make data spread across all volumes in a balanced way. It has nothing to do with rowids and you should not worry about it.
Salman -
This is more of a planning side question. My company need to install oracle ASM 10G R2 with 10.2.3 patchset on a 32bit linux machine. I am comparatively new to this so doesn't have a thorough understanding.
The hardware configuration I am going to have is 6 x 300GB 15K RPM SAS 3Gb/s Drives in a RAID5 to create a single logical drive. Is this a good configuration to install ASM? I can change the hardware configuration as per the requirement.
I heard that ASM requires two logical drives. If so, do I need to make this into two logical drives? If I am making into 2 logical drives, I will loose 300G for parity drive and I must avoid that. Is there any other raid combination which is good for ASM?
RAID5 provides the striping feature that takes care of contiguous data stored in different disks. Does ASM do the same thing? What additional benefits I will get from ASM? I have done some googling but I couldn't understand most of them. Can anybody help?Read this first :
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm
and then post if you have questions left . -
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. -
Oracle ASM - Adding did devices
So I am trying to follow the instructions found here: [http://wikis.sun.com/display/SunCluster/Oracle+ASM+With+Sun+Cluster+Support+for+Oracle+RAC|http://wikis.sun.com/display/SunCluster/Oracle+ASM+With+Sun+Cluster+Support+for+Oracle+RAC]
When I perform the dd command, I am treated with the following output:
bash-3.00# dd if=/dev/zero of=/dev/did/rdsk/d12s6 bs=1024k count=200
dd: /dev/did/rdsk/d12s6: open: No such device or addressOracle cannot see these devices and utilize them for ASM. Any thoughts?I've tried a bunch of different formats.. The latest, is per the book "Oracle Storage Management: Under-the-hood & Practical Deployment Guide".
partition> print
Current partition table (unnamed):
Total disk cylinders available: 32766 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 32765 40.00GB (32766/0/0) 83880960
3 unassigned wm 0 - 2 3.75MB (3/0/0) 7680
4 unassigned wm 4 - 32765 39.99GB (32762/0/0) 83870720
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0Still, no go... I am choosing the SMI option when labeling.
Maybe you are looking for
-
How do I convert a pdf file into a fillable pdf form
how do i convert a pdf into a fillable pdf
-
I have several projects in RoboHelp 11 that are complete in English, but now we are translating the content. I have read through the multiple language workflow instructions in the help, but I can't seem to interpret what they are saying. This step fr
-
How to video computer without flicker
How do you create a video of your computer screen without seeing the flicker?
-
How can i acess my serial number
How can i acess my serial number if my Iphone 5C is completly dead and the charger doesn't work.
-
Can't find my printer using Air print
Can't find my HP Photosmart C4783 printer in iphone using Air print Can anybody help please