Oracle 12c ASM Disk Problem on AIX
Hi All,
We need to install 12.1.0.2 DB with ASM option on AIX 7.1. When we start to install 12.1.0.2 grid installation, in the 3.step we could not show adding Candidate disks to ASM. Disks right are 660 and oracle:oinstall ownership.
When we start to install 11gR2 installation on same platform we can see the Candidate Disk, and We can install 11gR2 ASM+DB on same platform. But for 12.1.0.2 is not.
How can we add Candidate Disks to 12c ASM İnstallation for below step ? The disks which is not shown for this step are like below. After first error I have changed disks' ownership like oracle:asmadmin, it isn't solved. I need urgent help.
Hi Sve,
Thanks for replying me. What you have written are tried but not works. I have solved problem.
The problem is related AIX platform. I have Solved problem with below steps.
1- I have installed grid infrastructure with Software Only option.
2- After install Software Only Standalone Grid, I have tried to install manually ASM instance. But I have taken this error. rtld: 0712-001 Symbol CreateIoCompletionPort was referenced and it is solved with this MOSC ID: Doc ID1949184.1)
3- After Successfull 2.step you can now install ASM manually from asmca.
Similar Messages
-
Oracle 9i DB Installation Problem on AIX 4.3.3
Hi,
I tried to install Oracle 9i DB on AIX 4.3.3 with Maintainence Level 9. However, I got the following error:
Calling action unixActions2.0.1.4.0 make
installMakePath = /usr/ccs/bin/make
installMakeFileName = /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
installTarget = ioracle
undoMakeFileName =
installArguments = ORACLE_HOME=/usr/opt/oracle/product/9.0.1,
logFile = /usr/opt/oracle/product/9.0.1/install/make.log
undoTarget =
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
Exception Severity: 1
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
Exception Severity: 1
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
Exception Severity: 1
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
Exception Severity: 1
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
Exception Severity: 1
Can anyone know what is the problem here?
Thanks and hope to hear from you soon.
NelsonHi,
we have noticed the same error !!!!!!! :-(
doing the makefile statement by consolle we have:
"$ make -f rdbms/lib/ins_rdbms.mk ioracle
- Linking Oracle
rm -f /usr/oracle/product/9.0.1/rdbms/lib/oracle
ld -b64 -o /usr/oracle/product/9.0.1/rdbms/lib/oracle -L/usr/oracle/product/9.0.1/rdbms/lib/ -L/usr/oracle/product/9.0.1/lib/ -bbigtoc /usr/oracle/product/9.0.1/rdbms/lib/opimai.o /usr/oracle/product/9.0.1/rdbms/lib/ssoraed.o /usr/oracle/product/9.0.1/rdbms/lib/ttcsoi.o /usr/oracle/product/9.0.1/lib/nautab.o /usr/oracle/product/9.0.1/lib/naeet.o /usr/oracle/product/9.0.1/lib/naect.o /usr/oracle/product/9.0.1/lib/naedhs.o /usr/oracle/product/9.0.1/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /usr/oracle/product/9.0.1/rdbms/lib/defopt.o -lknlopt -lslax9 -lpls9 -lplp9 -bE:/usr/oracle/product/9.0.1/rdbms/lib/plsqlncomp.exp -lserver9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 `cat /usr/oracle/product/9.0.1/rdbms/lib/nmliblist` /usr/oracle/product/9.0.1/rdbms/lib//jox.o -laurora -bE:/usr/oracle/product/9.0.1/rdbms/lib//oracle.exp -lwwg9 `sed -e 's/-ljava//g' /usr/oracle/product/9.0.1/lib/ldflags` -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnzjs9 -lnro9 `sed -e 's/-ljava//g' /usr/oracle/product/9.0.1/lib/ldflags` -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnzjs9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lwtcserver9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 `sed -e 's/-ljava//g' /usr/oracle/product/9.0.1/lib/ldflags` -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnzjs9 -lnro9 `sed -e 's/-ljava//g' /usr/oracle/product/9.0.1/lib/ldflags` -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnzjs9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lpls9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lserver9 `if /bin/ar -X64 tv /usr/oracle/product/9.0.1/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lsnls9 -lunls9 -lld -lm `cat /usr/oracle/product/9.0.1/lib/sysliblist` -lm -bI:/usr/oracle/product/9.0.1/lib/pw-syscall.exp -bI:/usr/oracle/product/9.0.1/lib/ksms.imp
ld: 0711-317 ERROR: Undefined symbol: ksbdpt_
ld: 0711-317 ERROR: Undefined symbol: ksmsgl_
ld: 0711-317 ERROR: Undefined symbol: ktswh196_
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: The error code from the last command is 8."
We hope in a fast solution.......
Thanks,
Daniele Tinti
Valerio Balbi -
My diskgroup have three disks.
The first disk state is NORMAL,
but secondly and thirdly disk state is FORCING,not to use it.
How to change disk'state ?I encountered a similar problem in the past. If you look in the reference manual
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10755/dynviews_1018.htm#sthref2985, V$ASM_DISK.STATE=FORCING is described as
FORCING - Disk is being removed from the disk group without attempting to offload its data. The data will be recovered from redundant copies, where possible.
Have you tried rebalancing the diskgroup? Before issuing the statement below make sure you have backups. The rebalance does not implicate data loss, it will only uniformly redistribute the data. Nevertheless it always wise to have a backup before doing this on a production database.
alter diskgroup <diskgroup_name> rebalance;
If the rebalance works properly the second and third disks should automatically be dropped and you can re-add them to the diskgroup.
If this does not work for you, please file an itar with Oracle Support as you may need to apply the most recent patchset and other patches. -
Need Oracle 12c whitepaper recommendation for upgrade assessment
Hi: Good morning!
This is not an urgent request, but appreciate your recommendation! I need documents about Oracle 12c (our os is IBM AIX power system, 6.1, 64 bit), because we are planning upgrade current oracle database 11.2.0.4 to 12c, we need a thorough assessment to 12c since 12c introduced many innovative, new features, major component changes, as well as impact to java application. The document I have so far is-
1. database upgrade guide
http://docs.oracle.com/database/121/UPGRD/preup.htm#UPGRD002
2. Deprecated API (oracle database JDBC Java API Reference)
https://docs.oracle.com/database/121/JAJDB/deprecated-list.html
3. Tom Kytes Top 12 new features for Oracle 12c (from web).
There are many things to look for. I want to know the major things I should focus in new features & impact to java application.
what document can provide me the info!
thank you very much in advance!Hi all:
Can anyone gives me advice after upgrade from 11.2.0.4 database to 12c database, which 'core-DB new features' impact to Java application more, and that we should focus on assessment?
There are too many new & innovative features introduced in 12c. Should I convert our single instance database (on non-cluster server) to 'CDB/PDB' during upgrade? Is it a 'Must-to-do' or not? We have a physical standby DB, how to do with the standby?
Oracle Documents I reviewed are: 'Oracle 12c database document', 'Oracle 12c Java Developer's Guide'. I recommend this to our developers based on 'Oracle 12c Java Developer's Guide':
Oracle JVM ( JDK6, JDK7 support in 12)
[note:need to check jvm components for application: library manager, compiler, interpreter, class loader, server-side JDBC internal driver, server-side SQLJ, translator, system classes; Java stored procedure, SQLJ, JDBC, etc]
2. Oracle Memory Space management ( garbage collection)
3. Multithreading
4. Footprinting
5. Dynamic class loading
6. JNDI class support
7. Auditing for Java ( alert/execute/audit/grant is enabled in auditing)
8. Support for logging
9. Support for customizing default java.security resource
10. Improved for debugging
However, I may lost myself in core-DB new features for:
1. advanced analytics features
2. OLAP features
3. Partitioning enhance
4. Performance for zero effort
5. Compression and Archiving features (depends on application tables design)
6. Database Overall
- Integrate With Operating System Processor Groups
- Oracle Data Pump Support
- Multitenant Architecture (Not sure)
- PDBs Backup and Recovery (Not sure)
- PDBs Point-in-Time Recovery (Not sure)
- PDBs Resource Plans (Not sure)
- Utilities
7. High Availability
- Application Continuity
- Transaction Guard
- Logical Replication
- Global Data Services
- Online Operations
- Oracle Data Guard Enhancements (Depends on our standby design)
8. Manageability
- PGA Size Limit
- Resource Manager Runaway Query Management
- Spot ADDM
9. General
- DBMS_QOPATCH
10. Performance
11. Security enhance
12. Improve Security Manageability, Administration and Integration
- Database vault
Is my above suggestion (text in red-color) correct?
Thank you very much! -
Installing Oracle 11gR2 RAC Problem: ASM disks
Folks,
Hello. I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer and according to the tutorial
http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
At the first time, I create VM rac1. While its OS Oracle Linux 5.6 is booting, initializing ASMLib Driver OK. I create 5 ASM disks successfully using the command:
[root@rac1 /]# /etc/init.d/oracleasm createdisk ASMDISK1 /dev/sdb1
Output: Marking disk "ASMDISK1" as an ASM disk: OK
Because the hard disk space of rac1 is not enough to install Database, I create VM rac1 again with bigger hard disk space (30GB). I do everything the same with that at the first time. But this time, While OS Oracle Linux 5.6 is booting, initializing ASMLib Driver failed. I create 5 ASM disks using the same command:
[root@rac1 /]# /etc/init.d/oracleasm createdisk ASMDISK1 /dev/sdb1
Output: Marking disk "ASMDISK1" as an ASM disk: failed
But when I use the command:
[root@rac1 /]# /etc/init.d/oracleasm listdisks
Output: ASMDISK1 ASMDISK2 ASMDISK3 ASMDISK4 ASMDISK5
My questions are:
First, can the 5 disks "ASMDISK1 ASMDISK2 ASMDISK3 ASMDISK4 ASMDISK5" be used correctly in spite of Marking disk "ASMDISK1(2 3 4 5)" as an ASM disk failed ?
Second, how to fix OS Oracle Linux 5.6 so that initializing ASMLib Driver OK while booting ?
Thanks.Folks,
Hello. The issue is solved by myself. Thanks. -
Reinstalling Oracle 11gR2 RAC Grid Problem - ASM Disks Group
Folks,
Hello.
I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer.
I have been installing Grid Infrastructure using runInstaller in the first VM rac1 from step 1 to step 9 of 10.
On the step 9 of 10 in the Wizard, accidentally, I touch the Mouse, and the Wizard is gone.
The directory for installing Grid in the 2 VMs is the same: /u01
In order to make sure everything is correct, I delete entire directory /u01 in the 2 VMs and install Grid in rac1 again.
I have understood it's not the right way to delete /u01. The right way is to follow the tutorial
http://docs.oracle.com/cd/E11882_01/install.112/e22489/rem_orcl.htm#CBHEFHAC
But I have deleted /u01 and need to fix one by one. I install Grid again and get the error message on step 5 of 9 as follows:
[INS - 30516] Please specify unique disk groups.
[INS-3050] Empty ASM disk group.
Cause - Installer has detected the disk group name provided already exists on the system.
Action - Specify different disk group.
In Wizard, the previous Disk Group name is "DATA" and its Candidate disks (5 ASMDISKs) are gone. I try to use a different name "DATA2", but no ASMDISKs come up under "Candidate disks". For "ALL Disks", all ASMDISKs cannot be selected.
I want to use the same ASM disk group "DATA" and don't want to create a new disk group.
My question is:
How to have the previous ASM disks and its group "DATA" come up under "Candidate Disks" so that can use it again ?
Thanks.Hi, in case this helps anyone else. I got this INS-30516 error too was stumped for little while. I have 2 x 2-node RAC which are hitting same SAN. The first-built RAC has a DATA diskgroup. When went to build second RAC on new ASM disk new DIskgroup (but same diskgroup name DATA) got INS-30516 about diskgroup name already in use etc. Finally figured out all that was required was to restrict diskstring using button in installer to only retrieve the LUNS for this RAC (this was quick and dirty - all LUNS for both RAC being presented to both RAC). Once diskstring only searched for the LUNS required for this RAC only, e.g.
ORCL:DATA_P* (for DATA_PD and FRA_PD)
the error went away.
I also have DATA_DR and FRA_DR presenting to both RAC. Apparently it scans the header and if it finds a diskgroup name that is already in use based on the diskstring scan it will not allow reuse of the diskgroup name since it has no way of knowing that the other ASM disks are for a different RAC.
HTH -
How to map ASM disk path to physical disk on AIX?
Hi Everyone,
I am working on a plug-in for Oracle Enterprise Manager 10gR2 on AIX 5.3 which provides monitoring of storage arrays and supports ASM databases in addition to the 'emrep' database. One of the metric of that plug-in is populated by the result from a korn shell script. The script directly runs on the AIX host (connected to the storage array by FC cables via HBA ports) and retrieves the mapping for -- Physical disk - Logical Disk - LUN - ASM Disk.
Now, I was able to get the mapping for Physical Disk – Logical Disk – LUN, but could not map ASM Disk. I googled a lot for any clue but did not find the answer to this specific problem.
Now, I have the list of physical disks used for ASM by the command—
lspv
hdisk0 0001c22ac8d664ca rootvg active
hdisk1 0001c22aa51f496a Oracle active
hdisk2 0001c22ac478263a scratch active
hdisk3 0001c22ac472549a Oracle active
hdisk4 0001c22ac4725d6a Oracle active
hdisk5 none None
hdisk6 none None
hdisk7 none None
hdisk8 none None
hdisk9 none None
hdisk10 none None
hdisk11 none None
hdisk12 none None
hdisk13 none None
hdisk14 none None
hdisk15 none None
hdisk16 none None
The disks hdisk5-16 are ASM disks and there are no PVID’s present.
I also have the list of ASM disks by the command—
ls –l /dev | grep oracle
crw-rw---- 1 oracle dba 22, 6 May 12 00:02 asm_rd10_1a
crw-rw---- 1 oracle dba 22, 10 Apr 21 07:27 asm_rd10_1b
crw-rw---- 1 oracle dba 22, 7 May 09 13:53 asm_rd10_1c
crw-rw---- 1 oracle dba 22, 8 May 09 13:53 asm_rd5_1a
crw-rw---- 1 oracle dba 22, 4 May 12 00:02 asm_rd5_1b
crw-rw---- 1 oracle dba 22, 9 Apr 21 07:28 asm_rd5_1c
crw-rw---- 1 oracle dba 22, 12 May 12 00:02 asm_xbb2_rd10_1a
crw-rw---- 1 oracle dba 22, 11 Apr 24 07:34 asm_xbb2_rd10_1b
crw-rw---- 1 oracle dba 22, 13 May 09 13:53 asm_xbb2_rd10_1c
crw-rw---- 1 oracle dba 22, 16 May 12 00:02 asm_xbb2_rd5_1a
crw-rw---- 1 oracle dba 22, 14 Apr 24 07:34 asm_xbb2_rd5_1b
crw-rw---- 1 oracle dba 22, 15 May 09 13:54 asm_xbb2_rd5_1c
Now I am looking for a way to map these two lists with each other, and had no luck so far.
Does oracle provide this information somewhere in the OEM installation structure or is there a command in AIX which could give some way to map the ASM disks to the physical disks?
Any help on this is greatly appreciated. Thanks in advance…
FYI: ASMLib driver is not present on the system.The view you are talking about here gives the ASM DISK NAME (like DGRXBB_0001) and ASM DISK PATH (like /dev/asm_rd_10_1a) and I am already using it, but this is not what I asked in mt original post. If you read carefully, I want to establish a mapping between the ASM DISK PATH (like /dev/asm_rd_10_1a) and the AIX Physical disk (like /dev/hdisk5) and did not find any view giving this info. If you know of some views which could help establish this mapping or some AIX commands or files that could help do this using shell script, it is most welcome
-
ASM Disk preparation for Datafiles and FRA in Oracle 10g RAC Inst
Dear Friends,
Please clarify wheteher the below method is correct to confiure ASM disks for Datafiles and FRA
Partitions provided by IT team for OCR and Voting Disk
/dev/sda1 - 150 GB (For +DATA)
/dev/sda2 - 100 GB (For +FRA)
OS : RHEL 5.6 (64 Bit)
kernel version = 2.6.18-238.el5
Steps:(Node1)
1) Install the RPM's for ASM
rpm -Uvh oracleasm-support-2.1.7-1.el5.x86_64.rpm
rpm -Uvh oracleasm-2.6.18-238.el5-2.0.5-1.el5.x86_64.rpm
rpm -Uvh oracleasmlib-2.0.4-1.el5.x86_64.rpm
2) Configure ASM
/etc/init.d/oracleasm configure
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
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
3) Cretae ASM Disk
/etc/init.d/oracleasm createdisk DISK1 /dev/sda1
/etc/init.d/oracleasm createdisk DISK2 /dev/sda2
4)/etc/init.d/oracleasm status
5)/etc/init.d/oracleasm scandisks
6)/etc/init.d/oracleasm listdisks
7) Nothing to perform on Node2
8) In dbca choose ASM and map the DISK1 for datafiles and DISK2 for FRA
Please confirm the above steps are right?if not please clarify
If DBCA ->ASM doesn't discover my disk then what should be the Discovery path i have to give?
Please refer any document / Metalink ID for the above complete process
Can i have ASM and oracle DB binary in the same home
Regards,
DBuser564706 wrote:
If DBCA ->ASM doesn't discover my disk then what should be the Discovery path i have to give?for asm disk created with oracleasm discovery path variable is ORCL:*
Please refer any document / Metalink ID for the above complete processhttp://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABIFHAB
Can i have ASM and oracle DB binary in the same homeyes. unless you want job role seperation or plan to run multiple versions of oracle homes
>
Regards,
DB -
Problem with create asm disk group
Hi all
I am about configuring ASM, so I have downloaded the Grid infrastructure 11g (32 bit), I have configured and created parameters and directories.
I runned the installer but get stack at the 3 step where I have to change the discovery path. I have taped as path /dev where I have created 3 partitions sdb1, sdc1 and sdd1.
Is there any thing should I perform on partitions may be or parameters to set before I go through the installation?
Thanks for helpYou can use the below link to install ASMLIB:
http://gssdba.wordpress.com/category/asm/
REFERANCE : Doc ID 580153.1
There are two different methods to configure ASM on Linux:
ASM with ASMLib I/O: This method creates all Oracle database files on raw block devices managed by ASM using ASMLib calls. RAW devices are not required with this method as ASMLib works with block devices.
ASM with Standard Linux I/O: This method creates all Oracle database files on raw character devices managed by ASM using standard Linux I/O system calls. You will be required to create RAW devices for all disk partitions used by ASM.
You can download the ASMLIB rpm’s from below URL:
http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html
STEP 01: LOG IN AS ROOT USER AND INSTALL THE RPMS
[root@node1 ASMLIB]# rpm -Uvh oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm \
> oracleasmlib-2.0.4-1.el5.i386.rpm \
> oracleasm-support-2.1.8-1.el5.i386.rpm
warning: oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing… ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.18-164.el########################################### [ 67%]
3:oracleasmlib ########################################### [100%]
STEP 02: CONFIGURE ASMLIB
[root@node1 ASMLIB]# /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
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 ]
STEP 03 :CREATE ASM DISK
[root@node1 ASMLIB]# /etc/init.d/oracleasm listdisks
[root@node1 ASMLIB]#
[root@node1 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
Marking disk “VOL1″ as an ASM disk: [ OK ]
[root@node1 ~]# /etc/init.d/oracleasm createdisk VOL2 /dev/sdc1
Marking disk “VOL2″ as an ASM disk: [ OK ]
[root@node1 ~]# /etc/init.d/oracleasm createdisk VOL3 /dev/sdd1
Marking disk “VOL3″ as an ASM disk: [ OK ]
[root@node1 ~]# /etc/init.d/oracleasm createdisk VOL4 /dev/sde1
Marking disk “VOL4″ as an ASM disk: [ OK ]
[root@node1 ~]# /etc/init.d/oracleasm createdisk VOL5 /dev/sdf1
Marking disk “VOL5″ as an ASM disk: [ OK ]
[root@node1 ~]# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
VOL4
VOL5
[root@node1 ~]# -
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 -
Problem creating asm disk groups after installation.
I just completed the grid install successfully on Oracle Linux:
Candidate ASM disks not showing up in 11.2 installer (Oracle Linux)
Thanks for the help.
I am running into the same type of issue where I can't see the asm disks like I ran ran into during the install.
When I run asmca to create the addditional disk groups I don't see the two asmlib volumes.
I tried changing the disk discovery path from the default and I still can't see the disks.
$ /usr/sbin/oracleasm listdisks
CRSVOL1
DATAVOL1
FRAVOL1
Do the block devices need to be owned by grid?
$ ls -l /dev/sdc
brw-r----- 1 root disk 8, 32 Aug 2 15:21 /dev/sdc
$ ls -l /dev/sdd
brw-r----- 1 root disk 8, 48 Aug 2 15:21 /dev/sdd
$ ls -l /dev/sde
brw-r----- 1 root disk 8, 64 Aug 2 15:21 /dev/sde
How can the installer work fine and see the disks and then asmca can't see the disks?
It must be a permissions issue. How can I see what the error is that is preventing the disks from showing up?$ cd /dev/oracleasm
node 2:
$ cd /dev/oracleasm
$ ls -lL
total 0
-rw-rw---- 1 grid asmadmin 0 Aug 15 11:08 .check_iid
drwxr-xr-x 1 root root 0 Aug 15 11:08 disks/
-rw-rw---- 1 grid asmadmin 0 Aug 15 11:08 .get_iid
drwxrwx--- 1 grid asmadmin 0 Aug 15 11:08 iid/
-rw-rw---- 1 grid asmadmin 0 Aug 15 11:08 .query_disk
-rw-rw---- 1 grid asmadmin 0 Aug 15 11:08 .query_version
$ ls -lL disks/*
brw-rw---- 1 grid asmadmin 8, 33 Aug 15 11:08 disks/CRSVOL1
brw-rw---- 1 grid asmadmin 8, 49 Aug 15 11:08 disks/DATAVOL1
brw-rw---- 1 grid asmadmin 8, 65 Aug 15 11:08 disks/FRAVOL1
node 1:
$ cd /dev/oracleasm
$ ls -lL
total 0
-rw-rw---- 1 grid asmadmin 0 Aug 15 12:30 .check_iid
drwxr-xr-x 1 root root 0 Aug 15 12:30 disks/
-rw-rw---- 1 grid asmadmin 0 Aug 15 12:30 .get_iid
drwxrwx--- 1 grid asmadmin 0 Aug 15 12:30 iid/
-rw-rw---- 1 grid asmadmin 0 Aug 15 12:30 .query_disk
-rw-rw---- 1 grid asmadmin 0 Aug 15 12:30 .query_version
$ ls -lL disks/*
brw-rw---- 1 grid asmadmin 8, 33 Aug 15 12:30 disks/CRSVOL1
brw-rw---- 1 grid asmadmin 8, 49 Aug 15 12:30 disks/DATAVOL1
brw-rw---- 1 grid asmadmin 8, 65 Aug 15 12:30 disks/FRAVOL1 -
RE: Creation of two oracle database in Single ASM Disk group
IS it possible to create two oracle database in Single ASM Disk group. if it is possible how?.
GiriAll you have to do is to create a tablespace at the most minimumlevel and your db would become a client of the disk group. Other than that, you can migrate your db tothe disk group and it would be then start using the same disk group shared by another database for its use also.
HTH
Aman.... -
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. -
Anyone know of a way to take an Oracle ASM disk (i.e. oracle ORCL:TEST_ASMDATA006) and finding the wwid of the underlying LUN? We are running 11.2.0.3 EE on redhat 5.8 with asmlib installed. Our current thought is we can take major minor and back track to multipath.conf file which we manually maintain when we add a lun. Would prefer a more direct way to do this if there is one.
Thanks
SteveYou can query the physical device of a ASMLib volume using:
/etc/init.d/oracleasm querydisk -p ASMVOL
Then query the WWID:
scsi_id -g -u -s /block/sda -
Oracle ASM Disk Name Lenght Limit
Hi,
Does anyone know wheter or not oracleasm has a maximum disk name lenght limit, I have a situation where "#oracleasm listdisks" shows the same name for 5 of my disks and seems to have truncated the last character from the disk name.
So, now my ASM Diskgroup is not starting up because it sees that there are "missing" disks, but they are not missing, they are just listed with the same Disk Name.
Commands used to create the disks:
oracleasm createdisk RAC_DATA146_500GB_DISK001 /dev/emcpowerek1
oracleasm createdisk RAC_DATA146_500GB_DISK002 /dev/emcpowerem1
oracleasm createdisk RAC_DATA146_500GB_DISK003 /dev/emcpowerej1
oracleasm createdisk RAC_DATA146_500GB_DISK004 /dev/emcpowerel1
oracleasm createdisk RAC_DATA146_500GB_DISK005 /dev/emcpowerei1
Now, see the output when I do a querydisk:
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerek1
Disk "/dev/emcpowerek1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerem1
Disk "/dev/emcpowerem1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerej1
Disk "/dev/emcpowerej1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerel1
Disk "/dev/emcpowerel1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerei1
Disk "/dev/emcpowerei1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
So, it looks like the version of oracleasm that I'm running has a name lenght limit? IS this possible?
[root@birac01 ~]# rpm -qa | grep oracleasm
oracleasm-support-2.0.3-1
oracleasm-2.6.9-55.ELsmp-2.0.3-1
oracleasmlib-2.0.2-1
Can anyone please help?
Regards
Stephan
Edited by: user1675141 on Mar 22, 2011 2:10 AMOracleasmlib does not seem to advertise such information. As such it might be a poor design that it is not verifiying user input.
According to http://download.oracle.com/docs/cd/E11882_01/install.112/e17212/storage.htm#CWLIN294
+"The disk names that you specify can contain uppercase letters, numbers, and the underscore character. They must start with an uppercase letter."+
The Oracle ASM assistant documentation shows:
+"A volume name of Oracle ASM can be a maximum of 11 alphanumeric characters; dashes are not allowed. The first character must be alphabetic"+
Why are you using such long volume and device names in first place? I would abbreviate the names and make them shorter. The url above will also show you information about configuring multipath and udev.
You could try to query device names using:
/etc/init.d/oracleasm querydisk -p VOL1
and rename volumes using:
/etc/init.d/oracleasm renamedisk /dev/sdb1 VOL1
Edited by: Dude on Mar 22, 2011 5:19 AM
Maybe you are looking for
-
How to set up fb integrated on the new ios6
i have an iphone 4 and i just did the update to the new ios6 and i do not know how to set up the integrated facebook for it to come up on the notification center. is it even compatible with the iphone 4. please help anyone!
-
What's the best way to clone my boot drive?
I just bought a new 500GB drive for my G4. What's the best way to clone my boot drive? Is there a way to put the new drive on the buss as a second drive and then copy everything from my boot drive to the new drive? How do I make the new drive bootabl
-
Multiplexing error/medium write error/HELP!
When i try to burn my DVD in iDVD it will get to the burn process then kick the DVD out and give me a multiplexing error. So, I tired to use disk utilities and I was able to make the movie, but when i tried to burn it through there I got an error mes
-
Hi, Is there any way to put Check Box to the document created in Documaker Studio (12.1)? I look through documentation and found only field format: m - Accepts an X or a space (used for a check box) But not any reference how to insert check box to th
-
Unable to view 118.JMSService example in BPEL designer(Eclipse)
Hello all I have imported the JMSService (buyer/seller) example using eclipse, so I can look at the flow. But, the designer view throws errors when I try to open the bpel file. I am able to open the source view. The Designer view has a single message