RMAN configuration (ASM Storage) 10g
hi
i am looking for a RMAN script which can
1. online backup the database to tape for ASM DISKGROUP
2. How can an incremental backup be taken for nologging objects (DWH)
3. can we configure 10g BCT for online tape backup (incremental)
4. how can we refresh the Production ASM database to staging (ASM) like cloning methods
thanks in advance
Hi Shakil,
hi
i am looking for a RMAN script which can
1. online backup the database to tape for ASM DISKGROUP
run {
allocate channel t1 type 'SBT_TAPE' parms="ENV=(BLKSIZE=1048576)";
send 'NB_ORA_POLICY=YOUR_POLICY, NB_ORA_SCHED=YOUR_SCHEDULE, NB_ORA_SERV=YOUR_SERVER';
backup
incremental level 0
skip inaccessible
tag online_backup_level0
filesperset 20
format 'full_online_%d_s%s_p%p_t%t' (database)
plus archivelog tag archived_logs
format 'arch_dia_%d_s%s_p%p_t%t'
include current controlfile tag control_file
format 'ct_file_%d_s%s_p%p_t%t';
release channel t1;
resync catalog;
EOF
2. How can an incremental backup be taken for nologging objects (DWH)
Incremental Backup Algorithm
Each data block in a datafile contains a system change number (SCN), which is the SCN at which the most recent change was made to the block. During an incremental backup, RMAN reads the SCN of each data block in the input file and compares it to the checkpoint SCN of the parent incremental backup. (If block change tracking is enabled, RMAN does not read the portions of the file known to have not changed since the parent incremental backup.) If the SCN in the input data block is greater than or equal to the checkpoint SCN of the parent, then RMAN copies the block.
One consequence of this mechanism is that RMAN applies all blocks containing changed data during recovery—even if the change is to an object created with the NOLOGGING option. Hence, making incremental backups is a safeguard against the loss of changes made by NOLOGGING operations.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1011469
3. can we configure 10g BCT for online tape backup (incremental)
Yes you can.
4. how can we refresh the Production ASM database to staging (ASM) like cloning methods
Yes you can.
thanks in advance
Regards,
Rodrigo Mufalani
Similar Messages
-
Restore Database to non-ASM Storage - Issue with Bigfile Tablespace
I have been testing a restore of my prod database that uses ASM (and oracle managed files) for storage to a different server and non-ASM storage. Oracle version is 10g EE. My database has one bigfile tablespace and it's datafile is about 250GB. The restore fails and it has something to do with the bigfile tablespace.
Here is the rman restore script:
run
set newname for datafile 1 to '/ora01/db/ehr/system01.dbf';
set newname for datafile 2 to '/ora01/db/ehr/undotbs01.dbf';
set newname for datafile 3 to '/ora01/db/ehr/sysaux01.dbf';
set newname for datafile 4 to '/ora01/db/ehr/undotbs02.dbf';
set newname for datafile 5 to '/ora01/db/ehr/users01.dbf';
set newname for datafile 6 to '/ora01/db/ehr/apolloaud01.dbf';
set newname for datafile 7 to '/ora01/db/ehr/apollohist01.dbf';
set newname for datafile 8 to '/ora01/db/ehr/apolloidx01.dbf';
set newname for datafile 9 to '/ora01/db/ehr/apollotab01.dbf';
set newname for datafile 10 to '/ora01/db/ehr/apollotab02.dbf';
set newname for datafile 11 to '/ora02/db/ehr/apollolob01.dbf';
set newname for datafile 12 to '/ora01/db/ehr/apollofdb01.dbf';
set newname for datafile 13 to '/ora01/db/ehr/apolloidx02.dbf';
set newname for datafile 14 to '/ora01/db/ehr/apolloidx03.dbf';
set newname for datafile 15 to '/ora01/db/ehr/apolloaud02.dbf';
set newname for datafile 16 to '/ora01/db/ehr/apollotab03.dbf';
set until sequence 60298 thread 2;
restore database;
switch datafile all;
recover database;
Datafile 11 is the datafile in the bigfile tablespace. Here are the weird things about the restore:
1. The restore output shows this:
creating datafile fno=11 name=/ora02/db/ehr/apollolob01.dbf
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /ora01/db/ehr/system01.dbf
restoring datafile 00002 to /ora01/db/ehr/undotbs01.dbf
restoring datafile 00003 to /ora01/db/ehr/sysaux01.dbf
restoring datafile 00004 to /ora01/db/ehr/undotbs02.dbf
restoring datafile 00005 to /ora01/db/ehr/users01.dbf
restoring datafile 00006 to /ora01/db/ehr/apolloaud01.dbf
restoring datafile 00007 to /ora01/db/ehr/apollohist01.dbf
restoring datafile 00008 to /ora01/db/ehr/apolloidx01.dbf
restoring datafile 00009 to /ora01/db/ehr/apollotab01.dbf
restoring datafile 00010 to /ora01/db/ehr/apollotab02.dbf
restoring datafile 00012 to /ora01/db/ehr/apollofdb01.dbf
restoring datafile 00013 to /ora01/db/ehr/apolloidx02.dbf
restoring datafile 00014 to /ora01/db/ehr/apolloidx03.dbf
restoring datafile 00015 to /ora01/db/ehr/apolloaud02.dbf
restoring datafile 00016 to /ora01/db/ehr/apollotab03.dbf
Why at the beginning is it "creating" datafile 11? Then it doesnt even say it is "restoring" that datafile. Only restoring datafiles 1,2,3,4,5,6,7,8,9,10,12,13,14,15, and 16.
When it creates datafile 11 it is only 26GB, that is much smaller than it should be according to v$datafile view on source prod database. Also even though it says it is creating datafile 11 as /ora02/db/ehr/apollolob01.dbf it actually creates it as an oracle managed file at /ora02/db/ehr/EHR/datafile/o1_mf_apollolo_6crxyqs2_.dbf
After the datafiles are restored the "switch datafile all" command fails:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of switch command at 10/18/2010 13:58:37
ORA-19625: error identifying file /ora02/db/ehr/apollolob01.dbf
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
So my question is how do I get this database restored to non-ASM (and non omf)?So I tried using a different scn with my "set until scn #####" then the restore created 2 datafiles. The datafile for apollolob and apollotab02.dbf. So I think I have narrowed the problem to be that I am not using the correct scn number so RMAN can successfully restore those datafiles and recreates them instead. How do I find the correct scn to use to do a successful restore of the entire database? I have seen different methods on the web, but cant figure it out. Ive used "select archivelog_change#-1 from v$database;" and I also did "list backup of archivelog all" and used the latest sequence number. How can I find the correct scn to use so the entire database will restore?
Here is the output of "list backup":
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
19724 41.12M DISK 00:00:10 14-OCT-10
BP Key: 65840 Status: AVAILABLE Compressed: YES Tag: TAG20101014T210022
Piece Name: /mnt/migrate/rman/EHR_dbid3632734257_set113195_piece1_copy1_20101014
List of Archived Logs in backup set 19724
Thrd Seq Low SCN Low Time Next SCN Next Time
1 50439 3230234843 14-OCT-10 3230268282 14-OCT-10
1 50440 3230268282 14-OCT-10 3230286806 14-OCT-10
2 60280 3230234852 14-OCT-10 3230251419 14-OCT-10
2 60281 3230251419 14-OCT-10 3230268263 14-OCT-10
2 60282 3230268263 14-OCT-10 3230286809 14-OCT-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
19725 Full 126.40G DISK 09:11:51 15-OCT-10
List of Datafiles in backup set 19725
File LV Type Ckp SCN Ckp Time Name
1 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/system.625.609259453
2 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/undotbs1.620.609259461
3 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/sysaux.768.609259463
4 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/undotbs2.632.609259467
5 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/users.257.609259471
6 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloaud.316.619537285
7 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollohist.629.619538155
8 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.312.619538169
9 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.276.619538487
10 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.576.619539331
11 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollolob.570.619539593
12 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollofdb.750.645974339
13 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.429.651171265
14 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.705.688680793
15 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloaud.747.699632315
16 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.330.715622123
Backup Set Copy #1 of backup set 19725
Device Type Elapsed Time Completion Time Compressed Tag
DISK 09:11:51 20-OCT-10 YES TAG20101014T210039
List of Backup Pieces for backup set 19725 Copy #1
BP Key Pc# Status Piece Name
65851 1 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece1_copy1_20101014
65862 2 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece2_copy1_20101014
65873 3 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece3_copy1_20101014
65884 4 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece4_copy1_20101014
65895 5 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece5_copy1_20101014
65901 6 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece6_copy1_20101014
65902 7 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece7_copy1_20101014
65903 8 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece8_copy1_20101014
65904 9 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece9_copy1_20101014
65841 10 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece10_copy1_20101014
65842 11 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece11_copy1_20101014
65843 12 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece12_copy1_20101014
65844 13 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece13_copy1_20101014
65845 14 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece14_copy1_20101014
65846 15 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece15_copy1_20101014
65847 16 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece16_copy1_20101014
65848 17 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece17_copy1_20101014
65849 18 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece18_copy1_20101014
65850 19 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece19_copy1_20101014
65852 20 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece20_copy1_20101014
65853 21 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece21_copy1_20101014
65854 22 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece22_copy1_20101015
65855 23 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece23_copy1_20101015
65856 24 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece24_copy1_20101015
65857 25 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece25_copy1_20101015
65858 26 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece26_copy1_20101015
65859 27 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece27_copy1_20101015
65860 28 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece28_copy1_20101015
65861 29 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece29_copy1_20101015
65863 30 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece30_copy1_20101015
65864 31 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece31_copy1_20101015
65865 32 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece32_copy1_20101015
65866 33 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece33_copy1_20101015
65867 34 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece34_copy1_20101015
65868 35 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece35_copy1_20101015
65869 36 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece36_copy1_20101015
65870 37 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece37_copy1_20101015
65871 38 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece38_copy1_20101015
65872 39 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece39_copy1_20101015
65874 40 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece40_copy1_20101015
65875 41 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece41_copy1_20101015
65876 42 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece42_copy1_20101015
65877 43 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece43_copy1_20101015
65878 44 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece44_copy1_20101015
65879 45 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece45_copy1_20101015
65880 46 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece46_copy1_20101015
65881 47 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece47_copy1_20101015
65882 48 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece48_copy1_20101015
65883 49 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece49_copy1_20101015
65885 50 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece50_copy1_20101015
65886 51 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece51_copy1_20101015
65887 52 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece52_copy1_20101015
65888 53 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece53_copy1_20101015
65889 54 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece54_copy1_20101015
65890 55 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece55_copy1_20101015
65891 56 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece56_copy1_20101015
65892 57 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece57_copy1_20101015
65893 58 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece58_copy1_20101015
65894 59 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece59_copy1_20101015
65896 60 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece60_copy1_20101015
65897 61 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece61_copy1_20101015
65898 62 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece62_copy1_20101015
65899 63 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece63_copy1_20101015
65900 64 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece64_copy1_20101015
BS Key Size Device Type Elapsed Time Completion Time
19726 228.10M DISK 00:00:49 15-OCT-10
BP Key: 65905 Status: AVAILABLE Compressed: YES Tag: TAG20101015T061242
Piece Name: /mnt/migrate/rman/EHR_dbid3632734257_set113197_piece1_copy1_20101015
List of Archived Logs in backup set 19726
Thrd Seq Low SCN Low Time Next SCN Next Time
1 50441 3230286806 14-OCT-10 3230331993 14-OCT-10
1 50442 3230331993 14-OCT-10 3230401945 14-OCT-10
1 50443 3230401945 14-OCT-10 3230469794 15-OCT-10
1 50444 3230469794 15-OCT-10 3230555010 15-OCT-10
1 50445 3230555010 15-OCT-10 3230618396 15-OCT-10
1 50446 3230618396 15-OCT-10 3230695020 15-OCT-10
2 60283 3230286809 14-OCT-10 3230304858 14-OCT-10
2 60284 3230304858 14-OCT-10 3230330891 14-OCT-10
2 60285 3230330891 14-OCT-10 3230354275 14-OCT-10
2 60286 3230354275 14-OCT-10 3230366292 14-OCT-10
2 60287 3230366292 14-OCT-10 3230399805 14-OCT-10
2 60288 3230399805 14-OCT-10 3230423577 14-OCT-10
2 60289 3230423577 14-OCT-10 3230446176 15-OCT-10
2 60290 3230446176 15-OCT-10 3230469756 15-OCT-10
2 60291 3230469756 15-OCT-10 3230496786 15-OCT-10
2 60292 3230496786 15-OCT-10 3230524710 15-OCT-10
2 60293 3230524710 15-OCT-10 3230554981 15-OCT-10
2 60294 3230554981 15-OCT-10 3230583802 15-OCT-10
2 60295 3230583802 15-OCT-10 3230610465 15-OCT-10
2 60296 3230610465 15-OCT-10 3230617887 15-OCT-10
2 60297 3230617887 15-OCT-10 3230673207 15-OCT-10
2 60298 3230673207 15-OCT-10 3230695022 15-OCT-10 -
How to install and configure ASM on Red Hat Linux 6.4
Hi Team,
How do you install and configure ASM on Red Hat Linux 6.4?
Thank you in advance.
BeeHere is an article that you may find useful http://eriglen.blogspot.com/2013/01/step-by-step-configuring-automatic-storage-management-on-standalone-server-with-oracle-enterprise-linux-and-oracle-11g-R2-using-external-storage-managed-by-openfiler.html
-
Migrated the database to ASM storage .
Hi friends,
I have migrated the database from 10g(non-asm) to 11g ASM storage on solaris machine. I am facing database slowness after the database upgrade.I don't find any problem in the ADDM/AWR report.
Could you please suggest me whether anything needs to check?
Regards
RockyCan you run ADDM from the dbconsole?
Also you can run sql tuning advisor.
However, its worth checking your diskgroups.
Can you post Mountpoints defined in /etc/vfstab ? -
I am trying to create a new Single instance test database (10.2.0.4 on Linux RHEL4) with ASM storage and but I am unable to get any disk listing on the 'Configure Automatic Storage Management' screen. But when I execute
$ /etc/init.d/oracleasm listdisks
ASMDSK1
ASMDSK2
ASMDSK3
ASMDSK4
ASMDSK5
ASMDSK6
Also, when I queried the disks, I didn't get any errors.
$ /etc/init.d/oracleasm querydisk ASMDSK1
Disk "ASMDSK1" is a valid ASM disk on device [8, 17]
There is no error log or any information regarding ASM in the install log file.
What am I missing out where am I going wrong?
Thanks in advance,
Arindamplease check permission files at /dev/oracleasm/disks/
Example:
# ls -l /dev/oracleasm/disks/
total 0
brw-rw---- 1 oracle dba 7, 1 Dec 11 10:09 VOL1
brw-rw---- 1 oracle dba 7, 2 Dec 11 10:09 VOL2
brw-rw---- 1 oracle dba 7, 3 Dec 11 10:09 VOL3
what use did you start ASM instance "oracle"?
if you use "oracle", you should have "oracle" permission at files in /dev/oracleasm/disks/ PATH
if permission on files don't match with user start ASM instance... you should modified configure ASMLIB
- Stop ASM instance
- Reconfigure ASMLIB
$ su - root
# # /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
- check
# /etc/init.d/oracleasm listdisks
- start Oracle ASM
$ id
uid=500(oracle)
$ export ORALCE_SID=+ASM
$ sqlplus / as sysdba
SQL> startup
SQL> select * from v$asm_disk;
Or... use "dbca" -
ASMCA needs Oracle Grid Infrastructure to configure ASM
Hi,
I am trying to install ASM 11gR2 on RHEL5. I am using VMWare Workstation for this.
I have already installed Oracle database software and Grid Infrastructure on this machine.While installing Grid Infrastructure, I chose install Grid Infrastructure software only.
Once this was successfull I am trying to create ASM instance using asmca.
Regarding the disks, I am using raw devices. I created a virtual disk which I have partitioned but haven't formatted it. Done this to create raw device
[root@localhost sysconfig]# /bin/raw /dev/raw/raw1 /dev/sdb
/dev/raw/raw1: bound to major 8, minor 16
and have added
ACTION=="add",KERNEL=="sdb",RUN+="/bin/raw /dev/raw/raw1 %N"
to /etc/udev/rules.d/60-raw.rules
Then I tried creating the disk but it failed. So I did the following steps to fix it
[root@dhcppc2 Softwares]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb
Marking disk "VOL1" as an ASM disk: [FAILED]
[oracle@oracle11gR2 grid]$ tail -f /var/log/oracleasm
Device "/dev/sdb" is not a partition
To fix this
[root@localhost ~]# /usr/sbin/asmtool -C -l /dev/oracleasm -n VOL1 -s /dev/sdb -a force=yes
asmtool: Device "/dev/sdb" is not a partition
asmtool: Continuing anyway
Now I am able to view the asmdisk through listdisks option.
Have set following environment variables before running asmca
[oracle@oracle11gR2 ~]$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0/Grid
[oracle@oracle11gR2 ~]$ export PATH=/u01/app/oracle/product/11.2.0/Grid/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
When I am running ASMCA I am facing this error - Oralce Grid Infrastrcture is not configured properly. ASMCA needs Oracle Grid Infrastructure to configure ASM
Any thoughts?Hi Aman,
Thanks for the reply.
Is it possible to configure 11gR2 ASM on single instance databases ? I have done the config with 10g but I am struggling with the Grid Infrastructure. For eg: when I do deinstall of Grid Infrstructure
+[oracle@oracle11gR2 deinstall]$ ./deinstall -home /u01/app/oracle/product/11.2.0/Grid+
ORACLE_HOME = /u01/app/oracle/product/11.2.0/Grid
Location of logs /u01/Softwares/oracle11gR2/deinstall/logs/
+############ ORACLE DEINSTALL & DECONFIG TOOL START ############+
+######################## CHECK OPERATION START ########################+
Install check configuration START
Checking for existence of the Oracle home location /u01/app/oracle/product/11.2.0/Grid
Oracle Home type selected for de-install is: SIHA
Oracle Base selected for de-install is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home
Install check configuration END
Traces log file: /u01/Softwares/oracle11gR2/deinstall/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /u01/Softwares/oracle11gR2/deinstall/logs/netdc_check42401.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /u01/Softwares/oracle11gR2/deinstall/logs/asmcadc_check42402.log
+ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]:+
ASM was not detected in the Oracle Home
+######################### CHECK OPERATION END #########################+
+####################### CHECK OPERATION SUMMARY #######################+
Oracle Grid Infrastructure Home is:
The cluster node(s) on which the Oracle home exists are: (Please input nodes seperated by ",", eg: node1,node2,...)null
Oracle Home selected for de-install is: /u01/app/oracle/product/11.2.0/Grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
ASM was not detected in the Oracle Home
+Do you want to continue (y - yes, n - no)? [n]: y+
A log of this session will be written to: '/u01/Softwares/oracle11gR2/deinstall/logs/deinstall_deconfig2010-08-07_01-31-49-PM.out'
Any error messages from this session will be written to: '/u01/Softwares/oracle11gR2/deinstall/logs/deinstall_deconfig2010-08-07_01-31-49-PM.err'
+######################## CLEAN OPERATION START ########################+
ASM de-configuration trace file location: /u01/Softwares/oracle11gR2/deinstall/logs/asmcadc_clean42403.log
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /u01/Softwares/oracle11gR2/deinstall/logs/netdc_clean42404.log
De-configuring backup files...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
---------------------------------------->
Press Enter after you finish running the above commands
+<----------------------------------------+
I don't see any commands to run but the deinstall blindly says that
"Press Enter after you finish running the above commands"
and while looking at the net I found out it might be something similar to this
/u01/Softwares/oracle11gR2/deinstall/perl/bin/perl -I/u01/Softwares/oracle11gR2/deinstall/perl/lib -I/u01/Softwares/oracle11gR2/deinstall/crs/install /u01/Softwares/oracle11gR2/deinstall/crs/install/rootcrs.pl -force -delete -paramfile /u01/Softwares/oracle11gR2/deinstall/response/deinstall_Ora11g_gridinfrahome1.rsp
Should I run the previous command as root.
Am I doing things in the right way or am I missing something here? -
We are using RAC 9.2.0.6 and we have configured RMAN as follows:
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 7;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'D:\eemp_backup\EEMP\Control files\eEmp_CTL%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;#default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL 1 DEVICE TYPE DISK CONNECT 'SYS@Emp1';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT 'SYS@Emp2';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\eemp_backup\EEMP\Rman files\emp_files_%t_Bk_Set%s_Piece%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\EEMP_BACKUP\CONTROLFILE\SNAPCF_V9232
1.F';
RMAN configuration has no stored or default parameters ,'D:\eemp_backup\EEMP\Rman files\emp_files_%t_Bk_Set%s_Piece%p' while i found it in this destination when i fire list backup of database command : C:\ORACLE\APP\PRODUCT\9206\DATABASE\ATHA8I5F_1_1
and tried many times to solve this problem and put the backup set as where i want to put it on but i couldn't
PLEASE help,
Regards
and then i have taken backup as:
rman> backup database plus archivelog;
then when I check the destination of backup set i didn't see them on the configued one which is :You should place the archivelogs either on the shared storage or the archive logs of all instances at all the nodes.
Actually the concept is, in case of recovery, RMAN should be able to look the archive logs from all the instances.
Regards -
RMAN Script & RMAN Configuration
Dear All,
This is the first time i am using RMAN. i just wanted to execute the following RMAN script for a testing purpose, for this what are the RMAN configuration i must have to do before executing this script below:
RMAN> run {
shutdown immediate;
startup mount;
backup database;
alter database open;
}This is my current setup of RMAN
RMAN> show all;
RMAN configuration parameters for database with db_unique_name DP are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'E:\RMAN\';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'E:\APP\10004\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFDP.ORA'; # defaultKindly advice me and give me a very clear study for this above parameters
Regards
HAMEED
Once i execute that script i got this following error :
+RMAN> run {+
+2> shutdown immediate;+
+3> startup mount;+
+4> backup database;+
+5> alter database open;+
+6> };+
database closed
database dismounted
Oracle instance shut down
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area 770019328 bytes
Fixed Size 1374780 bytes
Variable Size 301991364 bytes
Database Buffers 461373440 bytes
Redo Buffers 5279744 bytes
Starting backup at 18-MAY-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=134 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00006 name=E:\APP\10004\ORADATA\DP\HAMEED01.DBF
input datafile file number=00007 name=E:\APP\10004\ORADATA\DP\ABDUL01.DBF
input datafile file number=00008 name=E:\APP\10004\ORADATA\DP\TEST01.DBF
input datafile file number=00001 name=E:\APP\10004\ORADATA\DP\SYSTEM01.DBF
input datafile file number=00002 name=E:\APP\10004\ORADATA\DP\SYSAUX01.DBF
input datafile file number=00005 name=E:\APP\10004\ORADATA\DP\EXAMPLE01.DBF
input datafile file number=00003 name=E:\APP\10004\ORADATA\DP\UNDOTBS01.DBF
input datafile file number=00004 name=E:\APP\10004\ORADATA\DP\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 18-MAY-11
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/18/2011 17:22:30
ORA-19504: failed to create file "E:\RMAN\"
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already exists
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
Edited by: Hameed on May 18, 2011 4:59 AMDear Chinar, can you please varify this below ,, is it correct,, after given your setup i ran this script,,,
Kindly advice me
Regards
HAMEED
RMAN> run
2> {
3> backup current controlfile;
4> }
Starting backup at 18-MAY-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=143 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
channel ORA_DISK_1: starting piece 1 at 18-MAY-11
channel ORA_DISK_1: finished piece 1 at 18-MAY-11
piece handle=E:\RMAN\FULL_06MCLH66_1_1.BK tag=TAG20110518T180910 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 18-MAY-11
Starting Control File Autobackup at 18-MAY-11
piece handle=E:\RMAN\CFC-796596855-20110518-00 comment=NONE
Finished Control File Autobackup at 18-MAY-11Edited by: Hameed on May 18, 2011 5:55 AM -
I have been pulling my hair to figure out what's going on here. I can deploy the VDP ovf appliance fine, it's allowing setup to finish so I can start using it. It fails at the final stretch, during the Storage Configuration. Here's the errors event log:
XXX
com.vmware.vdp2.config.failed.config.os.data.di-
sk.formatOnVm not found XXX
XXX com.vmware.vdp2.config.failed.config.os.data.disk.category not found XXX
4/9/2014 12:05:05 PM
VDP: Configuring Install Storage
vSphere Data Protection 5.5
VDP: Finalizing storage configuration.
error
4/9/2014 12:05:06 PM
VDP: Configuring Install Storage
vSphere Data Protection 5.5
VDP: Completed finalizing storage configuration.
error
4/9/2014 12:05:07 PM
VDP: Configuring Install Storage
vSphere Data Protection 5.5
This is all I get, and I have to start all over again only to run into the same error. I have a NFS share mounted to the HOST to store the VDP hard drive images. Help, please! ~_~
Regards,
Mark A.Just found this from a Google search. I'm about to try it!
Deployment of a VMware VDP appliance fails on NFS shares on a Windows Storage Server 2008 R2 or Windows Storage Server 2… -
Configure ASM Instance in RAC cluster - problem
Linux RH4 with Oracle 11.1.0.6
I previously had ASM working in a RAC environment, but have uninstalled on all 3 nodes following Oracle guidelines.
When I attempt to re-configure ASM it states that an ASM instance is located in nodes 2 and 3. Previous ASM software has been removed, and there are no entries in the /etc/oratab files on any of the nodes.
How do I locate and then remove these instances on nodes 2 and 3
ThanksSteps in Note 311350.1 have been followed, and there are no occurances of ASM appearing in the crs_stat output. Also the fact that the ASM software has also been removed from all of the various, where are these ASM instances being started?
I am unable to proceed past the "Select Configuration Screen" which gives you the option to 1)Create Database, 2)Configure ASM or 3) Install Software only.
When I select option 2 and enter ASM SYS password, I get the error message that ASM instances are present in the other nodes.
Would appreciate any help in how I can progress past this stage.
Thanks -
Showing RMAN configuration parameters 8.1.7
Hi group
What is the RMAN command in 8.1.7 to show RMAN configuration parameters, I know (SHOW ALL;) command is used in 9i version but it doesn't work on 8.1.7.
Thanks you very muchIf I remember correctly, you could NOT configure and preserve parameters in 8.1.7 (so CONFIGURE and SHOW are not present in 8.1.7 RMAN).
You could create scripts with all the required commands and save them to the OS or to the Catalog -- preferably at the OS level so that they can be viewed and edited if the Catalog becomes unavailable.
Hemant K Chitale -
Configuring Forms Builder 10g to run (Ctrl-R) against application server
I would like to run forms from my working directory against our development application server and config, rather than having a local OC4J running. I have configured this by setting the application server URL runtime preference to "http://<server>.<domain>:80/forms/frmservlet?config=dev". This works fine.
However, when I run the Form, I get "FRM-40010: Cannot read form H:\Neil\TAF00180.fmx". This is because we open our FMBs from a locally mapped drive (i.e. I opened the FMB from H:\Neil\TAF00180.fmb). When run against the application server it seems Forms Builder trys to run an executable with the same path as the FMB - H:\Neil\TAF00180.fmx, but the application server has no knowledge of a mapped H-drive.
The only solution I can think of is to have an H-drive mapped on the application server to the same location as our locally mapped network drive.
This doesn't seem like the correct solution to me. How should we configure Oracle Forms 10g and the application server to allow us to run our own working versions against the applications server and config?Slava Natapov wrote:
I guess Neil concern is that OC4J and Forms Server are using own formsweb.cfg and .env files
And settings can be different.
For example what if local formsweb.cfg configured to run Jinitiator, but server formsweb.cfg configured for JPI, or they configured with different lookandfeel parameter, or local and server default.env use different NLS_DATE_FORMAT?Hi Slava, Hi Neil
I think this is more related to "discipline" for the developers....
@ Neil : How many developers do you have in your team ?
Are developers allowed to "customize" their formsweb.cfg and .env files ?
or more customized basejinit.htm, registry.dat, additional jar files ... etc
or more using different oracle_home for their installation of Developer Suite.
@ Slava : Using local formsweb.cfg and .env files might not be a problem if every developer machine is installed the same way (i.e. the same oracle_home).
Also, I don't think that using workingDirectory to network shared connection for each developer is a solution
[dev1]
workingDirectory= H:/dev1
[dev2]
workingDirectory= H:/dev2
And at least this is requiring customized *.env files ! as the forms_path should be set for runtime in it for each developer.
The registry entry is only for the builder to find the path to mmb and pll files for example, and compile well, but the runtime is using *.env files.
And what about developing in windows and deploy it to linux ?
I recently managed a project with junior and undisciplined developers. The boss had the same concern about each network drive per developer.
My concern was how to eliminate all subjective considerations..
And my answer was "Subversion" no mess with local or network version with the "copy of the copy of the copy of the fmb files".
So all forms_path were set to C:\myApp\forms etc and each developer made a checkout and commit versions twice a day.
And the Application Server was also "checked out" to have the latest revision and then ran it into a pre-version for production.
If I had to make some important changes in the *.olb file or the *.pll files then I made a commit for all developers and then re-compile all *.fmb and re-commit and checkout again.
I really don't matter if the developer used jinitiator or jpi but the right working copy.
And standalone OC4J was enough to make basics tests for each developer.
More tests were made by project managers at the application server level and then adjustments (if required) where sent to developers.
Hope this helps.
Regards,
Jean-Yves -
Configure ASM for oracle Grid installation
Hi,
I do not know how to configure ASM for oracle grid infrastructure. As i tried to install oracle grid infrastructure says [INS - 30507] Empty ASM disk group.
I have to configure Asm before installing 11g R2. Please let me know what i have to do and provide the steps to configure and administer asm.
Thanks in advance.http://docs.oracle.com/cd/E11882_01/install.112/e24660.pdf
ORACLE-BASE - Oracle Database 11g Release 2 RAC On Oracle Linux 5.8 Using VirtualBox -
Configuring APS for 10G ITU w/ Splitter
Does anyone have experience on configuring APS for 10G ITU card with Splitter so that in a case of signal degrade it will switchover to the protection path? The default switchover mechanism is based on LOL (Loss-Of-Light) but it wont help if signal degrades for example to -25dB. All experiences and best practices are wellcome.
I know the protection schemes (client, splitter, Y-cable etc.) but my question is how to configure splitter protection so that in a case of signal degrease it will do switchover to the protection path.
See below an output from ONS15530:
ONS15530_1>sh aps
AR : APS Role, Wk: Working, Pr: Protection
AS : APS State, Ac: Active, St: Standby, NA: Not Applicable
IS : Interface State, Up: Up, Dn: Down
MPL: Minimum Protection Level, SD: Signal Degrade, SF: Signal Failure
LOX: Loss of Light/Loss of (CDR) Lock/Loss of Frame/Sync,
LOL: Loss of Light, - not currently protected
Interface AR AS IS MPL Redundant Intf Group Name
~~~~~~~~~~~~~~~~~~~~~ ~~ ~~ ~~ ~~~ ~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
Wavepatch1/0/0 Wk Ac Up LOX Wavepatch1/0/1 CH1
Wavepatch1/0/1 Pr St Up - Wavepatch1/0/0 CH1
So APS will switch to the protection path only in a case of Loss of Light/Loss of (CDR) Lock/Loss of Frame/Sync. So it WONT do the failover if RX signal level degreases below the minimum RX level (-23dB for 10G ITU card), because there is still light coming (not LOL case). So how do I protect my system against this kind of signal degreade?
rgds,
Jp -
Hello Folks,
Is it possible to get history of RMAN configuration changes which was made in past ? Either from target or from catalog database?
Thanks.Hi again!
Sorry! NO it is really impossible. There is no table and no view in oracle that is able to show you an old rman configuration!
regards
Maybe you are looking for
-
I added a couple of notes to my iphone 5s when I got it back in December 13. Any other notes added since only last for a few days then disappear. I just opened the notes app and for a split second the note was there I added 3 days ago then it disap
-
Hi Experts, What is the best way to check what are the logical systems connected to ECC and what are the logical systems connected to APO? Regards Manotosh
-
hi i bought a macbook pro on july 25th it said i quailified for the new mountain lion update. im wondering how do i get it ?
-
Compuware TestPartner 5.2.1 SAPGUI for Windows 6.20
Hallo again, Did have somebody experience with this tool from Compuware? Where can I find a demo version? Best Regards, Gabriela Pieper
-
Material report showing lead time & min order quantity?
Hi, Is there a report which I can download which shows by material, the lead time and minimum order quantity? Thanks Keeley