RAC on RAW device
1) Hi I am configuring rac on raw device 9i on aix5.Whether i can create a datafile morethan 1 gb in raw device.Can anybody give one example with creating a tablespace with a raw device configuration.The steps have to follow
2) why we cannot store archivelogs on rawdevices
with regards
ramya
1)Whether we can store RMAN backup on RAW devices .
Answer : Yes, you can, just create the raw partition and point out the destination when you use the rman command. or you can take a backup to the local file system first and then move to raw device.
2)whether we can do the export on RAW devices
Answer : Same as No.1
3) Whether we can create a 2gb datafile on RAW devices
Answer : Yes, you can.
I hope it would be helpful to you.
Similar Messages
-
OPS/RAC Vs Raw Device/File System
Hello, firts to all, I want to know what is OPS/RAC and Raw Device/File System.
And then know the diferens between both.
I apologize for my english.
Thanks.OPS is Oracle parallel server was available up to Oracle 8i and RAC is Real application cluster is available from Oracle 9i.
Raw device is just presenting the disk to server and using it. File system is presenting disk more transparent and managable form using OS or third party software.
You need to refer respective documents to know them in detail.
Ashok -
Tablespace creation problem in RAC using raw device.
Hi ,
If i created a tablespace with the .dbf extension i am able to create the tablespace. on other hand if i use .dbf extension it;s failing..
can anyone help me out why it is happening??
here is the code...
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SYS at terac >
SYS at terac >CREATE TABLESPACE FLOW_1 DATAFILE
2 '\\.\FLOW_1' SIZE 10304 K REUSE AUTOEXTEND OFF
3 EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
4
SYS at terac >/
Tablespace created.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CREATE TABLESPACE TEST2 DATAFILE '\\.\FLOW_1.DBF' SIZE 10304 K
REUSE AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT
SPACE MANAGEMENT AUTO
SYS at TERAC >/
CREATE TABLESPACE TEST2 DATAFILE '\\.\FLOW_1.DBF' SIZE 10304 K
ERROR at line 1:
ORA-01119: error in creating database file '\\.\FLOW_1.DBF'
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
thanks
james.I'm by no means a windows expert so I might be totally wrong here, but here goes.
You have to refer to the raw device by its name in the datafile clause. If you use a different name then the o/s can't find the device. Simple as that. -
Solaris 10g RAC Clusterware Raw device dd comand block size, sizing
Hi
We are in the process of installing clusterware for RAc on solaris 10. I have 4 luns 500mb each, we want to use them for the voting disks and ocr,
1. Which one do we use /dev/dsk or /dev/rdsk?
2) Also how do you erase the data to clear them out, I think you use the dd comand correct, but what is the full sytax to cllear the voiting disk and the ocr, do I need to specify a block size ??
3) Somebody was saying I should label the disks, just incase the controllers change the numbering if they ever get reconfigured, can this be done in SUN Solaris, if so can you give me an example, and do I specify the label as the ocr path??
Thanks
For all the info.1. Which one do we use /dev/dsk or /dev/rdsk?
$$
Please use Character Device ,This is general practice. However from 10.2.0.1 Block Device can also work.
# chown oracle:dba /dev/rdsk/cxtydzs6
# chmod 660 /dev/rdsk/cxtydzs6
2) Also how do you erase the data to clear them out, I think you use the dd comand correct, but what is the full sytax to cllear the voiting disk and the ocr, do I need to specify a block size ??
$$
do
dd if=/dev/zero of=/dev/ocr_disk$i bs=8192 count=25000 &
done
3) Somebody was saying I should label the disks, just incase the controllers change the numbering if they ever get reconfigured, can this be done in SUN Solaris, if so can you give me an example, and do I specify the label as the ocr path??
$$
Oracle recommends that you use a file name similar to dbname_raw.conf for this file.
The following example shows a sample mapping file for a two-instance RAC cluster. Some of the partitions use alternative symbolic link names. Make sure that the partition device file name that you specify identifies the same partition on all nodes.
system=/dev/rdsk/c2t1d1s3
sysaux=/dev/rdsk/c2t1d1s4
example=/dev/rdsk/c2t1d1s5
users=/dev/rdsk/c2t1d1s6
temp=/dev/rdsk/c2t1d2s3
undotbs1=/dev/rdsk/c2t1d2s4
undotbs2=/dev/rdsk/c2t1d2s5
redo1_1=/dev/rdsk/c2t1d2s6
redo1_2=/dev/rdsk/c2t1d3s3
redo2_1=/dev/rdsk/c2t1d3s4
redo2_2=/dev/rdsk/c2t1d3s5
control1=/dev/rdsk/c2t1d4s3
control2=/dev/rdsk/c2t1d4s3
spfile=/dev/rdsk/dbname_spfile_raw_5m
pwdfile=/dev/rdsk/dbname_pwdfile_raw_5m
Hope this will help..
Bharat
NS -
Hello,
I am getting the following error when I try to complete approval process.
ORA-20001: Unable to create tablespace. ORA-01
119: error in creating database file '//./FLOW_1.dbf' ORA-27040: skgfrcre: creat
e error, unable to create file OSD-04002: unable to open file O/S-Error: (OS 2)
The system cannot find the file specified.
I checked the alert log for error here is the error in the alert log file.
ORA-1119 signalled during: CREATE TABLESPACE FLOW_1 DATAFILE '//./FLOW_1.dbf'..
and i found the syntax for create tablespace was wrong.
To create a tablespace in RAC with RAW device environment under windows.
it should have forward black slash instead of backward slash "/" without .dbf extension.
so, I changed the syntax i was able to create tablespace through sqlplus.
When APEX tool try to create this tablespace it throws this error..
Old: CREATE TABLESPACE FLOW_1 DATAFILE
'\\.\FLOW_1.dbf' SIZE 10304 K REUSE AUTOEXTEND OFF
EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
error : ORA-01119: error in creating database file '\\.\FLOW_1.dbf'
New:
CREATE TABLESPACE FLOW_1 DATAFILE
'\\.\FLOW_1' SIZE 10304 K REUSE AUTOEXTEND OFF
EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
Tablespace created.
Is it a bug in APEX 3.0.1.??
Is anyone installed APEX in RAC ??
JamesHi,
One observation, Apex is switching the Session ID after one got killed ? I was working on Apex page with browse Item to test open cursor count,
after killing the SID (227) on which the open cursor count was getting increase, it APEX automatically switches to new SID(149) for that session.
Now the problem is even if I have two SID's and one hits the maximum open cursor count, It is not switching to other SID instead the whole application becomes unavailable.
STATNAME SID VALUE USER
opened cursors current 20 14 APEX_PUBLIC_USER
opened cursors current 149 74 APEX_PUBLIC_USER
opened cursors current 194 71 APEX_PUBLIC_USER
opened cursors current 211 5 APEX_PUBLIC_USER
opened cursors current 227 325 APEX_PUBLIC_USER Killed
opened cursors current 244 15 APEX_PUBLIC_USER
opened cursors current 20 14 APEX_PUBLIC_USER
opened cursors current 149 76 APEX_PUBLIC_USER
opened cursors current 194 71 APEX_PUBLIC_USER
opened cursors current 211 5 APEX_PUBLIC_USER
opened cursors current 244 15 APEX_PUBLIC_USER
Please kindly help in this.
Thanks in Advance
Thanks & Regards
Sanjay
Edited by: user11204334 on Dec 8, 2010 1:02 AM -
hi,
whether 11gr2 rac supports raw devices in ibm aix 6.1 with power ha?
regards
sridharHi;
Pelase see:
Raw Devices and Cluster Filesystems With Real Application Clusters (RAC) [ID 183408.1]
For your future RAC related issue I suggest close your issue here as answered than move your issue Forum Home » High Availability » RAC, ASM & Clusterware Installation which is RAC dedicated forum site.
Regard
Helios -
We are currently running oracle 10.2.0.4 RAC using raw devices on the hpux itanium 64bit platform. We want to upgrade to 11.2.0.3 and I am wanting to know what parts of of database environment will still be able to utilize raw devices?
Can my datafiles remain on raw devices or will we need to somehow convert over to using ASM? What about the ocr and voting device? Can they remain on raw devices or do we need to configure ASM for the ocr and voting disk?
Thanks.923395 wrote:
We are currently running oracle 10.2.0.4 RAC using raw devices on the hpux itanium 64bit platform. We want to upgrade to 11.2.0.3 and I am wanting to know what parts of of database environment will still be able to utilize raw devices?
Can my datafiles remain on raw devices or will we need to somehow convert over to using ASM? What about the ocr and voting device? Can they remain on raw devices or do we need to configure ASM for the ocr and voting disk?
Thanks.when all else fails, Read The Fine Manual
http://docs.oracle.com/cd/E11882_01/install.112/e24169/storage.htm#sthref558 -
How to create DIR/File on a raw device in RAC environment.
Hi all,
I use a shell script to create DIR and File on a raw device also it creates schema and tablespaces.
I am facing problem in creating DIR and Files on raw device.
One more thing, can multiple tablespaces be created on a raw device.
Thanks & regards,
SanjeevThanks for the response. Please help me further.
About the Script - It asks for the path for creating DIR and uses shell command to create DIR. Later same path and DIR name is used to create Oracle DIR. Now in place of absolute path raw device name is passed. The same script is also used for creating tablespaces and schema.
There is second script that is .sql script that creates external table in the newly created schema. All this has been working fine on single instance Oracle server. we have tested many times but fails in RAC environment when we use raw device.
Question is - If I use filesystem will the external table's flat files and Directories be accessible to all the instances.
I have one application written in java that would be clustered and running on these oracle servers. This application would be accessing those external tables and their flat files. Will there be a problem accessing these flat files accross the instances.
Regards,
Sanjeev. -
10.1.0.3 on RH4(Centos) + Raw devices + ASM + RAC
Hi,
I'm just wondering if anyone here tried installing a single node RAC on 2 instance using ASM on Oracle 10g (10.1.0.3)?
I am using RH4(CENTOS 4.1), Oracle 10.1.0.3 + CRS 10.1.0.3 on fake raw devices in Linux.
I have been able to install the CRS and Oracle database software successfully.
All CRS services and listener are up and running.
crs_stat command return successful results.
srvctl status nodeapps -n <node_name> also returns successful results.
However, when I attempt to startup the ASM instance, I keep encountering these errors:
ORA-00603:ORACLE server session terminated by fatal error
ORA-27504:IPC error creating OSD context
The ORA-00603 error message will appear immediately in the SQLPLUS prompt when I try to startup ASM instance.
Both errors will be logged in alert.log and trace files, no other useful error messages besides these errors.
When I attempt to create a normal database instance using datafiles on the same machine, these errors also appear again!
So, I figure its got nothing to do with the raw devices since my OCR location and Voting devices are using the same raw devices on Linux.
Anyone did the same thing like me and faced similar problems.... please help.
CheersYou can use dbca to create ASM instance to get rid of the manual copy business.
In realease 1, you can invoke dbca, choose database instance and walk through still you reach storage clause and choose asm and DBA will create ASM instance on both nodes.
Ensure that you choose cluster install option and all the nodes at the initial stages. -
Create a physical standby for Rac on Windows and raw devices
Hi buddies:
I need to create a Physical standby database for a 2 node RAC cluster on Windows, that is using RAW devices.
Can someone of you suggest me a note to follow in order to achive this, i can not find to much information about how to do this.
I guess that the best option would be to use RMAN to do this, but as i said before i havent found too much information.
I would really appreciate your help.
Kind regards
MQIn this case the standby should be created as a single instance on regular files.
Do i have to specify something different in the duplicate rman command to specify that the standby database will be a single instance?
Thanks for your help
MQ -
Hi,
I want to use Raw-Devide in RAC,
Could you Say To me That How Can We see and work with Oracle Database Files when thay are in "unformated and without letter partitions(logic part.)" in Raw-Devide ?
when Oracle begin to Format them?
Thanks a lotIf you are using raw devices, you don't see or manage files at the file system level-- you're bypassing the file system entirely. If you want to see and work with Oracle database files, you ought not be using raw devices.
Are you planning on using Oracle clustered file system or the operating system's clustering functionality for your shared storage?
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Root.sh failed:Raw devices for OEL 5.3 and 10.2.0.4 RAC
Hi
We have OEL 5.3 and Oracle RAC 10.2.0.4
While installing clusterware and running root.sh we are getting the error
Failed to upgrade the cluster registry.
Further the ocrconfig.log are as below:
ocrconfig_20527.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.
2009-08-04 04:38:41.540: [ OCRCONF][286303376]ocrconfig starts...
2009-08-04 04:38:41.540: [ OCRCONF][286303376]Upgrading OCR data
2009-08-04 04:38:41.615: [ OCRRAW][286303376]propriogid:1: INVALID FORMAT
2009-08-04 04:38:41.616: [ OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
2009-08-04 04:38:41.616: [ OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
2009-08-04 04:38:41.616: [ default][286303376]a_init:7!: Backend init unsuccessful : [22]
2009-08-04 04:38:41.616: [ OCRCONF][286303376]Exporting OCR data to [OCRUPGRADEFILE]
2009-08-04 04:38:41.616: [ OCRAPI][286303376]a_init:7!: Backend init unsuccessful : [33]
2009-08-04 04:38:41.616: [ OCRCONF][286303376]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2009-08-04 04:38:41.619: [ OCRRAW][286303376]propriogid:1: INVALID FORMAT
2009-08-04 04:38:41.619: [ OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
2009-08-04 04:38:41.619: [ OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
2009-08-04 04:38:41.619: [ default][286303376]a_init:7!: Backend init unsuccessful : [22]
2009-08-04 04:38:41.623: [ OCRRAW][286303376]propriogid:1: INVALID FORMAT
2009-08-04 04:38:41.623: [ OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
2009-08-04 04:38:41.623: [ OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
2009-08-04 04:38:41.626: [ OCRRAW][286303376]propriogid:1: INVALID FORMAT
2009-08-04 04:38:41.641: [ OCRRAW][286303376]propriowv: Vote information on disk 0 [dev/raw/raw1] is adjusted from [0/0] to [2/2]
2009-08-04 04:38:41.646: [ OCRRAW][286303376]propriniconfig:No 92 configuration
2009-08-04 04:38:41.646: [ OCRAPI][286303376]a_init:6a: Backend init successful
2009-08-04 04:38:41.663: [ OCRCONF][286303376]Initialized DATABASE keys in OCR
2009-08-04 04:38:41.677: [ OCRCONF][286303376]csetskgfrblock0: clsfmt returned with error [4].
2009-08-04 04:38:41.677: [ OCRCONF][286303376]Failure in setting block0 [-1]
2009-08-04 04:38:41.677: [ OCRCONF][286303376]OCR block 0 is not set !
2009-08-04 04:38:41.678: [ OCRCONF][286303376]Exiting [status=failed]...
Any solution please?
Supriya ShThere are a couple of errors that doesn't make the clusterware look fine.
There was no previous version of OCR. error:PROC-33: Oracle Cluster Registry is not configured
proprinit:problem reading the bootblock or superbloc 22
This could mean either your cluster registry file is corrupt or you don't have access to the raw devices. Check the access to the shared storage raw device is valid. If this is not true, then make sure you have all your backup files ready.
~ Madrid
http://hrivera99.blogspot.com -
Oracle 9.2 RAC installation error on raw devices
During Oracle 9.2 RAC installation on Linux Red Hat 7.3 on raw devices
Database Configuration Assistant
returned the error message:
"Raw device validation check for Data File
"/dev/raw/clustdb_raw_cwmlite_100m" failed, No such file or directory".
Really this file exists, this is a link to a raw device.
How does Oracle validate the raw file?
What does this error mean?
Igor.During Oracle 9.2 RAC installation on Linux Red Hat 7.3 on raw devices
Database Configuration Assistant
returned the error message:
"Raw device validation check for Data File
"/dev/raw/clustdb_raw_cwmlite_100m" failed, No such file or directory".
Really this file exists, this is a link to a raw device.OK, so you are saying that /dev/raw/clustdb_raw_cwmlite_100m is link to /dev/raw/raw<x> (x some number)??
If not - there is your error.
How does Oracle validate the raw file?File MUST exists (or link) AND it must be a RAW device.
You can check it by raw -qa (it should display all raw devices, with theirs major-minor pairs)
What does this error mean?
Igor. Hrvoje -
Oracle rac raw device as shared storage
Hi,
i m new to oracle rac,
and i wish to instlall 11g r1 RAC on my laptop having linux 4 as platform (on vmware) ,
for that i prepare 4 partition for that (on node1)
/dev/sdb1 - for ocr
/dev/sdb2 - for voting disk
/dev/sdb3 - for asmdisk group
/dev/sda5 - fro asmdisk group
by assuming external redundacy for ocr and voting disk i kept only one disk
and i configured following in /etc/sysconfig/rawdevices
/dev/raw/raw1 /dev/sdb1 -- ocr
/dev/raw/raw2 /dev/sdb2 -- voting disk
/dev/raw/raw3 /dev/sdb3 -- asmdisk group
/dev/raw/raw4 /dev/sdb5 -- asmdisk group
and my question is how node2 can understat these raw device as shared storage?
thanks for any supporthi thanks for your suggestion ,
this may be ok for VMware , but what about for non-VMWare environment?
how can i make raw device as shared storage?
one more, all the docs that i followed on net , configured node1 partitions as shared storage.
please help me in this regards -
Reinstall DB and ASM using existing RAW devices in RAC
Hi,
We have two Database servers in Cluster environment DB1 and DB2 using CX300(SAN) as Storage device.Recently we had upgraded the OS kernel on DB1 from RHEL 3 to RHEL 4 and DB2 is still running on RHEL 3. Due to some application problems we wanted the DB1 to be rollbacked to RHEL 3
DB1-has ASM1 instance and DB2 has ASM2 instance running.Similary SID1 and SID2 on both of them.
Since we want to roll back to RHEL 3 it is a clean install on DB1. So my problem is I had never done this kind of reinstallation of DB and ASM using existing raw devices.
Can Someone sent me out some instructions and steps on how to do the reinstall without disturbing RAC,DB2 and Data on RAW/CX300(SAN) device.
I am basically a system admin not a complete Oracle DBA.I will be grateful for your help.
Thanks,
ShivaIt means, before proceeding a proper database backup must be taken, then it has to be started from scratch. RHEL3 is certified with 10gR1 and 10gR2, you should be aware of the patchsets available for the oracle version.
I suggest you to read the Clusterware and RDBMS installation guides:
Oracle® Database Release Notes
10g Release 2 (10.2) for Linux x86
B15659-03
Oracle® Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide
10g Release 2 (10.2) for Linux
Part Number B14203-08
Installing Oracle RAC 10g Release 2 on Linux x86
~ Madrid
Maybe you are looking for
-
To clarify - the new tab or window appears, and the web address is showing correctly in the address bar, but for some reason the new page won't load unless I manually highlight it and hit return. Please help!
-
Why do I have lots of duplicated calendar events on the iPhone?
On my iPhone 5, I have lots of duplicated events. What could be the cause of this? Under settings I've tried checking just 'iCloud' but that doesn't help. doug
-
Gods:How can i implement callback in RMI-IIOP?
Gods: In RMI-IIOP ,it is a Server-Client pattern. I wanna implement a Client1-Server-Client2 pattern . What can I do ? Can u give me code examples? thanks .
-
Hello, my problem is that the datafile USERS01.DBF is DISABLED (column "ENABLED") according to v$datafile. However its status is ONLINE I googeled but did not find out when a datafile gets into this status and how to enable it. It's my test database
-
Setting Background color of two columns
Hi, I'm trying to set the background colors of two empty columns. Here's a snippet of the code. The problem is, there is no setBackground method for TableColumn. I tried to cast it to Component but it was an invalid cast. Any thoughts? emptyColumn3