Oracle 9i RMAN backup intrigation with OSB 10.3
Hi expertise,
I want to add rman backup process(script) to OSB scheduling as like filesystem backup.
Admin Svr: Windows 2003
Media & Client: Solaris 10
DB: oracle 9i
thanks advance
Hi expertise,
I want to add rman backup process(script) to OSB scheduling as like filesystem backup.
Admin Svr: Windows 2003
Media & Client: Solaris 10
DB: oracle 9i
thanks advance
Similar Messages
-
Oracle 9i RMAN backup filling up all disk and failing at the very end
Hello to all and thank you in advance for any input from any of you.
I am new in oracle and the only one in my company with a little bit of oracle knowledge, which is not a whole lot.
I inherited a few servers (Linux and Windows based). We mostly run all our production environment on a Linux box hosting oracle 10g release 10.2.0.1 but we had a legacy application server that still runs on 9i release 9.2.0.1.0. This server is a windows 2003 box, the previous DBA or someone else with admin rights to this machine compressed the whole drive where oracle resides, when I started summarying the oracle assets, I saw this server with no backups scheduled and a compressed disk with very limited space after this compression, only 13 GB left, the database if uncompressed would definitively filled up all the disk. The machine is in used and cannot be taken down for more than a couple of hours. We tried adding another disk but the machine only accept it as a hot spare. The database is in archive mode, when I tried to run a RMAN backup, it start filling up the database drive until it's empty and it crashes the whole machine, it seems like the buffer is growing and growing until it fills up the whole drive. The only way to get the server up and running again is to reboot the machine since the server is more than 6 years old we are not please with this action because we are afraid the machine would go south in one of those reboots.
Has anyone heard of similar issues when running RMAN on a compressed drive? Can the compressed disk have any involvement in this kind of odd behaviour? I tried running the backup in debug mode and creating a log in a different disk (the one where the backup is going to) and still the same issue. Again any help is much appreciate,
Sincerely,
AlexSybrand,
Thank you for your fast response, I am going to use your previous post to answer one by one your question,
1 The Oracle binaries --- on a compressed drive > Yes
2 The Oracle database control files redo log files and datafiles on that same compressed drive? > Yes
3 The archived redo log ditto? > Yes
I know for a fact (as I have been using that in 9i) you can create a RMAN backup on a compressed drive, and you can have your archived redo go to a compressed drive. No problemo! > Excellent good news!!!
But I would never touch the data files. Please note backup sets are multiplexed files consisting of multiple datafiles, so RMAN would need to do some calculations to decompress several blocks at the same time and to calculate a new block and compress it.
Do you have enough space to:
a) (preferred) to make datafile copies instead of a backup >
Not in the drive that hosts the oracle instance but yes on an external usb drive (1TB) I attached to use as a backup repository, maybe this is why I am having these issues. I only have 13 GB left on that drive where the oracle instance resides (actually as I explained in a previous reply to Mark, the server only has 3 slots for disks, two of them as configured as RAID 1 and the other is a hot spare because the RAID configuration manager cannot can only added as hot-spare. The raided disk are partitioned in two, one small partition is for the OS and the other is for the oracle instance). When you said make a copy of the datafiles, I assumed you are talking about doing manual backups, and copying the database after using using "alter tablespace tablespace_name begin backup; then copy the file; alter tablespace tablespace_name end backup;
b) use filesperset=1 on the backup command line, so the multiplexing (and associated calculations) stop. I have not tried the option of fileperset yet but I can tryi it and see if that helps.
Can you post the last few lines of the RMAN log where RMAN bombs out? Note: the last few lines. Not all of it, or you must send some paracetamol in conjunction! >
When I ran the debug option, I stopped the backup at less than 20% because I didn't want to reboot the system in the middle of the production time, the backup consumed at least 3 GB during the time was running. The times I ran the RMAN backup I didn't used the debug option so I don't have a log long enough to send unless you want the last few lines of what I have.
Thanks again for your input,
Sincerely,
Alex -
Can we restore oracle 11g RMAN backups to 10g server
Hi,
I have RMAN backups (full backup)of oracle 11g database. My server was suddenly crashed due to hardware failure.
We have another Oracle 10g server. Is it possible to restore RMAN backups of 11g database to Oracle 10g server???
ThanksI don't have 11g server ready with me. The other server running oracle 10g and I dont have rights to install oracle 11g on the 10g server. So I can not test the RESTORE/RECOVER commands.
If anyone had experience in the past, please let me know whether we can RESTORE RMAN backups of 11g database to oracle 10g server...
Thanks -
RMAN backup finish with ORA-07445: exception encountered: core dump
Hi Group,
Repeatly we have problems with RMAN, showing this message, we need to know if this message is related to Oracle Database or is the backup software.
Thanks a lot
/pcpdci/oracle/product/920/admin/PCPDCI_bd/udump/pcpdci_ora_31187.trc
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
ORACLE_HOME = /pcpdci/oracle/product/920
System name: Linux
Node name: bd.copesa.cl
Release: 2.6.9-78.ELhugemem
Version: #1 SMP Wed Jul 9 15:57:33 EDT 2008
Machine: i686
Instance name: PCPDCI
Redo thread mounted by this instance: 1
Oracle process number: 948
Unix process pid: 31187, image: [email protected] (TNS V1-V3)
*** 2011-04-11 00:58:44.241
*** SESSION ID:(1519.515) 2011-04-11 00:58:44.240
SKGFQ OSD: Error in function sbtwrite2 on line 1031
SKGFQ OSD: Look for SBT Trace messages in file /pcpdci/oracle/product/920/admin/PCPDCI_bd/udump/sbtio.log
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x126, PC: [0xf6abe90b, __GI_strlen()+11]
Registers:
%eax: 0x00000126 %ebx: 0xf6b7dff4 %ecx: 0x00000002
%edx: 0x00000000 %edi: 0x00000000 %esi: 0x00000126
%esp: 0xfeff6154 %ebp: 0xfeff6794 %eip: 0xf6abe90b
%efl: 0x00010202
__GI_strlen()+0 (0xf6abe900) mov 0x4(%esp),%ecx
__GI_strlen()+4 (0xf6abe904) mov %ecx,%eax
__GI_strlen()+6 (0xf6abe906) and $3,%ecx
__GI_strlen()+9 (0xf6abe909) je 0xf6abe933
__GI_strlen()+11 (0xf6abe90b) cmpb %ch,(%eax) __GI_strlen()+13 (0xf6abe90d) jz 0xf6abe9aa
__GI_strlen()+19 (0xf6abe913) inc %eax
__GI_strlen()+20 (0xf6abe914) xor $3,%ecx
__GI_strlen()+23 (0xf6abe917) je 0xf6abe933
*** 2011-04-11 00:58:44.570
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [__GI_strlen()+11] [SIGSEGV] [Address not mapped to object] [0x126] [] []
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp()+274 call ksedst() 1 ? 0 ? 0 ? 1 ? 33396562 ?
===========================================================
Tracing started for:
Application Client : TDPO Linux86
Version : 5.4.1.0
===========================================================
SBT-13207 07/12/2010 16:32:29 send2.cpp(412): sbtwrite2(): Exit - DSMSENDDATA() failed. dsmHandle = 1
===========================================================
Tracing started for:
Application Client : TDPO Linux86
Version : 5.4.1.0
===========================================================
SBT-14436 07/12/2010 16:52:58 send2.cpp(412): sbtwrite2(): Exit - DSMSENDDATA() failed. dsmHandle = 1
===========================================================
Tracing started for:
Application Client : TDPO Linux86
Version : 5.4.1.0
===========================================================
SBT-15110 07/12/2010 17:01:58 send2.cpp(412): sbtwrite2(): Exit - DSMSENDDATA() failed. dsmHandle = 1
===========================================================
Tracing started for:
Application Client : TDPO Linux86
Version : 5.4.1.0Reply from nagulan is correct. Our turned out to be an error with TSM. The disk pool had filled up and it was writing this to tape before allowing the backup to continue. The backup didn't handle the "pause" event well and failed out. We only get this with V9 RMAN, not V10 or V11 RMAN backups. This has to be addressed by the backup vendor for V9 as the Oracle RMAN software doesn't seem to handle it well. Maybe configuring a really large timeout for responses MAY fix this, depending on what the code returned from the backup software vendor is and why RMAN isn't happy with it.
In the end it is an issue between V9 RMAN and the backup software we run TSM. Maybe version incompatibility or maybe just V9 is not that robust. -
Oracle 12c - rman backup for all PDB
Do we have any ready commands that will take backup for all the attached PDB in oracle 12c (container managed db)?
To backup your entire container DB, connect to your CDB & issue a full backup:
rman> backup database;
Backing up your pdb, either connect to the target itself & issue a backup or
rman> backup pluggable database porcl1;
Backing up only the root, connect to the target &
rman> backup database root;
always condensed nicely here: ORACLE-BASE - Multitenant : Backup and Recovery of a Container Database (CDB) and a Pluggable Database (PDB) in Oracle D… -
RMAN backup failes with ORA-19624 occurred during call to DBMS_BACKUP_RESTO
RMAN backup up failes with following errors. It works some times and then failes. When it failes then if i un install and reinstall Oralec agent and Backup cliet then it start working OK for few days and then again start getting error. See the messages below...
Recovery Manager: Release 8.1.7.0.0 - Production
RMAN-06005: connected to target database: MIMSDEVH (DBID=3525230908)
RMAN-06008: connected to recovery catalog database
RMAN> RUN { 2> execute script tapelevel0; 3> }
RMAN-03021: executing script: tapelevel0
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03015: error occurred in stored script tapelevel0
RMAN-03007: retryable error occurred during execution of command: allocate
RMAN-07004: unhandled exception during command execution on channel ch00
RMAN-10035: exception raised in RPC: ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-19557: device error, device type: SBT_TAPE, device name:
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
ORA-19511: SBT error = 4110, errno = 0, BACKUP_DIR environment variable is not set
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.DEVICEALLOCATE
Send me some solution...hi,
what is your backup script
can you post back the result of the command
show all;
from the rman command prompt
regards
Alan -
Oracle 9i Rman backup script !!
hi,
We are taking rman backup level 0. While making this backup the backup size is very big i.e. let's suppose if DB size is some 100GB then backup size would be somewhere around 60-70 GB. I need to know , does anybody having any script which compresses the backup sets after they get generated during the backup i.e. lets suppose 10 backup sets get generated, what I need to know is when RMAN is generating lets say 2 backup can we compress 1st backupset and so on like when 3rd backup set is getting generated we compress the 2nd backupset and so on till 10th backup set.
Let me know if anybody needs more information on this...I know it's a typical requirement :o))hello Hamir,
what operating system are you working on
after the backup you could call a routine in unix to gzip file_name
or in windows to use winzip.
however in 9i to restore the database you would then need to unzip the files first.
what possibility do you have to upgrade to 10g, this has the ability to automatically compress the backup set from within RMAN.
rgds
alan -
RMAN Backup error with Symantec Backup Tool
Hi
My Environment
OS Windows server 2003 R2
Oracle 10G R2 10.2.03 2 node RAC
When i am taking backup maually in the command prompt with RMAN, it is successful, but when we are trying from Symantec Backup tool we are getting errors like
RMAN 03002 failur of Backup lus archivelog is problem,
RMAN 10015 error compiling PL/SQL programme
RMAN 10033 error during compilation of job step2
Ora 00603 Oracle server session terminate by fatal error.
Ora 004030 out of process memory when trying to allocate 4120 bytes(pl/sql) MPCODE,BAMMA, BAM Buffer)
So please tell me why its giving the error with Symatntec and why when i am doing manually it is successfull.
What could be the solution, please we are taking daily and weekly backups with Symantec on HP tape library. Please suggest me to the needful.
Immediate reply highly apperciated
Thanks
Edited by: 873393 on Apr 17, 2012 10:09 AMHello,
Ora 00603 Oracle server session terminate by fatal error.
Ora 004030 out of process memory when trying to allocate 4120 bytes(pl/sql) MPCODE,BAMMA, BAM Buffer) The ORA-04030 error message is interesting. It means that the OS doesn't have enough memory for Oracle.
So you may monitore the Memory usage of the Server during the Symantec Backup, and check for any activity. May be the Symantec Backup runs when other Batch Jobs use already a lot of memory . You may also have to extend the RAM of the Server.
Also, check for the RMAN script used by Symantec and compare with the "manual" script. May be, some options are used with Symantec and consume more resources on the Server.
Hope this help.
Best regards,
Jean-Valentin -
Hi,
DB=10.2.0.4 OS=RHL (RAC with 2 nodes db01,db02). Following are the types of automated RMAN backups taken on db01.
- OCR
- Voting Disk
- Talespaces Snapshot
- Archivelog (every hour)
- Backup Incremental level 0 (SUNDAY)
-- backup incrementa level 1 (Mon-SAT)
- Autobackup of Control file and SPFILE (CONTROLFILE AUTOBACKUP ON)
Two main questions please. First, are these backups/backup types are enough FOR FULL RESTORE when talking about RMAN backup on RAC environment with 2 nodes? If not please suggest what else I need to backup?
Secondly, backup home location is /rman which I can see on db01 ONLY. This /rman directory I cannot see on db02. My question is that In case of db02 failure can I restore from this /rman directory? or do I need to automate backup schedules also on db02 separately?
[root@db01~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.9G 2.9G 814M 79% /
/dev/sda3 190M 34M 147M 19% /boot
tmpfs 16G 0 16G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol05
3.9G 137M 3.6G 4% /home
/dev/mapper/VolGroup00-LogVol03
3.9G 225M 3.5G 6% /tmp
/dev/mapper/VolGroup00-LogVol02
7.8G 3.7G 3.8G 50% /usr
/dev/mapper/VolGroup00-LogVol04
3.9G 379M 3.4G 11% /var
/dev/mapper/VolGroup00-ORACLE_BASE
12G 8.7G 2.6G 78% /oracle
10.10.28.140:/vol/px4cinconso
40G 1.4G 39G 4% /inconso_px
/dev/mapper/36001ec9000d5ea810000061349015d98
1.3T 551G 665G 46% /rman
[root@db02~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.9G 887M 2.9G 24% /
/dev/sda3 190M 34M 147M 19% /boot
tmpfs 16G 0 16G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol05
3.9G 137M 3.6G 4% /home
/dev/mapper/VolGroup00-LogVol03
3.9G 261M 3.5G 7% /tmp
/dev/mapper/VolGroup00-LogVol02
7.8G 3.7G 3.8G 50% /usr
/dev/mapper/VolGroup00-LogVol04
3.9G 355M 3.4G 10% /var
/dev/mapper/VolGroup00-ORACLE_BASE
12G 6.5G 4.8G 58% /oracle
10.10.28.140:/vol/px4cinconso
40G 1.4G 39G 4% /inconso_px
[oracle@db01~]$ rman target /
Recovery Manager: Release 10.2.0.5.0 - Production on Fri Feb 24 11:49:59 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: F1 (DBID=1245145263)
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 28 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/f1/fullbackup/%F';
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_f11.f'; # default
# Script for backup
level0 ()
run {
allocate channel c1 type disk maxpiecesize 2000M format '/rman/$ORACLE_SID/fullbackup/$ORACLE_SID-data-%U-%t';
allocate channel c2 type disk maxpiecesize 2000M format '/rman/$ORACLE_SID/archive/$ORACLE_SID-arch-%U-%t';
backup incremental level 0 tag = weeklyfull database channel c1
plus archivelog tag = ARCH_$TODAY delete all input channel c2;
release channel c1;
release channel c2;
run {
allocate channel c1 type disk;
delete noprompt obsolete;
release channel c1;
}Bundle of thanks.
Regards,
Edited by: 910385 on Feb 24, 2012 3:00 AMHi,
THanks alot for your feedback. Makes my life easier :) . But actually I started studying this all subject because of the following error message in the log file. I found out about this error that doesn't seem to harm. Just wait for the job to finish or it will sort out automatically. Here are the lines from the log file.
Fehler in Backuplogs gefunden:/oracle/log/fcp11-backup-2300.log: RMAN-00571:
===========================================================brRMAN-00569: ===============
ERROR MESSAGE STACK FOLLOWS ===============brRMAN-00571:
===========================================================brRMAN-03009: failure of
Control File and SPFILE Autobackup command on c1 channel at 02/08/2012
06:10:41brORA-00230: operation disallowed: snapshot control file enqueue unavailableI studied few important lines from one of my book, Oracle 11g RMAN backup and recovery (Roberg G Freeman) that I am going to write after the following MAIN ISSUE:
Node 1
RMAN> show all;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_fp11.f'; # default
Node 2
RMAN> show all;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_fp12.f'; # default
Thing which I just noticed regarding the above RMAN error is that snapcf_fp11.f can be seen on the Node 1 on todays date but snapcf_fp12.f was only on 10th jan.
[oracle@db01dbs]$ ls -lrth
-rw-r----- 1 oracle oinstall 20M Feb 27 15:10 snapcf_fcp11.f
[oracle@db02dbs]$ ls -lrth
-rw-r----- 1 oracle oinstall 20M Jan 10 13:28 snapcf_fcp12.fTHe few lines from the book which I mentioned above are: (Though you might not need to read those lines):
"You need to move the snapshot control file to a shared location if you plan to run backups from more than one node. If you do not move the snapshot control file to a shared file system such as OCFS or an ASM disk group, then you must make sure that the local destination is identical on all nodes."
My question is of course, how to sort out the above log file error. Becuse in our case, backups are run only from one node, and snaphost control file is not being moved to ASM disk groups. Local destination is also same on both the Nodes, isn't it (with different names). Why on Node 2 last snapshot was taken on 10th jan while on Node 1 it is todays date which seems fine.
Control file and SPFILE which I noticed are stored on ASM disk groups also, so being shared between the two Nodes.
(Sanme names/same location for control file and SPFILE on Node 1 and Node 2)
Control file:
+REDO1/fp1/controlfile/current.256.652803827
+DATA1/fp1/controlfile/current.441.652869697
SPFILE:
+DATA1/fp1/spfilefcp1.oraPlease suggest.
Thank you.
Regards,
Edited by: 910385 on Feb 27, 2012 7:43 AM -
Hi everybody
How to schedule RMAN backup automatically with some scheduling condition. Please can anyone help me.
Thanks in advancebridled wrote:
Hi everybody
How to schedule RMAN backup automatically with some scheduling condition. Please can anyone help me.
Thanks in advanceThere are 4 different ways at least; You didn't mentionned your OS version nor your Oracle version.
1- When creating the database using DBCA, you can choose the option to automatically backup your database: This is the easiest way.
2- Using Enterprise Manager database Control or Grid control; this is another easy way.
3- Using DBMS_SCHEDULER. You may use a detached job (check my note here: http://www.oracle-class.com/?p=2033 )
4- using crontab job.
Hope it helps! -
Rman backup job Suspended on Agent Unreachable
Hi,
I have Oracle 10.2.0 installed on windows 2003 server. i configure oracle suggested rman backup which works fine till now. but now it shows
Suspended on Agent Unreachable message and backup doesn't happen.
if check like
C:\Documents and Settings\Administrator>emctl status agen
Oracle Enterprise Manager 10g Database Control Release 10
Copyright (c) 1996, 2005 Oracle Corporation. All rights
Agent is Not Running
C:\Documents and Settings\Administrator>emctl start agent
Oracle Enterprise Manager 10g Database Control Release 10
Copyright (c) 1996, 2005 Oracle Corporation. All rights
These Windows services are started:
Application Experience Lookup Service
Application Management
Automatic Updates
COM+ Event System
COM+ System Application
Computer Browser
Cryptographic Services
DCOM Server Process Launcher
DefWatch
Distributed File System
Distributed Transaction Coordinator
DNS Client
DNS Server
Error Reporting Service
Event Log
File Replication Service
FTP Publishing Service
HTTP SSL
IIS Admin Service
Indexing Service
Intel PDS
Intersite Messaging
IPSEC Services
Kerberos Key Distribution Center
Logical Disk Manager
LogMeIn
LogMeIn Maintenance Service
Net Logon
Network Connections
Network Location Awareness (NLA)
NT LM Security Support Provider
OracleDBConsoleneo
OracleOraDb10g_home1iSQL*Plus
OracleOraDb10g_home1TNSListener
OracleServiceNEO
Plug and Play
Print Spooler
Protected Storage
Remote Access Connection Manager
Remote Procedure Call (RPC)
Remote Registry
Secondary Logon
Security Accounts Manager
Server
Shell Hardware Detection
SQL Server (MSSQLSERVER)
SQL Server Agent (MSSQLSERVER)
SQL Server Analysis Services (MSSQLSERVER)
SQL Server FullText Search (MSSQLSERVER)
SQL Server Integration Services
SQL Server Reporting Services (MSSQLSERVER)
Symantec AntiVirus Server
System Event Notification
Task Scheduler
TCP/IP NetBIOS Helper
Telephony
Terminal Services
Windows Management Instrumentation
Windows Search
Windows Time
Workstation
World Wide Web Publishing Service
The command completed successfully.means my agent was stop but now i start it.
i find on Google that this type of error happen when you change in database like ip address, sid etc but i haven't do any change.
i am facing same problem so many times.
Now how to reschedule the existing backup job so that it starts work again.
thanks
umeshthanks for reply
i do it.
C:\Documents and Settings\Administrator>emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://Techwave:5500/em/console/aboutApplication
EM Daemon is not running.
Logs are generated in directory C:\oracle\product\10.2.0\db_1/Techwave_neo/sysman/log
C:\Documents and Settings\Administrator>emctl stop dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://Techwave:5500/em/console/aboutApplication
The OracleDBConsoleneo service is stopping.....
The OracleDBConsoleneo service was stopped successfully.
C:\Documents and Settings\Administrator>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://Techwave:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleneo service is starting................
The OracleDBConsoleneo service was started successfully.now it is working fine.
now issue is how i reschedule my suspended job.
i got this error.
Edit is not supported for this job type, only general information about the job can be updated No scheduled executions - this job can not be modified. -
Hi Gurus,
My RMAN backup failed with below error.Please suggest.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 01/26/2013 22:48:56
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current
ORA-00258: manual archiving in NOARCHIVELOG mode must identify log
RMAN>
Recovery Manager complete.
Thanks,The message indicates that your database is in NOARCHIVELOG mode. You cannot make an RMAN Backup of a database that is OPEN if it is in NOARCHIVELOG mode.
You have two options
1. Make consistent RMAN Backups with the database only in MOUNT mode (SHUTDOWN ; STARTUP MOUNT)
OR
2. Configure for ArchiveLogs (create a target filesystem or FRA), set the database to ARCHIVELOG mode, monitor the volume of ArchiveLog generation, configure both Database and ArchiveLog backups.
Hemant K Chitale -
RMAN backup on local filesystem
Hi Experts,
I have an RMAN script and i want to use this script to backup my database on my local filesystem.How can i do it ? What changes i need to make in the script?How can i sepcify the path where i want to backup it ?
Actually this script was taken for doing it on tape drive .
Please help me.
connect target rman/rman@RMAN;
run
{ allocate channel t1 type 'SBT_TAPE' parms
'ENV=(NSR_SERVER=,NSR_DATA_VOLUME_POOL=,NSR_CLIENT=)'
format '/%d_%u_%s_%p/';
backup incremental level 0 ( database filesperset 8 include current controlfile );
sql 'alter system archive log current';
backup archivelog all delete input filesperset 10;
THanks & Regards,
MBas per oracle best practices, use default channels where possible, these makes management easy !
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman_backup/%F';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rman_backup/d_%d_s_%s_p_%p_t_%t' MAXPIECESIZE 2048 M;
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 1536 M PARMS "ENV=(NB_ORA_CLIENT=topdb1,NB_ORA_SERV=ilsdb2)" FORMAT 'd_%d_s_%s_p_%p_t_%t';
in the following example using default settings, parrallelism is set to 4 using veritas backup
first I take a backup to tape, see how channels get allocated, then to disk, old channels are released and new allocated to disk, this kind of backup policy makes things easy to manage and run, as reccomended by oracle.
RMAN> backup device type sbt current controlfile;
Starting backup at 11-JUN-07
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: sid=273 devtype=SBT_TAPE
channel ORA_SBT_TAPE_1: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
allocated channel: ORA_SBT_TAPE_2
channel ORA_SBT_TAPE_2: sid=224 devtype=SBT_TAPE
channel ORA_SBT_TAPE_2: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
allocated channel: ORA_SBT_TAPE_3
channel ORA_SBT_TAPE_3: sid=293 devtype=SBT_TAPE
channel ORA_SBT_TAPE_3: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
allocated channel: ORA_SBT_TAPE_4
channel ORA_SBT_TAPE_4: sid=219 devtype=SBT_TAPE
channel ORA_SBT_TAPE_4: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
channel ORA_SBT_TAPE_1: starting full datafile backupset
channel ORA_SBT_TAPE_1: specifying datafile(s) in backupset
including current controlfile in backupset
channel ORA_SBT_TAPE_1: starting piece 1 at 11-JUN-07
channel ORA_SBT_TAPE_1: finished piece 1 at 11-JUN-07
piece handle=d_TOPAZ_s_12304_p_1_t_624967342 comment=API Version 2.0,MMS Version 5.0.0.0
channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:02:37
Finished backup at 11-JUN-07
Starting Control File and SPFILE Autobackup at 11-JUN-07
piece handle=c-3348250252-20070611-05_TAPE_CONTROLFILE comment=API Version 2.0,MMS Version 5.0.0.0
Finished Control File and SPFILE Autobackup at 11-JUN-07
RMAN> backup device type disk current controlfile;
Starting backup at 11-JUN-07
released channel: ORA_SBT_TAPE_1
released channel: ORA_SBT_TAPE_2
released channel: ORA_SBT_TAPE_3
released channel: ORA_SBT_TAPE_4
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=273 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=224 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=293 devtype=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: sid=219 devtype=DISK
allocated channel: ORA_DISK_5
channel ORA_DISK_5: sid=283 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current controlfile in backupset
channel ORA_DISK_1: starting piece 1 at 11-JUN-07
channel ORA_DISK_1: finished piece 1 at 11-JUN-07
piece handle=/rman_backup/d_TOPAZ_s_12306_p_1_t_624967822 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 11-JUN-07
Starting Control File and SPFILE Autobackup at 11-JUN-07
piece handle=/rman_backup/c-3348250252-20070611-06 comment=NONE
Finished Control File and SPFILE Autobackup at 11-JUN-07
RMAN> -
Rman backup error: ORA-19502
I am running a rman backup script with incremental 1 level as
backup as backupset incremental level 1 cumulative device type disk tag 'Baan_bkup$LEVEL_0' database;
recover copy of database;
backup device type disk tag 'Baan_bkup$LEVEL_0' archivelog all not backed up;
backup archivelog until time 'sysdate-6' delete all input;
delete noprompt obsolete device type disk;
It has run almost two weeks and last night it showed this error and failed
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/08/2006 03:02:14
ORA-19502: write error on file "/dbrecovery/flashback/goi1rkdm_1_1", blockno 164865 (blocksize=8192)
ORA-27072: File I/O error
Additional information: 4
Additional information: 164865
Additional information: 782336
Linux Error: 2: No such file or directory
I checked the df -k and I still have about 6% space in my /dbrecovery disk, a separated space, and I did not find the file indicated either. So was still possible the space is full? or others reason?
I used the "delete obsolete"command in rman but nothing can be deleted.It seems your filesystem cannot handle large files (> 2G). Use 'maxpiecesize' option of 'allocate channel' command to limit the filesize.
Werner -
RMAN Automatic backup/recovery with oracle fail safe, windows cluster
Hello,
I have question,
1) Whether it is possible to do "RMAN Automatic Backup and recovery" in environment as ?
Environment: -
a. Windows clustering with windows server 2003 Enterprise Edition R2 (Two Node Clustering)
b. Shared disk ( RAID )
c. Oracle 10g standard edition one
d. Oracle fail safe v3.3.3 (for redundancy)
Here we have single oracle instance operating on single database whose files are located on shared disk.
2) If answer to above question is yes please specify if there is some good documentation to it.
Any help regarding this will be greatly appreciated.
Thanks in advance,
RahulYou just need to make sure that the RMAN scripts are always able to connect to the target database instance whether instance runs on cluster node 1 or cluster node 2
here, If oracle services(resources) will shift from Node1 to Node2 (due to media or any failure) during RMAN Backup then there will be break in connection, will it destroy my backup or will it get started automatically without any harm?
and also I want to know,
Do we need to setup another server which will have RMAN backup script running?
Maybe you are looking for
-
Report Problem need to fix the code
Hello Expert I am new to apex, I was given a task to interpret the code and fix the problem. This Apex application has a list of value where the user select the institution as a drop down list menu. After selecting the institution the main report bel
-
I get an error from iTunes saying it cant recognize the "iPhone"
I just upgraded to itunes 7.6.0.29, after that got a pop up with a message from iTunes saying it cant recognize the "iPhone" and to detach it and try again. Just for verification uninstalled 7.6 and reinstalled 7.5. The problem went away. Then upgrad
-
Hello All, I'm curious if anyone else has seen this error while loading an OSMF plugin dynamically: "Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type." You will only see this with the debug version of the Flash P
-
Viewing documents with 6.0 Standard
I have an olderr 6.0 Standard version and cannot view documents after a recent Reader upgrade. Is there a fix?
-
I'm having some issues with my trackpad on my late 2011 13" MacBook Pro. The trackpad works fine as far as I can tell if it's being held in my lap. However, if I hold the laptop from the bottom right corner (where the sleep light is), it seems like t