Step By Step: Configuring Automatic Storage Management (ASM) on Standalone Server with Oracle Enterprise Linux (OEL with Oracle 11g R2 Installed) using External Storage Managed by Openfiler 1) Cygwin Installation of If this is your first visit, be sure to check out the FAQ by clicking the link above. Donald K. I made a mistake by putting the ORACLEASM_UID = oracle and ORACLEASM_GID = oinstall. http://amazonfonts.com/unable-to/unable-to-instantiate-expressionfactory.html
I have configured disk/volumes through openfiler. The current values will be shown in brackets (''). Note the device name is the one used when creating ASM disk using oracleasm createdisk command. oracle:@myhost /oracle>sudo /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1 Marking disk "DISK1" as an ASM disk: [ OK ] oracle:@myhost /oracle>sudo /etc/init.d/oracleasm scandisks Scanning the system for Oracle ASMLib disks: [ OK ] The his explanation
Code: [[email protected] 2.6.9-5.0.5]# uname -r 2.6.9-5.0.5.EL So using the root account, I have successfully installed ASMLib without any problems. Once its done you can start the service and ASM instance as well. Code: [[email protected] 2.6.9-5.0.5]# /etc/init.d/oracleasm configure Configuring the Oracle ASM library driver. oracle:@myhost /oracle>sudo /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1 Marking disk "DISK1" as an ASM disk: [ OK ] oracle:@myhost /oracle>sudo /etc/init.d/oracleasm scandisks Scanning the system for Oracle ASMLib disks: [ OK ] Each
This will configure the on-boot properties of the Oracle ASM library driver. Code: [[email protected] ~]$ ls -al /dev/sda11 brw-rw---- 1 oracle dba 8, 11 Nov 20 09:17 /dev/sda11 [[email protected] ~]$ ls -al /dev/sda12 brw-rw---- 1 oracle dba 8, 12 Nov 20 09:17 /dev/sda12 The system admin then partitions this device using the linux fdisk utility. Initializing The Oracle Asmlib Driver: [failed] Default user to own the driver interface [oracle]: oracle Default group to own the driver interface [dba]: dba Start Oracle ASM library driver on boot (y/n) [y]: y Scan for Oracle
Let me know if this helps. To start viewing messages, select the forum that you want to visit from the selection below. Every disk that ASMLib is going to be accessing needs to be made available. http://www.dba-oracle.com/t_asm_disk_does_not_exist_or_is_not_instantiated.htm Why did it give me "Permission Denied" error message?
If you are not able to see your ASM disks using oracleasm listdisks after doing oracleasm scandisks then try the following: Do a listing of the device using ls - ltr Oracleasm Scandisks Not Finding Disks Oracle PostersOracle Books Oracle Scripts Ion Excel-DB Don Burleson BlogASM disk does not exist or is not instantiated oracle:@myhost /oracle>sudo /etc/init.d/oracleasm listdisks DISK1 DISK2 DISK3 Disks that are no longer needed by ASM can be dropped using "oracleasm deletedisk" command. oracleasm config file ASMLib uses configuration file /etc/sysconfig/oracleasm, which is a link to file /etc/sysconfig/oracleasm-_dev_oracleasm.
I am facing this issue after restart the server. my response I faced the same situation couple of months back. Unable To Instantiate Disk Oracleasm Ctrl-C will abort.Default user to own the driver interface [my_user]: Default group to own the driver interface [my_group]: Start Oracle ASM library driver on boot (y/n) [y]: Scan for Oracle ASM Oracle Asm Disk Missing After Reboot Posted by Eriglen Gani at 2:52 PM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Labels: ASM, asm_version(), code 2 Location: Tirana, Albania 2 comments: AnonymousApril 15, 2014 at 8:34 AMThanks
Kindly note that this activity is just a software upgrade and no disk labels aremanipulated Also this is a local node upgrade, so in an RAC environment each node should be Check This Out oracleasm-support-2.1.7-1.el5 oracleasm-2.6.18-194.32.1.el5-2.0.5-1.el5 oracleasmlib-2.0.4-1.el5 Execute /etc/init.d/oracleasm script along with configure option this will setup and configure ASMLIB for the host. Ctrl-C will abort. In orderto configure oracleasm we need to make sure below rpm are installed on the host and these rpm's are designed and developed by Oracle. Disk Does Not Exist Or Is Not Instantiated
I am expecting your suggestions/feedback. Any resolutions to problems discussed in this blog worked for my specific experience. oracle:@myhost /oracle>sudo /etc/init.d/oracleasm querydisk /dev/sda1 Device "/dev/sda1" is not marked as an ASM disk All the disks stamped using ASMLIB can be listed using the following "oracleasm listdisks" command. Source Ctrl-C will abort.
This is because RAC uses shared storage architecture. Instantiating Disk: Failed Blog Archive ► 2014 (1) ► May (1) ▼ 2013 (3) ▼ August (2) Step By Step: ALTER DATABASE BACKUP CONTROLFILE TO... You need specify the block devices, permissions in the rc.local file.
The /etc/init.d/oracleasm script is again used for this task: [[email protected] /]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdg1 Creating Oracle ASM disk "VOL1" [ OK ] Disk names are ASCII capital letters, numbers, and Hitting without typing an answer will keep that current value. The reason why I am publishing this information here is every DBA should know how ASMLIB is getting upgraded and whats happening behind the scene and to understand which circumstances this Oracleasm Init This is taken care of by the initialization script, /etc/init.d/oracleasm.
Locating the ASMLib Packages The ASMLib software must first be installed. Now we need toconfigurethe ASMLIB, this should be done as a root user. The only exception is the empty string ( ""), which is considered a full wildcard. http://amazonfonts.com/unable-to/unable-to-instantiate-non-conobject.html In RAC environment we need to execute this script in each node. [[email protected] ~]# /etc/init.d/oracleasm configure Configuring the Oracle ASM library driver.
Newer Post Older Post Home Subscribe to: Post Comments (Atom) Follow @Erigl3n My Blog Total Pageviews Oracle Certification Popular Posts Step By Step: Installing Oracle 11g R2 on Oracle Enterprise Linux