11gR1 backup for 11gR2 database clone.
Hi all,
Our OS is 64 bit RHEL 5.7. On this we have EBS R12.1.3. with db version 11.1. Recently I installed EBS 12.1.3 (actually installed 12.1.1 and upgraded to 12.1.3) on a VM and upgraded its 11.1.0.7 db to 11.2.0.3. Now as I want to test the CPU patches on this instance I decided to clone the production instance here. Since this is a higher version oracle home (11.2.0), I will have to do some new steps here but am not sure what they are. I have restored the controlfile, restored and recovered the database and opened the database with STARTUP UPGRADE command. What steps should I perform next?
Regards,
Vinod
I believe this is what you need to do:
- Clone your application tier node only
Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]
Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
- Re-apply the application patches you applied for 11.2.0.3 upgrade using "nodatabaseportion"
Interoperability Notes EBS 12.0 and 12.1 with Database 11gR2 [ID 1058763.1]
AD Command Line Options for Release R12 [ID 1078973.1]
- Apply CPU patches
Oracle E-Business Suite Releases 11i and 12 Critical Patch Update Knowledge Document (April 2013) [ID 1530756.1]
Thanks,
Hussein
Similar Messages
-
HOT Backups for smaller databases
Should we schedule hot backups for small databases? the database size is around 1.5 GB. We have already scheduled daily FULL DB Export.
The database is Oracle 8i.RMAN> run {
2> allocate channel ch1 type disk format 'e:\rman_backup\backup%d_DB_%u_%p';
3> backup database;
4> backup archivelog all;
5> release channel ch1;
6> }
RMAN-03022: compiling command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: allocate
RMAN-06172: not connected to recovery catalog database
RMAN> -
Hi Friends,
11gR2 Db
OEL 5.4
We are planning to install RAC for 11gR2 database, for a 2-Node configuration.
Is 11gR2 certified for RAC? Can you give me links on how to install it?
Another question is....Is it possible to install two(2) database RAC instance sharing on the 2-node configuration?
I want to install DEV and PROD RAC instance on the target 2-node config.
Thanks a lot,
Ms KHi Ms K,
RTFM: The installation section is really good:
Grid Infrastructure (Clusterware): http://www.oracle.com/pls/db112/to_pdf?pathname=install.112/e10812.pdf
RAC Installation: http://www.oracle.com/pls/db112/to_pdf?pathname=install.112/e10813.pdf
Also the installer checks a lot of things, so a lot easier than 10g.
If that is not enough, have a search in support.oracle.com for RAC Starter Kits.
Even if you do not have access to ULN (Unbreakable Linux network) you can install the oracle-validated package (this is referred to in the installation section).
As a update server use public-yum.oracle.com and the oracle-validated can be found under oss.oracle.com
To your second question: Yes it is possible to have 2 RAC database instances on the same cluster (sharing the 2-node configuration).
Sebastian -
RMAN backup for two databases with similar DBID
We have two databases with SID 'uiivc' and 'uiivc1' running from one of the HP Unix 11.11 PA-RISC server. I did configured RMAN backup for both databases. But it is found that both databases have same DBID [connected to target database: UIIVC (DBID=3005194057) for UIIVC & connected to target database: UIIVC1 (DBID=3005194057) for UIIVC1] and backup configured via crontab seen running fine with full backup at weekend and archivelog backup at daily for both databases. Now my query is that will it create any issues at time of restoration since both databases have similar DBID? Does RMAN uses DBID to distinguish databases?
Kindly help to clarifiy
Regards
Manoj Thakkan
[email protected]Hi Tycho,
I configured RMAN to store controlfile backups in different folders on each database.
UIIVC database:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc/cf%F';
UIIVC1 database:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc1/cf%F';
Server output:
uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc
total 43904816
-rw-r----- 1 oracle dba 21144928256 Jul 15 10:58 8rkk68p5_1_1
-rw-r----- 1 oracle dba 287110144 Jul 15 13:41 8tkk6sfv_1_1
-rw-r----- 1 oracle dba 862700544 Jul 16 08:00 90kk8sel_1_1
-rw-r----- 1 oracle dba 152350720 Jul 16 08:09 92kk8tgg_1_1
-rw-r----- 1 oracle dba 32145408 Jul 16 08:09 cfc-3005194057-20090716-01
uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc1
total 24186112
-rw-r----- 1 oracle dba 6373965824 Jul 13 13:10 83kk1ftf_1_1
-rw-r----- 1 oracle dba 784803840 Jul 13 13:46 85kk1j5e_1_1
-rw-r----- 1 oracle dba 1022674944 Jul 13 23:07 87kk2kjs_1_1
-rw-r----- 1 oracle dba 1814230016 Jul 14 23:46 89kk591i_1_1
-rw-r----- 1 oracle dba 1211042816 Jul 15 23:06 8bkk7tc0_1_1
-rw-r----- 1 oracle dba 1165975552 Jul 15 23:10 8ckk7tnr_1_1
-rw-r----- 1 oracle dba 10534912 Jul 15 23:10 cfc-3005194057-20090715-00
And I saw backups are placing in the respective folders too. So with these settings, can I safely assume there is no issues with RMAN backup and restore having similar DBID for two databases running on same server?
Regards
Manoj Thakkan -
Advice on whether to use ASM for 11gR2 databases
Hi all,
Hope I can get some advice here for ASM.
I'm going to upgrade all my 10.2 EE databases to 11gR2, and I will not be running RAC, only single instances and Data Guard. My storage is HP SAN. I wonder if it is worth the trouble (in our small shop) to run ASM.
Currently, my backups are done from a SAN perspective only, meaning that whatever is in the SAN storage is backed up.
How do I back up the files in ASM? Do I have to copy the backupsets to file system first ?
Thanks!
Junefjfranken wrote:
For small databases performance gain is zero, you only add complexity where a normal file system would be sufficient.Disagree.
Also, the reasoning is not valid. ASM works at device level. Not at cooked file system level.
This means that ASM directly uses the LUN (seen as a local scsi device) of the SAN. See LUN. Use LUN. That simple.
Not using ASM means that the o/s needs to be updated and configured. That LUN needs to be mounted. It needs to be formatted. The mount needs to be made permanent (via fstab or whatever).
This makes ASM less complex and cooked file system more complex.
Also consider that the mount and its contents are exposed to other s/w and processes and users. This raises issue such as access control and security - and the possibility of errant s/w trashing a database file because it happens to be running on the wrong mount or wrong directory.
This is not the case with an ASM diskgroup as it is not mounted and not visible as a normal cooked file system.
And if a cooked file system feature needed for a non-database files, an ACFS volume can be created in the diskgroup and mounted as a clustered file system. So it is not as if you loose the option of having a cooked file system on a LUN, when using ASM.
Database size has nothing to do with the decision between cooked file system or ASM when using SAN LUNs. Ease of use, manageability, and feature set, have. From this perspective a cooked file system for database storage is old and clunky and insecure, and ASM is flexible, performant, scalable and secure. -
DPM is Only Allowing Express Full Backups For a Database Set to Full Recovery Model
I have just transitioned my SQL backups from a server running SCDPM 2012 SP1 to a different server running 2012 R2. All backups are working as expected except for one. The database in question is supposed to be backuped up iwht a daily express
full and hourly incremental schedule. Although the database is set to full recovery model, the new DPM server says that recovery points will be created for that database based on the express full backup schedule. I checked the logs on the old DPM
server and the transaction log backups were working just fine up until I stopped protection the data source. The SQL server is 2008 R2 SP2. Other databases on the same server that are set to full recovery model are working just fine. If we
switch the recovery model of a database that isn't protected by DPM and then start the wizard to add it to the protection group it properly sees the difference when we flip the recovery model back and forth. We also tried switching the recovery model
on the failing database from full to simple and then back again, but to no avail. Both the SQL server and the DPM server have been rebooted. We have successfully set up transaction log backups in a SQL maintenance plan as a test, so we know the
database is really using the full recovery model.
Is there anything that someone knows about that can trigger a false positive for recovery model to backup type mismatches?I was having this same problem and appear to have found a solution. I wanted hourly recovery points for all my SQL databases. I was getting hourly for some but not for others. The others were only getting a recovery point for the Full Express
backup. I noted that some of the databases were in simple recovery mode so I changed them to full recovery mode but that did not solve my problem. I was still not getting the hourly recovery points.
I found an article that seemed to indicate that SCDPM did not recognize any change in the recovery model once protection had started. My database was in simple recovery mode when I added it (auto) to protection so even though I changed it to full recovery
mode SCDPM continued to treat it as simple.
I tested this by 1) verify my db is set to full recovery, 2) back it up and restore it with a new name, 3) allow SCDPM to automatically add it to protection over night, 4) verify the next day I am getting hourly recovery points on the copy of the db.
It worked. The original db was still only getting express full recovery points and the copy was getting hourly. I suppose that if I don't want to restore a production db with an alternate name I will have to remove the db from protection, verify
that it is set to full, and then add it back to protection. I have not tested this yet.
This is the article I read:
Article I read -
I am wondering how people do restores of very large DB's. Ours is not that large yet bit will grow to the point where exports and imports are not feasible. The data only changes periodically and as it is a web application,cold backups are not really an option. We don't run in archived log mode because of the static nature of the data. Any suggestions?
put the read only tables in a read only tablespace and slowly changing tables to another tablespace. the most frequent ones in another tablespace.
take transportable tablespace export of the frequently changing tablespace daily and slowly changing 2-3 times a week (depending on your site specifics). this involves nothing but a metadata export of the datadictionary info of the tablespaces exported and an OS level copy of the datafiles of those tablespaces.
this is the best way for you to backup/recover. check out oracle documentation or this website for transportable tablespaces.
I guess it comes to a point where you have to make a tradeoff between performance and recoverability. In my opinion always take recoverability over performance.
If the periodic change of data is nothing but a bulk data load then after the dataload take a backup of a database. having multiple recovery scenarios is the best way for recovery. -
Hot Backup for oracle database?
Dear all,
I want to change Cold Backup to Hot Backup. Does anyone how to do Hot Backup and has some simple document I can follow? If the database is running in ARCHIVELOG mode, is the size grow very fast or other effect will overcome?
Please advice,
AmyI want to change Cold Backup to Hot Backup. Does
anyone how to do Hot Backup and has some simple
document I can follow?online/hot backup don’t need to shutdown the database we can put the database in backup mode and then start taking backup even though users database activity read/write data going on. This strategy useful if ours database goes for 24x7.
For online/hot backup the database should be in archive mode.
I hope you know how to turn on archive.Before turning on check the archive on or not.
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 1
Next log sequence to archive 2
Current log sequence 2
SQL> you may also check it by connecting to database as sys
SQL> select log_mode from v$database;
LOG_MODE
ARCHIVELOG
SQL> if yours database is not in archive mode then first enable archive,please before turning on the archive take cold backup.
SQL>shutdown immediate
SQL>startup mount
SQL>alter database archivelog
SQL>alter database open;
SQL> archive log list
Now you are able to take hot/online backup ,its upto you you use user managed backup and recovery or use RMAN oracle own shipped free tool for backup and recovery ,however my recommendation would goes for RMAN.
http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96572/toc.htm
http://www.oracle.com/technology/deploy/availability/htdocs/rman_overview.htm
ARCHIVELOG mode, is the size grow very fast or other
effect will overcome?However, the growing size pace either fast or slow everyday can be impractical it alls depends on activity of yours database operation.You will have to observe it yourself by turning on archive log its vary database to database activity.
Khurram -
Rman backup for oracle11g database
Hi,
I want to take the rman backup of 11.2.0.1.0 database, but my catalog database is 10.2.0.1. So Is it possible to take it.
Please suggest me.
My target database : 11.2.0.1.0
OS: windows 2003 R2 server
My catalog database: 10.2.0.1
OS: windows 2003 R2 serverhere you go : http://www.comp.dit.ie/btierney/oracle11gdoc/backup.111/b28273/compat.htm
-
Backup Not Starting for 'Whole database offline + redo log backup' @ DB13
Hi Experts,
I am not able to perform 'Whole database offline + redo log backup' by DB13.
I have recently configured my 'init<SID>.sap' to take 'Whole database online + redo log backup' and its working perfectly fine.
I tried taking test backup for 'Whole database offline + redo log backup' but it didn't even started.
Thus I created another profile with name init<SID>back.sap and changed the Parameter
from 'backup_type = online' to 'backup_type = offline' and also tried by 'backup_type = offline_force'
rest all parameters being same as the profile init<SID>.sap
Kindly Suggest as I need to take set the backup Strategy as Mon-Fri -> 'Whole database offline + redo log backup' and Sat -> 'Whole database offline + redo log backup'
One more Query : While taking the redo log backup by DB13 why is it that some times it only saves the Files and some time it
saves and delete the files from the '/oracle/<SID>/oraarch' location. Please throw some light over this matter also.
Thanks,
JiteshHi Mr Bhavik,
Thanks for your reply.. Here are the details you have asked for.
1.My SAP BASIS Patch Level is : 10. ( We shall be updating it by the end of this Year)
2. Br*tools version is :
BRTOOLS 7.00 (11)
kernel release 700
patch level 11
3. I don't have any file with name alert<dbsid>.log file (located at /oracle/<SID>/saptrace/background/) but i do have alert_<SID>.log
I execute the command more -p G alert_JMD.log
after my 'Whole database offline + redo log backup' again failed at DB13 but I was not able to see any specific complains while executing the above action.
I got the Error Detailed Log in DB13 as :
Detail log: beeneedv.aft
BR0051I BRBACKUP 7.00 (20)
BR0055I Start of database backup: beeneedv.aft 2010-11-08 13.16.43
BR0484I BRBACKUP log file: /oracle/JMD/sapbackup/beeneedv.aft
BR0280I BRBACKUP time stamp: 2010-11-08 13.16.43
BR0261E BRBACKUP cancelled by signal 13
BR0056I End of database backup: beeneedv.aft 2010-11-08 13.16.44
BR0280I BRBACKUP time stamp: 2010-11-08 13.16.45
BR0054I BRBACKUP terminated with errors
4. No I have not yet Tried 'execute such Offline+REdo log backups using brback command', will Try and post it Definately
5. Query : select grantee, granted_role from dba_role_privs;
result :
SQL> select grantee, granted_role from dba_role_privs;
GRANTEE GRANTED_ROLE
SYS SAPDBA
SYS EXP_FULL_DATABASE
SYS CONNECT
IMP_FULL_DATABASE SELECT_CATALOG_ROLE
DBSNMP OEM_MONITOR
SAPSR3 CONNECT
OPS$SAPSERVICEJMD SAPDBA
SYS SELECT_CATALOG_ROLE
DBA DELETE_CATALOG_ROLE
DBA EXECUTE_CATALOG_ROLE
SYSTEM DBA
GRANTEE GRANTED_ROLE
OPS$ORAJMD SAPDBA
SAPDBA GATHER_SYSTEM_STATISTICS
SYS SCHEDULER_ADMIN
SYS AQ_USER_ROLE
SYS GATHER_SYSTEM_STATISTICS
SYS DELETE_CATALOG_ROLE
DBA GATHER_SYSTEM_STATISTICS
DBA IMP_FULL_DATABASE
EXECUTE_CATALOG_ROLE HS_ADMIN_ROLE
IMP_FULL_DATABASE EXECUTE_CATALOG_ROLE
OPS$JMDADM CONNECT
GRANTEE GRANTED_ROLE
SYS LOGSTDBY_ADMINISTRATOR
SYS EXECUTE_CATALOG_ROLE
SYS RESOURCE
DBA SCHEDULER_ADMIN
DBA SELECT_CATALOG_ROLE
EXP_FULL_DATABASE EXECUTE_CATALOG_ROLE
SAPDBA SELECT_CATALOG_ROLE
SYS SAPCONN
SYS OEM_ADVISOR
SYS IMP_FULL_DATABASE
SELECT_CATALOG_ROLE HS_ADMIN_ROLE
GRANTEE GRANTED_ROLE
OUTLN RESOURCE
LOGSTDBY_ADMINISTRATOR RESOURCE
SAPSR3 RESOURCE
OPS$SAPSERVICEJMD RESOURCE
SYS RECOVERY_CATALOG_OWNER
DBA EXP_FULL_DATABASE
EXP_FULL_DATABASE SELECT_CATALOG_ROLE
TSMSYS RESOURCE
OPS$ORAJMD RESOURCE
SAPCONN SELECT_CATALOG_ROLE
SYS OEM_MONITOR
GRANTEE GRANTED_ROLE
SYS AQ_ADMINISTRATOR_ROLE
SYS DBA
SYSTEM AQ_ADMINISTRATOR_ROLE
OPS$ORAJMD CONNECT
OPS$JMDADM SAPDBA
OPS$JMDADM RESOURCE
SAPSR3 SAPCONN
SYS HS_ADMIN_ROLE
SYSTEM SAPDBA
OPS$SAPSERVICEJMD CONNECT -
Best pratices for RMAN backup management for many databases
Dear all,
We have many 10g databases (>40) hosted on multiple Windows servers which are backup up using RMAN.
A year ago, all backup's were implemented through Windows Scheduled Tasks using some batch files.
We have been busy (re)implementing / migrating such backup in Grid Control.
I personally prefer to maintain the backup management in Grid Control, but a colleague wants now to go back to the batch files.
What i am looking for here, are advices in the management of RMAN backup for multiple databases: do you guys use Grid Control or any third-party backup management tool or even got your home-made solution?
One of the discussion topic is the work involved in case that the central backup location changes.
Well... any real-life advices on best practices / strategies for RMAN backup management for many databases will be appreciated!
Thanks,
ThierryHi Thierry,
Thierry H. wrote:
Thanks for your reaction.
So, i understand that Grid Control is for you not used to manage the backups, and as a consequence, you also have no 'direct' overview of the job schedules.
One of my concern is also to avoid that too many backups are started at the same time to avoid network / storage overload. Such overview is availble in Grid Control's Jobs screen.
And, based on your strategy, do you recreate a 'one-time' Oracle scheduled job for every backup, or do your scripts create an Oracle job with multiple schedule?
You're very welcome!
Well, Grid Control is not an option for us, since each customer is in a separate infrastructure, and with their own licensing. I have no real way (in difference to your situation) to have a centralized point of control, but that on the other hand mean that I don't have to consider network/storage congestion, like you have to.
The script is run from a "permanent" job within the dba-scheduler, created like this:
dbms_scheduler.create_job(
job_name => 'BACKUP',
job_type => 'EXECUTABLE',
job_action => '/home/oracle/scripts/rman_backup.sh',
start_date => trunc(sysdate)+1+7/48,
repeat_interval => 'trunc(sysdate)+1+7/48',
enabled => true,
auto_drop => false,
comments => 'execute backup script at 03:30');and then the "master-script", determines which level to use, based on weekday from the OS. The actual job schedule (start date, run interval etc) is set together with the customer IT/IS dept, to avoid congestion on the backup resources.
I have no overview of the backup status, run times etc, but have made monitoring scripts that will alert me if/when a backup either fails, or runs for too long. This, in addition with scheduled disaster/recovery tests makes me sleep rather well at night.. ;-)
I realize that there (might be) better ways of doing backup scheduling in your environment, since my requirements are so completely different than yours, but I guess that we all face the same challenges in unifying the environments as much as possible, to minimize the amount of actual work we have to do. :-)
Good luck!
//Johan -
Does Veridata have Agent for oracle database 11gr2 on linux?
Hi,
Does veridata have agent for oracle database 11gr2 on linux? From the edelivery.oracle.com, I just found the latest version is 10.2. When I installed the 10.2 version agent for oracle database 11gr2, the agent needs libnnz10.*. Does 10.2 version agent support for 11gr2 database? Thank you.http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html
PS: Google still works. ;-) -
Incremental updated RMAN backup help 11gR2
Dear all,
My manager ask me to build RMAN scripts to backup the 11gr2 database in redhat Linux.
Any help how to achieve this using RMAN?
thank youI am not asking you to write a script. I can write it by myself.
What I need to know:
1- Incremental level 0 is a must in my case or I can just use the command below and it does everything (Level 0 , level 1 and level 0 incrementally updated)
backup incremental level 1 for recover of copy tag 'ALL_BACKUP' database;
2- The TAG must be unique every week, or can be always "ALL_BACKUP" ?
3- Which retention period is adequate in my case? 8 days are ok ?
4- Should I update the CONTROL_FILE_RECORD_KEEP_TIME to more than 7 days?
thank you -
Hi,
i try to backup a DPF Database via trx db13 but there is no way to make it.
The standard backup actions shown in the action-pad are only for single partition databases. Because the db13 do not support event-control i am not able to use single jobs for each partition to run one after another. Time oriented control is no
constitute alternative to backup DPF databases.
How do you think i should backup the database?
Best regards, TinoHi Waldemar,
yes you are right, i can generate a backup command using the "CLP Script Maintenance" in NW2004s. But i am not able to use the recommended commands...
db2_all "<<+0< db2 backup database lxd to /backup/LXD"
db2_all "|<<-0< db2 backup database lxd to /backup/LXD"
...because the CLP do not support db2_all.
The SAPGUI delivers the opportunity to generate a script for every node and let this scripts run from the Planning Calendar - but i am not able to let them run in parallel. A bad lapse if i handle with bigger databases.
The second problem i realize is that it's not supported to define relationsships between the end of one backup (backup catalog node) and the beginning of the other nodes - no event controle implemented!
My impression is still the same.. i am not able to plan a full backup for DPF databases using the db6cockpit. -
Hi,
How can we get all the packages directly from internet for 11gR2 database installation.
Any Ftp sites or any other way to download directly?
Appreciate help
Thanks.user13364377 wrote:
Hi,
How can we get all the packages directly from internet for 11gR2 database installation.
Any Ftp sites or any other way to download directly?
It would highly depend on the distro that you are using. You would get the packages either from the media of the software or from the online repository provided by the vendor. For example, for Red Hat, it's Red Hat Network(RHN) which is a paid site. You didn't tell us the distro that you are using but if you are using Oracle's Enterprise Linux , you can get the packages using their Public YUM .
http://blogs.oracle.com/sergio/2009/03/new_oracle_public_yum_server_1.html
HTH
Aman....
Maybe you are looking for
-
When I open in Weekly View, it starts at 1:00am. I have already gone into preferences and selected for my day to start at 7:00am but it only shades from 7:00am on. I do not want to see 1:00am to 6:00am as I will never have any appts then. How do I ma
-
Checking balances with asset register and Trial balance
Hi , Need to develop a report for checking balance with asset register and Trial balance. Now asset balances and TB is not matching. We need report at Plant level. pls suggest Regards
-
Hi Experts, In data Manager Matching mode under rule tab there are fields Success and failure and undefined. Under strategies tab High Threshold, low threshold, Min score and Max score Under transformation tab preview . Please tell me what are the fu
-
Accidentally trashed iPhoto Library - how to remake
Hi, I have a user who accidentally trashed her iPhoto Library and emptied the bin. With the tool Photorec I am in the progress of finding all jpg on the disk system - it takes a lot of time and it is not finished yet. So far more that 85.000 files wi
-
G'day, I'm a complete newby to java and programming in general. I'm trying to recreate a simple game of change wherein variables are reduced by random numbers between 0 and 1. But that's beside the point. I have been recieving the "; expected error f