Oracle ASM剩余空间无法使用
客户的数据库,MESDB磁盘组一共3TB容量,查询asm视图,提示有>1TB的容量,建立datafile却失败,提示空间耗尽
SQL> set define off
SQL> ALTER TABLESPACE GINDX ADD DATAFILE '+MESDB/mesidxfile16' SIZE 30720M AUTOEXTEND OFF
ALTER TABLESPACE GINDX ADD DATAFILE '+MESDB/mesidxfile16' SIZE 30720M AUTOEXTEND OFF
Error at line 3
ORA-01119: 建立資料庫檔 '+MESDB/mesidxfile16' 時發生錯誤
ORA-17502: ksfdcre:4 無法建立檔案 +MESDB/mesidxfile16
ORA-15041: diskgroup "MESDB" space exhausted
Script Terminated on line 3.
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 1048576 3145728 1006654 0 1006654 0 N MESDB/
user8866386 wrote:
select * from v$version;
select ADI.* from V$asm_disk_stat adi,V$asm_diskgroup adg where adi.group_number=adg.group_number and adg.name='MESDB' ORDER BY DISK_NUMBER;
select * from V$ASM_OPERATION;
用code模式。
Edited by: user8866386 on Aug 31, 2012 10:30 AMselect * from v$version;
select ADI.* from V$asm_disk_stat adi,V$asm_diskgroup adg where adi.group_number=adg.group_number and adg.name='MESDB' ORDER BY DISK_NUMBER;
select * from V$ASM_OPERATION;
用code模式。
Edited by: user8866386 on Aug 31, 2012 10:30 AM
输出结果挺长,你可能需要在文本编辑器里,格式化一下
sql> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL> select ADI.* from V$asm_disk_stat adi,V$asm_diskgroup;
GROUP_NUMBER DISK_NUMBER COMPOUND_INDEX INCARNATION MOUNT_STATUS HEADER_STATUS MODE_STATUS STATE REDUNDANCY LIBRARY OS_MB TOTAL_MB FREE_MB HOT_USED_MB COLD_USED_MB NAME FAILGROUP LABEL PATH UDID PRODUCT CREATE_DATE MOUNT_DATE REPAIR_TIMER READS WRITES READ_ERRS WRITE_ERRS READ_TIME WRITE_TIME BYTES_READ BYTES_WRITTEN PREFERRED_READ HASH_VALUE HOT_READS HOT_WRITES HOT_BYTES_READ HOT_BYTES_WRITTEN COLD_READS COLD_WRITES COLD_BYTES_READ COLD_BYTES_WRITTEN VOTING_FILE SECTOR_SIZE FAILGROUP_TYPE
1 4 16777220 3915983631 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 2097152 2097152 759772 0 1337380 MESDB_DISK01 MESDB_DISK01 MESDB_DISK01 ORCL:MESDB_DISK01 2012/8/22 2012/8/22 0 197491219 78411660 0 0 1806838.23 841953.781 7353551337 2118442830336 139335019 0 0 0 0 197489003 78344939 7353508592128 2116626903040 N 512 REGULAR
1 4 16777220 3915983631 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 2097152 2097152 759772 0 1337380 MESDB_DISK01 MESDB_DISK01 MESDB_DISK01 ORCL:MESDB_DISK01 2012/8/22 2012/8/22 0 197491219 78411660 0 0 1806838.23 841953.781 7353551337 2118442830336 139335019 0 0 0 0 197489003 78344939 7353508592128 2116626903040 N 512 REGULAR
1 5 16777221 3915983632 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1048576 1048576 1183 0 1047393 MESDB_DISK02 MESDB_DISK02 MESDB_DISK02 ORCL:MESDB_DISK02 2012/8/22 2012/8/22 0 191111750 68315369 0 0 1873160.30 813549.192 6925011418 1400825472512 0 0 0 0 0 191106233 68277839 6924962786304 1400038196224 N 512 REGULAR
1 5 16777221 3915983632 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1048576 1048576 1183 0 1047393 MESDB_DISK02 MESDB_DISK02 MESDB_DISK02 ORCL:MESDB_DISK02 2012/8/22 2012/8/22 0 191111750 68315369 0 0 1873160.30 813549.192 6925011418 1400825472512 0 0 0 0 0 191106233 68277839 6924962786304 1400038196224 N 512 REGULAR
3 0 50331648 3915983633 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1024 1024 715 0 309 OCR_VOTE_DISK01 OCR_VOTE_DISK01 OCR_VOTE_DISK01 ORCL:OCR_VOTE_DISK01 2012/8/21 2012/8/21 0 144 1 0 0 0.41 0.011 1593344 4096 U 0 0 0 0 0 18 0 73728 0 Y 512 REGULAR
3 0 50331648 3915983633 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1024 1024 715 0 309 OCR_VOTE_DISK01 OCR_VOTE_DISK01 OCR_VOTE_DISK01 ORCL:OCR_VOTE_DISK01 2012/8/21 2012/8/21 0 144 1 0 0 0.41 0.011 1593344 4096 U 0 0 0 0 0 18 0 73728 0 Y 512 REGULAR
3 1 50331649 3915983634 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1024 1024 716 0 308 OCR_VOTE_DISK02 OCR_VOTE_DISK02 OCR_VOTE_DISK02 ORCL:OCR_VOTE_DISK02 2012/8/21 2012/8/21 0 47 1 0 0 0.198 0 192512 4096 U 0 0 0 0 0 0 0 0 0 Y 512 REGULAR
3 1 50331649 3915983634 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1024 1024 716 0 308 OCR_VOTE_DISK02 OCR_VOTE_DISK02 OCR_VOTE_DISK02 ORCL:OCR_VOTE_DISK02 2012/8/21 2012/8/21 0 47 1 0 0 0.198 0 192512 4096 U 0 0 0 0 0 0 0 0 0 Y 512 REGULAR
3 2 50331650 3915983635 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1024 1024 715 0 309 OCR_VOTE_DISK03 OCR_VOTE_DISK03 OCR_VOTE_DISK03 ORCL:OCR_VOTE_DISK03 2012/8/21 2012/8/21 0 62 1 0 0 0.284 0.008 258048 4096 U 0 0 0 0 0 6 0 24576 0 Y 512 REGULAR
3 2 50331650 3915983635 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1024 1024 715 0 309 OCR_VOTE_DISK03 OCR_VOTE_DISK03 OCR_VOTE_DISK03 ORCL:OCR_VOTE_DISK03 2012/8/21 2012/8/21 0 62 1 0 0 0.284 0.008 258048 4096 U 0 0 0 0 0 6 0 24576 0 Y 512 REGULAR
10 rows selected
SQL> select ADI.* from V$asm_disk_stat adi,V$asm_diskgroup adg where adi.group_number=adg.group_number and adg.name='MESDB' ORDER BY DISK_NUMBER;
GROUP_NUMBER DISK_NUMBER COMPOUND_INDEX INCARNATION MOUNT_STATUS HEADER_STATUS MODE_STATUS STATE REDUNDANCY LIBRARY OS_MB TOTAL_MB FREE_MB HOT_USED_MB COLD_USED_MB NAME FAILGROUP LABEL PATH UDID PRODUCT CREATE_DATE MOUNT_DATE REPAIR_TIMER READS WRITES READ_ERRS WRITE_ERRS READ_TIME WRITE_TIME BYTES_READ BYTES_WRITTEN PREFERRED_READ HASH_VALUE HOT_READS HOT_WRITES HOT_BYTES_READ HOT_BYTES_WRITTEN COLD_READS COLD_WRITES COLD_BYTES_READ COLD_BYTES_WRITTEN VOTING_FILE SECTOR_SIZE FAILGROUP_TYPE
1 4 16777220 3915983631 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 2097152 2097152 777346 0 1319806 MESDB_DISK01 MESDB_DISK01 MESDB_DISK01 ORCL:MESDB_DISK01 2012/8/22 2012/8/22 0 197514447 78421006 0 0 1807035.09 842068.066 7353752582 2118562780672 139335019 0 0 0 0 197512229 78354126 7353709828608 2116741659648 N 512 REGULAR
1 5 16777221 3915983632 CACHED MEMBER ONLINE NORMAL UNKNOWN ASM Library - Generic Linux, version 2.0.4 (KABI_V2) 1048576 1048576 9993 0 1038583 MESDB_DISK02 MESDB_DISK02 MESDB_DISK02 ORCL:MESDB_DISK02 2012/8/22 2012/8/22 0 191134288 68322380 0 0 1873356.16 813652.824 6925203033 1400905393664 0 0 0 0 0 191128768 68284800 6925154388992 1400114234368 N 512 REGULAR
SQL> select * from V$ASM_OPERATION;
GROUP_NUMBER OPERATION STATE POWER ACTUAL SOFAR EST_WORK EST_RATE EST_MINUTES ERROR_CODE
Edited by: Chip Lim on 2012-8-30 下午9:28
Edited by: Chip Lim on 2012-8-30 下午9:29
Similar Messages
-
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. -
Oracle ASM on top of ZFS volumes
What kind of overhead is involved if we configure Oracle ASM on top of ZFS volumes? Has anyone performed benchmarks using this scheme?
I've not done it personally with DNFS but I have created a multitude of clusters with NetApp on their NFS file system without ever having an issue other than saving a lot of money.
-
Hi,
We have two Linux hosts accessing EMC SAN LUNs and we have Oracle ASM Disks created on those devices. Both the Linux Hosts (server1/2)are in once Dell Blade Chassis1 and one of the Server we are planning to move to a different Dell Chassis(2) to have redundency in case of Chassis1 faliure. But if we move one server2 to Chassis2 the HBA WWN Number for the host on the new Dell Chassis2 will change ( WWNs are assigned by Chassis on Dell) and the server2 will loose all the SAN LUNs from EMC Array. I will have to rezone the new server WWNs to storage and pesent the same disks again and rescan the disks which will take couple of reboots. During this period EMC LUNs will not be visible to server2 and I would like to what will happen to ASM disks on the server2 and how to I accomlish this goal? Any detailed steps please? This is a production system with oracle 11g running.
This is the output of emc powerpath devices (LUNs) which is same on both the hosts.
[root@server2 ~]# powermt display dev=all | grep emc
Pseudo name=emcpowerl
Pseudo name=emcpowerj
Pseudo name=emcpowerf
Pseudo name=emcpowerk
Pseudo name=emcpowerg
Pseudo name=emcpowerh
Pseudo name=emcpowerm
Pseudo name=emcpoweri
[root@server2 ~]#
This are the ASM disks on both the hosts:
[root@server2 ~]# oracleasm listdisks
DATA01_F1
DATA01_G1
DATA01_H1
DATA01_I1
FRA01_L1
LOG01_J1
LOG01_K1
[root@server2 ~]#
Thanks in advance.808306 wrote:
But if we move one server2 to Chassis2 the HBA WWN Number for the host on the new Dell Chassis2 will change ( WWNs are assigned by Chassis on Dell) and the server2 will loose all the SAN LUNs from EMC Array.This does not sound correct to me. WWNs are global - not local. If the WWN is foo123 on server1 for EMC LUN1, why would it not also be foo123 on server2 for EMC LUN1? When you move to server3 or install server3, why would EMC LUN1 not have a WWN of foo123 on server3?
I will have to rezone the new server WWNs to storage and pesent the same disks again and rescan the disks which will take couple of reboots. Using Powerpath perhaps - using multipath, not. New devices (LUNs) can be made visible by the kernel my refreshing multipath - no reboot required. If existing LUNs are going to be changed - yes, a single reboot will be needed. But not multiple (unless you have a driver issue with stale connections not being reset on the storage server side).
This is the output of emc powerpath devices (LUNs) which is same on both the hosts.We dropped Powerpath a long time ago. There were compatibility issues between it and AsmLib kernel drivers. Powerpath taints the Linux kernel and limits kernel upgrade flexibility. I refuse to run it on our new clusters. I use multipath instead - the very same s/w used by some of the largest clusters (with Pentabyte storage) in the world. The comfort factor using Open Source drivers (and certified for that kernel version) is significantly higher than installing 3rd party kernel driver binaries - and having to deal with a 2nd party when it comes to o/s and kernel support.
Maybe you are looking for
-
Unable to add facet Spring 3.0
Trying to select Spring version 3.0 results in "Further configuration required". The Spring configuration wizzard does not enable Next-button when choosing "Spring Framework Bundle from Spring IDE" as Library type. Pressing OK and Apply removes the S
-
Missing domain files and how do I find them?
Two related questions and I will try to be brief. both are related. 1. If I have several iWeb projects, I create a folder in each client's folder where I store their domain.sites2 file. When I set up a new project for a new client I usually have to m
-
Hi all, I want to use non English characters (Greek characters) for folders of the URLs. eg http://www.mysite.com/Φάκελος/index.cfm where "Φάκελος" is a non English word (Greek). When the called page is simple HTML eg www.mysite.com/Φάκελος/inde
-
I have cleared cache and cookie and keep getting this message when i try to log into hotmail. Only happens in Mozilla, not other browsers. "Something went wrong and we can't sign you in right now. Please try again later." It's been 10 days and nothin
-
Is it safe to store my macbook air on its end?
I have limited space and was hoping it would be "safe"to store my MacBook Air on it's end (vs flat)? If so, any end? I'm thinking that you carry it around in a messenger bag or something and it is upright, so it probably is safe, but not sure for a