Configuration of ASM on Linux 5.3
Please help me to configure the ASM in RHL 5.3 oracle version is 11.2.0.2 .whick rpm packages need to install.
Hi,
Check this manual.
<<http://docs.oracle.com/cd/E11882_01/install.112/e22489/typinstl.htm#CBHJGHHG>>
Regards,
Similar Messages
-
Shared disk (SAN EVA 4400) configuration for ASM on linux RHEL5
Hi all,
I want to install RAC database (oracle 10g on RHEL5). Now we are configurind shared storage for the both servers (nodes). In disk configuration (SAN on EVA 4400) we have created the volume group for the disk to use for ASM and present the disk group to the servers. Actually when we check the server we cannot see the disk (shared storage).
[root@cdr-analysis01 ~]# ls /dev/cciss/ -lR
/dev/cciss/:
total 0
brw-r----- 1 root disk 104, 0 Jul 1 2009 c0d0
brw-r----- 1 root disk 104, 1 Jul 1 14:29 c0d0p1
brw-r----- 1 root disk 104, 2 Jul 1 14:29 c0d0p2
brw-r----- 1 root disk 104, 3 Jul 1 14:29 c0d0p3
brw-r----- 1 root disk 104, 4 Jul 1 2009 c0d0p4
brw-r----- 1 root disk 104, 5 Jul 1 14:29 c0d0p5
brw-r----- 1 root disk 104, 6 Jul 1 14:29 c0d0p6
brw-r----- 1 root disk 104, 7 Jul 1 2009 c0d0p7
brw-r----- 1 root disk 104, 8 Jul 1 14:29 c0d0p8
(they are local disks not the shared disk)
My questions are:
- How to mount the disk to be seen in the server
- How to configure the disk for ASM is there any document for this. In my knowledge the disk to use for ASM doesn't need to be formated with a file system and shouldn't see when we run the df command.
Does anybody can help me as it's very urgent for us.
Thank you
RaitsarevoHi all,
NOw the disk is presented to server. but my actual problem is how to create shared partition of this disk for the servers.
Our actual status is we have created one volume group with 500 Gb in the sun and this volume group is called vg_oradata. we will use this storage for OCR, voting disk and the databse file (ASM). A si know from documentation i have to create one shared partition for OCR, one shared partition for Voting disk and another for database.
That i want to do is creating for example :
ocr_partition (25 Gb) : for OCR
vote_partition (25 Gb): for Voting disk
oradata_part1 (150 Gb): for database (ASM)
oradata_part2 (150 Gb): for database (ASM)
oradata_part3 (150 Gb): for database (ASM)
My problem is how to create this partition because when i'm trying to create it from Logical Volume Manager of Linux i cannot find them in to servers.
I mean i'm new in system administrator and our SAN vendors also doesn't know how to it in LInux system.
Could you help me please if possible.
My system is Linux Red Hat Enterprise 5 and i'm going to use Oracle 1Og RAC.
Thank you
Lucienot -
Error while configuring the ASM on linux
i am trying to implement ASM of the virtual machine.. i downloaded the ASM libraries and packages and installed them as a "root" user using the following command:
$>rpm -Uvh oracleasm*
after the installtion was done i went to configure the library driver by executing the following command(also as a root user)
$>/etc/init.d/oracleasm configure...
i answered all the question given by the command and then the following error message occured..
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) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": Unable to load module "oracleasm"
[FAILED]
i don't have much experience with ASM to solve this problem, so if someone can help then i will appreciate it.
NOTE: my platform is
ORACLE10gR2(10.2.0.1)
RHEL 4 update 5.i have been trying to delete the ASM library driver and install it again but i get this message everytime i do so..,
[root@localhost RPMS]# rpm -ev oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2.i686.rpm
error: package oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2.i686.rpm is not installed
then i execute the following command to install it and the following appears.
[root@localhost RPMS]# rpm -ivh oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2.i686.rpm
warning: oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2.i686.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
package oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2 is already installed
it is really weired,,,
if someone have encountered this scenario then please explain this issue for me. -
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 -
Oracle 11gR2 RAC Grid installation - Configuration of ASM failed,
Hi guys,
Trying to install/configure Oracle 11gR2 Grid for 2 nodes RAC on Suse 10, root.sh failed with this error:
2010-08-19 15:30:47: Querying for existing CSS voting disks
2010-08-19 15:30:47: Performing initial configuration for cluster
2010-08-19 15:30:48: Start of resource "ora.ctssd -init" Succeeded
2010-08-19 15:30:48: Configuring ASM via ASMCA
2010-08-19 15:30:48: Executing as oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 15:30:48: Running as user oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 15:30:48: Invoking "/u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM" as user "oracle"
2010-08-19 15:30:51: Configuration of ASM failed, see logs for details
2010-08-19 15:30:51: Did not succssfully configure and start ASM
2010-08-19 15:30:51: Exiting exclusive mode
2010-08-19 15:30:51: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2010-08-19 15:30:51: Stop of resource "ora.crsd -init" failed
2010-08-19 15:30:51: Failed to stop CRSD
2010-08-19 15:30:51: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
2010-08-19 15:30:51: Stop of resource "ora.asm -init" failed
2010-08-19 15:30:51: Failed to stop ASM
2010-08-19 15:31:12: Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_oracle-node2.log for details
oracle-node2:/u01/app/11.2.0/grid/cfgtoollogs/crsconfig #
Can any one please help/assist/guide ... how to move forward?
Thanks in advance.failed ... with the same error
2010-08-19 16:52:05: Start of resource "ora.ctssd -init" Succeeded
2010-08-19 16:52:05: Configuring ASM via ASMCA
2010-08-19 16:52:06: Executing as oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 16:52:06: Running as user oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 16:52:06: Invoking "/u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM" as user "oracle"
2010-08-19 16:52:08: Configuration of ASM failed, see logs for details
2010-08-19 16:52:08: Did not succssfully configure and start ASM
2010-08-19 16:52:08: Exiting exclusive mode
2010-08-19 16:52:08: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2010-08-19 16:52:08: Stop of resource "ora.crsd -init" failed
2010-08-19 16:52:08: Failed to stop CRSD
2010-08-19 16:52:08: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
2010-08-19 16:52:08: Stop of resource "ora.asm -init" failed
2010-08-19 16:52:08: Failed to stop ASM
2010-08-19 16:52:30: Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_oracle-node1.log for details
oracle-node1:/u01/app/11.2.0/grid/cfgtoollogs/crsconfig # -
DB+ASM with linux clustering
Dear All,
We are going to install Oracle single instance 11.2.0.3 with ASM, on linux clustering. Can anyone through some light on that. I searched in google and could not able to find good doc.
Can oracle binaries can be shared (with shared disk) between two servers and creating two listener will help ? (if node1 fails, db can be accessed by node2 listener).
Regards,
Anand.AnandKumar wrote:
Is it possible to share the oracle binaries (i.e installing oracle in one server only) so that after failover we access the both the binaries and ASM data..Yes. Install the ORACLE_HOME on a clustered file system that can be mounted and used by another server. ASM supports ACFS. There are also OCFS and GFS. Never done this myself, but the Oracle installation docs cover this as far as I know.
Keep in mind though that the o/s hooks (such as an +/etc/inittab+ setting for the OHASD daemon) will not be included on a server that mounts and uses the cluster file system, on which an actual Oracle install/setup was not done. So it is not a mere matter of installing onto a clustered file system on one server and expect that to work when mounted by another server. -
Configure TNSNAMES for SOLARIS & LINUX
How can i configure the TNSNAMES file on the server that has Solaris as its Operating System(OS) and another server that has LINUX as its Operating System(OS).
I tried to configure the TNSNAMES on LINUX server and connected it but it gives an error.
The following is how i have defined in my TNSNAMES file on the client machine:
TZR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = tzr)
VIS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.67)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = VIS)
For SID TZR the toad and workflow is getting connected but for VIS it is giving me the following error:
ORA-12537: TNS: connection closed.
NOTE: TZR server has OS Windows 2003 server installed while VIS server has LINUX as its OS
Please can any one help me how to connect to the database?
Thanking you in advance,
Chetan12537, 00000, "TNS:connection closed"
// *Cause: "End of file" condition has been reached; partner has disconnected.
// *Action: None needed; this is an information message.
There must be additional messages that point to why the connection was closed. This message (as you can see from the above description) is pretty meaningless ito why the disconnect happen.
Wild shot in the dark:
I have seen this however with an incorrectly configured firewall. On iptables one would typically create a rule as follows:
# Allow Oracle Listener connections
iptables -A INPUT -p tcp --dport 1521 -i eth0 -j ACCEPT
However, it alone does not suffice as you need to add:
# Stateful Packet Inspection to allow established connections through
iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT -
SAN reboot for oracle DB at ASM in linux RAC
Hi Experts,
we use 10.2.0.4 database in ASM at oracle RAC in red hat 5 linux.
we use 3 directoey ( asm, crs, and database)
I got notes that SAN box (support SAM in database) will be reboot.
Under this condition, what do i need to do? shutdown instance? database? crs? or asm instance?
Thanks for your help?
JIMuser589812 wrote:
what means is about start all oracle related services in sequence?CRS will start the complete Oracle cluster s/w cluster for you - ASM, RAC, nodeapps, etc.
Usually, the only effort required is simply hitting the reset/power on button - as the o/s will boot, CRS will start and it will in turn bring up the s/w stack. No manual intervention required. (unless you on purpose configured it differently)
Based on Billy suggestion, can I use srvctl stop nodeapps -n all and #ORA_CRS_HOME/bin/crsctl stop crsNo - my suggestion is that before the SAN maintenance window period start, you do a "+shutdown -h now+" on all cluster nodes to halt/powerdown each and every RAC server.
And after the SAN maintenance period is over, and the SAN available again, ssh into the LoM (Lights Out Management) console of each server and do a "+start SYS+" (or equivalent) to powerup the server.
In other words, with the SAN down/busy rebooting/undergoing maintenance, I would not want to have my RAC servers up and running as there is no storage layer to run them on. IMO, it is a lot safer to have these servers powered down to during such a maintenance period.
PS. I have even had the odd case that during SAN maintenance power cables being pulled, Interconnect switches accidentally reset and so on - or you could have some bright spark also shutting down the aircon with the SAN and your RAC servers suffering heat problems and potential damage while running. So my question is - why should I take the risk of keeping my RAC servers up when the storage layer is not there and the cluster is broken and useless? Surely it makes a lot more sense to power down those servers too and then only power them on again when the maintenance period is over and the SAN (and data centre) is in a proper running state again. -
Upgrade 10.2.0.4 - 11.2.0.3 with ASM on linux
I'm a bit confused by the oracle upgrade documentation - I need to upgrade to 11.2.0.3 from 10.2.0.4 on linux.
I've got a 10.2 database running ASM. I've tested an 11.2 upgrade last year without running an ASM upgrade or grid intall (just to check some compatibility issues at the time).
However I want to run an ASM and a database upgrade. The documentation says (repeatedly) that you should install grid infrastructure first or you'll need to configure it manually. However when I read the Grid Infrastucture documentation it seems to suggest that if you want to upgrade an existing ASM instance (which I do) then you'll have to do it manually in any case.
My biggest concern is this : will a 10.2.0.4 database work with a 11.2 ASM instance ? If it can't, then surely the thing to do is upgrade the database first.Just you need to Install Grid Infrastructure Home in a separate home and RDBMS software in another separate home.
While Installing GI you need to create ASM Disk groups.
Refer my blogpost Installation of GI on standalone solaris box:
http://appsdbaworkshop.blogspot.com/2010/10/installation-of-11202-grid.html
ASM rolling upgrade is support from 11gR1 itself. So while upgrade you would bring down you rexisting ASM instance and do the upgrade. So in this process your database wont be available.
See following blog:
http://oracle-install.blogspot.in/2011/03/steps-to-upgrade-10204-single-instance.html
and
http://oracleinstall.wordpress.com/2011/03/23/steps-to-upgrade-10-2-0-4-single-instance-with-asm-storage-to-11-2-0-2/
Following metalink notes are useful for this upgrade processes.
Upgrade Advisor: Database from 10.2 to 11.2 [ID 251.1]
Complete Checklist to Upgrade the Database to 11gR2 using DBUA [ID 870814.1]
Complete Checklist for Manual Upgrades to 11gR2 [ID 837570.1]
Oracle Database Upgrade Path Reference List [ID 730365.1] -
ASM configuration with ASM-Lib
I configured ASM on raw device.But i want to learn How to configure ASM with ASM-Lib. Any notes...
Take a look at section
2.11.5.1 Configuring Disks for Automatic Storage Management Using the Automatic Storage Management Library Driver
of the Oracle® Database Installation Guide
10g Release 2 (10.2) for Linux x86
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref512 -
ASM, Unbreakable Linux, Installer Sees no Candiate Disks
I have installed ASM library dirver, and thought I had configured disks using:
/etc.init.d/oracleasm createdisk ORADATA1 /dev/sdd1
/etc.init.d/oracleasm createdisk ORADATA2/dev/sdc1
when I run /etc.init.d/oracleasm I get
[root@blah ~]# /etc/init.d/oracleasm listdisks
ORADATA1
ORADATA2
Howveer when installing Oracle 10gR2 at the Configure ASM screen I can not add any disks. Any ideas?Hi,
Please refer to the note on http://www.oracle.com/technology/tech/linux/asmlib/install.html
NOTE: Once you mark your disks with Linux ASMLib, Oracle Database 10g R1 (10.1) OUI will not be able to discover your disks. It is recommended that you complete a Software Only install and then use DBCA to create your database (or use the custom install).
and you must run '/etc/init.d/oracleasm scandisks' on the all other node.
Regards
Jason -
Hi all,
Oracle unbreakable linux
oracle 10.2.0.1
I got this error while mark ing the disks for use by ASMLib
/etc/init.d/oracleasm createdisk VOL1 [failed]
I already performed the steps mentioned below
uname -rm
Ex:
# uname -rm
2.6.9-22.ELsmp i686
The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
Use this information to find the correct ASMLib packages on OTN:
1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
2. Select the link for your version of Linux.
3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
Next, install the packages by executing the following command as root:
rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
oracleasmlib-asmlib_version.cpu_type.rpm \
oracleasm-support-asmlib_version.cpu_type.rpm
Ex:
# rpm -Uvh \
> oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
> oracleasmlib-2.0.1-1.i386.rpm \
> oracleasm-support-2.0.1-1.i386.rpm
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
3:oracleasmlib ########################################### [100%]
Configuring ASMLib
Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
# /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
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Creating /dev/oracleasm mount point: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]
but when i tried this
/etc/init.d/oracleasm createdisk VOL1 /dev/sda2
Marking disk "/dev/sda2" as an ASM disk: [ Failed]
i got this error
Please give me the solution,
ThanksI have found this on /var/log/oracleasm
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to query file "/dev/sda2p1": No such file or directory
Unable to open device "/dev/sda1": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Unable to query file "/dev/sdap1": No such file or directory
Disk "VOL1" does not exist or is not instantiated
Unable to query file "/dev/sdap1": No such file or directory
Unable to query file "/dev/sda2p1": No such file or directory
Unable to query file "/dev/sdap1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p3": No such file or directory
Unable to query file "/dev/sda2p4": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p3": No such file or directory
Unable to query file "/dev/sda2p4": No such file or directory
Unable to open device "/dev/sda3": Device or resource busy -
How to create redlog and control file at ASM in linux RAC
Hi Experts,
I will to maintance a oracle 10g database at ASM as RAC iin linux red hat.
i am a new person with some question.
nornally speaking, oracle recommadition for oracle 10g database as
create 3 copy fills for control file
create at least 2 redo log with mirror files in system.
However, I checked find
redlog file is at FRA place +FLSdisk1 and no mirror
control file is at FRA place--+FLSDISK1/
datebase file at ‘+DATA1/
There are no mirror for relog.
Go to EM, I also could not find place to enter file name.
We use ASM to hold database to support RAC.
Do i need to create redlog file as
ALTER DATABASE ADD LOGFILE GROUP 1 ('+FLSdisk1/sale/onlinelog/REDO01.LOG','+FLSdisk1/sale/onlinelog/REDO01_mirror.LOG') SIZE 1000M reuse;
my boss told me that ASM is reliable.
Do you need to creat more directory to arrange redlog and control files in ASM for RAC system?
FRA is a good place to store control file and redlog file ?
Thanks
JIM
Edited by: user589812 on Jul 3, 2009 3:03 PMASM is reliable but a smart DBA is very careful. If ASM is doing mirroring this is like RAID doing mirroring. What happens if you accidentally delete one copy ... the other one disappears instantly. Not a good idea.
With respect to redo logs you need a minimum of three groups, two members, and one thread per instance. So a 2 node cluster should, at a minimum have 12 physical files.
Not mirroring the redo logs, assuming multiple members, is not as critical. -
How to add other 2 control files at ASM in linux RAC
Hi Experts,
I am new for RAC .
the vendor build a RAC for us. I found there are only one control file in system.
we use oracle 10.2.0.4 at ASM with RAC in redhat linux 5.
how to add 2 additional control file to ASM for RAC ?
Please provide a procedur in detail.
Thanks
JimHi damorgan & Friends,
I could not find some infomration to add control into ASM . I can do this job( see below procedure) in no ASM .
My question, our database locates at ASM and control file with a system auto-number ( fully qualified filename ) as
+DATA1/SALE/controlfile/current.256.690290159
How do I physical copy and rename other 2 contril file in directory and modify location in pfile?
I saw some paper to use request as an alias (such as +dgroup2/control/ctl.f). i can not image to copy/rename control.
Please help me!!
Thanks
Jim
========added control file for no ASM database and works=====================
1)
SQL> create pfile from spfile;
File created.
2)
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL
3)
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
4) modify pfile add additional control file2/3 as
control_files='C:\Oradata\ORCL\control01.ctl','C:\Oradata\ORCL\control02.ctl','C:\Oradata\ORCL\control03.ctl'
and physical copy control01.ctl and raname as control02.ctl,control03.ctl
5)
SQL> startup pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 62915940 bytes
Database Buffers 100663296 bytes
Redo Buffers 2945024 bytes
Database mounted.
Database opened.er database mount;
6)
SQL> Create spfile from pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
File created.
7) check control file info under pfile environment
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
C:\ORADATA\ORCL\CONTROL02.CTL
, C:\ORADATA\ORCL\CONTROL03.CT
L
8)SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
9) startup as spfile environment.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 62915940 bytes
Database Buffers 100663296 bytes
Redo Buffers 2945024 bytes
Database mounted.
Database opened.
10) check control info for spfile environment
SQL> show parameter spfile
NAME TYPE VALUE
spfile string C:\ORACLE\PRODUCT\10.2.0\DB_2\
DATABASE\SPFILEORCL.ORA
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
C:\ORADATA\ORCL\CONTROL02.CTL
, C:\ORADATA\ORCL\CONTROL03.CT
L -
How to add diskgroup in ASM on linux
Hi All,
I have installed oracle 10.2.0.4 through Oracle VM- template. I install this template on OEL 5 (oracle enterprise linux 5) update 2.
10.2.0.4 template is readily avaible which I just extract and run. It install 10.2.0.4 with ASM for single instance.
Now, I want to add more diskgroup as by default this template created two diskgroup in ASM, but when to go for path of that diskgroup it will showing only: ORCL:VOL1 as a "path"
query:
select path,redundancy,total_mb,free_mb,failgroup from v$asm_disk where mount_status='CACHED' and header_status='MEMBER' and mode_status='ONLINE' and state='NORMAL' order by path ;
PATH REDUNDA TOTAL_MB FREE_MB FAILGROUP
ORCL:VOL1 UNKNOWN 7506 5593 VOL1
ORCL:VOL2 UNKNOWN 7491 5578 VOL2
how can I find on which physical path this diskgroup is created liek "/dev/xvd"...or something like this???
can any one suggest me how to add new diskgroup... I can't use GUI becuase its disable.Hi All,
I have installed oracle 10.2.0.4 through Oracle VM- template. I install this template on OEL 5 (oracle enterprise linux 5) update 2.
10.2.0.4 template is readily avaible which I just extract and run. It install 10.2.0.4 with ASM for single instance.
Now, I want to add more diskgroup as by default this template created two diskgroup in ASM, but when to go for path of that diskgroup it will showing only: ORCL:VOL1 as a "path"
query:
select path,redundancy,total_mb,free_mb,failgroup from v$asm_disk where mount_status='CACHED' and header_status='MEMBER' and mode_status='ONLINE' and state='NORMAL' order by path ;
PATH REDUNDA TOTAL_MB FREE_MB FAILGROUP
ORCL:VOL1 UNKNOWN 7506 5593 VOL1
ORCL:VOL2 UNKNOWN 7491 5578 VOL2
how can I find on which physical path this diskgroup is created liek "/dev/xvd"...or something like this???
can any one suggest me how to add new diskgroup... I can't use GUI becuase its disable.
Maybe you are looking for
-
Hi Experts In a simple File to Idoc scenario i used a BPM and did the mapping outside the BPM. The BPM just receives the message of type IDOC and sends it to the R/3 system. In Message monitoring the transformation of message from file server to BPM
-
No password to email, facebook and calendar
How come that there is no possibility to limit access to certain info on the iPad? If I let someone use the iPad to surf on the internet or play Angry Birds for instance, that person can easily see all my private things too, like GMail, fb (MyPad), m
-
Passsword protecting a mobileme album sent from iPhoto
I use to know how to do this but its not working right (or I"m not). I choose the photos I want in iPhoto. I click the share button at bottom of the iphoto screen. It opens and says new album I pick that and then in the drop down box it says who can
-
ITunes needs to close - Sync Outlook contacts or calendar
I installed iTunes 7 after purchasing iPod. Everything works ok but if I select to sync contacts or calendar using Outlook (Outlook2003SP2) a error message appears: "itunes has encountered a problem and needs to close" - Error signature: AppName: itu
-
Is Keynote worth the money? Does it work the same as Powerpoint for Microsoft?
I need a powerpoint program for my mac and I was just wondering what is best.