ASM - no to the question of the ASM DB_FILE_NAME_CONVERT

Nice day. I'll put up a Data Guard environment in which existing primary is no - ASM and the new auxiliary will be ASM. I am trying to determine the correct entries for the parameters DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT. can someone please tell me if I am following the right path?

On the primary (non - ASM), I'm going in SQLPLUS:

SQL> select file_name from dba_data_files;
FILE_NAME
------------------------------------------------------------------------
/u03/app/oracle/oradata/prodDB/system01.dbf
/u03/app/oracle/oradata/prodDB/sysaux01.dbf
etc...

SQL> select member from v$logfile;
MEMBER
------------------------------------------------------------------------
/u02/app/oracle/redologs/prodDB/redo03a.rdo
/u03/app/oracle/redologs/prodDB/redo03b.rdo
/u02/app/oracle/redologs/prodDB/redo02a.rdo
/u03/app/oracle/redologs/prodDB/redo02b.rdo
etc...


My expectation is a new facility with ASM and Oracle 11r2 software installation so there not necessarily all the files yet, but in addition the system drive, it has 4 discs. Disk1 and DISK2 are in the disk group ASM 'DATA' and DISK3 and DISK4 are in the "FRA" ASM disk group

Is below what would look like my settings?

Elementary school:

DB_FILE_NAME_CONVERT ='+ DATA / prodDB / ',' / u03/app/oracle/oradata/prodDB /'

LOG_FILE_NAME_CONVERT ='+ FRA/prodDB / ',' / u02/app/oracle/redologs/prodDB / ',' + FRA/prodDB / ',' / u03/app/oracle/redologs /'

And on standby to invert the inputs?

Finally, if I were to add a third guard database server in this situation, I just fired on another comma and add a third entry in the above settings?

Elementary school:

DB_FILE_NAME_CONVERT ='+ DATA / prodDB / ',' / u03/app/oracle/oradata/prodDB /'

LOG_FILE_NAME_CONVERT ='+ FRA/prodDB / ',' / u02/app/oracle/redologs/prodDB / ',' + FRA/prodDB / ',' / u03/app/oracle/redologs /'

When the primary is on no - asm and pilot light is on ASM, then the first string, always belongs to the primary and then the following string is of course the day before... If your data files located in several locations, then you can add more as needed.

An example below, you can mention '+ DATA' instead of '+ DATA/prodDB' If you use OMF and Oracle takes the directory based on the DB_UNIQUE_NAME you define, then disk group can do your job.

DB_FILE_NAME_CONVERT = "/ u03/app/oracle/oradata/prodDB ', '+ DATA ';

The same applicable to the LOG_FILE_NAME_CONVERT as well.

A link to what you are going through.

http://docs.Oracle.com/CD/B19306_01/server.102/b14237/initparams048.htm

HTH.

Tags: Database

