Restoration of the CARS (two nodes) DB DB to single node
Hi guys,.
Environment:
DB on RAC (2 knots)
Operating system Windows 2008R2
Oracle 11 g 2
Backup: EMC Networker.
Requirements:
Need to restore to this DB on another machine (a node), for testing and the update of the end.
Question:
Recovery is not successful, but restoration of Controlfiles and data files was done successfully for the new machine with new directory structures.
Error:
ORA-10879: error reported in parallel recovery slave
ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
ORA-01152: 1 no file has been restored from a sufficiently old backup
ORA-01110: data file 1: ' D:\APP\DATA\SYSTEM01. DBF'
Now wants to open the DB after recovery, how can I do this? (need a scripts...)
FYI, the Scripts using #.
--------------------
run
{
ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE '.
parms 'ENV = (NSR_SERVER = bkpsrv, NSR_CLIENT = dbsrv)';
ALLOCATE CHANNEL ch01 TYPE 'SBT_TAPE '.
parms 'ENV = (NSR_SERVER = bkpsrv, NSR_CLIENT = dbsrv)';
SET NEWNAME for DATAFILE '+ DBDATA/SYSTEM.256.777377935' to ' D:\app\data\SYSTEM01. DBF';
SET NEWNAME for DATAFILE '+ DBDATA/sysaux.257.777377935' to 'D:\app\data\sysaux.dbf ';
SET NEWNAME for DATAFILE '+ DBDATA/undotbs1.258.777377935' to 'D:\app\data\undotbs01.dbf ';
SET NEWNAME for DATAFILE '+ DBDATA/users.259.777377935' to 'D:\app\data\users01.dbf ';
SET NEWNAME for DATAFILE '+ DBDATA/undotbs2.264.777378113' to 'D:\app\data\undotbs02.dbf ';
until the 16510 sequence;
restore the database;
recover the database;
OUTPUT CHANNEL ch00;
Ch01 CHANNEL;
}
---------------------------------------------------------
Yes, for CARS, the SET clause until is the SEQUENCE until the VALUE n WIRE m
For example, if you specified the VALUE up to this WHAT SEQUENCE 16510 THREAD 2, you must also all him up ArchiveLogs WIRE 1 to the same point in time as THREAD 1 16510. Oracle needs * two * discussions to be able to RECOVER the database because the transactions take place in the two threads.
The _allow_resetlogs_corruption is a choice of LAST OPTION only if the Support of Oracle indicates you that you have no other options. It can result in an inconsistent database - for example an uncomitted transaction may appear as committed because the restore information not applied OR a transaction that has been committed by users not be applied because that do it again because it is ignored.
Hemant K Collette
Tags: Database
Similar Questions
-
My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also saved to the time capsule. Everything is in 'Data' when I look through the Airport utility. I think that the information that I've lost are still there since I was a Capsule 3 to.
Time Machine backup to a sparsebundle.
The sparsebundle will use the share name of computer. So, it should be obvious who is your Macbook and that is your Macpro.
Open the sparsebundle in Finder and keep open the subfolders until you get to the backup of each separate hard drive...
You has of course set the exclusion in Time Machine?
By default, Time Machine will exclude your second drive unless you have included it. Did you?
Once you get to this level during the backup, you can do a full restore manually whenever you want.
-
Restoration of RMAN of the CARS to single Instance on another node with dif NAME DB
Hi all
We intend to make RMAN RESTORE on the test server, taking the RMAN backup to disk of the production server.
Production server configuration:
---------------------------------------------
NAME: genprod
CARS: 2 node RAC.
OPERATING SYSTEM: IBM AIX 6.1
DATABASE VERSION: 10.2.0.4
Test server configuration:
---------------------------------------
NAME: miguat
CARS: 2 node RAC.
OPERATING SYSTEM: IBM AIX 6.1
DATABASE VERSION: 11.2.0.3
How do RESTORE RMAN of the CARS to single Instance on another node with NAME DB different...
My production database name was "GENPROD"... my test server database has been 'MIGUAT '.
When I do the restoration, I get the following error:
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 06/08/2012 13:22:11
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of the file 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Please help me with this...
Kind regards
VAMSi...Hello
You can take a look at http://taliphakanozturken.wordpress.com/2012/07/20/how-to-restore-10g-rman-backup-to-11g/
You will need to change the name of db only after the database was opened after the upgrade and other steps.
Anand
-
I'm trying to restore my win7 with HP USB recovery Flash Disk, I get the following two messages:
"Do not create C:\Users\User\AppData\Local\Temp; c:\arc\01Script\FormatUFD.SP' and the messsage "Fail to create.
How to port HP_recovery in car to my flash drive?
Windows 7 x 64, HP G62-144DX
Hello:
I can't help you with this specific issue, but if you can get it is resolved and you can read the product key 25 character Microsoft Windows on the bottom of your PC, do your own installation of W7 media to reinstall W7.
Here's how:
If you can read the Microsoft windows 7 25-character product key, you can download simple Windows 7 ISO files to burn on a DVD for the version of windows that is installed on your PC, and which is listed on the Microsoft COA sticker on your PC case.
Burn the ISO with the option to burn the ISO on your DVD burning program and burn it at the slowest possible speed that will allow your program. This will create a bootable DVD.
Or use the installation of Windows 7 USB/DVD tool to compile the ISO file that you download from Digital River. Link and instructions below. You need a 4 GB flash drive to use the USB compilation method.
http://www.microsoftstore.com/store/msstore/HTML/pbPage.Help_Win7_usbdvd_dwnTool
Use 25 characters on the PC product key to activate the installation.
The key will activate a 32 or 64 bit installation.
Then go to the support of the PC and driver page to install the drivers you need.
Link to downloads ISO of W7 is below.
http://www.mydigitallife.info/official-Windows-7-SP1-ISO-from-Digital-River/
Paul
-
SERVICE LISTENS is not on node 2 of the CARS
I added a SERVICE, srvctl, cluster and it is posted as a RESOURCE and online both nodes
--------------------------------------------------------------------------------
Cluster resources
--------------------------------------------------------------------------------
ORA.db_name. SRV_NAME.svc
1 Server1 online online
2 server2 online online
... Unfortunately, the SERVICE appears in the LISTENER on node 1, but not from node2
[server1] > lsnrctl SERVICES
.
.
Service "SRV_NAME" has 1 instance (s).
Instance "rac1" READY State, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0 status: ready
LOCAL SERVER
[server2] > lsnrctl SERVICES
Do not display
The command of the user: srvctl config database-d db_name - one
.. the service is display and both nodes are displayed
[server2] > srvctl config database-d wamuat - a
Unique name of database: DB_NAME
Name of the database:
Oracle home: /u03/wamdb/11.2.0
User Oracle: wamdb
SPFile: +DG_FRA/DB_NAME1/PARAMETERFILE/spfile.1482.842535585
Domain:
Startup options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: DB_NAME
Instances of the databases: Database1, Database2
Of disk groups: DG_DATA, DG_FRA
Paths of mount point:
Services: SRV_NAME
Type: CARS
Database is enabled
Database is managed administrator
Why the SERVICE is not in the EARPIECE on the NŒUD 2?
Here is the SYNTAX used; This update is for information about you and all the others who will be or will be able to test this:
ALTER system set local_listener = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = db_hostname1 - vip)(PORT=1521)))' scope = the two SID = 'Database1';
ALTER system set local_listener = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = db_hostname2-vip)(PORT=1521)))' scope = the two SID = 'Database2';
This must be done so that added to the cluster service has been on the listener on both hosts of database server. Thus, this has created high availability expected.
Best regards and thank you again!
-
Need the XQuery function that compares two nodes.
Is there a any function XQuery for the OSB 10 g which compares two nodes with a correct management of redundant namespaces?
There is a function "" fn:deep - equality "that compares two nodes." But it fails when one node is to have redundant namespaces as an attribute.
I need a XQuery function that compares two nodes for the same content, same child nodes and their content, the same attributes of the child nodes except the attribute xmlns for one of the node that has redundant namespaces (namespace that are already defined in the parent nodes or any unnecessary space of names).
for example, it should treat following two equal nodes:
< has t '1' = >
< xmlns:ns1 b = "ns1" >
2
< /b >
< /a >
< has t '1' = >
< b >
2
< /b >
< /a >
Above two nodes are the same attributes and content except 1st node attribute xmlns. Wise business scenario it is redundant but not bad, same case can occur and I need to take care of these scenarios.
Please let me know about a feature or logic to treat thisin fact the XMLs 2 you posted are different to a '2 '.
I tried this:
XQuery version "1.0" encoding "Cp1252";
(: pragma type = "xs: anyType" ::))declare namespace xf = "http://tempuri.org/OSB%20Project%201/compare/";
declare function:compare() xf
{element (*)}Let $a: = (t = '3')(b xmlns:ns="ns") 2 (/ b) (/a)
Let $b: = (a t = "3") (b) 2 / (b) (/a)return
{fn:deep - equal ($a, $b)}
};XF:Compare()
and it does not work as expected, it is the additional xmlns:ns = 'ns' are ignored...
I havereal -
Hi I noticed recently that now my restoration of the work system - properties - show two drives C: and D: WHY? I want to only show C:
He has never done this before and I don't want to show him D: at all, I have a HP and the D: drive is my restore disc, with D: listed means that he could get crushed and I don't want to appear in the recovery menu.
How can I delete the D: drive on the recovery menu but the C: DRIVE ON leave...
Thank you
Hi I noticed recently that now my restoration of the work system - properties - show two drives C: and D: WHY? I want to only show C:
He has never done this before and I don't want to show him D: at all, I have a HP and the D: drive is my restore disc, with D: listed means that he could get crushed and I don't want to appear in the recovery menu.
How can I delete the D: drive on the recovery menu but the C: DRIVE ON leave...
Thank you
With all due respect, you are incorrect. You simply did not notice before D drive. D drive is a logical drive. To the best of my knowledge there is no way to prevent it from the show. However, simply disable the system for D drive restore.
I do not vote for me I'm not here for points. If this post helps you, vote. Visit my forum @ http://repairbotsonline.com/ -
two nodes ASM has the same instance name
Hello
I created a grid of ASM of two nodes, when the grid facility (11.2.0.1) finish he created the + ASM1 as instance name for my two knots.
I have install the ORACLE_SID in + ASM1 and + ASM2 node1 and node2, respectively prior to installation.
What is wrong, I do it for the installation of the grid? Please suggest.
Thank you
To create a virtual environment of RAC in VirtualBox or to share devices in an environment of ASM, you should turn off the virtual machine and change devices in VirtualBox using the following command:
$ VBoxManage modifyhd asmdisk1.vdi - shareable type
Then you can add the same features and use the disgroups on different nodes of the DSO. BTW, this is rather a question of the use of VirtualBox for which there is a special forum.
-
PIN dbms_cube.build jobs parallel to a specific node on the CARS
Is it possible to Pin dbms_cube.build jobs parallel to a specific node on CARS. Currently, work with say parallelism of 10 bays on all nodes of the RAC.
Is it possible to control for the jobs of the child works on the subset of nodes. Unable to see how we can link to categories of jobs and services with dbms_cube.build.
Any suggestions will be much appreciated.JOB_CLASS was added in 11.2.0.2 precisely for this purpose. It is undocumented, because he missed the 11.2.0.1. Deadline for documentation, but it has exactly the same meaning as the job_class parameter in DBMS_SCHEDULER. CREATE_JOB.
-
determine if the camera is a camera or two nodes
Hello world
is there a way to determine via scripts, if a camera is a camera of a node or a camera of two nodes?
I tried to check if
Camera.Property ("ADBE Transform Group"). Property ("Point of Interest")
is defined, but it doesn't seem to exist also for the cameras of a node that is not a point of interest.
Best,
Mathias
You must use a workaround to check if properties are active. It's the one I use generally:
activeItem var = app.project.activeItem;
var cam = activeItem.layer (1);
var anchProp = cam.property("ADBE_Transform_Group").property ("ADBE Anchor Point");
point of interest is the anchor.
var propVisible = true;
try {}
anchProp.selected = true;
} catch (e) {}
propVisible = false;
}
If (propVisible) anchProp.selected = false;
Alert ("visible property =" + propVisible);
-
Color of text in af:tree with the definitions of two nodes
Hi all
I use JDev 11.1.1.5.0
I have an af:tree component that got two definitions of nodes (two different iterators). I want to display the data in other colors with other icons etc. According to the definition of node.
I wanted to use EL in the Style section in the properties of the af Component Inspector: tree, but I don't know how to get the node current definition name.<tree IterBinding="OrganizacjeGlowneIterator" id="OrganizacjeGlowne"> <nodeDefinition DefName="proby.model.views.ElorganizacjeView" Name="OrganizacjeGlowne0" TargetIterator="${bindings.OrganizacjeEditIterator}"> <AttrNames> <Item Value="Kod"/> <Item Value="Nazwa"/> <Item Value="Typorganizacji"/> </AttrNames> <Accessors> <Item Value="ElorganizacjeView" Label="strukturaOrganizacyjnaPageDef_OrganizacjeGlowne_proby.model.views.ElorganizacjeView_ElorganizacjeView"/> <Item Value="StanowiskaUsersView" Label="strukturaOrganizacyjnaPageDef_OrganizacjeGlowne_proby.model.views.ElorganizacjeView_StanowiskaUsersView"/> </Accessors> </nodeDefinition> <nodeDefinition DefName="proby.model.views.StanowiskaUsersView" Name="OrganizacjeGlowne1" TargetIterator="${bindings.StanowiskaUsersEditIterator}"> <AttrNames> <Item Value="NazwaStanowiska"/> <Item Value="ImieUsera"/> <Item Value="NazwiskoUsera"/> <Item Value="EmailUsera"/> </AttrNames> <Accessors> <Item Value="StanowiskaUsersView_2"/> </Accessors> </nodeDefinition> </tree>
How to change color dynamically based on the current definition of node?
Any help will be appreciated.
Kind regards
Wojtek.Hello
This EL
#{node.hierTypeBinding.structureDefName}
Returns the name of the name of the View node and package object
If you could do
#{node.hierTypeBinding.structureDefName == "proby.model.views.ElorganizacjeView"? Red: white}
for the nodes of color code
Frank
-
TreeView: Line white between the two nodes are not appear
Hi all
I added a treeview control in my dialog plugin for InDesign CS3 and CS4.
In CS4, it works fine but in CS3, I get a strange question.
Question: A blank line between two nodes may not appear. See the image below
I am referring to the white line which we can see in the InDesign paragraph style palette / all indesign sample as the Board treeview as shown below
I tried this problem but has not found a solution
Please help me solve this problem.
Kind regards
Alam
I had a similar problem, but in the end, I couldn't figure how to remove the white lines.
I have given up trying to remove the white and just changed the color of the treeview and everything that was drawn on the top in white.
It was the only way I managed to hide lines.
-
Two questions regarding the restoration of the system.
If you restore a computer to the factoy setting, it should get rid of any virus or spyware that is on this computer?
Is it normal that the text and graphics to appear a bit odd during the restoration of the system, it seems that the resolution is not terrible.
Thanks in advance.
Hello
There are some malicious programs that can survive even a format and a facility so if your restoration or
Recovery has been infected certainly the malware might still be in the game. Did you use a Restore Point
who she returned to a shortwhile ago, or do a restore to the new factory
installation? A restoration is most likely still infected only once.The video driver may need to be updated.
This is my generic how updates of appropriate driver:
This utility, it is easy see which versions are loaded:
-Free - DriverView utility displays the list of all device drivers currently loaded on your system.
For each driver in the list, additional useful information is displayed: load address of the driver,
Description, version, product name, company that created the driver and more.
http://www.NirSoft.NET/utils/DriverView.htmlFor drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
Control Panel - device - Graphics Manager - note the brand and complete model
your video card - double - tab of the driver - write version information. Now, click on update
Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
Uninstall - REBOOT it will refresh the driver stack.Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
with their own software and drivers and all other main drivers that you have.Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
BIOS, Chipset and software updates on the site of the manufacturer of the system here.)Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
each installation.Always check in the Device Manager - drivers tab to be sure the version you actually install
presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
in particular that) so to install a driver - reboot - check that it is installed and repeat as
necessary.Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
manually by model.Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlIf you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
Updates, that leaves about Windows updates but it will not install the drivers that will be generally
older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
get new manually if you wish.How to disable automatic driver Installation in Windows Vista - drivers
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx===========================
If you need to search for malware:
No one program cannot be used to detect and remove any malware. Added that often easy to
detect malware is often accompanied by a much more difficult to detect and remove the payload. If its
better to be too full now than to pay the price much later. Check with these extreme
Overkill point and then run the cleaning only when you are sure that the system is clean.It can be made repeatedly in Mode safe - F8 tap that you start, however, you must also run
the regular windows when you can.Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone. (If Rootkits
UnHackMe execution)Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
Malwarebytes - free
http://www.Malwarebytes.org/Run the malware removal tool from Microsoft
Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.
You should get this tool and its updates via Windows updates - if necessary, you can download
It's here.Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
(Then run MRT as shown above.)Microsoft Malicious - 32-bit removal tool
http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=enMicrosoft Malicious removal tool - 64 bit
http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=enalso install Prevx to be sure that it is all gone.
Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
Prevx - Home - free - small, fast, exceptional CLOUD protection, working with other security programs.
It is a single scanner, VERY EFFICIENT, if it finds something to come back here or use Google to see
How to remove.
http://www.prevx.com/ <-->-->
http://info.prevx.com/downloadcsi.asp <-->-->Choice of PCmag editor - Prevx-
http://www.PCMag.com/Article2/0, 2817,2346862,00.aspTry the demo version of Hitman Pro:
Hitman Pro is a second scanner reviews, designed to save your computer from malicious software (viruses,
Trojan horses, rootkits, etc.). that has infected your computer despite all security measures that you have
taken (such as the anti-virus software, firewall, etc.).
http://www.SurfRight.nl/en/hitmanpro--------------------------------------------------------
If necessary here are some free online scanners to help the
http://www.eset.com/onlinescan/
http://OneCare.live.com/site/en-us/default.htm
http://www.Kaspersky.com/virusscanner
Other tests free online
http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1--------------------------------------------------------
Also do to the General corruption of cleaning and repair/replace damaged/missing system files.
Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe)
program generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html-----------------------------------------------------------------------
If we find Rootkits use this thread and other suggestions. (Run UnHackMe)
I hope this helps.
Rob - bicycle - Mark Twain said it is good.
-
Recover + restore and backup CARS
Hello
I tried in the last days RAC RMAN backups on disks!
I have two node RAC - Systems Version 11.2.0.2 on Linux Redhat 5.4 X 86 - 64.
+ Node names stb, dwh
+ Name of the database: RAC
+-The instance name 1: RAC1 on stb
+ Name of instance 2: RAC2 on dwh
+ Database catalog CATDB on stb
+ ASM-Volumm groups of DATA, FLASH
RAC database has been configured with RMAN in CATDB:
RMAN > set DBID 2329313036
executing command: SET DBID
his name is 'CARS' and DBID is 2329313036
RMAN > show all.
Database with RMAN db_unique_name configuration parameters are:
CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
CONFIGURE BACKUP OPTIMIZATION
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
SET UP THE DEVICE TYPE DISK PARALLELISM 2 TYPE OF BACKUP BACKUPSET.
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE CHANNEL DEVICE TYPE DISK CONNECT 1 ' * sys/psw@RAC1*';
CHANNEL to CONFIGURE 2 DEVICE TYPE DISK CONNECT ' * sys/psw@RAC2*';
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
RMAN > DATABASE INCREMENTAL LEVEL 0 BACKUP;
RMAN > list backup;
List of backup sets
===================
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
Incr 156 0 M DISK 00:01:10 408,46 January 26, 11
BP key: 161 status: AVAILABLE Tablet: NO Tag: TAG20110126T151554
Part name: +FLASH/rac/backupset/2011_01_26/nnndn0_tag20110126t151554_0.267.741453361
List of defined backup data files 156
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
2 0 1164421 +DATA/rac/datafile/sysaux.257.741330851 incr 26 January 11
3 0 incr 1164421 +DATA/rac/datafile/undotbs1.258.741330851 26 January 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
Incr 157 0 M DISK 00:01:17 668,51 26 January 11
BP key: 162 situation: AVAILABLE Tablet: NO Tag: TAG20110126T151554
Part name: +FLASH/rac/backupset/2011_01_26/nnndn0_tag20110126t151554_0.266.741453357
List of defined backup data files 157
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
1 0 incr 1164414 +DATA/rac/datafile/system.256.741330849 26 January 11
4 0 incr 1164414 +DATA/rac/datafile/users.259.741330851 26 January 11
5 0 incr 1164414 +DATA/rac/datafile/example.264.741331067 26 January 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
158 full 17.70 M DISK 00:00:09 26 January 11
BP key: 163 situation: AVAILABLE Tablet: NO Tag: TAG20110126T151723
Part name: +FLASH/rac/autobackup/2011_01_26/s_741453443.268.741453451
SPFILE included: Modification Date: January 26, 11
SPFILE db_unique_name: CARS
Control file included: cash SNA: 1164584 cash time: 26 January 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
159 full 17,70 M DISC 10:00:00 January 27, 11
BP key: 164 Situation: AVAILABLE Tablet: NO Tag: TAG20110127T170842
Part name: +FLASH/rac/autobackup/2011_01_27/s_741546522.260.741546531
SPFILE included: Date modified: 27 January 11
SPFILE db_unique_name: CARS
Control file included: cash SNA: 1249721 cash time: 27 January 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
160 full 17.70 M DISK 00:00:10 January 28, 11
BP key: 165 situation: AVAILABLE Tablet: NO Tag: TAG20110128T161437
Part name: +FLASH/rac/autobackup/2011_01_28/s_741629677.282.741629687
SPFILE included: Modification Date: 28 January 11
SPFILE db_unique_name: CARS
Control file included: cash SNA: 1325174 cash time: January 28, 11
RMAN >
The backup worked and looked good.
After that, I removed all the subdirectories + DATA/PAP/in ASM with ASMCMD and I tried to rebuild the CARS database.
SPFile restore failed with:
RMAN > restore spfile to tag TAG20110128T161437;
From restoration to February 20, 11
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 20/02/2011 13:44:57
RMAN-12001: could not open the channel ORA_DISK_1
RMAN-10008: could not create context channel
RMAN-10003: unable to connect to the target database
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
RMAN > quit
Ist of reason:
/ Home/grid > lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on February 20, 2011 14:40:49
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start date February 20, 2011 10:16:52
Uptime 0 days 4 h 23 min 57 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/11.2.0.2/grid/network/admin/listener.ora file
The listener log file /U01/app/grid/diag/tnslsnr/STB/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.2.5) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.2.15) (PORT = 1521)))
Summary of services...
Service '+ ASM' a 1 instance (s).
Instance '+ ASM1' READY State, has 1 operation for this service...
'CARS' service has 1 instance (s).
Instance "RAC1", BLOCKED status, a 1 operation for this service...
Service "STRM" has 1 instance (s).
Instance "STRM1" READY State, has 1 operation for this service...
Service 'STRMXDB' has 1 instance (s).
Instance "STRM1" READY State, has 1 operation for this service...
Service 'TESTDB' is 1 instance (s).
Instance "TESTDB", State LOAN, has 1 operation for this service...
Service 'TESTDBXDB' has 1 instance (s).
Instance "TESTDB", State LOAN, has 1 operation for this service...
Service 'catdb' has 1 instance (s).
Instance "catdb' READY State, has 1 operation for this service...
Service 'catdbXDB' has 1 instance (s).
Instance "catdb' READY State, has 1 operation for this service...
The command completed successfully
RAC1 ist now blocked.
TNSNAMES. ORA:
/U01/app/Oracle/product/11.2.0.2/Db_1/network/admin > discovers tnsnames.ora
tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0.2/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
RAC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC)
)
)
STRM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = STRM)
)
)
OLAP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OLAP)
)
)
RAC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC)
)
)
RAC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC)
)
)
CATDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = stb) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = catdb)
)
)
REPORT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = REPORT)
)
)
LISTENERS_SCAN =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.11)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.12)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.13)(PORT = 1521))
)
OLTP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OLTP)
)
)
What have I done wrong? Can any Expert help me find a solution?
Thanks and greetings
hqt200475Hello
Please when post msg/log/error/scripts using '{code}' formatting options described in the FAQ.
http://forums.Oracle.com/forums/help.jspa
+ Node names stb, dwh
+ Name of the database: RAC
+-The instance name 1: RAC1 on stb
+ Name of instance 2: RAC2 on dwh
+ Database catalog CATDB on stb
+ ASM-Volumm groups of DATA, FLASHRAC database has been configured with RMAN in CATDB:
RMAN> set DBID 2329313036 executing command: SET DBID database name is "RAC" and DBID is 2329313036
RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE; RMAN> list backup; List of Backup Sets =================== BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 158 Full 17.70M DISK 00:00:09 26-JAN-11 BP Key: 163 Status: AVAILABLE Compressed: NO Tag: TAG20110126T151723 Piece Name: +FLASH/rac/autobackup/2011_01_26/s_741453443.268.741453451 SPFILE Included: Modification time: 26-JAN-11 SPFILE db_unique_name: RAC Control File Included: Ckp SCN: 1164584 Ckp time: 26-JAN-11 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 159 Full 17.70M DISK 00:00:10 27-JAN-11 BP Key: 164 Status: AVAILABLE Compressed: NO Tag: TAG20110127T170842 Piece Name: +FLASH/rac/autobackup/2011_01_27/s_741546522.260.741546531 SPFILE Included: Modification time: 27-JAN-11 SPFILE db_unique_name: RAC Control File Included: Ckp SCN: 1249721 Ckp time: 27-JAN-11 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 160 Full 17.70M DISK 00:00:10 28-JAN-11 BP Key: 165 Status: AVAILABLE Compressed: NO Tag: TAG20110128T161437 Piece Name: +FLASH/rac/autobackup/2011_01_28/s_741629677.282.741629687 SPFILE Included: Modification time: 28-JAN-11 SPFILE db_unique_name: RAC Control File Included: Ckp SCN: 1325174 Ckp time: 28-JAN-11 RMAN>
The backup worked and looked good.
After that, I removed all the subdirectories + DATA/PAP/in ASM with ASMCMD and I tried to rebuild the CARS database.
SPFile restore failed with:
RMAN> restore spfile from tag TAG20110128T161437; Starting restore at 20-FEB-11 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 02/20/2011 13:44:57 RMAN-12001: could not open channel ORA_DISK_1 RMAN-10008: could not create channel context RMAN-10003: unable to connect to target database ORA-12514: TNS:listener does not currently know of service requested in connect descriptor RMAN> quit
What have I done wrong? Can any Expert help me find a solution?
Everything you need is available as because you are restoring on site. That is, rman target / catalog xxx@xxxx
Follow these steps:
START a dummy Instance to run restore SPFILE with RMAN. This is necessary because rman are not running restore without instance.
for example
cd $ORACLE_HOME/dbs Just make a backup of current INIT. cp initRAC1.ora initRAC1.ora_curr
export ORACLE_SID=RAC1 rman target / catalog xxxx@xxxx/xxxx RMAN> set DBID 2329313036; # This identifies in the catalog which database is used. # Now startup a dummy instance and perfom you restore. RMAN > run{ startup nomount; # Use one of the three options: restore spfile from tag "TAG20110128T161437"; # or restore spfile from autobackup; # or restore spfile from '+FLASH/rac/autobackup/2011_01_28/s_741629677.282.741629687'; shutdown immediate; startup nomount; restore controlfile from autobackup; startup mount; restore database; recover database; alter database open resetlogs; }
Your spfile will be restored to $ORACLE_HOME/dbs, you should move it to before ASM.
Kind regards
Levi Pereira -
Error ORA-17503 at the start of the instance data in the CARS
Hello!
I installed Oracle 11 g SE (11.2.0.4) with CARS with 2 nodes on RedHat 7.1 with separation of roles (grid and oracle db run under different users)
Just after installation it worked, I was able to connect to the database, create a table and see it on the two nodes of the RAC.
But after restarting the servers, I can not make it works again
Maybe someone could help me understand what I am doing wrong?
When I'm trying to start a database on the vm-ora-05 node instance, I get this:
sqlplus/nolog
01:35:22 @: > connect / as sysdba
Connect to an instance is idle.
01:35:28 SYS @ racdba1: > start
ORA-01078: failure in the treatment of system settings
ORA-01565: error in the identification of file "+ DATA/racdba/spfileracdba.ora".
ORA-17503: ksfdopn:2 could not open the file +DATA/racdba/spfileracdba.ora
ORA-12547: TNS: lost contact
01:35:32 SYS @ racdba1: >
**********************************
Environment variables for GRID
ORACLE_HOME=/U01/app/11.2.0.4/grid
ORACLE_SID = + ASM1
Environment variables for Oracle DB
ORACLE_HOME=/U01/app/Oracle/11.2.0.4/rachome1
ORACLE_SID = racdba1
**********************************
If I check the status of the disk groups and +DATA/racdba/spfileracdba.ora asmcmd file it seems to be Ok (for me at least)
[grid of grid@+ASM1] $asmcmd
ORACLE_SID = [+ ASM1]?
The Oracle base remains unchanged with the value/u01/app/oracle
[+] ASMCMD > lsdg
State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block
EXTERN MOUNTED N 512 4096 1048576 5121 4725 0 4725 0 SRC /.
EXTERN MOUNTED N 512 4096 4194304 153596 151240 0 151240 0 N DATA.
EXTERN MOUNTED N 512 4096 4194304 153596 153020 0 153020 0 N FRA.
ASMCMD [+] > ls-l +DATA/racdba/spfileracdba.ora
Name of type Redund time scratched Sys
N spfileracdba.ora = > +DATA/RACDBA/PARAMETERFILE/spfile.267.894291829
ASMCMD [+] > ls-l +DATA/RACDBA/PARAMETERFILE/spfile.267.894291829
Name of type Redund time scratched Sys
Fichier_parametres UNPROT COARSE NOV 03 01:00 Y spfile.267.894291829
**********************************
At the same time, do not know why oracleasm scandisks/listdisks appear not all discs...
[root@vm-ora-05 Diba] # / usr/sbin/oracleasm scandisks
Reload from disk partitions: fact
Cleaning up stale ASM disks...
ASM disks scanning system...
[root@vm-ora-05 Diba] # / usr/sbin/oracleasm listdisks
[root@vm-ora-05 Diba] #.
**********************************
Here is the result of the res stat-[NULL] crsctl you and crsctl check cluster
[grid@+ASM1 grid] $crsctl res stat - you
--------------------------------------------------------------------------------
TARGET STATE SERVER STATE_DETAILS NAME
--------------------------------------------------------------------------------
Local resources
--------------------------------------------------------------------------------
ORA. CRS.dg
Vm-ora-05 online
ORA. DATA.dg
Vm-ora-05 online
ORA. FRA.dg
Vm-ora-05 online
ORA. LISTENER.lsnr
Vm-ora-05 online
ORA.asm
LINE Started vm-ora-05 online
ORA. GSD
In offline mode offline vm-ora-05
ORA.net1.Network
Vm-ora-05 online
ORA.ons
Vm-ora-05 online
--------------------------------------------------------------------------------
Cluster resources
--------------------------------------------------------------------------------
ORA. LISTENER_SCAN1. LSNR
1 vm-ora-05 online
ORA. CVU
1 vm-ora-05 online
ORA. OC4J
1 vm-ora-05 online
ORA.racdba.db
1 stop an Instance offline online
Terminating the Instance offline in LINE 2
ORA.scan1.VIP
1 vm-ora-05 online
Ora - ora. VM - 05.vip
1 vm-ora-05 online
Ora - ora. VM - 06.vip
1 in LINE THROUGH MORE out of vm-ora-05
[grid@+ASM1 grid] $crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[grid@+ASM1 grid] $
Please help, this problem makes me crazy)
-rwxr-x---x 1 grid 209854149 28 Oct 02:10 /u01/app/11.2.0.4/grid/bin/oracle oinstall
^ ^ This x must do for setuid/setguid not x for execute
Check the docs on setuid/setguid and this note:
ASM login fails with ORA-12547: TNS: lost contact (Doc ID 1942740.1)
https://docs.Oracle.com/CD/E19683-01/816-4883/secfile-69/index.htmlThis should solve the problem:
/U01/app/11.2.0.4/grid/bin/Oracle chmod 6751
Concerning
Thomas
Maybe you are looking for
-
A part of the text in e-mail from a particular sender does not at all appear in gmail or my hotmail in Firefox e-mail account. When I go to the same email using Internet Explorer, all the text is there. I tried the email viewing with disabled modules
-
How to get out a 'Store Display Mode "(demo mode)?
I just bought a Sony Bravia KDL-55BX520She was exposed to store and I can't get out of "Store Display Mode"(demo mode)I tried a search on the web and everyone repeat to hold the arrow facing upwards and press the power button, but nothing happens.
-
How to: start the computer in safe mode
Cant.startcmputer.insafemode
-
Hi all I'm testing an application that uses the Rad_error_nocontent to which the device is fixed... at some point the problem is that I'm not able to get this value in some way. My BONES objective: BB10.2-> Android jellybean (API, 17) My device: Z10
-
Documents library folder display Incorrect order - cannot change
In the document library folder, I have three files My DocumentsPublic documentsDownloads I want to change the order that they appear in a My DocumentsDownloadsPublic documents I tried all kinds of combinations - etc. etc. alphabetical sorting no work