Oracle 11gR2 2 node RAC on Oracle Linux - can't discover
Hi folks,
My rac1 can't discover iscis targets on openfiler, please assist/help/guide, been stuck for quite some time :-(
[root@rac1 send_targets]#
[root@rac1 send_targets]# iscsiadm -m discovery -t sendtargets -p openfiler
[root@rac1 send_targets]# ping openfiler
PING openfiler (192.168.1.11) 56(84) bytes of data.
64 bytes from openfiler (192.168.1.11): icmp_seq=1 ttl=64 time=0.284 ms
64 bytes from openfiler (192.168.1.11): icmp_seq=2 ttl=64 time=0.224 ms
64 bytes from openfiler (192.168.1.11): icmp_seq=3 ttl=64 time=0.226 ms
64 bytes from openfiler (192.168.1.11): icmp_seq=4 ttl=64 time=0.211 ms
^C
--- openfiler ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.211/0.236/0.284/0.030 ms
[root@rac1 send_targets]# iscsiadm -m discovery -t sendtargets -p 192.168.1.11
[root@rac1 send_targets]# service iscsid status
iscsid (pid 2446) is running...
[root@rac1 send_targets]# uname -a
Linux rac1.mydomain 2.6.32-100.26.2.el5 #1 SMP Tue Jan 18 20:11:49 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@rac1 send_targets]#
If possible to just direct me to some link, I'm following this: http://www.oracle.com/technetwork/articles/hunter-rac11gr2-iscsi-088677.html#8
But it is not telling, if it doesn't discover ... then what?
Thanks in advance.
Hi ,
Did you install the iscsi-initiator-utils rpm package in all nodes? we must install this package in all rac nodes, and then discover the LUN in all nodes.
Also try giving the ip address of openfiler instead of giving the hostname
Regards,
Similar Messages
-
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Version: B
Author: Dude, 24. May 2011
The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
Access to the Internet is required.
The instructions cover the following additional topics:
- Converting Red Hat based Oracle XE installer to Ubuntu.
- Work-around for missing /sbin/chkconfig tool.
- Install Oracle XE into a different directory or disk volume.
- Relocate and configure the Oracle user and default login directory.
- Uninstall, reconfigure and perform first database backup.
- Notes and web links.
- Troubleshooting
h3. A) System Setup and Prerequisites
h4. A.1. System Access
You will need terminal command line, root and system console access to perform the setup tasks.
To open a Terminal at the system console:
Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
sudo apt-get install openssh-server
sudo passwd root
Verify:
ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
The following is required in order to install Oracle 11gR2 XE:
sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
sudo apt-get install vimh4. A.3. System Swap space
Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
To analyze current swap space and memory configuration:
sudo cat /proc/meminfo
To install a 1 GB swapfile named swapfile in /, for example:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
(this may take a while)
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.orig
sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
Verify:
sudo swapon -a
sudo swapon -sh4. A.4. Kernel Parameters
Oracle 11g XE requires the following additional kernel parameters:
sudo nano /etc/sysctl.d/60-oracle.conf
(Enter the following)
# Oracle 11g XE kernel parameters
fs.file-max=6815744
net.ipv4.ip_local_port_range=9000 65000
kernel.sem=250 32000 100 128
kernel.shmmax=536870912
(Save the file)
Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
Verify: sudo cat /etc/sysctl.d/60-oracle.conf
Load new kernel parameters:
sudo service procps start
Verify:
sudo sysctl -q fs.file-max
-> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
Install Oracle XE to separate disk volume:
From the system console menu: System > Administration > Disk Utility
Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
Notice the device name e.g. /dev/sdb
Get the drive UUID:
sudo blkid
e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
Modify /etc/fstab to automatically mount the volume at system startup:
sudo cp /etc/fstab /etc/fstab.original
sudo nano /etc/fstab
(Add the following, using determined UUID, for exmple)
UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
(Save the file)
Create the mount-point, mount the new volume and set ownership and privileges:
sudo mkdir /u01
sudo mount -a
sudo chown root:root /u01
sudo chmod 755 /u01
Verify:
df -h
or restart the systemYou can also install Oracle XE into a specific directory:
Create a symbolic link to store the installation into an existing directory, for instance:
sudo mkdir /home/oracle-xe
sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
Please see section E.3. to download the Oracle 11gR2 XE installer.
Select the version listed for Linux x64.
sudo unzip linux.x64_11gR2_OracleXE.zip
sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
(This may take a while)h4. C.2. Create a special chkconfig script
The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
Create /sbin/chconfig:
sudo nano /sbin/chkconfig
(Cut and paste the following)
#!/bin/bash
# Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
file=/etc/init.d/oracle-xe
if [[ ! `tail -n1 $file | grep INIT` ]]; then
echo >> $file
echo '### BEGIN INIT INFO' >> $file
echo '# Provides: OracleXE' >> $file
echo '# Required-Start: $remote_fs $syslog' >> $file
echo '# Required-Stop: $remote_fs $syslog' >> $file
echo '# Default-Start: 2 3 4 5' >> $file
echo '# Default-Stop: 0 1 6' >> $file
echo '# Short-Description: Oracle 11g Express Edition' >> $file
echo '### END INIT INFO' >> $file
fi
update-rc.d oracle-xe defaults 80 01
(Save the file)
Set appropriate execute privileges:
chmod 755 /sbin/chkconfig
Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
h4. C.3. Install and configure Oracle XE
sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
/etc/init.d/oracle-xe configure
(This will take a while)
Remove the /sbin/chkconfig script, which is no longer needed.
sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
Exit all Oracle user sessions:
sudo /etc/init.d/oracle-xe stop
sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
sudo userdel oracle
sudo useradd -s /bin/bash -G dba -g dba -m oracle
sudo passwd oracle
Verify:
sudo id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
It is not essential to allow the Oracle user to use sudo, but it is convenient:
usermod -G admin oracle
Verify:
id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
sudo su -
-> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
The following will correct the problem if necessary:
Login as user Oracle or use:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following command:
EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
exith3. D) Unintstall, Reconfigure and Troubleshooting
h4. D.1. Uninstall Oracle 11g XE
The following will completely uninstall and remove Oracle 11g XE:
Login as user root:
sudo su -
/etc/init.d/oracle-xe stop
dpkg --purge oracle-xe
rm -r /u01/app
rm /etc/default/oracle-xe
update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
Type the following in a terminal window:
/etc/init.d/oracle-xe stop
sudo rm /etc/default/oracle-xe
/etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
Login as user Oracle:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following commands:
shutdown immediate
startup mount
alter database archivelog;
alter database open;
exit
Login to system console of the Oracle user account:
Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
h4. E.1. Oracle 11g XE limitiations overview
- It will consume, at most, processing resources equivalent to one CPU.
- Only one installation of Oracle Database XE can be performed on a single computer.
- The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
- The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
- HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
h4. E.2. Documentation and Links
Official documentation for Oracle 11gR2 XE can be found at:
http://www.oracle.com/pls/xe112/homepage
h4. E.3. Oracle 11g XE downloads
The Installer is available from the Oracle Technology Network at:
http://www.oracle.com/technology/products/database/xe
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
h4. E.4 APEX links and archives
The APEX archives can be found at:
http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
The APEX download site is:
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
h3. F) Troubleshooting
... in progress
Regards and best of luck!
Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
The configuration script tells you "You must be root user to run the configure script. Login as root user and
then run the configure script."
This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems. -
Oracle Single Node RAC - Oralce Clusterware Install
Hi
I want to install Oracle Clusterware to perform Active / Passive failiver for a 2 node cluster
I plan to use Oracle Single Node RAC for this and have Oracle Clusterware control the active passive failover.
However - I do not want to use ASM in any of my set-up.
We have a NetApp filer and are using NFS / NetApp technologies to control backups (Oracle snap manager).
Is this possible?
All the documents I have include reference to ASM
If I try and install Grid - I am also asked for ASM information.
I find ASM an un-necessary overhead given the storage we have and do want to use it,
Can anyone help?Hi,
no you don't need ASM to have RAC One Node. OCR and Voting disk can be on NFS, simply use Shared Disk location during installation, and you won't get asked about ASM.
http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CDECEBGH
Especially http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CDEDAHGB
What you should use in conjunction with NFS however is dNFS.
Regards
Sebastian -
1. Is it recommended to use physical disks everywher for ORAHOME, base operating system root, OCR / Vote disks and ASM disks? At this point of time in my vm.cfg only the ASM disks are physical while the OCR / Vote disks and ORAHOME and operating system is on an image file using tap:aio (blktap) driver.
Current vm.cfg disk directive
disk = ['tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/running_pool/16_oeldb1/System.img,xvda,w',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/running_pool/16_oeldb1/oracle.img,xvdb,w',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/oracle_oeldb2.img,xvdc,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote01.img,xvdd,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote02.img,xvde,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote03.img,xvdf,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote04.img,xvdg,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/asm_vote05.img,xvdh,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/db_disk_01.img,xvdi,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/db_disk_02.img,xvdj,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/db_disk_03.img,xvdk,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/db_disk_04.img,xvdl,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/oeldb_ocfs2.img,xvdm,w!',
'tap:aio:/var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/sharedDisk/temp.img,xvdn,w!',
'phy:/dev/sdf,xvdo,w!',
'phy:/dev/sdg,xvdp,w!',
'phy:/dev/sdh,xvdq,w!',
'phy:/dev/sdi,xvdr,w!',
2. is it recommended to use OCFS2 base partitioned disks be used to create ASM disks. I want to use these disks for ASM. (OR should i destroy the filesystem at the hypervisor and just present raw disk)
[root@oeldb1 ~]# mounted.ocfs2 -d
Device FS UUID Label
/dev/xvdo ocfs2 67728d4c-f26d-4ec7-9ca1-4b25be453ec8 phydb1
/dev/xvdp ocfs2 6901ffd5-33cb-46f7-99bb-74fc712ea4db phydb2
/dev/xvdq ocfs2 95ed1075-f772-4c69-9ae0-9078b54bc8b5 phydb3
/dev/xvdr ocfs2 6b3c313e-cec0-4967-a670-8856d38b0cd1 phydb4
[root@oeldb1 ~]#Sebastian : Thanks. I did come across this white paper & now I have converted they ASM disks to physical. When you say just direcly pass LUNs from storage, its still going to be a virtual block device off the RAW lun to OVS, is that what you meant? .. ie RAW disk to OVS --> use phy: directive to present and xvd"n" to vm (PV block driver)
ssolbach wrote:
Hi,
1.) It is recommended to use physical disks for all ASM disks (also for OCR and Vote). If you use 11.2. then OCR/Vote are on ASM anyway.
See also: http://www.oracle.com/technetwork/database/clustering/oracle-rac-in-oracle-vm-environment-131948.pdf
2.) Just present RAW disks. Best is to directly pass the LUNs provided from the storage.
Regards
SebastianAvi : hdparam and dd tests do not say so. I have seen better performances with blktap driver. Even iostat run within ASM showed better response times. I serched on white paper and documents within metalink on blktap or file driver, but couldnt find any. (I did find some ex Oracle SE's journals recommending blktap driver for better performance). Are you referring to significant improvements in 3.0.2 ? because, in 2.2 the file: driver is poor performing.
Avi Miller wrote:
Also note that you should be using the file: driver with Oracle VM, not tap:aio -- all of the Oracle performance improvements went into the loopback driver that uses the file method.Edited by: Abhijit on Dec 8, 2011 7:14 AM
Edited by: Abhijit on Dec 8, 2011 7:15 AM
Edited by: Abhijit on Dec 8, 2011 7:18 AM
Edited by: Abhijit on Dec 8, 2011 7:19 AM -
How migrate Oracle 2 node RAC to EBS R12
Hi
How to migrate normal oracle 2node rac to ebs r12.
Regards,
Subba.Happy to help you ... well I would be if I had any idea what you are asking.
A two node RAC cluster is two physical servers, and a storage array, running a single Oracle database of unknown version number: No application and no application server.
EBS R12, I presume, is a totally different product named E-Business Suite version 12.x
They have different architectures, different licensing, different, resource requirements, and totally different management requirements.
So I see two possible answers to your inquiry.
1. You far more clearly explain what you are asking.
2. You burn the two-node RAC cluster to the ground and install the product you want. That said would recommend not putting the application components of EBS on the two node cluster so you will need at least one additional server. -
Oracle Clustre, Oracle Cluster with RAC and Oracle 10g
Is there a difference between Oracle Cluster and Oracle Cluster with RAC? Please explain. Do existing database codes run unmodified in Cluster or Cluster with RAC environment? What needs to be modified to make existing SQL codes RAC-aware. How to achieve 'all automatic' in case of failure and resubmission of Queries from failed instance to a running instance?
In 10g environment, do we need to consider licensing of RAC as a separate product? What are additional features one derives in 10g that is not in Cluster +RAC?
Your comments and pointers to comparison study and pictorial clarification will be very helpful.Oracle cluster like failsafe before or Veritas Cluster or other vendor's cluster is meant for HA (high availability) purpose. Which 2 nodes or more can see a shared disk with 1 active node. Whenever this active node failed through heartbeat other machine will know and will take the database over from there.
Oracle RAC is more for HA and load balance. In Oracle RAC 2 or more nodes are accessing the database at the same time so it spread load across all these nodes.
I believe Oracle 10g RAC still need seperate license for it. But you need to call Oracle or check the production document to verify it.
Oracle 10g besides improvement in RAC. It's main improvement is on the build in management of the database itself. It can monitored and selftune itself to much furthur level then before and give DBA much more information to determine the cause of the problem as well. Plus improvement on lots of utility as well like RMAN , data pump etc... I don't want to get into too much detail on this you can check on their 10g new features for more detail view.
Hope this help. :) -
How to upgade Oracle from 9.2 on SUN to Oracle 10g R2 RAC on Oracle EL4
Hi all,
I have production database Oracle 9i EE Release 9.2.0.5.0 - 64bit on SunOS 5.9 cca 100GB. I would like to upgrade Oracle 10g Relase2 RAC with 2 nodes on Oracle Enterprise Linux. Database availability is 24x7 and system breakdown must be minimal. Upgrade could be done in several independent steps. What is the best form of upgrade realisation?
Thx for some idea
Libor Veverka
[email protected]My 2 cents:
1. de-RAC 9i on solaris
2. upgrade to 10g on solaris (why? take advantage of datapump, much faster than exp/imp)
3. expdp from 10g solaris
4. create single instance 10g on linux
5. impdp on linux
Please note there are a number of issues with 9ir2.10gr2 upgrade (check metalink for details).
HTH,
[email protected] -
2 nodes RAC with Oracle 10g on Windows 2000 server
Hi at all. I want to manage a cluster having 2 nodes on windows 2000 server each of them with Oracle 10g. I have VMWare 5.0. Someone can suggest me a detailed tutorial how to start and built it? Thank you very much for your answers.
Saverio Sergio Molathe cookbooks here:
http://www.oracle.com/technology/tech/linux/vmware/cookbook/index.html
will explain how to install.. however the VMware Workstation product doesn't offer in a supportedway the sharing of two nodes of disks.. there are hacks out there, but they are not very stable. We therefor chose to install two instances on one node to showcase RAC, rather than make it complicated and unstable to use and showcase.
there are also ready made VM's from above page, so u can quickly evaluate it for both Red HAt and SuSE.. when vmware can support such sharing in an easy supported way we might re-evaluate.. until then my personal suggestion is to stick to simple case.. 2 instances on one node.. its easier to copy, snapshot.. etc.
Enjoy..
Saar. -
SOA with Oracle 2 node RAC cluster
Hi All,
Just a simple doubt, I have successfully installed and configured SOA suite 11.1.1.3 & BAM in one wls Domain 10.3.3 in a linux box and could access all the application like BAM console, BPEL console etc .... also could see all my data-sources deployed in the Data Sources with a single node database.
1. Now I have to RE-configure this whole SOA suite with RAC (2 node database cluster) what changes or configuration needed to implement SOA suite with RAC database?
2. Do I need to create a "Multi Data Source" to configure RAC with SOA suite..?
Thanks
SamDB wrote:
This is regarding Oracle RAC..so if there is a specific category..please let me know..
I have installed OEL linux 5.6 as guest OS (using virtualbox) in two laptops.
I want to install 2 node oracle 10gR2 RAC with the OEL linux as OS and each laptop as one node.
Read docs and understood that there must be shared storage for oracle clusterware and oracle ASM for oracle RAC to work.
Please let me know the steps to create shared storage for oracle clusterware and oracle ASM (considering virtualbox OEL) and to configure public,private and virtual IPs.
I already have document to create 2node oracle RAC using virtualbox with two nodes on the same laptop.so please dont suggest that doc.
Thanks,
DBMay be my step by step RAC installation guide can help you somehow?
http://kamranagayev.wordpress.com/2011/04/05/step-by-step-installing-oracle-10g-rac-on-vmware/ -
How many control file should be created in ASM for ORACLE 4 nodes RAC
We have a oracle 10G(10.2.0.4) database with 4 nodes locates ASM in redhat linux5.
The vendor created this RAC system with database.
I saw below infornation as
SQL> select name from GV_$CONTROLFILE;
NAME
+FLSDISK1/sale/controlfile/current.256.690290159
+FLSDISK1/sale/controlfile/current.256.690290159
+FLSDISK1/sale/controlfile/current.256.690290159
+FLSDISK1/sale/controlfile/current.256.690290159
It seems that each node with one control file.
I got a feedback that vender claimed SAN is very reliable.
I am new person for database at ASM for RAC.
Could you make a explain for this condition? Do I need to add ( mirror) another 2 control file into ASM?
The Oracle recommands that at least 2 contril files( best 3 files) in different place. This is true for signle instance.
How about RAC that database locates in ASM?
Please help me!!
JimYou are fine using the standard three controlfiles in ASM, four is fine too, but it does not need to be tied to the number of instances as all the instances in a RAC database use the same controlfile (and its copies). ASM knows the controlfile type and will stripe each one in 128k pieces across as many volumes as it can. I much prefer to have my controlfiles in ASM, it prevents accidental deletion and generally makes DBA life easier.
Cheers!
Jay Caviness
http://www.grumpy-dba.com -
Hi,
WE have a production Envirment with 2 nodes.
NOw it is in NOARCHIVELOG mode. And we need to place it in ARCHIVE LOG mode.. I am unable to place it.
So could you please help on this.
Thanks,
NareshNaresh.T wrote:
Hi,
WE have a production Envirment with 2 nodes.
NOw it is in NOARCHIVELOG mode. And we need to place it in ARCHIVE LOG mode.. I am unable to place it.
So could you please help on this.
Thanks,
NareshSet the log_archive_dest parameter as follows;
alter system set log_archive_dest_1='location=your_arch-loc' scope=spfile sid=* {In case the archived location is shared between both the nodes}
alter system set log_archive_dest_1='location=your_arch-loc' scope=spfile sid=SID1(& the for SID2) {In case the archive location is not shared and is on individual nodes.
Then shutdown the database on both the nodes
start the database in mount mode on node1
alter database archive log;
Now on Node2, start the database in mount mode
alter database archivelog
And finally open the database by firing alter database open command on both nodes
regards, -
Oracle 11gR2 on Oracle Enterprise Linux 6
Hi,
I have recently reconfigured by old PC as a Linux box use OEL 6 and have installed Oracle 11gR2 database on it. I can access the database control via firefox on this PC. I also have a laptop running 64-bit Windows 7.
On this laptop I have installed putty, Oracle 11g Client, SQLDeveloper 3 and JDeveloper 11g. I have added an entry for my linux box to the hosts file in the c:\windows\system32\drives\etc directory.
I can connect to the linux box using putty and the hostname value from the hosts file, however when I try to create a database connection in SQLDeveloper or Jdeveloper using the hostname, port and service name for my database I get the following error:
"The Network Adapter could not establish the connection".
Also when I try to access the database control via Google Chrome on my laptop it times out.
Cheer,
Cameron.barney wrote:
Hey Ed,
I proceeded to add the entry to the /etc/hosts file on the server and deinstalled oracle. The hosts file now looks like :
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.2.3 ol6-112.localdomain ol6-112
Once the deinstallation process completed I restarted the server added the following to the .bash_profile of the oracle user - "ORACLE_HOSTNAME=ol6-112.localdomain; export ORACLE_HOSTNAME" and then proceeded to run the oracle installer again reinstall oracle and create a database.
The listener is now using the new entry in the hosts file but I still can't connect to the database via SQL Developer or JDeveloper on my laptop.
And what - exactly - is the error message now?
The listener.ora file now looks like:
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/$
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = ol6-112.localdomain)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
Regards,
Cameron.from the db server:
lsnrctl statusfrom your laptop
ping ol6-112
tnsping orcl -
Connecting Excel 2010 64 bit on Windows 7 64 bit to Oracle 11gR2 on Linux
Using:
Excel 2010 64 bit
Windows 7 64 bit
Oracle instant client 11.2.0.1 64 bit
connecting to Oracle 11gR2 64 bit on Linux 5.8 64 bit
I have created a User DSN in Windows called "NITRO Oracle 11gR2 DB" using the Oracle 64 bit instant client driver 11.2.0.1. Configured as so
http://i.imgur.com/2a3MZ.png
Connection test is successful.
In Excel 2010, I go to Data ribbon, From Data Connection Wizard
http://i.imgur.com/han3u.png
I then choose Other/Advanced, and then Oracle Provider for OLE DB.
http://i.imgur.com/w3P1c.png
I click next and then put in the data source, user name and password and click test, and it fails with Micosoft Data Link Error. http://i.imgur.com/zuv41.png
Do you know what I'm doing wrong?12154 means the client couldn't resolve what you filled in for Data Source. What did you fill in for Data Source when configuring the OLEDB connection? It looks like "nitro" should be the correct thing to fill in, based on your statement that the ODBC DSN you configured works with it.
Greg -
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 -
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
Maybe you are looking for
-
I am using a web application that requires the use of the F7 key. Actually, to be more precise, I need the functionality that you would get on a PC if you hit Ctrl-F7 while in this web application in Firefox. I have changed the Mac's settings to allo
-
Trim Size in Properties?
We make PDF proofs for customers to proof read and to evaluate. Many customers get confused when a PDF is sent with crop marks and they think the finished size is the document size. Is there a way, in Reader, to show the Trim Size of a document? I
-
2 Ipods on the same library?
I have an Ipod, and my girlfriend just picked up a Nano. Is it possible to work both off the same library? She doesn't want to start a new library of her own; she just wants to move some songs from my library onto her Nano. Is this possible and is th
-
Tabular Form with Popup List Error
hi, am using javascript to display Department Name when Deptno is changed in the Popup List am getting message from Popup Item (DEPTNO) (Htlm Form Element Attributes -> onchange="getDname(this); ") but am not getting message from popup Item in the Ta
-
I'm having a couple of peculiar issues with Flash on my new computer and was hoping to get some suggestions on what might be causing them. I have Windows 7 (64) and Flash CS3 Professional. Flash itself installs fine and runs fine. But two issues c