Changing GLOBAL_NAME in 11g RAC
Hi, All -
I am running a two node RAC 11g (11.1.0.7) database on RHEL5. I need to change the GLOBAL_NAME.
SQL> select * from global_name;
GLOBAL_NAME
dbname
SQL> ALTER DATABASE RENAME GLOBAL_NAME TO dbname.companyname.com
I just want to confirm that I only have to run this on one node and fix the db links.
Are there any other steps involved since it is a RAC environment?
Thanks in advance!
check this
http://asanga-pradeep.blogspot.com/2010/08/changing-global-name-and-domain-name-in.html
http://download.oracle.com/docs/cd/B19306_01/server.102/b14228/best_gen.htm#CHDHCGJJ
Similar Messages
-
Hi,
I am trying to install Oracle 11g RAC on RHEL 4.0 on Vmware and at the end of CRS installation when installer asks to run the two scripts (orainstRoot.sh and root.sh) on one node (on the node where runInstaller is started) throws following error
[root@LRAC1 crs]# ./root.sh
WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
WARNING: directory '/xhdd/u01/crs' is not owned by root
WARNING: directory '/xhdd/u01' is not owned by root
WARNING: directory '/xhdd' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up Network socket directories
/xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: cannot execute binary file
/xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: Success
Failed to upgrade Oracle Cluster Registry configuration
[root@LRAC1 crs]#
While on the second node the root.sh script does not give any errors, here the output
[root@LRAC2 crs]# ./root.sh
WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
WARNING: directory '/xhdd/u01/crs' is not owned by root
WARNING: directory '/xhdd/u01' is not owned by root
WARNING: directory '/xhdd' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
The directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
The directory '/xhdd/u01/crs/oracle/product' is not owned by root. Changing owner to root
The directory '/xhdd/u01/crs/oracle' is not owned by root. Changing owner to root
The directory '/xhdd/u01/crs' is not owned by root. Changing owner to root
The directory '/xhdd/u01' is not owned by root. Changing owner to root
The directory '/xhdd' is not owned by root. Changing owner to root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: lrac1 lrac1-priv lrac1
node 2: lrac2 lrac2-priv lrac2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/sdd1
Format of 1 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Cluster Synchronization Services is active on these nodes.
lrac2
Cluster Synchronization Services is inactive on these nodes.
lrac1
Local node checking complete. Run root.sh on remaining nodes to start CRS daemons.
Any ideas to solve this issue.
Thanks in advance,
SameerI tried reinstalling again and it worked on Vmware Server.Some oracle products are certified on Oracle VM , but not RAC at the moment.
You can download Oracle VM from otn.oracle.com
Check ML Note:464754.1 for details about Certified Software on Oracle VM.
- Virag Sharma
http://virag.sharma.googlepages.com/ -
ORA-04068 on 11g RAC does not resolve automatically !
Did you ever get the combination of these three ORAs?
ORA-04068: Existing state of package has been discarded
ORA-04065: Not executed, altered or dropped stored procedure <PROCEDURE_NAME>
ORA-06508: PL/SQL: Could not find program unit being called: <PROCEDURE_NAME>
*1st I checked for invalid objects in the database, there are none!*
*2nd Then I checked the metalink note 1058873.1 that describes a similar error:*
In hecheck output, we see that the objects affected are listed as "Dependency$ p_timestamp > > mismatch for VALID objects".
Also, the following script can be used for finding the mismatches:
set pagesize 10000
column d_name format a20
column p_name format a20
select do.obj# d_obj,do.name d_name, do.type# d_type,
po.obj# p_obj,po.name p_name,
to_char(p_timestamp,'DD-MON-YYYY HH24:MI:SS') "P_Timestamp",
to_char(po.stime ,'DD-MON-YYYY HH24:MI:SS') "STIME",
decode(sign(po.stime-p_timestamp),0,'SAME','*DIFFER*') X
from sys.obj$ do, sys.dependency$ d, sys.obj$ po
where P_OBJ#=po.obj#(+)
and D_OBJ#=do.obj#
and do.status=1 /*dependent is valid*/
and po.status=1 /*parent is valid*/
and po.stime!=p_timestamp /*parent timestamp not match*/
order by 2,1;However, the query returned 0 rows.
*3rd Then I read about similar errors on http://oraclequirks.blogspot.com/2007/03/ora-04061-existing-state-of-package-has.html*
The article describes the state of package being invalidated when one user calls a procedure in a package that has a global variable and changes the value of the global variable and then when a developer compiles that package, another user will get the error ORA-04061: existing state of package has been invalidated the first time he calls the procedure, but the second time it will work without returning errors.
However, my error is persistant and Oracle can't resolve it automatically.
Here's how the error occurs:
- I have a PACKAGE that has a global variable and procedures
- User1 connects to Instance1 and calls a procedure inside the PACKAGE. The procedure sets the value of the global variable by calling a function outside the package.
For example: L_GLOBAL_VAR := OUTSIDE_FUNCTION(30);
- The developer compiles the PACKAGE
- User1 can continue working normaly - he receives the 1st error by Oracle informing him that the value of the global variable has changed (normal behaviour), but the second time he calls the procedure inside the PACKAGE, no errors are reported.
- User2 connects to the second instance of the RAC (Instance2)
- When User2 tries to call the same procedure, he constantly gets ORA errors (ORA-04068, ORA-04065, ORA-06508), like this:
ORA-04068: Existing state of package has been discarded
ORA-04065: Not executed, altered or dropped stored procedure "OUTSIDE_FUNCTION"
ORA-06508: PL/SQL: Could not find program unit being called: "OUTSIDE_FUNCTION"
ORA-06512: at "PACKAGE2", line 1920
ORA-06512: at "PACKAGE2", line 265The PACKAGE2 has a procedure which is being called at line 265, and that procedure calls the function OUTSIDE_FUNCTION at line 1920.
Symptoms:
- User2 cannot correct the error by repeatingly calling the PACKAGE procedure.
- The developer cannot resolve the issue by recompiling the PACKAGE.
- The developer can only temporarily resolve the issue by recompiling the OUTSIDE_FUNCTION. After doing it, the User2 does not receive errors. However, if the User2 reconnects, the error returns.
- The solution is to recompile the PACKAGE2. After doing it, the User2 does not receive errors.
However, I'm totally confused by this Oracle behaviour.
I told the developers that they shouldn't compile packages while there are users working on the database (a possible solution), but as a developer I know that is very very hard on a 24/7 production database, especially if there are some urgent bugs to resolve etc.
We were working on a single instance Oracle 9i database before upgrading to Oracle 11g RAC (11.2.0.1.0), and we never had similar problems.
I would be very grateful for any suggestions regarding this issue.
Thanks,
DanielHi P. Forstmann,
Thanks for your answer. I've read about the edition based redefinition but if I understand it correctly, that's not exactly what I'm looking for.
For example, if a connected user reports a bug that prevents her from doing her work, the developers should resolve that bug ASAP and recompile the objects in question, which should affect the connected users. -
Siebel database migration from Sql Server 2005 to Oracle 11g RAC.
Hi,
We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?
The current configurations are:
Application : Siebel
database : SQL Server 2005
The hardware can be changed if needed. Can you please suggest the best approach ?
Thanks,
Naveen.
Edited by: Naveen Kumar C on Mar 18, 2011 9:10 PM
Edited by: Naveen Kumar C on Mar 18, 2011 11:44 PMHi Naveen,
We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?You will need much more which suggestions.
You will need a Siebel professional which has done this type of migration. Migrating the Database is not a task so hard, after migrating your environment should be functional and healthy it is usually the task problematic.
The hardware can be changed if needed. Can you please suggest the best approach ?We can recommend the minimum recommended, but this documentation already does, you need to do a analysis on your environment and ask a vendor Siebel tell the which is recommended for you and how to find the best "number" for you, in your case is very hard because everything changes.
Check this Step-by-Step
Migrating a Microsoft SQL Server Database to Oracle Database 11g
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
Regards,
Levi Pereira -
Anybody using 11g RAC Database with OIM 9.1.0.2?
Hi,
We have poor performance problems with 11g RAC Database with OIM 9.1.0.2.
It looks like the issue could be because of RAC Ccluster.
Anybody using 11g RAC Database with OIM 9.1.0.2?
If so, What is the JDBC Driver r u using? Also what App Server (Weblogic or OAS etc) ?
Appreciate your input.
Regards
Vijay ChinnasamyWe are using weblogic 10.3. And I am sorry to tell you that we are yet to move to production.
We are planning to have Database in RAC, so i just thought of taking inputs from you.
can you tell me under what operations you face the poor performance issue?
For us the max no. of users in production is around 6k. So I am wondering how this RAC availability will affect the performance.
Thanks for sharing your inputs. -
How to create listener in 11g RAC on windows 2008 server
Dear All,
i worked on win 2003 and linux 4, 5 too. i have installed oracle RAC on both windows and linux.
now i have installed oracle RAC11gR1 on windows 2008 server.than installed oracle software . now i want to create listener from db_home which i am facing problem.
i m starting netca from db_home. following the insturction when i finishing it , the proces get started but in the middle is showing the listener on node1 and node2 can't be created.
please guid me how i willl be able to creat it.
2nd poing how to create asm instance on RAC11gR1. is it need to install saparate home like 10g for that or i can create from 11g software home.
thanks,
sher khanthanks for the update ,
dear oracle 11g rac recomends to create ocr and voting disk on asm.
i followed the documents they are saying you have to install grid control infrastructure and than need to create asmcfs.(automatic storage management cluster file system.).
how to create asmcfs to avoid the gridcontrol, if its must is it need to install on one node or both nodes.
can you plz guide me how to do this .
thanks, -
Upgrade Oracle 10g RAC - Oracle 11g RAC on Linux Environment
We are planning to Upgrade our databases to Oracle 10g RAC - Oracle 11g RAC which is Linux Environment. Kindly suggest me the best option for migration. Our production database size is 80GB.
- Frest installation of oracle 11g using export/iimport dumps
- Migration
- Upgrade process
Any information regarding this will be appreciated.Pl identify exact versions of "10g" and "11g", along with the exact OS versions.
Pl see the upgrade doc - http://docs.oracle.com/cd/E11882_01/server.112/e23633/toc.htm
HTH
Srini -
Oracle EBusiness DBA and Architect Available - Expert in 10g and 11g RAC
I have implemented Ebusiness on all OS's - upgraded every OS - mixed environment, Linux migrations - CUrrently just wrapped up an 11.5.10CU2 - 10g - to R12CU4 11g RAC upgrade
Call me for help - available - [email protected]Hi,
First of all, you better created a new thread for this question, but still an attempt to answer your questions:
Sizing is a very delicate task. It will be very difficult to size only on database size and # concurrent users.
What anyone in this business would need to know is the processor architecture (Intel/Sparc/Power/etc.) and speed, the type of OS, etc.
The best thing you can do is go to your hardware provider and see if they have anything like a sizing questionnaire to fill in (I know IBM, HP and Sun -at least used to- have them) and send it back to them to come up with a sizing estimate for you.
It is generally better to have the Concurrent Manager away from the database tier. You can consider separate Concurrent Manager nodes, or include them into your application tier nodes.
Regards,
Arnoud Roth
Oracle E-Business Suite Technical Architect -
Upgrade oracle 9i RAC to Oracle 11g RAC
Hi all,
db version:oracle 9.2.0.5 RAC
OS:Linux
My project team and client is planning to upgrade oracle 9i RAC to Oracle 11g RAC.
please suggest any MOS notes any links.
thanks,
Visu.
Edited by: visu996253 on Apr 8, 2013 5:30 AMdb version:oracle 9.2.0.5 RAC
OS:Linux
My project team and client is planning to upgrade oracle 9i RAC to Oracle 11g RAC.
please suggest any MOS notes any links.Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
http://www.oracle.com/technetwork/products/upgrade/index-088044.html
785351.1 - Oracle 11g Upgrade Companion
http://download.oracle.com/docs/cd/E11882_01/server.112/e17222.pdf - Oracle® Database Upgrade Guide 11g Release 2 (11.2) E10819-02
Edited by: KR10822864 on Apr 8, 2013 5:52 AM
added more info. -
Oracle 11g RAC installation on windows 2008 64 bit
Hello Everyone,
can i get some details regarding Oracle 11g RAC installation on windows 2008,
minimum Hardware Requirement
Will windows support ASM
Can i get a documentation regarding the RAC installation on windows. we were planning to have 11.5 on windows 2008.
please send me some docs regarding os requirements, installation and ASM details.
Thank youHi Everyone,
I installed Oracle RAC 11g on Windows 2008 64 bit, The installation was successfull crs_state -t executed successfully.
Bt the machine got crashed ,when executed a select query with 100 sessions( For performance evaluation using TG). A blue screen is appeared on two nodes. So i am not able to evaluate the performance.
Can you please tell any suggesstions to solve this issue? Is our hardware is not sufficient? Or any software settings has to be done?. I tried most of hte technique ,bt the problem still exists.
The following machine configuration is used for Oracle RAC setup
Intel Core 2 Duo 2.66 GHz,
Ram :4GB.
OS : windows 2008 Server 64 Bit
Oracle RAC , Clusterware 11g R2 64 Bit. -
Which one is best option RAC 10g or oracle 11g RAC for certifiction point ?
hi ,
which one is best option RAC 10g or oracle 11g RAC for certifiction point of view?
can any one detail difference between above 2 options?
Regards,
A.AnwarA. Anwar wrote:
hi ,
which one is best option RAC 10g or oracle 11g RAC for certifiction point of view?
can any one detail difference between above 2 options?The main difference is: Oracle Lifetime Support
Premier Support Ends
Oracle 10g R2 - Jul 2010
Oracle 11g R2 - Jan 2015
Extended Support Ends
Oracle 10g R2 - Jul 2013
Oracle 11g R2 - Jan 2018
http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf
Oracle 10g R2 is getting unsupported. -
Listener restart problem in 11g RAC
11g RAC environment, I manually shutdown the database with "shutdown immediate" and stop the listener with "lsnrctl stop". Later I manually startup only the database but the listener is also started automatically at almost the same. Why would this happen ? I just don't want the listener to startup automatically at that time.
What can i do to prevent the listener from auto-starting when i startup the database manually.Are you sure about stopping listener correctly ?
Use below command when stopping listener.
Usage: srvctl stop listener [-l <lsnr_name>] [-n <node_name>] [-f] -
Need Help in Data migration from standard 10g to standard to 11g RAC
Hi,
We are running an application in Standard 10g (Not RAC). Our service provider has installed a fresh standard 11g RAC and did not transfer the data from 10g to 11g RAC.
I want to migrate the 10g data to 11g RAC.
I wanted to know the followings
1) Easy data transfer technique (Data Pump or RMAN) & How do I do that (Steps)
2) How to backup the fresh 11g RAC (In case of errors in data transfer process to recover the base) (How to do)
Appreciate your help as I only have average knowledge in DBA.
Thanks.
Jezee
Edited by: 991554 on Mar 3, 2013 11:27 PMSee the 11g Upgrade guide chapter "Moving Data Using Oracle Data Pump" http://docs.oracle.com/cd/E11882_01/server.112/e23633/expimp.htm#i262220
See the 11g RAC Administration and Deployment Guide chapter "Managing Backup and Recovery" http://docs.oracle.com/cd/E11882_01/rac.112/e16795/backup.htm#i443637
Get some training on 11g Grid Infrastructure and RAC
Hemant K Chitale -
Best practice for installation oracle 11g rac on windows 2008 server x64
hello!
can somebody tell me a good book or an other kind of literature regarding "best practice for installation oracle 11g rac on windows 2008 server x64"? thx in advance!
best regards,
christianHi Christian,
Check this on MOS
*RAC Assurance Support Team: RAC Starter Kit and Best Practices (Windows) [ID 811271.1]*
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=811271.1
DOC Modified: 14-DEC-2010
Regards,
Levi Pereira -
11g Rac hangs on Oracle VM 2.1.2
Hi Gurus,
Has any body ever successfully built a stable 11g Rac on Oracle VM 2.1.2 following the below instruction ?
http://www.oracle.com/technology/pub/articles/wartak-rac-vm.html
I built everything except creation of the database by runInstaller. My system is not stable and keeping hanging in the middle of creation database.
I did some tests to only run two VMs (rac1,rac2) on VM server. The system hangs after a few hours.
Does anybody has a successul story with the similar configuration?
Thanks
Eric
System config:
Motherboard: Asus P5Q-E
CPU: Intel Q9300
Memory: 8GB
Oracle VM 2.1.2
Oracle Enterprise Linux 5 Update 2 template - HVM with PV Drivers Small x86_64 (64 bit)
Oracle Clusterware 11g Release 1 (11.1.0.6.0) for Linux x86-64
Oracle Database 11g Release 1 (11.1.0.6.0) for Linux x86-64
Openfiler 2.3 x86_64 domU Filesystem TarballYou are using HVM - try PVM (paravirtualization). It works for me, I've keep getting some mails from others mostly related to skipping some steps (missing bridge, syntax error in XEN file and so on). I don't know how you are performing RAC on just 2 nodes without storage nodes (shared XEN diskfiles -- "w!" parameter ?)
Really I would like to help you, but without some in-depth traces (kernel oops, dmesg, /var/log/messages including errors, symptoms) i'm unable to do it. There is possibility that HVM image triggers some bugs which PVM does not (i've done it only on PVM for performance reasons)
-Jakub.
Edited by: vnull on Jan 24, 2009 2:11 AM
Maybe you are looking for
-
Q: LIKE or = in WHERE and READ...
Hi, I have a problem with my code below. The problem is either in my SELECT-statement or in my READ-statement. I am having problems debugging so I cannot narrow it down. I have the following code: SELECT DISTINCT MAT_SALES FROM /BI0/PMAT_SALES
-
Hi, I just bought a new Mac Mini 2.0 w/ 1GB RAM. I'm not a gamer, so I didn't think the integrated graphics would be an issue for me. However, even simple things like opening Dashboard, dragging a Finder window, or double clicking to zoom on a photo
-
How do I know if my iMac is Mid 2007 or later?
I have 10.6.8 and know my SN but have no idea how to determine date of manufacture.
-
Maximum video loaded in ipod video?
hi. just new at this. is it possible to load all videos in the ipod video? i have an 80gig ipod video. Thanks.
-
These resets appear to coincide with a clearing of the cached queries for the DSN from memory, breaking all my sub queries that try to use the initial cached one. I am grasping at straws to discover the reset culprit, the DSN tests always show OK,