Similar Questions

  • Standby Redo logs and the Directory Structure in the Backup Site

    Hi guru

    I just want to confirm, I know that if the directory structure is different, I need to talk about these 2 settings in the file pfile

    on the main site:

    DB_CONVERT_DATAFILE = 'sleep', 'primary '.

    LOG_CONVERT_DATAFILE = 'sleep', 'primary '.

    On the secondary Site:

    DB_CONVERT_DATAFILE = 'primary', 'sleep '.

    LOG_CONVERT_DATAFILE = 'primary', 'sleep '.

    But I want to confirm this weather I have to deliver the full path of the directory in the two paramtere above:

    as:

    DB_CONVERT_DATAFILE = ' / u01/oracle/app/oracle/oradata/sleep ', ' / u01/oracle/app/oracle/oradata/primary.

    LOG_CONVERT_DATAFILE = ' / u01/oracle/app/oracle/oradata/sleep ', ' / u01/oracle/app/oracle/oradata/primary.

    Second Confusion: -.

    After that transfer standby Redo logs creates primary and made to sleep on the foregoing, mentioned the directory structure and after restoring the alongwith primary db backup, that ensures the control file will not affect the journal of physics again placed watch on the above mentioned location.

    Thanks in advance for your help

    vk82 wrote:

    In fact, I create the day before by using the RMAN Duplicate command. but where I am confused is the point if I transfer the backup that i taken the pri on the C:\backup_files path. and after that, I transfer the backups to the waiting on C:\backup_files. After that when I restore it will create datafile and other stuff in another directory I mentioned using DB_FILE_NAME_CONVERT as LOG_FILE_NAME_CONVERT. I think Yes but need your advice during the same period.

    Hello

    Yes, files should be created under the directory mentioned in the path of the parameters 'db_file_name_convert' and 'log_file_name_convert.

    Kind regards
    Shivananda

  • Query on the dynamic view v$ parameter

    That means the column 'ISSYS_MODIFIABLE' in the parameter $ v? According to the documents, if it is 'FALSE' - parameter is not editable with ALTER SYSTEM unless a server settings file was used to start the instance. The change takes effect in subsequent instances. 'this means that it is a static parameter if the value is false, for example, I checked for the parameter 'db_file_name_convert', the value is considered as false when started with the pfiles and spfiles, until this means, a 'FALSE' value always indicates that the setting is static.

    False means that it cannot be changed dynamically.

    If you use a SPFILE you can change the setting and Oracle will save the new setting in the SPFILE, but it will not change the current instance.

    It will be used when this SPFILE alteration is used to start the instance, next time.

  • Can we create database of watch on the same server as the primary database

    I have Oracle 10 g Rel2, Windows server 2003 operating system. Can I create backup of database on the same server on which we have our primary database?

    Yes, you can
    You must configure the settings DB_FILE_NAME_CONVERT file
    If the standby database is on the same system as the primary database or if the structure of the directory where data files are located on the standby site is different from the primary site, this parameter is required.
    Please refer to the documentation:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/initparams048.htm#REFRN10038

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com

  • Questions of the ASM

    Hi, I have several questions here. I managed the migration of instance ASM to ASM instance to be autonomous and RAC environment.

    Now I meet this task to migrate an environment 11 GR 1 very old material on Sun solaris 5.10 to 5.11 Oracle version 11.2.0.3.

    I have some questions I need to ask gurus here.

    (1) we got okay to use restart with stand-alone server using ASM oracle management.

    Current context, all files of data on local disks of/U02 - u10.

    If during migration, we will create an expectation of prod db (11 GR 1 material that all files located on a local system without OMF) and instant upgrade standby then this eve upgraded to the new ASM Oracle system restart.

    So my questions are: a). I guess I'll create this same exact main expectation that current prod environment, means no OMF no ASM. then upgrade.

    (b) target (11 GR 2) then I'll install oracle asm/restart on the area.  now, how do I know that I can use OMF, and files from u02 - 10 went to the diskgroup?

    (2) the storage people have no experience of ASM lun. For the autonomous zone, is that they have just to introducing the raw LUN?  then I left Oracle asm discover?  What should I use UDEV (I think it's for CARS) to manage those LUNs? What is the official way to do it? any docs? LUN will be on emc storage.

    Thank you much in advance.

    Yes, theoretically you must Restart Oracle and ASM - c-d. Grid infrastructure - MORE the Oracle_Home of RDBMS.

    Hemant K Collette

  • Basic questions about the installation of ASM

    I can't find definitive answers to the following. Let me try here. I want to build a server Linux, RDBMS 11.2.0.3, running with the ASM. It's just the prototype server, in our conversion of Oracle 11 g on AIX without ASM on Oracle 11 g on Linux with the ASM.

    I have an Oracle VM already running cluster and built a number of virtual machines in models, and everything works fine. Now I am installing DSO, have failed repeatedly. Maybe I'm doing something fundamentally wrong. Here are two questions:

    1. is it true that the only (reasonable) to install DSO is to install the product called "grid Infrastructure? As far as I know, the answer is 'yes '. But GI seems to be so much more than ASM, although I don't think I want or need. Is there an easier way to get ASM?

    2. the matrix certification swear that grid 11.2.0.3 Infrastructure is certified on Oracle Linux 6. (1) I can still see a lot of posts on OTN and elsewhere on the net that say it is NOT supported and that there are has mant problems in get the installation works, and (2) I have tried to install it on OEL 6 and can't get the installer to finish. Specifically, the root.sh script fails with "ohasd failed to start... '. ». Before further my installation problems, I want to just make sure: If this installation of OEL 6?

    Terry Phelps wrote:
    I can't find definitive answers to the following. Let me try here. I want to build a server Linux, RDBMS 11.2.0.3, running with the ASM. It's just the prototype server, in our conversion of Oracle 11 g on AIX without ASM on Oracle 11 g on Linux with the ASM.

    I have an Oracle VM already running cluster and built a number of virtual machines in models, and everything works fine. Now I am installing DSO, have failed repeatedly. Maybe I'm doing something fundamentally wrong. Here are two questions:

    1. is it true that the only (reasonable) to install DSO is to install the product called "grid Infrastructure? As far as I know, the answer is 'yes '. But GI seems to be so much more than ASM, although I don't think I want or need. Is there an easier way to get ASM?

    ASM is a feature of the Oracle Grid infrastructure Installation. So you will need to install IM using ASM.

    There is a GI installation which can be installed and configured in two different directions. For a Cluster or for a standalone.

    This option must be selected during installation.

    The installation of GI for a standalone is called Oracle Restart.

    GI for a Cluster installation is called Oracle Clusterware.

    The two options above have the particularity of the DSO.

    2. the matrix certification swear that grid 11.2.0.3 Infrastructure is certified on Oracle Linux 6. (1) I can still see a lot of posts on OTN and elsewhere on the net that say it is NOT supported and that there are has mant problems in get the installation works, and (2) I have tried to install it on OEL 6 and can't get the installer to finish. Specifically, the root.sh script fails with "ohasd failed to start... '. ». Before further my installation problems, I want to just make sure: If this installation of OEL 6?

    A lot of users here OTN tried installing Grid Infrastructure on RHEL6/OEL6 when it is not certified. Many questions appear.

    When it has been certified by Oracle, it remains several notes on MOS that will help you follow the main steps for a successful installation.

    I think you should use OEL 6, since Oracle Linux 6 has been certified by Oracle Corporation, you have all the support on this product.

    Start with this note: * master Note Linux OS requirements for database server [851598.1 ID] *.

    * Customer database or the server installation of database on Red Hat Enterprise Linux 6 (RHEL6) or Oracle Linux 6 [ID 1350000.1] *.

    http://levipereira.WordPress.com/2012/04/18/certification-of-the-Oracle-database-on-Oracle-Linux-6-and-Red-Hat-Enterprise-Linux-6/

  • Question of the ASM

    Hello

    I'll put up a 11.2.0.3 new install and I have a problem in my hands a little bit.

    While doing the installation, I created the asm on a partition disk in:
    oracleasm createdisk DATA /dev/sdb2
    Now, after rebooting, it may be the case when my score is not identified as/dev/sdb2 more instance cannot find the disc, so I need to tag it with something like
    e2label <partition> <labelname>
    to ensure consistent names after a reboot and my instance ASM will not fail

    My question is, can I I "remap" the ASM/dev/sdb2 < labelname > disc without having to recreate all over again? If so, how?

    Thank you
    NACEUR

    N wrote:
    ASM autonomous, that is right.

    oracleasm createdisk is executed before installing the GRID.

    just now, I am from sracth, comes to complete installation of oel6 and create the partitions with fdisk on my raid1 + 0
    one that I have already formatted with ext3 and im moving the installers to the server to start

    Any guide you know I can't go through?

    Have not yet installed oracleasm.

    The next steps so far are:
    -Once all the installation on the server programs I'm good to go with oracleasm
    --> Create disc on an unformatted partition/dev/sdb2
    --> install grid
    --> create diskgroup
    --> install 11 GR 2
    --> instance to create

    DO NOT use oracleasm - as I have said, it is expected to be close to retirement. If you don't want to be related to it.

    Make sure that the device has the appropriate permissions before you start.
    In the installation program, select ASM for OCR. in the lower right corner to select CHANGE DISKSTRING and configured to point to/dev/sd * and he sees only one with the correct permissions. It will ask you the name of diskgroup, and you select the sdb2 with REDUNDANCY EXTERNAL device. It will automatically load the initial configuration. Watch the udev.config to find out how to set permissions on startup

    I don't usually promote other websites, but this looks like a good start on how to correctly configure udev...
    http://www.Oracle-base.com/articles/Linux/udev-SCSI-rules-configuration-in-Oracle-Linux-5-and-6.php#create_udev_rules_file

    >

    If you could point me to a guide on how can I do this without using asmlib I would be grateful.

    Do not!

  • question about the operation of the ASM

    Hello

    I use as storage oracle 11 GR 1 option matter and ASM. the sys user is Administrator of the ASM, but I am not able to access ASM instance with the sys user. If I didn't know oracle, then I have access instance asm, asm dg operation etc, I thought that ASM admin is one who can perform an operation on the instance asm and asm dg etc that I should always user use 'oracle' for the operation of the DSO. cant I use user "sys" to it. Please share your opinion on this.


    Thanks for your help,

    user11305560 wrote:
    I export ORACLE_SID variable. But if su do oracle then only i can do surgery ASM.

    Yes, and that's because the user of the OS who need all permissions to administer the instance ASM 'oracle '.

    If I didn't know sys, then it does not allow me to do. sys is a Director of the DSO, so I thought that it should also be able to perform the operation ASM.

    Yes, it's because "sys" is (in your case is obviously) user OS that do not need all permissions to administer the ASM instance.
    Then, when you're OS user oracle, unlike when you're OS user sys, you are able to connect to the DSO with the SYS user database

    My question is, can only the user oracle ASM operations do.

    Each user of the operating system with appropriate permissions can do

    Thank you.

    [Privileges ASM instance | http://download-uk.oracle.com/docs/cd/B28359_01/server.111/b31107/asminst.htm#CHDEDIID]

  • Double LOG_ARCHIVE_DEST places. One is FRA the other is regular ASM no disc. Cleaning question

    Double LOG_ARCHIVE_DEST places. One is FRA the other is regular ASM no disc.

    Oracle does not recommend manually delete logs archiving of the FRA, but rather let the FRA cleaning place based on archive political log deletion and backup retention policy, which works perfectly, but now that we have newspapers archive mirrored on a location not FRA to clean archives connects to this place with RMAN. How can we clean up the FRA NO cleaning is not the FRA through rman?

    Just use:

    RMAN > BACKUP AS ARCHIVELOG '+ DB_FRA/dborcl/archivelog/%' ENTRY DELETE;

    With the ENTRY to be REMOVED, RMAN only deletes the specific copy of the newspaper of archived recovery chosen for the backup set.

    REMOVE all THE ENTRIES, RMAN deletes each file backed up log redo archived log destinations archiving.

    It backs up from a specific location and delete it after backup.

  • Two questions on ASM for the Installation of the grid

    Version of grid Infrastructure: 11.2.0.3

    Platform: Oracle Enterprise Linux 5.6

    Question1.

    Oracle: dba will own our grid software (not network user). What should be the permission set for the LUN (/ dev/sda1,..) before the installation of the grid?

    Question2.

    Currently shared LUNS appear in the form

    / dev/sdb.

    / dev/sdc.

    / dev/sdd

    is a single partition must be created before LUNS to ASM?

    For example, I should choose p (primary partition) below. Right?

    # fdisk/dev/sdb

    Device contains a table of the MS-DOS partitions, valid Sun, SGI, or OSF disklabel

    The construction of a new partitioning BACK with disc 0x8b157fd2 identifier.

    Changes will remain in memory only, until you decide to write them.

    After that, of course, the previous content is not recoverable.

    WARNING: invalid indicator 0 x 0000 partition table 4 will be corrected by w (rite)

    WARNING: The DOS compatible mode is discouraged. It is strongly recommended to

    off mode (command 'c') and change the display units to

    sectors (command 'u').

    Command (m for help): c

    Indicator of compatibility BACK is not defined

    Command (m for help): u

    Change of units of display/entry to the sectors

    Command (m for help): n

    Control action

    extended e

    p primary partition (1 - 4).

    Check step 5 here. You use oracleasm utility that changes the permission.

    Infrastructure of network for a stand-alone server installation

    Ta

    JAG

  • Questions about the configuration of libraries of ASM Database 11 GR 2 under VM

    People,

    Hello. I install the Oracle 11 g RAC 2 system with 2 Virtual Machines (rac1 and rac2 - Oracle Linux 5.6) on top of VMPlayer.

    I'm libraries ASM on rac1 configuration using the command: oracleasm # [root@rac1 dev] configure-i

    But this message appears: "Command not found."

    I can't find the directory where the "oracleasm. Any folk can help solve the problem?

    Thanks in advance.

    PL don't post duplicate Oracle Database 11 g RAC 2 - configure the libraries of ASM on VM

  • The ASM diskgroup in exadata space question

    All,

    I have an environment exadata 1 CCR node with 3 knots of strorage.

    My RECO ASM diskgroup is constantly showing the problems of space... Always higher than 80%.

    I just want to get a Board if I can remove mirroring and recover the space... Even though I know that the result of the deletion of the mirroring...

    Can I reduce the diskgroup RECO and create an another diskgroup?

    I want just a few ideas to do this without great risk involved...

    You may want to consider these MOS notes for more information on resizing the griddisks:
    Resize diskgroup without downtime to Exadata (Doc ID 1272569.1)
    How to resize the disk drive/grid ASM in environment Exadata (Doc ID 1245494.1)

    As others have mentioned, there is no way to change the level of redundancy in ASM, so you need to delete and re-create the diskgroup if you want to change to redundancy. We strongly discourage the use of EXTERNAL with Exadata redundancy.

  • ASM to the question of the NO - ASM

    DB version: 10.2.0.4.0
    Operating system platform: Solaris 5.10

    Currently I have a DB in ASM. Can I take a cold of this DB with RMAN backup and restore it on a machine where the data files will reside in the document to the OS file system format? Does perform additional work required?

    read this links

    use

    (1) backup copy

    (2) switch database

    (3) open

    http://onlineappsdba.com/index.php/2010/03/03/migrating-non-ASM-DB-to-ASM-DB/

    http://download.Oracle.com/docs/CD/B14117_01/server.101/B10734/rcmasm.htm

  • Two questions about ASM and GR 11, 2 installation of the grid

    DB version: 11 GR 2
    Operating system: Sun Solaris

    1. in GR 11, 2, after the installation of network infrastructure, succesfull ASM instances starts automatically in all the nodes. Right?

    2. just after the end of the grid infrastructure installation, I tried to connect to the DSO. But I was invited for ORACLE_HOME rather than GRID_HOME. Why is this? ORACLE_HOME is the location of the client software of RDBMS. I started not to install some RDBMS again.
    $ ORACLE_SID=+ASM1
    $ export ORACLE_SID
    $ sqlplus / as sysasm
    sqlplus: not found
    $ /u03/grid/bin/sqlplus / as sysasm
    Error 6 initializing SQL*Plus
    SP2-0667: Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory 
    
    
    
    $ ORACLE_HOME=/u03/grid/
    $ export ORACLE_HOME
    $ /u03/grid/bin/sqlplus / as sysasm
    
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Nov 11 15:20:16 2010
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to an idle instance.

    Hi Garry,

    1. Yes, it should start automatically. You have defined all variables before you start the installation?

    2. the variable ORACLE_HOME must be set to the location of GRID_HOME for the user environment of GRID and the location of ORACLE_HOME for the oracle user.

    Kind regards.

  • Oracle 10g RAC + ASM + Data Guard: Question on the new disk group.

    Hello

    One of our clients is to have Oracle 10 g RAC + ASM + Data Guard. Database is the disk DATA_DG1 group and FRA is on FLASH_DG1. Data Guard is a single instance on ASM.

    To add more space, we can create another disc of the Group DATA_DG2 on Prod ASM and Data Guard ASM env, replication continues without any problem. Will be archiving logs shipped to the second disk DATA_DG2 group and applied without any configuration changes?

    Rgds,

    Yes, it sounds great.

    You should be fine with the implementation of these measures and the dataguard should continue on as usual.

    Just make sure that you are dealing with a physical standby that has not the conerts file name defined.

Maybe you are looking for