Using NFS for RAC
Hi I am planning to use NFS for RAc but I am not able to find the certified NAS devices.Where can I get the list
Thanks
NAS is NFS.
See
Following NFS storage vendors are supported: EMC, Fujitsu, HP, IBM, NetApp, Pillar Data, Sun, Hitachi.
NFS file servers do not require RAC certification. The NFS file server must be supported by the system and storage vendors.
Currently, only NFS protocol version 3 (NFSv3) is supported.
Hemant K Chitale
Similar Messages
-
Error while configuring iscsi client node using udev for RAC on linux
Hi All,
I am setting up iSCSI on Oracle Enterprise Linux referring the document "+Build Your Own Oracle RAC Cluster on Oracle Enterprise Linux and iSCSI+" posted on OTN by Jeffrey Hunter.
After configuring the iscsi service on iscsi client node, the symbolic link iscsi under the /dev folder is not created when the iscsi and udev service is started.
Created the following UNIX shell script /etc/udev/scripts/iscsidev.sh on iscsi client node:
#!/bin/sh
# FILE: /etc/udev/scripts/iscsidev.sh
BUS=${1}
HOST=${BUS%%:*}
[ -e /sys/class/iscsi_host ] || exit 1
file="/sys/class/iscsi_host/host${HOST}/device/session*/iscsi_session*/targetname"
target_name=$(cat ${file})
# This is not an open-scsi drive
if [ -z "${target_name}" ]; then
exit 1
fi
# Check if QNAP drive
check_qnap_target_name=${target_name%%:*}
if [ $check_qnap_target_name = "iqn.2004-04.com.qnap" ]; then
target_name=`echo "${target_name%.*}"`
fi
echo "${target_name##*.}"
Following message is seen in the /var/log/messages:
+May 2 17:10:44 rashida1 udevd-event[15897]: run_program: exec of program '/etc/udev/scripts/iscsidev.sh' failed+
Please find below the output of the +iscsidev.sh+ script when executed manually:
=========================================
[root@rashida1 scripts]# sh iscsidev.sh
cat: /sys/class/iscsi_host/host/device/session*/iscsi_session*/targetname: No such file or directory
=========================================
Contents of directory : /sys/class/iscsi_host/host*
================================================================
[root@rashida1 scripts]# ls /sys/class/iscsi_host/host*
/sys/class/iscsi_host/host1:
device hwaddress initiatorname ipaddress netdev subsystem uevent
/sys/class/iscsi_host/host2:
device hwaddress initiatorname ipaddress netdev subsystem uevent
=================================================================
If I supply an argument to the script, it returns proper result as shown below:
=============================
[root@rashida1 scripts]# sh iscsidev.sh 1
crs1
[root@rashida1 scripts]# sh iscsidev.sh 2
data1
=============================
But this input/argument value is supposed to be passed internally to the udev daemon. And its value will keep on varying.
Please advice how I should proceed.
Regards.I modified the iscsidev.sh on OEL6 as below and it worked for me:
#!/bin/bash
BUS=${1}
HOST=${BUS%%:*}
LID=`echo ${BUS}|awk -F":" '{print $NF}'`
[ -e /sys/class/iscsi_host ] || exit 1
if [ -f /sys/class/iscsi_host/host${HOST}/device/session*/iscsi_session*/targetname ]
then
file="/sys/class/iscsi_host/host${HOST}/device/session*/iscsi_session*/targetname"
else
file="/sys/class/iscsi_host/host${HOST}/device/session*/iscsi_session/session*/targetname"
fi
target_name=$(cat ${file})
# This is not an open-scsi drive
if [ -z "${target_name}" ]; then
exit 1
fi
# Check if QNAP drive
check_qnap_target_name=${target_name%%:*}
if [ $check_qnap_target_name = "iqn.2004-04.com.qnap" ]; then
target_name=`echo "${target_name%.*}"`
fi
echo "${target_name##*.}"
LUN=`echo $target_name|awk -F":" '{print $NF}'`
echo `date` $0 $* ${LUN}_${LID}
} >>/tmp/udev_getlun.log
echo ${LUN}_${LID}
Now restart iscsi service
service iscsi stop
service iscsi start
Wait for 2-3minutes,
check /var/log/messages file and do a listing using ls -ltr /dev/iscsi/*
Reboot the server and do the checks again
At this stage, you will see the list of persistent devices.
Please confirm if it resolves your issue.
Thanks
Mohan -
Should I run losetup when using openfiler for RAC ?
Grid version : 11.2.0.3
Guest OS : Oracle Enterprise Linux 6.3
Host OS : Windows 7 (64-bit )
Hypervisor : Virtual Box 4.2.6
I am planning to set up a 2-node RAC using VirtualBox.
We are going to use OpenFiler as the storage appliance. So, totally 3 VMs (2 RAC Nodes + 1 OpenFiler VM)
Once the LUNs are available , should we be running losetup command ?
losetup /dev/loop1 /disk1as mentioned in
Re: iscsi or SAN
Isn't partition creation using fdisk enough ?
If we use shared LUNs created from withing VirtualBox , should we be running losetup ?There is insufficient information to provide you with an answer. You are going to need to test your proposed configuration. Hopefully this is just a proof-of-concept or test environment. You have to take leave of all rational thinking to try to use this in a production environment.
You could have probably tested it (installed/tore down/resinstalled) many times over while waiting for an answer. -
Oracle White Paper- Storage Option for RAC. on Linux
hi..
This in reference with White Paper.. Stotage Option for RAC on LINUX. Author- Umadevi Byrappa.
Which states on page 10: To Use NAS for RAC database file storage select the file system storage option in OUI. or the Clustered file system storage option in DBCA.
With which i disagree. File storage option of oracle 10g RAC only shows.
1. Clustered File system.
2. ASM
3. Raw Devices.
When i try to select Cfs and select the shared directory on NFS it says. < Directory_Name> is not a clustered file system or Shared on Both <Server_1> < Server_2>. and at this point of time i m stuck.
1. I dont want to use OCFS as its not supporting NAS.
2. Selecting CFS doesnt recognise mounted shared volume as valid storage device option can only store OCRfile and CSS file.
3. So, I have to use ASM.. with zero padded files..which i dont want to because no other option. ( PART NO. B10766-02 PAGE C-6)
Also, I would like oracle to provide Back up Recovery Option or Document which tells me how could i Recover Database when i use Zero Padded Files.
What would be the best Option in the above scenario ?
I hope by applying patch or with workaround somehow it shows Filesystem ONLY.I'll be the happiest man in this Case.
Any suggestions and corrections are most welcome. I wish i m wrong.
Nadeem ( [email protected] )NFS isn't a clustered file system at all - by RFC it is an exported file system with access controls
If your vendor offers an NFS solution over and beyond that - more power to them. However that isn't "NFS"..
http://www.faqs.org/rfcs/rfc3010.html
You can use NFS in a clustered server environment (to mount apps, read only data and for synchronous access to files), however it doesn't support the concurrency out of the box for RDBMS transactions - if a vendor is supporting this promise then that is for you to decide.
However i stand by my statement that NFS is a file system exported across your network and not a full clustered file system. -
Hi
There two methods in using NFS for Oracle datafiles in RAC
1. creating ordinary datafiles in NFS shared path
2. creating zero filled files in NFS shared path and then using them as disk for ASM
My question is that which method is better in terms of performance for operational environment ?
thanksTakhteJamshid wrote:
There two methods in using NFS for Oracle datafiles in RAC
1. creating ordinary datafiles in NFS shared path
2. creating zero filled files in NFS shared path and then using them as disk for ASM
My question is that which method is better in terms of performance for operational environment ?IMO, not using NFS at all.
The optimal and most performant architecture is the one with the minimal number of moving parts to achieve the desired result.
In the case of RAC, it means using ASM to manage the shared stored devices for you. It means that there should ideally be no unnecessary software layers between ASM and these shared storage devices. ASM should use the shared storage directly as block devices - and these block devices should be the LUNs visible via the multipath/powerpath driver software that "publishes" these (fibre channel/Infiniband/etc) storage LUNs for the o/s to use.
Throwing an IP layer and other s/w layers in between, affects both robustness and performance. -
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 -
Can I use virtual Servers in private cloud for RAC
Hello to all
We are going to install an Oracle RAC on two servers
But our Hardware Administrator says to us “I Allocate two virtual servers in the our private cloud not two physical Servers (or real Servers)”
Do you think it’s practical and reasonable to using virtual Server for Oracle RAC in production environment ?
Which one is better physical server or virtual server for RAC?
Please write your reasons
ThanksUsing virtual machines is officially supported for RAC only in a few cases which can be found here:
http://www.oracle.com/technetwork/database/virtualizationmatrix-172995.html
Make sure that you meet these requirements in your private cloud. Some cases like vmware are still somewhat supported despite beeing not on the list.
Beside this you should make sure that your 2 virtual machines run on different hardware servers in the cloud, otherwise you lose most parts of the rac advantage regarding high availability, when both virtual servers happen to run on the same hardware during a crash
Virtual servers are used in production environments, but you will have to take greater care for many aspects of rac compared to physical hardware, e.g.. something like "live migration" of vmware can kill a rac node due to timeout.
I would prefer hardware for rac anytime over virtual servers and spare me the hassle of dealing with all possible issues arising from the virtualization.
And check oracles licensing policy...
Running an enterprise edition rac on e.g. a large vmware cluster is insanely expensive, you pay every cpu core the rac COULD run on -> the entire cluster!
If you must use virtual hardware but don't want to and need an argument against it use the license issue.
Regards
Thomas -
Which network is Oracle using for RAC traffic ? where you will get info ? ?
Hi,
I am using two node RAC on Oracle 10g R2 (10.2.0.3.0) version on SUN Solaris 10 . I want to know "Which network is Oracle using for RAC traffic ? where you will get info "
--KumarHi Kumar,
In 10g, you can query x$ksxpia. If the cluster_interconnect information is stored in OCR (default), you will get
SQL> select INST_ID,PUB_KSXPIA,PICKED_KSXPIA, NAME_KSXPIA,IP_KSXPIA from x$ksxpia;
If you specified the cluster_interconnects parameter in your init.ora:
Columns to look in : INST_ID P PICK NAME_KSXPIA IP_KSXPIA
And also you can use 'oradebug ipc' to see which interconnects the database is using:
SQL> oradebug setmypid
SQL> oradebug ipc
Hope it helps...
Thanks
LaserSoft -
hello to all
I am familar with ASM and NFS but I don't know what is mean of using NFS file for ASM
can you explain for me ? or do you know manual for this on WEB ?
thanksI don't think ASM via NFS is optimal.
You need to create your NFS mounts. Then use dd to create files in your various NFS mounts and then present these files to ASM as disks.
try:
http://www.oracle.com/technology/products/database/asm/pdf/netapp_asm3329.pdf
jason.
http://jarneil.wordpress.com -
OVM disks for RAC implementation
Dear All
is there any guide available on how can you create the disks for RAC ASM in OVM 3.3.1 using a fiber channel block level storage?
Thanks
GeorgeYou are right, you can't use virtual disks for RAC configuration. Have a look here (especially page 18):
http://www.oracle.com/technetwork/products/clustering/oracle-rac-in-oracle-vm-environment-131948.pdf
Using physical disks means that you create LUNs on your storage array connected to Oracle VM Servers by fabric channel. You map these LUNs to all servers in the pool or all standalone servers where you are going to install your virtual machines being Clusterware nodes. Then you rediscover storage in Oracle VM Manager, mark these LUNs as "shared" in OVMM and add them to your virtual machines as "Physical disks" (by editing guest properties in OVMM).
Alternatively you can directly map iSCSI or NFS storage to your guests. By "directly" I mean you use IP addresses and software in your guests as iSCSI initiator or NFS client - without engaging Oracle VM in the middle.
Regards,
Michal -
Is Veritas- or Sun Cluster needed for RAC in a Solaris Environment
Is a Veritas- or Sun Cluster needed for RAC in a Solaris Environment?
Does anyone know, when OCFS will be available for Solaris?You don't need Veritas Cluster File System, but until OCFS comes out for Solaris you need to think about backups. If you've not got a backup solution that can integrate with rman for an SBT device then backups become more tricky.
If you use ASM then you can take a backup to a "cluster filesystem" (although ASM is raw partitions think of it as a cluster filesystem), that both nodes can see. BUT you then need to get these to tape somehow, unless you've got NetBackup et al. that support RMAN and can backup direct to tape you're more stuck.
Too many people don't think about this. You could create an NFS mount and backup to this from the nodes. -
Hi,
I plan to use shared disks to create Oracle RAC using ASM. What options do I have? OCFS2? or any other option?
Can some one lead me to a documnet on how can I use the shared disks for RAC?
Thanks.javed555 wrote:
I plan to use shared disks to create Oracle RAC using ASM. What options do I have? You have two options:
1. Create shared virtual, i.e. file-backed disks. These files will be stored in /OVS/sharedDisk/ and made available to each guest
2. Expose physical devices directly to each guest, e.g. an LVM partition or a multipath LUN.
With both options, the disks show up as devices in the guests and you would then provision them with ASM, exactly the same way as if your RAC nodes were physical.
OCFS2 or NFS are required to create shared storage for Oracle VM Servers. This is to ensure the /OVS mount point is shared between multiple Oracle VM Servers. -
Is using ACFS for CFS is good idea?
Hello Experts.
Planning to build a RAC on following environment.
Oracle Database Ver.: 11.2.0.3
OS: Linux RHEL 6.1 - 64 Bit
Servers: HP
ASM and ACFS for storage.
Here need a advice: Is using ACFS for CFS is good idea or anything else better than this?
Thank you in advance:
Ajazjn76.Hi,
Great to think of Oracle11g 11.2.0.3 RAC(Don't forget to install Patch 13440962) but do consider below
1.) Implementing ACFS is supported for Shared Oracle Home.
2.) ACFS is a good option for storing Backups(Ex. RMAN,Exports etc)
3.) Can be used as a NFS Shared drive for other NFS clients.
You will also see a resource "ora.registry.acfs" just after you start creating/using ACFS.
ACFS is cool to use using asmcmd commands or alter diskgroup sql statements.
ACFS is as better like other Vendor Cluster File system.
Thanks
Deepak -
Use ASM for Shared Filesystem Loader location?
Is it possible to use space on ASM-managed disks for the Shared Filesystem Loader directory on a Grid Control running on two servers with RAC? If not should NFS be used?
user2528460 wrote:
Is it possible to use space on ASM-managed disks for the Shared Filesystem Loader directory on a Grid Control running on two servers with RAC? If not should NFS be used?What is Oracle version ? Its not possible to store files on ASM.
Yes .. you can use NFS and OCFS.
http://my.safaribooksonline.com/book/databases/oracle/9780071634229/preparing-and-installing-the-environment/39
http://www.filibeto.org/sun/lib/nonsun/oracle/10.2.0.1.0/B19306_01_200702/em.102/b16242/configs.htm#BACDCGIJ
Regards
Rajesh -
Hi all, i should define a NFS share on a database cluster ORACLE 11gr2 with RAC. The NFS share is obviously on the shared file system (i use GPFS) for management of scripts etc. I would reach it with a single IP, in order to be saved from failures of a cluster node.
The two cluster nodes have AIX operating system.
Is ORACLE CLUSTERWARE able to manage this kind of scenario?
How should i set the NFS sharing?
Thanks
Marcohi
as far as I know, you cannot present any cooked filesystem to RAC, just raw devices/LUNs, either phisical or logical.
if you want to use ethernet medium then think of iSCSI solution with advanced storage arrays.
Maybe you are looking for
-
Is it possible to search multiple documents for text?
I have several hundred fake newspaper cuttings that I have generated in Photoshop CS4, in which there are multiple layers of text. I want to search for certain words within all those cuttings, similar to the way I can search for words in InDesign or
-
I am working on a map where there are two nodes of type Child in the source schema. These nodes do not repeat, they are predefined Ex <TopLevel> <MainChild> <FirstName>Tom</FirstName> <LastName>Harry</LastName> <Address>London</Address> </MainChild>
-
GI for over delivery and under delivery
Could you please reply to the following query It should be possible to post the GI for an outbound delivery if the quantity effectively picked is over or under the requested quantity. where is the control for this?Where we set this in the standard SA
-
Creating Point of Delivery in background
Hi, I have a requirement of creating the Point of delivery in background from Workflow. Is there any standard class, Funtion module for this? I have found one class CL_ISU_POD. Can we use this for POD creation? Can anyone help me on this??? Tha
-
Re:Export Excel adf table programmatically
Hi All, I am using jdev11.1.2.3.0 in OracleLinux Operating System , I need to export Table data to Excel sheet in programmatically, can any one tell me the solution..