RAC 10gr2 using ASM for RMAN a cluster file system or a Local directory
The environment is composed of a RAC with 2 nodes using ASM. I have to determine what design is better for Backup and Recovery with RMAN. The backups are going to be saved to disk only. The database is only transactional and small in size
I am not sure how to create a cluster file system or if it is better to use a local directory. What's the benefit of having a recovery catalog that is optional to the database?
I very much appreciate your advice and recommendation, Terry
Arf,
I am new to RAC. I analyzed Alejandro's script. He is main connection is to the first instance; then through sql*plus, he gets connected to the second instance. he exits the second instance and starts with RMAN backup to the database . Therefore the backup to the database is done from the first instance.
I do not see where he setenv again to change to the second instance to run RMAN to backup the second instance. It looks to me that the backup is only done to the first instance, but not to the second instance. I may be wrong, but I do not see the second instance backup.
Kindly, I request your assistance on the steps/connection to backup the second instance. Thank you so much!! Terry
Similar Messages
-
Cannot configure Oracle Cluster File System (OCFS2)
Dears,,
While trying to use ocfs2console to Configure Oracle Cluster File System (OCFS2)
Error appear to me as following:
Could not start cluster stack error.This must be resolved before any OCFS2 filesystem can be mounted.
How can solve this please?
thanks & regards,,Dear all ,,
My issue solved now . . .
Really , it is strange.
Once , i added /sbin in .bash_profile under ~ Directory as following . . .
export PATH=$ORACLE_HOME/bin:$ORA_CRS_HOME/bin:/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin
Then log out then back again.
After this change , i able to run ocfs2console successfully.
Hope this help you.
Thanks for all,,
Best regards,, -
11g r2 non rac using asm for sun cluster os (two node but non-rac)
I am going to install grid installation for non-rac using asm for two node sun cluster environment..
How to create candidate disk in solaris cluster (sparc os) to install grid home in asm.. please provide me the steps if anyone knowsPlease refer the thread Re: 11GR2 ASM in non-rac node not starting... failing with error ORA-29701
and this doc http://docs.oracle.com/cd/E11882_01/install.112/e24616/presolar.htm#CHDHAAHE -
Linux Cluster File System partitions for 10g RAC
Hi Friends,
I planned to install 2 Node Oracle 10g RAC on RHEL and I planned to use Linux File system itself for OCR,Voting Disk and datafiles (no OCFS2/RAW/ASM)
I am having SAN storage.
I would like to know how do i create shared/cluster partitions for OCR,Voting Disk and Datafiles (common storage on SAN).
Do i need to install any Linux cluster file system for creating these shared partitions (as we have sun cluster in solaris)?
If so let me know what versions are supported and provide the necessary Note / Link
Regards,
DBHi ,
Below link may be useful to you:
ORACLE-BASE - Oracle 10g RAC On Linux Using NFS -
Raw devices versus Cluster File Systems in RAC 10gR2
Hi,
Does anyone using cluster file systems in a RAC 10gR2 installation, specifically IBMs GPFS?
Ive visited a company that is running RAC 10gR2 in AIX over raw devices. Why someone would choose to use raw devices , with all the problems to administer , when all the modern file systems are so powerful? Is there any issues when using cluster file systems + RAC? Is there considerable performance benefits when using raw devices with RAC ?
I´ve always used Oracle stand alone instances over file systems (since version 7) , and performance was always very good. I´ve tested raw devices almost 10 years ago , and even in that time (the hardware today is much better - SAN , 15K rpm disks , huge caches - and the file systems software today is much better) the cost to administer it does not compensate the benefits (only 5% more faster than file systems in Oracle 7).
So , besides any limitations imposed by RAC , why use raw devices nowadays ?
Regards,
Antonio BelloniHi,
spontaneously, my question would be: How did you eliminate the influence of the Linux File System Cache on ext3? OCFS2 is accessed with the o_direct flag - there will be no caching. The same holds true for RAW devices. This could have an influence on your test and I did not see a configuration step to avoid it.
What I saw, though, is "counter test": "I have tried comparing simple file copies from an OS level and the speed differences are not apparent - so the issue only manifests itself when the data is read via an oracle db." and I have no good answer to that one.
Maybe this paper has: http://www.oracle.com/technology/tech/linux/pdf/Linux-FS-Performance-Comparison.pdf - it's a bit older, but explains some of the interdependencies.
Last question: While you spent a lot of effort on proving that this one query is slower on OCFS2 or RAW than on ext3 for the initial read (that's why you flushed the buffer cache before each run), how realistic is this scenario when this system goes into production? I mean, how many times will this query be read completely from disk as opposed to use some block from the buffer? If you consider that, what impact does the "IO read time from disk" have on the overall performance of the system? If you do not isolate the test to just a read, how do writes compare?
Just some questions. Thanks. -
Advice on whether to use ASM for 11gR2 databases
Hi all,
Hope I can get some advice here for ASM.
I'm going to upgrade all my 10.2 EE databases to 11gR2, and I will not be running RAC, only single instances and Data Guard. My storage is HP SAN. I wonder if it is worth the trouble (in our small shop) to run ASM.
Currently, my backups are done from a SAN perspective only, meaning that whatever is in the SAN storage is backed up.
How do I back up the files in ASM? Do I have to copy the backupsets to file system first ?
Thanks!
Junefjfranken wrote:
For small databases performance gain is zero, you only add complexity where a normal file system would be sufficient.Disagree.
Also, the reasoning is not valid. ASM works at device level. Not at cooked file system level.
This means that ASM directly uses the LUN (seen as a local scsi device) of the SAN. See LUN. Use LUN. That simple.
Not using ASM means that the o/s needs to be updated and configured. That LUN needs to be mounted. It needs to be formatted. The mount needs to be made permanent (via fstab or whatever).
This makes ASM less complex and cooked file system more complex.
Also consider that the mount and its contents are exposed to other s/w and processes and users. This raises issue such as access control and security - and the possibility of errant s/w trashing a database file because it happens to be running on the wrong mount or wrong directory.
This is not the case with an ASM diskgroup as it is not mounted and not visible as a normal cooked file system.
And if a cooked file system feature needed for a non-database files, an ACFS volume can be created in the diskgroup and mounted as a clustered file system. So it is not as if you loose the option of having a cooked file system on a LUN, when using ASM.
Database size has nothing to do with the decision between cooked file system or ASM when using SAN LUNs. Ease of use, manageability, and feature set, have. From this perspective a cooked file system for database storage is old and clunky and insecure, and ASM is flexible, performant, scalable and secure. -
DBCA can not use ASM for database storage due to following reason: Could no
Hi
I've a recently installed RAC11gR2(11.2.0.3) on HP-UX
I installed Grid Infrastructure with grid user:
Node1: # id grid
uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
Node2: # id grid
uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
I installed the Oracle Server with oracle user:
Node1: # id oracle
uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
Node2: # id oracle
uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
All related Grid Infrastructure is functioning well in both nodes:
$ crs_stat -t
Name Type Target State Host
ora.DATA.dg ora....up.type ONLINE ONLINE node03
ora.FRA.dg ora....up.type ONLINE ONLINE node03
ora....ER.lsnr ora....er.type ONLINE ONLINE node03
ora....N1.lsnr ora....er.type ONLINE ONLINE node04
ora.asm ora.asm.type ONLINE ONLINE node03
ora.cvu ora.cvu.type ONLINE ONLINE node04
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE node03
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE node03
ora.scan1.vip ora....ip.type ONLINE ONLINE node04
ora....SM1.asm application ONLINE ONLINE node03
ora....03.lsnr application ONLINE ONLINE node03
ora....d03.gsd application OFFLINE OFFLINE
ora....d03.ons application ONLINE ONLINE node03
ora....d03.vip ora....t1.type ONLINE ONLINE node03
ora....SM2.asm application ONLINE ONLINE node04
ora....04.lsnr application ONLINE ONLINE node04
ora....d04.gsd application OFFLINE OFFLINE
ora....d04.ons application ONLINE ONLINE node04
ora....d04.vip ora....t1.type ONLINE ONLINE node04
$
The ASM instance are running well in both nodes
Connected with oracle user, the listener has registered perfectly the ASM instance in each node:
$
$ lsnrctl status
LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 16-MAY-2012 15:41:06
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
Start Date 16-MAY-2012 15:24:19
Uptime 0 days 0 hr. 16 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/node03/listener/alert/log .xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.133)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.136)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
The command completed successfully
$
$
DATA & FRA disk group are created:
$
$ echo $ORACLE_SID
+ASM1
$
$ asmcmd
ASMCMD>
ASMCMD> ls -lt
State Type Rebal Name
MOUNTED EXTERN N DATA/
MOUNTED EXTERN N FRA/
ASMCMD>
ASMCMD>
The big issue is... that the DBCA can not see the diskgroups. When I choose ASM Storage it can not see them. It shows the chart in blank and if i try to write the disk group, so the following message appears: can not use ASM for database storage due to following reason: Could not connect to ASM due to following error: ORA-01034 ORACLE not available
What can be passing in this case... ?
Thanks in advanceThanks both
Really the problem initially was because of this:
[INS-06006] Passwordless SSH connectivity not set up between the following node(s): [node1, node2]. CVU may reports "PRVF-4007 : User equivalence check failed for user "user"" for same error
and I had to install node1 first and after node2 manually and perhaps for this the product was not well linked.
I resolved the problem establishing the keys with the wizard and after copying the following files from node1 to node2
/home/grid/.ssh -------> /home/grid/.ssh
authorized_keys
known_hosts
This is the procedure if you run the wizard at the node1.
The problem is that the wizard creates the keys incompletely...
Thanks -
Asmca has grayed out Volumes and ASM Cluster File Systems 11.2.0.3
I've got a two node cluster which is up and running with the latest 11.2.0.3 grid install on Oracle Linux 6.3
I need to get a shared storage location I can use for File I/O testing, ASM looks like the solution with an ASM Cluster File System.
When I run asmca I do not have the ability to create these volumes or file systems as they are Grayed out.
I found some instructions on how to get it to work, and they said to use acfsload to start up the required daemons:
[root@oracleA bin]# ./acfsload start -s
ACFS-9459: ADVM/ACFS is not supported on this OS version: '2.6.39-300.17.3.el6uek.x86_64'
I installed Patches: 13146560, 14596051 - Which I thought would fix the problem. Rebooted after successfully applying the patches, but asmca still shows them greyed out
and not supported on this OS error persists.
I see some posts online saying to edit osds_acfslib.pm and update it to allow for the supported ORACLE version
Right now it shows: ($release =~ /^oraclelinux-release/))) # Oracle Linux
under /etc it only has oracle-release - could that have something to do with it not passing the check?
uname -r
2.6.39-300.17.3.el6uek.x86_64
From what I can tell this kernal should support asm..
Any help in getting these shared storage asm disks setup would be very helpful, oracleasm creates them and sees them fine for databases. Thanks.Turns out the Kernel version 2.6.39 does not have support for the ASM Drivers for the ACFS mounting.
I'm going to have to use Oracle Linux 6.2 (instead of Oracle Linux 6.3) and rebuild my RAC to get a supported version of the drivers -> Kernel version 2.6.32
http://docs.oracle.com/cd/E11882_01/install.112/e16763/oraclerestart.htm#BGBGEDGA -
Best Practice for Distributed TREX NFS vs cluster file systems
Hi,
We are planning to implement a distributed TREX, using RedHat on X64, but we are wondering which could be the best practice or approach to configure the "file server" used on the TREX distributed environment. The guides mention file server, that seems to be another server connected to a SAN exporting or sharing the file systems required to be mounted in all the TREX systems (Master, Backup and Slaves), but we know that the BI accelerator uses OCFS2 (cluster file systems) to access the storage, in the case of RedHat we have GFS or even OCFS.
Basically we would like to know which is the best practice and how other companies are doing it, for a TREX distributed environment using either network file systems or cluster file systems.
Thanks in advance,
ZarehI would like to add one more thing, in my previous comment I assumed that it is possible to use cluster file system on TREX because BI accelerator, but maybe that is not supported, it does not seem to be clear on the TREX guides.
That should be the initial question:
Aare cluster file system solutions supported on plain TREX implementation?
Thanks again,
Zareh -
Does /sapmnt need in cluster file system(SAP ECC 6.0 with oracle RAC)
We are going to be installing SAP with Oracle 10.2.0.4 RAC on Linux SuSE 10 and OCFS2. The Oracle RAC documentation states:
You must store the following components in the cluster file system when you use RAC
in the SAP environment:
- Oracle Clusterware (CRS) Home
- Oracle RDBMS Home
- SAP Home (also /sapmnt)
- Voting Disks
- OCR
- Database
What I want to ask is if I really need put SAP Home(also /sapmnt) on cluster file system? I will build a two nodes oracel 10g RAC and I also have another two nodes to install SAP CI and DI. My orginial think is sapmnt is a NFS share, and mount to all four nodes(RAC node and CI/DI), and all oracle stuff was on OCFS2(only two rac nodes are OCFS), anybody can tell me if SAP Home(also /sapmnt) can be NFS mount not OCFS2, thanks.
Best regards,
PeterHi Peter,
I don't think you need to keep /sapmnt in ocfs2 . Reason any file system need to be in cluster is,in RAC environment, data stored in the cache of one Oracle instance to be accessed by any other instance by transferring it across the private network and preserves data integrity and cache coherency by transmitting locking and other synchronization information across cluster nodes.
AS this applies to redo files, datafiles and control files only , you should be fine with nfs mount of /sapmnt sharing across and not having ocfs2.
-SV -
I am using MS Office 2010 and Windows XP Professional, can I use iCloud for backup of my files and documents? I am planning to transition to a Mac so using the iCloud seems to make the most sence.
No, it is not a backup method at all. If you delete a sync'd file on any device, you delete it permanently from iCloud. That by its very essence is not a backup solution therefore. A backup solution does not automatically and simultaneiously delete the file everywhere when it is deleted from the original source.
iCloud is strictly a syncronization tool for using files on multiple internet connected devices. -
Is OCFS(Oracle Cluster File System) a real file system?
Hi all
Is oracle cluster file system something kind of FAT23 or NTFS on Windows, ext3 on Linux ?
We install operating systems on FS , but with OCFS we install Oracle database on it instead of operation system ?
As usual
Applications
OS
File System
Physical Drive
But the ocfs is something like:
Oracle
OCFS
OS
OS's file system
Physical Drive
Is that right ?Robert Geier wrote:
OCFS is a clustered filesystem. You don't use it for OS partitions (e.g /opt) but only for filesystems that will be shared between servers in a RAC cluster to hold database files.
Are you installing RAC ? If so, then ASM is a better option than OCFS. If not, then you really don't need OCFS.Thanks
I'm studying RAC.
I hear that I can not put all kind of files into ASM but with OCFS I can hold them.
Is that improved with 11g R2 ? -
Sun QFS cluster file system with Veritas Volume Manager
Hi,
Can someone confirm whether it is possible to create a Sun QFS cluster file system (for Oracle RAC datafiles) using a VxVM volume?
Or must we use Solaris Volume Manager with QFS?
Thinking of storing the static part of the Oracle RAC DB on VxVM raw devices, and the dynamic part on a QFS file system to avoid the overhead of constantly adding new raw devices when i want to create datafiles.
Thanks,
SteveSteve,
No, shared QFS is only supported on Solaris Volume Manager. I've not heard of any plans to test it on VxVM.
Why not keep the static parts of the DB on raw SVM devices? Why keep them on raw devices at all?
Tim
--- -
IS RAW DEVICES SUPPORTED OVER A CLUSTER FILE SYSTEM
Can raw partions be defined for datafiles after having choosen Cluster file system as storage option for database while creating fresh database using
DBCA?> Do update on how the partitions have to be defined in either cases?
For both ASM and OCFS, a partition must exist on the disk - it can be of any partition type. Does not matter. Simply that the s/w references a partition and not an entire disk.
So for example, /dev/sdaf and dev/sdag are two shared devices on the cluster (LUNs on the SAN or whatever).
You create a partition on each. E.g
# fdisk -l /dev/sdaf
Disk /dev/sdaf: 36.5 GB, 36573020160 bytes
255 heads, 63 sectors/track, 4446 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdaf1 1 4446 35712463+ 83 LinuxTo use the first device as a OCFS device, you need to build an ocfs file system on it using mkfs.
And then it can be mounted as a "normal" cooked file system mount. Remember that /etc/fstab needs to be updated for mounting it on startup.
To use the second device for ASM, you have two choices. If you have the ASMlib kernel module installed, you can use that to configure a volume label and assign it for use by ASM.
Alternatively, you simply map the device (partition) to a raw device for detection by ASM. E.g.
# raw /dev/raw/raw1 /dev/sdag1Of course, you also need to make this permanent by updating the raw device list config file so that this mapping is performed on reboot. On Linux, this is the /etc/sysconfig/rawdevices file. Also remember that the user and group access for the logical raw device created, must allow ASM full access to it (e.g. use chmod oracle.dba /dev/raw/raw1).
In a nutshell, this is how to raw devices are used as ocfs and asm volumes. (on RHEL specifically, but I expect no major differences in this approach on other o/s's) -
Cluster file system and BDB - does it work ?
Hi,
I've read in the reference guide that:
" No commercial remote filesystem of which we're aware supports
coherent, distributed shared memory for remote-mounted files"
What about cluster file systems like veritas cluster file system ?
Can I use this file system with BDB ?
I'm trying to find a solution for having one database visible from two computers.
Reader and writer exist on each machine. Any clue how to do that ?
best regards
MorisAward points, level up, and earn new privileges
Level/Points/Privilege
1 - 0-149 - Reputation level displayed
2 - 150-499 - Ability to report posts to Apple Support Community Hosts
3 - 500-999 - Ability to set a custom avatar
4 - 1000-4999 - Invitation to community conference calls
5 - 5000-7999 - Regional Meet-up invitations
6 - 8000-19999 - Access to The Lounge, Apple Support Communities T-Shirt
7 - 20,000-34,999 - Coming Soon
8 - 35,000-49,999 - Coming Soon
9 - 50,000-79,999 - Coming Soon
10 - 80,000+ - Coming Soon
Maybe you are looking for
-
Pdf not opening in firefox 3.53
using adobe acrobat 9.1 on windows vista, 4 gb ram, nothing happens when attempting to open online pdf. Firefox menu and toolbars are displayed and the rest of screen changes to blank white with small done in bottom left hand corner of firefox scree
-
Hi, I'm not much good at the coding and require some help, i looked through past posts and haven't found much help. public class Queue2 private node start,last; private static class node private int nPriority; private String todo; private node link;
-
Report Specification Issue - Expert Advise Needed
Hi Guys, This is for a "Expenditure & Performance" report in Plant Maintenance Area. This report allow users to run Expenditure, Production, Performance and Efficiency reporting and display the data in a variety of views. Some basic info before I exp
-
Hi guys!! I think my prob is a common one, but i dint found any satisfactory answer. Here its: We developed a application in JSP mainly, without following MVC(surprisingly). It shows all the URL's and parameters straight forward. Which i am assigned
-
Motherboard crashed, hard drive missing LR and 100 gigs of photo files
able to save drive, put in ext ensclosure and hooked it up tp laptop. am able to open My Pictures folder, only 10 gigs worth of pics visible. should be 126 gigs. most programs still on drive and accessible: i tunes, all canon photo software, etc.