RAC, openfiler, openvpn
Hi all,
I'm new user in openfiler&RAC environment, I'm going to install openfiler ,oracle RAC and openvpn in one environment, every some one familiar like this work?, is openvpn work probably with oracle RAC (is openvpn certified in oracle certification matrix )?.
Thaks
Hi,
I used VPN networks in large networks,openvpn it's best VPN solution.
-RAC Nodes contains Linux redhat RHEL 5 and openvpn.
-openfiler Servers contain openvpn.
in current time,
openfiler servers: I installed openfiler, and going to install openvpn in openfiler, How to do install openvpn?
RAC Nodes: install RHEL 5 ,Oracle RAC 10.2, openvpn. then configure RAC Nodes , How to do that?Now I understand.
You will implement three different technologies that involves three different types of skill.
Storage (OPENFILER)
Database/Cluster (Oracle/Linux)
Network (OPENVPN)
In this forum I believe that we can help with problems (OS, Storage and Network) related to the installation of Oracle, Oracle or related problem.
If somebody here has worked with this technology and can help you will be great, but I believe you can find the answers in these forums that are specific technologies.
So my recommendation is:
You first solve the problem or setup Openvpn/OpenFile of your envoriment in related forums.
When the environment is configured correctly and you are installing Oracle RAC we can help you on this forum.
Regards,
Levi Pereira
Edited by: Levi Pereira on Mar 16, 2011 4:11 PM
Similar Messages
-
Test RAC setup - Question on Openfiler
Hello All:
Followed this doc to set up two node rac http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html
I have successfully installed Linux on two nodes linux1 and linux2 per doc above.
I have successfully installed openfiler on the third node, powered by rpath linux per doc above.
As per the document above and next step, i need to configure iSCSI volumes using openfiler. The document talks about using the browser thru which Openfiler administration is performed.
The issue i am facing is, i cannot get the browser installed on openfiler. How do i do this?
This node is not connected to the internet.
I have downloaded the firefox mozilla on a usb stick, how do i access the usb flashdrive on the openfiler and install the browser?
Is there a gui for openfiler?
If anybody has any experiences with this, i appreciate if they can share.
Thanks a ton
San~Openfiler should be running a web server. So you should be able to access if from a browser on other machines to which it is connected
Possibly the easiest way to go.
Edited by: bigdelboy on 28-Apr-2009 10:10
NB: RAC forum would usually get better support. -
Oracle Rac 11g R2 and Openfiler
hi all.
i am using Oracle Linux Enterprise 5.5 Openfiler 2.9 ,Grid 11g R2 and oracle Database 11g R2.
i created 3 disks ,Disk1,Disk2 and Disk3 but i gave the size to DISK2 and DISK3 40GB
and DISK 5GB plz can anyone guide me by using OPENFILER how much SIZE(GB) i can use for each DISK?hi all.
is there any other way to work like openfiler i want to create voting disks for my rac,i used openfiler for that,
plz can anyone tell me is there any good way to create large disks for rac datas? -
RAC Storage Options ( Openfiler or Wasabi )
Hi RAC gurus..
I need your advice regarding storage options for our RAC development environment.
Since it is a development environment so management is reluctant to invest in SAN , Our production is a 2 node RAC on windows 2003 server mounted on Dell SAN.
We have two spare servers available with Intel Xeon processors and SAS disks on them. SAN is out of question here and since we are on windows we cannot use NAS.
I was reviewing the storage options and came across to Openfiler and Wasabi Storage Builder softwares which can transform your server ( spare ones ) into virtual SANs for shared storage purposes.
I want to know if its reliable, scalable and whether it can be put to production one day or not? Which one is better Openfiler or Wasabi ?whether it can be put to production one day or not?
you need to ask this to oracle support to get a correct answer ; moreover for a production system, I will only use certified hardware . -
Does anybody install a RAC using openfiler (Openfiler is a Storage Management Operating System) on Linux ?
http://www.openfiler.com/
http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.htmlFirst NIC is for private interconnect and second is for Public/VIP IPs.
--MM -
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. -
Gns is getting failed with error CRS-2632 during RAC installation
hello guys i am new to oracle RAC and i am trying to configure two node ORACLE 11G R2 RAC setup on OEL 5.4 using GNS Every things works great till I execute
root.sh script on the first node
It gives me error
CRS-2674: Start of 'ora.gns' on 'host01' failed
CRS-2632: There are no more servers to try to place resource 'ora.gns' on that would satisfy its placement policy
start gns ... failed
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... failed
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
When i check status of cluster recourse i get this as output
[root@host01 ~]# crs_stat -t
Name Type Target State Host
ora.DATA.dg ora....up.type ONLINE ONLINE host01
ora....N1.lsnr ora....er.type OFFLINE OFFLINE
ora....N2.lsnr ora....er.type OFFLINE OFFLINE
ora....N3.lsnr ora....er.type OFFLINE OFFLINE
ora.asm ora.asm.type ONLINE ONLINE host01
ora.eons ora.eons.type ONLINE ONLINE host01
ora.gns ora.gns.type ONLINE OFFLINE
ora.gns.vip ora....ip.type ONLINE OFFLINE
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....SM1.asm application ONLINE ONLINE host01
ora.host01.gsd application OFFLINE OFFLINE
ora.host01.ons application ONLINE ONLINE host01
ora.host01.vip ora....t1.type ONLINE ONLINE host01
ora....network ora....rk.type ONLINE ONLINE host01
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE host01
ora....ry.acfs ora....fs.type OFFLINE OFFLINE
ora.scan1.vip ora....ip.type OFFLINE OFFLINE
ora.scan2.vip ora....ip.type OFFLINE OFFLINE
ora.scan3.vip ora....ip.type OFFLINE OFFLINE
These are my GNS configuration file entries
vi /var/named/chroot/etc/named.conf
options {
listen-on port 53 { 192.9.201.59; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
allow-query-cache { any; };
zone "." IN {
type hint;
file "named.ca";
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
zone "example.com" IN {
type master;
file "forward.zone";
allow-transfer { 192.9.201.180; };
zone "201.9.192.in-addr.arpa" IN {
type master;
file "reverse.zone";
zone "0.0.10.in-addr.arpa" IN {
type master;
file "reverse1.zone";
vi /var/named/chroot/var/named/forward.zone
$TTL 86400
@ IN SOA server1.example.com. root.server1.example.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS server1
IN A 192.9.201.59
server1 IN A 192.9.201.59
host01 IN A 192.9.201.181
host02 IN A 192.9.201.182
host03 IN A 192.9.201.183
openfiler IN A 192.9.201.184
host01-priv IN A 10.0.0.2
host02-priv IN A 10.0.0.3
host03-priv IN A 10.0.0.4
vi /var/named/chroot/var/named/reverse.zone
$ORIGIN cluster01.example.com.
@ IN NS cluster01-gns.cluster01.example.com.
cluster01-gns IN A 192.9.201.180
$TTL 86400
@ IN SOA server1.example.com. root.server1.example.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS server1.example.com.
59 IN PTR server1.example.com.
184 IN PTR openfiler.example.com.
181 IN PTR host01.example.com.
182 IN PTR host02.example.com.
183 IN PTR host03.example.com.
vi /var/named/chroot/var/named/reverse1.zone
$TTL 86400
@ IN SOA server1.example.com. root.server1.example.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS server1.example.com.
2 IN PTR host01-priv.example.com.
3 IN PTR host02-priv.example.com.
4 IN PTR host03-priv.example.com.
Please suggest me what i am doing wrong
Edited by: 1001408 on Apr 21, 2013 9:17 AM
Edited by: 1001408 on Apr 21, 2013 9:22 AMHello guys finally i find mistake i was doing
while configuring Public Ip for the nodes i was not giving Default Gateway .I was assuming as all these machine is in same network with same Ip range so they would not be needing Gateway but here my assumption mismatch with oracle well finally happy to see 11G r2 with GNS running on my personal laptop.
cheers
Rahul -
10G RAC ON 11.2 CLUSTERWARE
Hi,
i m trying to make ORACLE RAC 10gr2 on two nodes with openfiler , with ocfs and asm.but i didn't have clusterware 10.2 software to install because oracle has removed software to download, that's why i install clusterware 11.2 . after installation clusterware 11.2 i check status and output is below on both nodes.
[oracle@linux2 bin]$ ./crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
but when i try to install oracle 10gr2 software and when i reach to configure asm disks it says "in order to use AUTOMATIC STORAGE MANAGEMENT the
oracle cluster synchronization service (CSS) must be up and running. and says to run "/u01/app/oracle/product/10.2.0/db_1/bin/ localconfig reset* as root user..
i run it and it give no error.. i think service is up, you please tell me why i can't configure asm ? please guide.. thanksAs ASM is integrated with GI in 11gR2 you need to configure ASM instance with 11gr2 rather than 10gR2. Create all required ASM diskgroups and start the ASM instance with 11gR2 GI and then install the 10gR2 binaries and created the database.
-
Oracle Linux 6.2 with RAC 11g cluster install fails on root.sh ioctl
I have 2 HP Servers I'm trying to install a cluster to.
I've tried Oracle Linux 6.2 and 6.3 with the same error on both nodes when running the root.sh script.
I have tried the permissions, run-levels, etc that I have found in the forum and nothing has worked except the deconfigure works great. /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force
root.sh Errors:
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.
I can't see whats wrong, I did use ASM to configure iSCSI disks from a storage device which appeared to work correctly:
# oracleasm listdisks
VOL1
VOL2
VOL3
VOL5
# ls /dev/oracleasm/disks/
VOL1 VOL2 VOL3 VOL5
When I created the disks with ASM I used multipath successfuly:
# oracleasm createdisk VOL1 /dev/mapper/23535333762373932
The other node can see the disks just fine with oracleasm listdisks
I chose 3 disks for the OCR - VOL1-3
There was one forum work around to edit the $GRID_HOME/crs/install/s_crsconfig_lib.pm which I did no Oracle Linux 6.3 to no avail. I also tried using NFS mounted volumes for the OCR drives but got the same error.
Using the install: linux.x64_11gR2_gridoracleasm (aka asmlib) may not be supported on RHEL(OEL) 6.x. You do NOT need asmlib and it's days are numbered.
upon review of this document, even though it was for 10g, it still appears to be relevant
"10g: Using Openfiler iSCSI with an Oracle RAC database on Linux [ID 371434.1]"
and
udev utility can be used for disk mounting consistency between the nodes. It is the preferred tool. Note:371814.1 explains how to use the udev option.
and
Can't install GI 11gr2 (11.2.0.3) root.sh fail
Edited by: onedbguru on Dec 13, 2012 3:40 PM -
Issues while installing ORACLE 10g R2 RAC on RHEL 5.3
i am installing oracle 10g R2 RAC on RHEL 5.3 in a test environment. my aim was to install using ASM.
i went through the pre-requisites ok before beginning with the installation.
since RHEL 5.3 doesnt support raw devices i used
http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingLinux.shtml#Configure%20iSCSI%20Initiator%20and%20New%20Volume
udev to configure shared storage. my storage is on openfiler as a iSCSI target.
fdisk -l on both nodes shows the shared drives.
[root@node1 ~]# fdisk -l
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 2053 16386300 8e Linux LVM
/dev/sda3 2054 2372 2562367+ 82 Linux swap / Solaris
Disk /dev/sdd: 10.5 GB, 10502537216 bytes
64 heads, 32 sectors/track, 10016 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 10016 10256368 83 Linux
Disk /dev/sdb: 10.5 GB, 10536091648 bytes
64 heads, 32 sectors/track, 10048 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 10048 10289136 83 Linux
Disk /dev/sdc: 10.5 GB, 10536091648 bytes
64 heads, 32 sectors/track, 10048 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 10048 10289136 83 Linux
Disk /dev/sdf: 10.5 GB, 10569646080 bytes
64 heads, 32 sectors/track, 10080 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 10080 10321904 83 Linux
Disk /dev/sde: 10.5 GB, 10502537216 bytes
64 heads, 32 sectors/track, 10016 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 10016 10256368 83 Linux
[root@node1 ~]# ls -l /dev/iscsi/arpl*
/dev/iscsi/arpl1:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sde
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sde1
/dev/iscsi/arpl2:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sdd
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdd1
/dev/iscsi/arpl3:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sdb
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdb1
/dev/iscsi/arpl4:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sdc
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdc1
/dev/iscsi/arpl5:
total 0
lrwxrwxrwx 1 oracle oinstall 9 Jun 30 12:58 part -> ../../sdf
lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdf1
[root@node1 ~]# configuring udev results in the drives being mapped to persistent drive names eg. /dev/iscsi/arpl1/part1
still when i enter the name of the raw device which i have created i get the following error. please help
Image: !http://img91.imageshack.us/img91/7448/oracle.png!did you check this
http://download-west.oracle.com/docs/cd/B19306_01/install.102/b14203/storage.htm#BABBHECD
http://download.oracle.com/docs/cd/B28359_01/install.111/b28263/storage.htm#CDEBFDEH
also before you do what is suggested on the url posted by Mufalani,
it seems that you should do the following:
Check existence of udev raw mapping rule file /etc/udev/rules.d/60-raw.rules
On RH/EL5, udev raw mapping rule file /etc/udev/rules.d/60-raw.rules should exist by default as part of the util-linux package, for example:
# ls /etc/udev/rules.d/60-raw.rules
/etc/udev/rules.d/60-raw.rulesCreate a custom udev raw mapping rule file, /etc/udev/rules.d/61-oracleraw.rules say, for example:
# touch /etc/udev/rules.d/61-oracleraw.rules3b. Add udev raw binding rules to /etc/udev/rules.d/61-oracleraw.rules file
Add the udev raw binding rules to the /etc/udev/rules.d/61-oracleraw.rules file, for example:
# cat /etc/udev/rules.d/61-oracleraw.rules
# Raw bind to Oracle Clusterware devices
ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="360a98000686f6959684a453333524174", RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="360a98000686f6959684a453333524179", RUN+="/bin/raw /dev/raw/raw2 %N"If migrating to RHEL5/OEL5 from an earlier Linux version that relied on /etc/sysconfig/rawdevices file for persistent raw device bindings, the following script can be used as a basis for generating your RHEL5/OEL5 udev rules. Note, the script does not factor device name persistency.
#!/bin/bash
grep -v "^ *#" /etc/sysconfig/rawdevices | grep -v "^$" | while read dev major minor ; do
if [ -z "$minor" ]; then
echo "ACTION==\"add\", KERNEL==\"${major##/dev/}\", RUN+=\"/bin/raw $dev %N\""
else
echo "ACTION==\"add\", ENV{MAJOR}==\"$major\", ENV{MINOR}==\"$minor\", RUN+=\"/bin/raw $dev %M %m\""
fi
done -
Configuring udev rules for Oracle 10g R2 Rac on OEL 5.5 U4 with Qnap
I'm trying to setup a 10g RAC Cluster following the guide by Jeff Hunter on http://www.idevelopment.info/
I have to admit, im no Linux admin, and have searched round the net for help with the following Issue.
I'm trying to set my iSCSI targets to have persistent mappings using udev rules
This is what I have done so far
[root@racnode1 Server]# iscsiadm -m discovery -t sendtargets -p nas-priv | grep 192.168.2.196
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote1.c59a2d
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra2.c59a2d
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata2.c59a2d
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote2.c59a2d
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs2.c59a2d
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs1.c59a2d
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata1.c59a2d
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote3.c59a2d
192.168.2.196:3260,1 iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra1.c59a2d
-- Manually Log into iSCSI Targets
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote1.c59a2d -p 192.168.2.196 -l
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra2.c59a2d -p 192.168.2.196 -l
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata2.c59a2d -p 192.168.2.196 -l
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote2.c59a2d -p 192.168.2.196 -l
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs2.c59a2d -p 192.168.2.196 -l
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs1.c59a2d -p 192.168.2.196 -l
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata1.c59a2d -p 192.168.2.196 -l
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote3.c59a2d -p 192.168.2.196 -l
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra1.c59a2d -p 192.168.2.196 -l
-- Make iSCSI Targets Automatically Login
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote1.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra2.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata2.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote2.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs2.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs1.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata1.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote3.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
iscsiadm -m node -T iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra1.c59a2d -p 192.168.2.196 --op update -n node.startup -v automatic
-- Create Persistent Local SCSI Device Names
- Identify Mappings
[root@racnode1 ~]# (cd /dev/disk/by-path; ls -l qnap | awk '{FS=" "; print $9 " " $10 " " $11}')
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs1.c59a2d-lun-0 -> ../../sdg
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs2.c59a2d-lun-0 -> ../../sdf
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata1.c59a2d-lun-0 -> ../../sdi
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata2.c59a2d-lun-0 -> ../../sdd
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra1.c59a2d-lun-0 -> ../../sdj
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra2.c59a2d-lun-0 -> ../../sdc
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote1.c59a2d-lun-0 -> ../../sdb
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote2.c59a2d-lun-0 -> ../../sde
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote3.c59a2d-lun-0 -> ../../sdh
- Create Rules File
cat >> /etc/udev/rules.d/55-openiscsi.rules <<EOF
# /etc/udev/rules.d/55-openiscsi.rules
KERNEL=="sd*", BUS=="scsi", PROGRAM="/etc/udev/scripts/iscsidev.sh %b",SYMLINK+="iscsi/%c/part%n"
EOF
- Create Shell Script
mkdir -p /etc/udev/scripts
vi /etc/udev/scripts/iscsidev.sh
#!/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##*.}"
chmod 755 /etc/udev/scripts/iscsidev.sh
service iscsi stop
service iscsi start
[root@racnode1 ~]# ls /dev/iscsi/*
ls: /dev/iscsi/*: No such file or directory
1.) For some reason I cannot get the mappings to work correctly, I have rebooted the server and tried a number of different changes in the rules script. But for the life of me I cannot get it work.
I noticed when I rebooted the server that it failed to execute the iscsidev. When I manually run the shell script with a parameter it produces output
Can anyone help me to get this up and running?
2.) My QNAP Nas doesnt seem to publish iSCSI targets to only one NIC. I think this is down to the firmware/feature not being available. When I discover targets I get the following
[root@racnode1 ~]# (cd /dev/disk/by-path; ls -l *qnap* | awk '{FS=" "; print $9 " " $10 " " $11}')
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs1.c59a2d-lun-0 -> ../../sdh
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs2.c59a2d-lun-0 -> ../../sdm
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata1.c59a2d-lun-0 -> ../../sdn
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata2.c59a2d-lun-0 -> ../../sde
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra1.c59a2d-lun-0 -> ../../sdr
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra2.c59a2d-lun-0 -> ../../sdd
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote1.c59a2d-lun-0 -> ../../sdb
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote2.c59a2d-lun-0 -> ../../sdk
ip-192.168.1.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote3.c59a2d-lun-0 -> ../../sdp
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs1.c59a2d-lun-0 -> ../../sdi
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbcrs2.c59a2d-lun-0 -> ../../sdg
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata1.c59a2d-lun-0 -> ../../sdo
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbdata2.c59a2d-lun-0 -> ../../sdj
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra1.c59a2d-lun-0 -> ../../sds
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbfra2.c59a2d-lun-0 -> ../../sdf
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote1.c59a2d-lun-0 -> ../../sdc
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote2.c59a2d-lun-0 -> ../../sdl
ip-192.168.2.196:3260-iscsi-iqn.2004-04.com.qnap:ts-459:iscsi.racdbvote3.c59a2d-lun-0 -> ../../sdq
It shows the same targets on both NIC's, I only need them on the private ip 192.168.2.196
Edited by: user1728822 on 07-May-2011 15:53
Edited by: user1728822 on 07-May-2011 16:08Hi,
I'm facing the same issue.. If your issue is fixed..could you please let me know?
I'm trying to configure 11g RAC with OPenfiler and got stuck here.
Regards,
Kumar -
Is Shared storage provided by VirtualBox better or as good as Openfiler ?
Grid version : 11.2.0.3
Guest OS : Solaris 10 (64-bit )
Host OS : Windows 7 (64-bit )
Hypervisor : Virtual Box 4.1.18
In the past , I have created 2-node RAC in virtual environment (11.2.0.2) in which the shared storage was hosted in OpenFiler.
Now that VirtualBox supports shared LUNs. I want to try it out. If VirtualBox's shared storage is as good as Openfiler , I would definitely go for VirtualBox as Openfiler requires a third VM (Linux) to be created just for hosting storage .
For pre-RAC testing, I created a VirtualBox VM and created a Stand alone DB in it. Below test is done in VirtualBox's LOCAL storage (I am yet to learn how to create Shared LUNs in Virtual Box )
I know that a datafile creation is not a definite test to determine I/O throughput. But i did a quick Test by creating a 6gb tablespace.
Is the duration of 2 minutes and 42 seconds acceptable for a 6gb datafile ?
SQL> set timing on
SQL> create tablespace MHDATA datafile '/u01/app/hldat1/oradata/hcmbuat/mhdata01.dbf' SIZE 6G AUTOEXTEND off ;
Tablespace created.
Elapsed: 00:02:42.47
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
$
$ du -sh /u01/app/hldat1/oradata/hcmbuat/mhdata01.dbf
6.0G /u01/app/hldat1/oradata/hcmbuat/mhdata01.dbf
$ df -h /u01/app/hldat1/oradata/hcmbuat
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s6 14G 12G 2.0G 86% /u01well once i experimented with Openfiler and built a 2-node 11.2 RAC on Oracle Linux 5 using iSCSI storage (3 VirtualBox VMs in total, all 3 on a desktop PC: Intel i7 2600K, 16GB memory)
CPU/memory wasnt a problem, but as all the 3 VMs were on a single HDD, performance was awful
didnt really run any benchmarks, but a compressed full database backup with RMAN for an empty database (<1 GB) took like 15 minutes...
2 VMs + VirtualBox shared disk on the same single HDD provided much better performance, still using this kind of setup for my sandbox RAC databases
edit: 6 GB in 2'42" is about 37 MB/sec
with the above setup using Openfiler, it was nowhere near this
edit2: made a little test
host: Windows 7
guest:2 x Oracle Linux 6.3, 11.2.0.3
hypervisor is VirtualBox 4.2
PC is the same as above
2 virtual cores + 4GB memory for each VM
2 VMs + VirtualBox shared storage (single file) on a single HDD (Seagate Barracuda 3TB ST3000DM001)
created a 4 GB datafile (not enough space for 6 GB):
{code}SQL> create tablespace test datafile '+DATA' size 4G;
Tablespace created.
Elapsed: 00:00:31.88
{code}
{code}RMAN> backup as compressed backupset database format '+DATA';
Starting backup at 02-OCT-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=22 instance=RDB1 device type=DISK
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=+DATA/rdb/datafile/system.262.790034147
input datafile file number=00002 name=+DATA/rdb/datafile/sysaux.263.790034149
input datafile file number=00003 name=+DATA/rdb/datafile/undotbs1.264.790034151
input datafile file number=00004 name=+DATA/rdb/datafile/undotbs2.266.790034163
input datafile file number=00005 name=+DATA/rdb/datafile/users.267.790034163
channel ORA_DISK_1: starting piece 1 at 02-OCT-12
channel ORA_DISK_1: finished piece 1 at 02-OCT-12
piece handle=+DATA/rdb/backupset/2012_10_02/nnndf0_tag20121002t192133_0.389.795640895 tag=TAG20121002T192133 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 02-OCT-12
channel ORA_DISK_1: finished piece 1 at 02-OCT-12
piece handle=+DATA/rdb/backupset/2012_10_02/ncsnf0_tag20121002t192133_0.388.795640919 tag=TAG20121002T192133 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 02-OCT-12
{code}
Now i dont know much about Openfiler, maybe i messed up something, but i think its quite good, so i wouldnt use a 3rd VM just for the storage. -
Can I install RAC in my pc computer?
I am learning RAC, trying to install RAC on my PC computer.
Both computer are dell, same configuration, and each computer has two network cards.
I have another USB external hard disk, used for the storage, is that doable?
Now I will try to install linux + oracle 10g + 10g RAC, is that doable?
do I need other hardware or software?
appreciated for any suggestions.
Thanks.The easiest would be to install the virtual software like Virtual Box(free and from Oracle) ad install RAC using it. If you want to physical machines, try to arrange a third machine whose disk you can use as a shared hard drive using a software called Openfiler( http://www.openfiler.com/) . This would be closest that you would be able to get to a production box. If you really want to spend money than you can buy an old shared storage from Ebay.
Aman.... -
hi all,
I am facing many issues installing the RAC 11g database with openfiler and filesystem ocfs2 and ASM
plz plz help me out from this issue i was struggling with this from couple of days
1)i have succesfully installed EL 5 on 2 nodes and openfiler in a node
and by the way i am using the hunter document as my guide installed the above mentioned as per the doc at http://www.oracle.com/technology/pub/articles/hunter_rac11gr1_iscsi.html
2)i have succesfully done the logical partitions of the openfiler external harddisk which even showed me the partitions as example
Disk /dev/dm-2: 38.8 GB, 38822477824 bytes
255 heads, 63 sectors/track, 4719 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-2 doesn't contain a valid partition table
3) The issue is tht when i want to configure the iscsi volumes from the RAC node prior to that i must issue a command to discover them from my rac node with the command
iscsiadm -m discovery -t sendtargets -p openfiler1-priv(which should show me the volumes but it isnt)
4)And that when i do a service open-iscsi restart from openfiler system i am getting as
[root@openfiler ~]# service open-iscsi restart
Stopping iSCSI initiator service: iscsiadm: can not connect to iSCSI daemon!
iscsiadm: exiting due to configuration error
[ OK ]
iscsiadm: can not connect to iSCSI daemon! [ OK ]
iscsiadm: exiting due to configuration error
[ OK ]
I have clearly explained all the things i have done so plzzzzz help me out from this which i am struggling from couple of days
waiting for an early reply
thnks
davidyeh this is ramu, working with david itself.
the contents of the /etc/ietd.conf as follows
[root@openfiler init.d]# cat /etc/ietd.conf
# PLEASE DO NOT MODIFY THIS CONFIGURATION FILE!
# This configuration file was auto-generated
# by Openfiler. Please do not modify it.
# Generated at: Wed Jun 4 0:33:47 IST 2008
Target iqn.2006-01.com.openfiler:rac1.crs
Lun 0 Path=/dev/rac1/crs,Type=fileio
Target iqn.2006-01.com.openfiler:rac1.asm1
Lun 0 Path=/dev/rac1/asm1,Type=fileio
Target iqn.2006-01.com.openfiler:rac1.asm2
Lun 0 Path=/dev/rac1/asm2,Type=fileio
Target iqn.2006-01.com.openfiler:rac1.asm3
Lun 0 Path=/dev/rac1/asm3,Type=fileio
Target iqn.2006-01.com.openfiler:rac1.asm4
Lun 0 Path=/dev/rac1/asm4,Type=fileio
# End of Openfiler iSCSI configuration
lvscan
pvscan
vgscan are alos working fine
but still we are not able to find the records form the openfiler and racnodes
the msg shown form openfiler
[root@openfiler init.d]# iscsiadm -m node
iscsiadm: can not connect to iSCSI daemon!
iscsiadm: exiting due to configuration error
and the msg from both the rac nodes
[root@linux1 iscsi]# iscsiadm -m node
iscsiadm: no records found!
[root@linux1 iscsi]# service iscsi restart
Stopping iSCSI daemon: /etc/init.d/iscsi: line 33: 5141 Killed /etc/init.d/iscsid stop
iscsid dead but pid file exists [ OK ]
Turning off network shutdown. Starting iSCSI daemon: [ OK ]
[ OK ]
Setting up iSCSI targets: iscsiadm: No records found!
[ OK ] -
Hi,
can i use LVM in node.
i am implementing 2 node rac setup using openfiler 2.3
I node1&2 i have 3 SCSi hardisk of each 70 Gb. can i use LVM to combine the 3 Harddisks and use for a RAC environment.
charan.Hi,
UPDATE ---
I am using 3 DELL server's for RAC configuration.
In server 1, i am installing Openfiler 2.3
In Server 2 & 3, i am installing Oracle Enterprise Linux 4 update 4 for nodes.
Server 1 : Dell Poweredge SC430 ( two SCSI HDD of 160 GB each ) with 2 NIC cards - eth0 & eth1
Server 2 : Dell Poweredge 600sc ( three SCSI HDD of 70 GB each ) with 2 NIC cards - eth0 & eth1
server 3 : Dell Poweredge SC430 ( two SCSI HDD of 160 GB each ) with 2 NIC cards - eth0 & eth1
For storage , i am using SCSI HDD in the server 1, no externel Storage.
I am going to use 10gR2.
Question 1:----- Does server 2 & 3 should have same Hardware configuration, chip model and so on..
( or )
Can Server 2 & 3 have different Hardware architecture, with different SCSI hardisk Sizes..
regards,
Charan
Maybe you are looking for
-
I love the Oracle forums, i do not like the new upgrade. Can we have a poll to see what the users here think? Also, can we have a poll to see who will actually give out points? Here is what i do not like: 1) System is slower. 2) I have to restart my
-
1.4.2.04 Binary Compatible with 1.3.1.07?
OS is Solaris 7 on SPARC. Have an app built with 1.3.1.07. Building againt 1.4.2.04 is futile because of the import statement (package-less classes) issue. Attempted to run the app against JVM 1.4.2.04, and get JVM core dumps... log file (created by
-
Hi all, i have a problem. These are the data of the problem. TX. SE93. ZZZZ transaction START_REPORT skip initial screen ok D_SREPOVARI-REPORTTYPE = RE D_SREPOVARI-EXTDREPORT = AIP 01RIPASP ZPLANP The table SREPOVARI does not e
-
How can I fix the cable SH68-68-EP to the connector block CB-68LP (there is a gap of 5 mm between screw and hole) and to the DAQ card 6024E (there is no hole at all; it seems to me that some clip is necessary there!).
-
How to change content repository database
I'm migrating a test environment from a single-server to use a separate machine for the contentdb data. I can't find how to point the contentdb middle-tier application at the new database and install the contentdb schema. Can anyone give me some guid