Cloning DB to single instance ASM issue 11.2.0.3
Hi All,
Having trouble cloning a DB via OEM to a new server I just built up which utilizes a single instance ASM.
Creating a new DB via dbca onto ASM works no problems.
When doing the clone it fails on the source server during the duplicate database step with the following output:
RMAN>
echo set off
RMAN>
connected to target database: SOURCEDB (DBID=3592949595)
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12543: TNS:destination host unreachable
It appears as though the target server doesn't start the new DB up in nomount because control files don't exist yet.
The init ora file exists on the target server and when trying to run "startup nomount" manually it fails with:
SQL> startup nomount
ORA-01078: failure in processing system parameters
LRM-00117: syntax error at ',' at the start of input
The init ora file looks all correct except for the last line:
control_files='',''
Any ideas on what else to check?
No firewall issues, both source and target servers can ping one another and port 1521 is open on both.
Both source and target servers are running 11.2.0.3.
Looking forward to some much needed help as this has me stumped.
If I were you, I would open in nomount the Instance were its going to be duplicated to verify all the parameters are correct even before starting the duplicate, also you can change several parameters in the duplicate command
run {
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate auxiliary channel stby type disk;
duplicate target database to test_db from active database
spfile
parameter_value_convert 'testgg1','testgg2'
set db_unique_name='testgg2'
set db_file_name_convert='/u01/app/oracle/oradata/testgg1/TESTGG1/datafile/','/u01/app/oracle/oradata/testgg2/TESTGG2/datafile/'
set log_file_name_convert='/u01/app/oracle/oradata/testgg1/TESTGG1/onlinelog/','/u01/app/oracle/oradata/testgg2/TESTGG2/onlinelog/'
set control_files='/u01/app/oracle/oradata/testgg2/control/control01.ctl','/u01/app/oracle/oradata/testgg2/control/control02.ctl'
Similar Messages
-
RMAN backup restore from RAC to single instance ASM
Hi,
We are using oracle 11gR2 on AIX 6.1,
We need to restore RMAN backup from RAC to single instance ASM,
Im new to RAC & ASM, What will be the changes
What will be steps involved into it.
ThanksHello,
Refer this MOS doc *HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]*
On the Single Instance ASM, you need to specify the diskgroup name for the parameters "control_files, db_create_file_dest"
Handle: user10745179
Email: [email protected]
Status Level: Newbie (5)
Registered: Feb 24, 2009
Total Posts: 168
Total Questions: 74 (52 unresolved)
Name Devesh
Location Mumbai If you feel that your questions have been answered, then please consider closing the threads by providing appropriate points. Please keep the forum clean !!
Regards,
Shivananda -
Single-Instance ASM to RAC ASM !!
At the moment i am in process to create a RAC ASM instance on two nodes. When i was creating ASM instance it gave me error that unable to connect to crsd on Node2.
So i manually added asm instance using srvctl on node2. It is registered with CRS but it is not online. I tried starting up by using crs_start or srvctl start asm but asm resource is down on both the nodes.
I have started up manually both the ASM instance and created some Diskgroups, Now i have to create a RAC enabled DB for which it is showing convert single-instance ASM to RAC ASM.
What needs to be done.Hi
because the service ASM was added individually the crs stack is unable to recognise the clustering of ASM. In fact this has just made the ASM on two nodes function as two seperate ASM instances. They were never clustered. So i think convertion is one option. I came here while looking for one such doc. My 10.2.0.1 RAC install on windows 2003 went on a toss.. while dbca was trying to set up the clustered ASM and configure the instance, the primary node crashed and when it was recovered, i could notice the ASM instance is created on one node only.. When i try to invoke dbca again, neither am allowed to create an ASM instance for RAC/convert the existing one to RAC. Until now what I have found is that if such case arise, the quicker way is to revert everything back, clean up the server of clusterware and re install every thing... but before am looking for my options..
does any body have an idea? please share
sarat. -
How to create a single instance ASM installation on Windows using 11gR1 ?
Good afternoon,
After reading much documentation and doing a lot of Googling, I have not found a step by step procedure on how to install/use ASM for a single database instance successfully. This is using Windows XP SP2, Oracle 11gR1 (I can likely adjust any procedure that is meant for Server 2003 or 2008 as long as it is does not require a 64bit installation.)
If someone knows where I can find a step by step procedure on how to do this, that actually works and, would be so kind to share it, I'd much appreciate it.
Thank you,
John.440bx - 11gR2 wrote:
Good afternoon,
After reading much documentation and doing a lot of Googling, I have not found a step by step procedure on how to install/use ASM for a single database instance successfully. This is using Windows XP SP2, Oracle 11gR1 (I can likely adjust any procedure that is meant for Server 2003 or 2008 as long as it is does not require a 64bit installation.)
If someone knows where I can find a step by step procedure on how to do this, that actually works and, would be so kind to share it, I'd much appreciate it.Hi John,
As we have discussed on other threads, in 11.2, its not possible to do the installation of the ASM without using the Grid Infrastructure. The reason is ASM instance can be created using the ASMCA only in 11.2 which would run only from the Grid Home. So if you are willing to use ASM in 11.2, you have to go through either on 64bit windows, or 32 bit linux. Other than this, you can use 11.1 and/or 10.2 where DBCA can be used for the same.
HTH
Aman.... -
Convert ASM single instance to RAC ASM instance...
Hi, all
Im installing OracleDatabase with RAC and I got an error on the Database Configuration Assistant that says "The ASM instance configured on the local node is a single instance. To manage this instance as a single-instance ASM restart DBCA and select the single instance database option. To manage this instance as RAC ASM, convert it to RAC ASM first".
How I can convert it??
ThanksSee the link below for converting a single instance ASM to RAC ASM. The link is to the Oracle® Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide for Linux. If your platform is not Linux, check the Install Guide for your OS.
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b14203/cvrt2rac.htm#BABJDAJG -
Agent issue with 10.2.0.4 on RHEL 4 for single instance db.
Hi,
I had 2 instances that were not able to upload nor where they secure. For one of them which ran on port 5500, I was able to go through the forums and basically I ended up dropping the repository for that instance, and then I was able to secure the agent, and uploads were fine. Now I have one single instance that runs on port 1158:
[oracle@stdb7 bin]$ emctl status agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.6.0
OMS Version : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
Agent binaries : /dsk0/oracle
Agent Process ID : 27304
Parent Process ID : 27301
Agent URL : http://stdb7XXXXorg:3938/emd/main
Started at : 2009-05-12 10:53:16
Started by user : oracle
Last Reload : 2009-05-12 10:53:16
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 56
Size of XML files pending upload(MB) : 2.44
Available disk space on upload filesystem : 70.15%
Agent is Running and Ready
[oracle@stdb7 bin]$ emctl secure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent successfully stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Failed.
The OMS is not set up for Enterprise Manager Security.
[oracle@stdb7 bin]$ emctl start agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ... started.
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
clearstate failed with ret=-10
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
[oracle@stdb7 bin]$ emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://stdb7XXXXorg:1158/em/console/aboutApplication
Agent Version : 10.1.0.6.0
OMS Version [oracle@stdb7 bin]$ emctl status agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.6.0
OMS Version : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
Agent binaries : /dsk0/oracle
Agent Process ID : 27304
Parent Process ID : 27301
Agent URL : http://stdb7XXXXorg:3938/emd/main
Started at : 2009-05-12 10:53:16
Started by user : oracle
Last Reload : 2009-05-12 10:53:16
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 56
Size of XML files pending upload(MB) : 2.44
Available disk space on upload filesystem : 70.15%
Agent is Running and Ready
[oracle@stdb7 bin]$ emctl secure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent successfully stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Failed.
The OMS is not set up for Enterprise Manager Security.
[oracle@stdb7 bin]$ emctl start agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ... started.
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
clearstate failed with ret=-10
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
[oracle@stdb7 bin]$ emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://stdb7XXXXorg:1158/em/console/aboutApplication
Agent Version : 10.1.0.6.0
OMS Version : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
Agent binaries : /dsk0/oracle
Agent Process ID : 25197
Parent Process ID : 25194
Agent URL : http://stdb7XXXXorg:3938/emd/main
Started at : 2009-05-12 11:25:33
Started by user : oracle
Last Reload : 2009-05-12 11:25:33
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 66
Size of XML files pending upload(MB) : 4.18
Available disk space on upload filesystem : 70.14%
Agent is already started. Will restart the agent
Stopping agent ... stopped.
Starting Oracle Enterprise Manager 10g Database Control .... started.
Logs are generated in directory /dsk0/oracle/stdb7XXXXorg_dhqprd/sysman/log
[oracle@stdb7 bin]$ emctl upload
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent is Not Running
[oracle@stdb7 bin]$ emctl unsecure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Checking Agent for HTTP... Done.
Agent is already unsecured.
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
[oracle@stdb7 bin]$ emctl secure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent is already stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Failed.
The OMS is not set up for Enterprise Manager Security.
[oracle@stdb7 bin]$ emctl start agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ... started.
[oracle@stdb7 bin]$ emctl upload
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet.. : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
Agent binaries : /dsk0/oracle
Agent Process ID : 25197
Parent Process ID : 25194
Agent URL : http://stdb7XXXXorg:3938/emd/main
Started at : 2009-05-12 11:25:33
Started by user : oracle
Last Reload : 2009-05-12 11:25:33
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 66
Size of XML files pending upload(MB) : 4.18
Available disk space on upload filesystem : 70.14%
Agent is already started. Will restart the agent
Stopping agent ... stopped.
Starting Oracle Enterprise Manager 10g Database Control .... started.
Logs are generated in directory /dsk0/oracle/stdb7XXXXorg_dhqprd/sysman/log
[oracle@stdb7 bin]$ emctl upload
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent is Not Running
[oracle@stdb7 bin]$ emctl unsecure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Checking Agent for HTTP... Done.
Agent is already unsecured.
[oracle@stdb7 bin]$ emctl clearstate agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD clearstate completed successfully
[oracle@stdb7 bin]$ emctl secure agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent is already stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Failed.
The OMS is not set up for Enterprise Manager Security.
[oracle@stdb7 bin]$ emctl start agent
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ... started.
[oracle@stdb7 bin]$ emctl upload
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
So, with this one instance and agent, I keep going in loops with the same 2 errors:
1. EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
2. The OMS is not set up for Enterprise Manager Security.
I even followed related messages on the forums here to try to resolve the issue, but this did not work:
'- emctl stop agent
- delete all files in $AGENT_HOME/sysman/emd/upload and $AGENT_HOME/sysman/emd/state
- emctl clearstate agent (this should delete all state files but sometimes it is not enough, but I experienced that it is better to use this command after deletion of the files)
- emctl secure agent (and specify the password on demand)
- emctl start agent'
Any advice or help on HOW to secure this instance's agent and get it to upload would be greatly appreciated.
Edited by: user611572 on May 12, 2009 9:11 AM
I guess I solved my own issue, however I basically had to drop and recreate the repository and grid control for the instance, thus loosing over 3300 XML files, but now the agent is working and the server is running secure. I simply did:
emca -config dbcontrol db -repos recreate
And answered all the questions... I am wondering if the 3300+ xml files I deleted by following some guy's response in a similar thread was necessary, and if it was not, I wonder if I would have been able to upload all of the files after executing and rebuilding....Since you have dropped the repository thats why it was needed to deleted the previous files
-
How to change an ASM single-instance into a clustered ASM ?
Hi,
I have a node#1 with Oracle10gR2 installed (standard installation, not RAC).
Everything is in the ORACLE_HOME.
A unique single-instance database DB1 uses ASM#1 to access a diskgroup on a SAN.
I'd like to install Clusterware in a separate CRS_HOME (within the oracle account), and protect ASM#1 and the database DB1 using an application VIP.
The things is: I want to create another single-instance database DB2 on another node#2, with another ASM#2 instance.
I need a clustered ASM (with Clusterware) installation to do that because ASM#1 and ASM#2 need to access the same diskgroup.
I don't want to lose the existing data & configuration of the ASM#1 instance.
What modifications I need to do in the current ASM#1 instance on node#1 to make it Clusterware-aware ?
(Again, it's not a RAC installation...)
ThanksHi,
I finally found this Metalink Note 452758.1, which describe the procedure....
Any feedback about this ? -
11.2 Single Instance DB with ASM
DB version:11.2.0.2
OS : RHEL 5
I want to create a single instance DB with ASM. I did a software only installation . In DBCA , i can't find an option to create Diskgroup through UI like we have in 10.2's DBCA. I will have to use ASMCA for this. But i think i'll have to install Grid Infrastructure for this. Is there alternative way of creating diskgroup through UI ?Hi
I want to create a single instance DB with ASM. I did a software only installation . In DBCA , i can't find an option to create Diskgroup through UI like we have in 10.2's DBCA. I will have to use ASMCA for this. But i think i'll have to install Grid Infrastructure for this. Is there alternative way of creating diskgroup through UI ?You need to install first Grid Infrastructure with sotware only option to can use ASM
Than you need to use asmca to create asm diskgroup
Than you need to use install Oracle 11gR2 software only,than you can use dbca
Regard
Helios -
Db context file creation for rac to single instance cloning
DOC ID: 559518.1 Section 6: RAC to Single Instance Cloning mentions that the context file creation should be done as in the case of Single Instance cloning
what would be the command syntax?Thanks Hussein. However, section 6 of doc 559518.1 mentions that part 5.1.3 when cloning from rac to single node should be done as in the case of Single Instance cloning.
the syntax for rac to rac cloning (which is in 5.1.3) is
perl adclonectx.pl \
contextfile=[PATH to OLD Source RAC contextfile.xml] \
template=[NEW ORACLE_HOME]/appsutil/template/adxdbctx.tmp \
pairsfile=[NEW ORACLE_HOME]/appsutil/clone/pairsfile.txt \
initialnode
so what is the syntax for rac to single instance? I reckon I will still use adclonectx.pl, but now what would be the complete sysntax for single instance cloning? -
Deinstall Oracle 11.2.0.2 grid Single instance with ASM at AIX
Hi gurus,
I'm trying to deinstall Oracle 11.2.0.2 grid Single instance with ASM at AIX when executing deinstall utility It's doesn't show any commando to run with root:
the first execution, ran the command as root (normally), but the session where it ran the deinstall tool was closed.
[root@> /tmp/software ]#/tmp/deinstall2011-07-05_06-54-19PM/perl/bin/perl -I/tmp/deinstall2011-07-05_06-54-19PM/perl/lib -I/tmp/deinstall2011-07-05_06-54-19PM/crs/install /tmp/deinstall2011-07-05_06-54-19PM/crs/install/roothas.pl -force -deconfig -paramfile /tmp/deinstall2011-07-05_06-54-19PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Using configuration parameter file: /tmp/deinstall2011-07-05_06-54-19PM/response/deinstall_Ora11g_gridinfrahome1.rsp
PRKO-2573 : ONS daemon is already stopped.
CRS-2500: Cannot stop resource 'ora.cssd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dwmdm'
CRS-2673: Attempting to stop 'ora.evmd' on 'dwmdm'
CRS-2677: Stop of 'ora.evmd' on 'dwmdm' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dwmdm' has completed
CRS-4133: Oracle High Availability Services has been stopped.
ACFS-9459: ADVM/ACFS is not supported on this OS version: 'AIX 5300-10-01-0921'
ACFS-9201: Not Supported
Successfully deconfigured Oracle Restart stack
[root@> /tmp/software ]#
-- here the deinstall tool was closed --
-- -Here the output for the second execution --
$deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u01/app/oracle/oraInventory/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################### CHECK OPERATION START #########################
Install check configuration START
Checking for existence of the Oracle home location /grid/app/grid/grid
Oracle Home type selected for de-install is: SIHA
Oracle Base selected for de-install is: /grid/app/grid
Checking for existence of central inventory location /u01/app/oracle/oraInventory
Checking for existence of the Oracle Grid Infrastructure home
Install check configuration END
Skipping Windows and .NET products configuration check
Checking Windows and .NET products configuration END
Traces log file: /u01/app/oracle/oraInventory/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /u01/app/oracle/oraInventory/logs/netdc_check2011-07-06_09-16-58-AM.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /u01/app/oracle/oraInventory/logs/asmcadc_check2011-07-06_09-16-58-AM.log
ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: n
ASM was not detected in the Oracle Home
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is:
The cluster node(s) on which the Oracle home de-installation will be performed are:null
Oracle Home selected for de-install is: /grid/app/grid/grid
Inventory Location where the Oracle home registered is: /u01/app/oracle/oraInventory
Skipping Windows and .NET products configuration check
ASM was not detected in the Oracle Home
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/u01/app/oracle/oraInventory/logs/deinstall_deconfig2011-07-06_09-16-56-AM.out'
Any error messages from this session will be written to: '/u01/app/oracle/oraInventory/logs/deinstall_deconfig2011-07-06_09-16-56-AM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /u01/app/oracle/oraInventory/logs/asmcadc_clean2011-07-06_09-17-03-AM.log
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /u01/app/oracle/oraInventory/logs/netdc_clean2011-07-06_09-17-03-AM.log
De-configuring backup files...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
---------------------------------------->
Press Enter after you finish running the above commands
<----------------------------------------
*1. Any idea to remove Grid infraestructure normally?*
*2. In this step, can I remove (rm) the grid HOME ?*
RegardsMexman wrote:
*1. Any idea to remove Grid infraestructure normally?*
*2. In this step, can I remove (rm) the grid HOME ?*
RegardsHi,
You must use deinstall tool to remove Grid Infrastructure installation,
as grid owner run $GRIDHOME/deinstall/deinstall
Cheers -
Cluster with one 2 Node RAC and a Single Instance using ASM
Hi there,
i am not sure with one planned installation and want to ask, weather i am on the right track.
Some Facts:
Clusterware 11g
ASM 11g
Database 10gR2
AIX 5.3
3 Machines
2 Storages DS4700
My Plan
On Node 1 and Node 2 we install a RAC Database for an ERP Software
On Node 3 we install a single Instance Database for a Logistic Software
So i will install on all three Nodes Clusterware and an 3 Instances ASM - Cluster
I create 2 Diskgroups, one for the FRA and one for the Data, both on Luns on the DS4700
The RAC-Database and the Logistic-Database are using the same Diskgroups.
Is this the way to go for this circumstances?
The alternative is, as far as i see
Clusterware on an 3 Servers
One 2 Node ASM for the ERP Software
one Single Node ASM for the Logistcs
4 Diskgroups, because of the 2 ASM-Database 2 for the RAC and 2 for the Single Instance.
Please give me some hints, which way i should prefer.
My tendence is going to the first alternative. I like the idea to share the Diskgroups over more than on Database because of easy administration.
The load of the 2 Databases are completly different, the logistc software will nearly do nothing compared to the ERP Software, so this should'nt be a problem.
But maybe i oversee something, so please do not hesitate to tell me, i am completly wrong ;)
Thanks a lot
JörgChris Slattery wrote:
why clusterware on 3rd machine ?
I'd have separate DGs but that's just me.If you wish to install ASM you need OCS installed on the machine, even if it is just one node at all.
It is a kind of a dependency, no OCS, no ASM
cu
Jörg -
Dataguard configuration from 2-node rac to single instance with out ASM
Hi Gurus,
Oracle Version : 11.2.0.1
Operating system:linux.
Here i am trying to configure data Guard from 2-node rac to a singled instance stanby database . I have done all the changes in the parameter file for both primary and stand by database and when i am trying to duplicate my target database it is giving error as shown below.
[oracle@rac1 dbs]$ rman target / auxiliary sys/qfundracdba@poorna
Recovery Manager: Release 11.2.0.1.0 - Production on Thu Jul 21 14:49:01 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: QFUNDRAC (DBID=3138886598)
connected to auxiliary database: QFUNDRAC (not mounted)
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 21-JUL-11
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwqfundrac1' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1//dbs/orapwpoorna' ;
executing Memory Script
Starting backup at 21-JUL-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=10 instance=qfundrac1 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/21/2011 14:49:29
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/21/2011 14:49:29
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database serverHere i was able to connect to my auxiliary database as shown below
[oracle@rac1 dbs]$ rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Thu Jul 21 15:00:10 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: QFUNDRAC (DBID=3138886598)
RMAN> connect auxiliary sys/qfundracdba@poorna
connected to auxiliary database: QFUNDRAC (not mounted)Can any one please help me .
Thanks & Regards
Poorna Prasad.SHi All,
Can any one please find out my both the parameters file and tell me if any thing is wrong.
Primary Database parameters.
qfundrac1.__db_cache_size=2818572288
qfundrac2.__db_cache_size=3372220416
qfundrac1.__java_pool_size=16777216
qfundrac2.__java_pool_size=16777216
qfundrac1.__large_pool_size=16777216
qfundrac2.__large_pool_size=16777216
qfundrac1.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
qfundrac2.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
qfundrac1.__pga_aggregate_target=4294967296
qfundrac2.__pga_aggregate_target=4294967296
qfundrac1.__sga_target=4294967296
qfundrac2.__sga_target=4294967296
qfundrac1.__shared_io_pool_size=0
qfundrac2.__shared_io_pool_size=0
qfundrac1.__shared_pool_size=1375731712
qfundrac2.__shared_pool_size=855638016
qfundrac1.__streams_pool_size=33554432
qfundrac2.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/qfundrac/adump'
*.audit_trail='db'
*.cluster_database=true
*.compatible='11.2.0.0.0'
*.control_files='+ASM_DATA2/qfundrac/controlfile/current.256.754410759'
*.db_block_size=8192
*.db_create_file_dest='+ASM_DATA1'
*.db_create_online_log_dest_1='+ASM_DATA2'
*.db_domain=''
*.DB_FILE_NAME_CONVERT='/u02/poorna/oradata/','+ASM_DATA1/','/u02/poorna/oradata','+ASM_DATA2/'
*.db_name='qfundrac'
*.db_recovery_file_dest_size=40770732032
*.DB_UNIQUE_NAME='qfundrac'
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=qfundracXDB)'
*.fal_client='QFUNDRAC'
*.FAL_SERVER='poorna'
qfundrac2.instance_number=2
qfundrac1.instance_number=1
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(qfundrac,poorna)'
*.LOG_ARCHIVE_DEST_1='LOCATION=+ASM_FRA VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=qfundrac'
*.LOG_ARCHIVE_DEST_2='SERVICE=boston ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=poorna'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*.LOG_ARCHIVE_MAX_PROCESSES=30
*.LOG_FILE_NAME_CONVERT='/u02/poorna/oradata/','+ASM_DATA1/','/u02/poorna/oradata','+ASM_DATA2/'
*.open_cursors=300
*.pga_aggregate_target=4294967296
*.processes=300
*.remote_listener='racdb-scan.qfund.net:1521'
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
*.sec_case_sensitive_logon=FALSE
*.sessions=335
*.sga_target=4294967296
*.STANDBY_FILE_MANAGEMENT='AUTO'
qfundrac2.thread=2
qfundrac1.thread=1
qfundrac1.undo_tablespace='UNDOTBS1'
qfundrac2.undo_tablespace='UNDOTBS2'and my standby database prameter file.
poorna.__db_cache_size=314572800
poorna.__java_pool_size=4194304
poorna.__large_pool_size=4194304
poorna.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
poorna.__pga_aggregate_target=343932928
poorna.__sga_target=507510784
poorna.__shared_io_pool_size=0
poorna.__shared_pool_size=176160768
poorna.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/poorna/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/poorna/control01.ctl','/u01/app/oracle/flash_recovery_area/poorna/control02.ctl'
*.db_block_size=8192
*.db_domain=''
#*.db_name='poorna'
#*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=4039114752
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=poornaXDB)'
*.local_listener='LISTENER_POORNA'
*.memory_target=849346560
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sec_case_sensitive_logon=FALSE
*.undo_tablespace='UNDOTBS1'
############### STAND By PARAMETERS ########
DB_NAME=qfundrac
DB_UNIQUE_NAME=poorna
LOG_ARCHIVE_CONFIG='DG_CONFIG=(poorna,qfundrac)'
#CONTROL_FILES='/arch1/boston/control1.ctl', '/arch2/boston/control2.ctl'
DB_FILE_NAME_CONVERT='+ASM_DATA1/','/u02/poorna/oradata/','+ASM_DATA2/','/u02/poorna/oradata'
LOG_FILE_NAME_CONVERT= '+ASM_DATA1/','/u02/poorna/oradata/','+ASM_DATA2/','/u02/poorna/oradata'
LOG_ARCHIVE_FORMAT=log%t_%s_%r.arc
LOG_ARCHIVE_DEST_1= 'LOCATION=/u02/ARCHIVE/poorna VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=poorna'
LOG_ARCHIVE_DEST_2= 'SERVICE=qfundrac ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=qfundrac'
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=ENABLE
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
STANDBY_FILE_MANAGEMENT=AUTO
FAL_SERVER=qfundrac
FAL_CLIENT=poornaThanks & Regards,
Poorna Prasad.S -
Oracle 11gR2 RAC (convert single instance to RAC)
Hi,
Using Metalink Doc [ID 747457.1] I have converted single instance database running on 11gR2 to RAC (2 node) database 11gR2 with ASM. Its running fine, I am able to see the instances running on both nodes. But I am unable to login to the instance. It is connecting to ideal instance., but the instance is already running
oracle@hublhp1:/home/oracle$ export ORACLE_SID=cadtest1
oracle@hublhp1:/home/oracle$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 2 11:23:43 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
oracle@hublhp1:/home/oracle$ srvctl status database -d cadtest
Instance cadtest1 is not running on node hublhp1
Instance cadtest2 is not running on node hublhp3
oracle@hublhp1:/home/oracle$ ps -ef | grep pmon
oracle 2407 1 0 15:28:21 ? 0:27 asm_pmon_+ASM1
oracle 4125 1 0 15:51:18 ? 0:36 ora_pmon_cadtest1
oracle 4973 3295 0 14:31:13 pts/1 0:00 grep pmon
oracle@hublhp1:/home/oracle$
I am able to stop/start the database using SRVCTL but I am not able to login to this instance. Can anyone please help me to find the issue or where & what to look at.
- ManoThank you so much, I did the following, but I still have the same issue, the instance is running on both nodes, but I am unable to stop/start the database using SRVCTL and I am unable to login using SQLPLUS.
oracle@hublhp1:/home/oracle$ *srvctl modify database -d cadtest -n cadtest -o $ORACLE_HOME -p +asmcdb01/cadtest/spfilecadtest.ora -a ASMCDB01,ASMCFR01*
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$ srvctl config database -d cadtest -a
Database unique name: cadtest
Database name: cadtest
Oracle home: /app/oracle/rdbms/product/11.2.0
Oracle user: oracle
Spfile: +asmcdb01/cadtest/spfilecadtest.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: cadtest
Database instances: cadtest1,cadtest2
Disk Groups: ASMCDB01,ASMCFR01
Services:
Database is enabled
Database is administrator managed
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$ srvctl stop database -d cadtest
PRCC-1016 : cadtest was already stopped
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$ srvctl status database -d cadtest
Instance cadtest1 is not running on node hublhp1
Instance cadtest2 is not running on node hublhp3
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$ echo $ORACLE_SID
cadtest1
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 2 15:31:55 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> exit
Disconnected
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$
oracle@hublhp1:/home/oracle$ -
Benefit of RAC over single instance
Dear,
There would be up-gradation of our main system from oracle 10.2.0.4 to 11.2.0.4. The management wants to stay on single instance as it is now. But Oracle RAC is something that is must for all the critical system I need to present the benefit of RAC over single instance considering the high cost. Can you show me the benefits of RAC that ppl would go for it instead of single instance????Hi,
The Benefits of Oracle Real Application Clusters.
High Availability-Oracle Real Application Clusters 11g provides the foundation for data centre-high availability. It is also
an integral component of Oracle’s Maximum Availability Architecture, which provides best practices to
provide the highest availability for your data center. Oracle Real Application provides the following ke
characteristics essential for a high available data management
Reliability – The Oracle Database is known for its reliability. Oracle Real Application Clusters takes this
a step further by removing the database server as a single point of failure. If an instance fails, the
remaining instances in the server pool remain open and active. Oracle Clusterware monitors all Oracle
processes and immediately restarts any failed component.
Recoverability – The Oracle Database includes many features that make it easy to recover from all
types of failures. If an instance fails in an Oracle RAC database, it is recognized by another instance in
the server pool and recovery will start automatically. Fast Application Notification (FAN) and Fast
Connection Failover (FCF) or Transparent Application Failover (TAF) make it easy for applications to
mask component failures from the user.
Error Detection – Oracle Clusterware automatically monitors Oracle RAC databases as well as other
Oracle processes (ASM, listener, etc) and provides fast detection of problems in the environment. It also
automatically recovers from failures often before users noticed that a failure has occurred. Fast
Application Notification (FAN) provides the ability for applications to receive immediate notification of
cluster component failures in order to re-issue the transaction before the failure surfaces.
Continuous Operations – Oracle Real Application Clusters provides continuous service for both
planned and unplanned outages. If a server (or an instance) fails, the database remains open and the
application is able to access data. Most database maintenance operations can be completed without
downtime and are transparent to the user. Many other maintenance tasks can be done in a rolling
fashion so application downtime is minimized or removed. Fast Application Notification and Fast
Connection Failover assist applications in meeting service levels.
Scalability-Oracle Real Application Clusters provides a unique technology for scaling applications. Traditionally,
when database servers ran out of capacity, they were replaced with new and larger servers. As servers
grow in capacity, they are more expensive. For databases using Oracle RAC, there are alternatives for
increasing the capacity. Applications that have traditionally run on large SMP servers can be migrated to
run on pools of small servers. Alternatively, you can maintain the investment in the current hardware and
add a new servers to the pool (or to create a server pool) to increase the capacity. Adding servers to a
server pool with Oracle Clusterware and Oracle RAC does not require an outage and as soon as the new
instances are started, the application can take advantage of the extra capacity. All servers in the server pool
must run the same operating system and the same version of Oracle, but they do not have to be of exactly
the same capacity. Customers today run server pools that fit their needs often using servers of (slightly)
different characteristics.
http://www.oracle.com/technetwork/database/clustering/overview/twp-rac11gr2-134105.pdf -
Migrating single instance SAP and Oracle 11.2.0.1 database to Oracle RAC
We have a single instance SAP Netweaver environment on Oracle 11.2.0.1 database and want to migrate to Oracle 11.2.0.1 RAC and ASM. The documents are for 11.2.0.2 and later but we want a way to:
1. Migrate single instance SAP and Oracle 11.2.0.1 instance to ASM
2. Configure the environment as four node Oracle 11.2.0.1 cluster
Thus far, I have:
1. Installed clusterware 11.2.0.1
2. Installed four ASM instances
My questions:
1. We want to migrate the single instance database to same server and extend to four node cluster and ASM
However, current SID for SAP and Oracle must remain the same. The problem I have is that the target database name needs to be same as source on same physical host.
2. How would I use RMAN to migrate the single instance database to ASM for 11.2.0.1?
3. How would I use rconfig after this step?875554 wrote:
1- We have single instance Oracle 11.2.0.1 database using file based datafiles, archivelogs, controlfiles, etc on single RHEL5 Linux host
2- We have four available Oracle 11.2.0.1 ASM instances on four RHEL5 Linux hosts
3- We have installed four node Oracle 11.2.0.1 clusterware on the above nodesAnd what is the shared storage? For RAC, all shared storage devices for the cluster need to be available and usable by all ASM instances in that cluster.
Issue- we have RAC 11.2 clusterware listener using SCAN and listeners for all four clusterware nodes.
When we try to run the following RMAN command to migrate the single instance Oracle 11.2.0.1 datafiles it fails:The failure says: "+RMAN-10038: database session for channel ORA_DISK_1 terminated unexpectedly+". And this in itself does not tell you what the actual problem encountered is.
4- How to register the single instance with all four ASM instances and network services to resolve the above issue?Register what instance? ASM does not need databases or instances to be registered. It is a storage management layer. The cluster (grid infrastructure) layer is the one that deals with the registration (and management) of the various services and resources on that grid (e.g. ASM instances, database instances, SCAN and VIP, Listener services, etc).
5- Do we need to first run rconfig utility against single Oracle 11.2.0.1 instance to register with clusterware services BEFORE using RMAN to perform the datafile migration to ASM?Never used rconfig. See Support Note +RCONFIG : Frequently Asked Questions [ID 387046.1]+ for details.
Maybe you are looking for
-
Battery/Click Wheel Crisis!
Ok i have a referbished ipod mini 1st generation. the first one had some problems and now it seems this one they gave me has even more! The battery lasts about 3 hours max. and on occassion it'll be dead and then I'll plug it in and it claims it's do
-
HP mini 110-1051 tu bios password forgotten
Dear Sir, Please help me I haven't used my mini for almost 3 years so I have forgotten my bios password. So kindli please provide me with a backdoor password. my code is cnu938bgnp This question was solved. View Solution.
-
Performance impact with Parent Hierachy 2 and a new dimension
Hello all I have a Consolidation requirement for which I have two solutions. These are: Sol A>> Create a new dimension for reporting on accounts. Sol B>> Create a new Parent Hierarchy in Account dimension. Please help me on two open questions: 1. If
-
Is OIA supports adding Multiple data owners for single role?
Hi Can you please let me know, if we can assign multiple data owners under resources tab, data mangement tab. Or with glossory upload using file based? The intension to keep backup data owner for each role for certifications. Thanks
-
Hi everybody, I just wanted to get some opinions/validation on ear packaging based on reading some of the documentation http://edocs.bea.com/wls/docs60/programming/packaging.html#1037589 It seems that the class loaders for the web applications will b