Compellent snapshot for the passive copy of the database Exchange 2010

Hi all

I have the following Setup: A DAG with 3 Exchange 2010 mailbox servers, two of them are in the main data center and have the databases and the logs on the local storage. However, the third server is on a Data Center remote for disaster recovery and data bases, and newspapers is the Compellent storage. Of course, because it's my disaster recovery site, the database is a passive copy. However, the Replay 7.1.1.1 Manager Explorer is unable to see data in the section "Exchange shops". But if I turn the databases on this server, and then Replay Manager is able to see. My question is, how can I create snapshots of the passive copy of the database from my Exchange 2010 Server?

Thank you!

I confirmed that Replay Manager cannot do that; the reason? Dag have a database and are essentially sending for updating the passive copies of newspapers. Since they are not online and synchronizes the DAG status between servers backup will always attempt to occur on the asset. If only one of your copies of DAG is on an HDS, it will be a more serious problem.

There is no restriction not to take a replay on passive volume all - except the same caveat that it will be not a quiece at the level of the BONE and being written in the log transactions is not valid. Unlike earlier versions of Exchange IS simply reject these that he committed the paper to the data store (if you try to mount the reading disaster).

Tags: Dell Products

Similar Questions

  • ORA-16783: could not resolve the deficit for the database

    I have two databases emadb and emadbdg, governed by Data Guard. emadb is currently principal. emadbdg is currently pending physical.

    ORA16783 - cannot solve the gap for the database is one I think, is the origin of the problem. Anyone can help solve the problem below. Logs attached.

    Output of data protection

    DGMGRL > show detailed configuration

    Configuration - DRSolution

    Protection mode: MaxAvailability
    Databases:
    emadb - primary database
    Error: ORA-16825: multiple errors or warnings, including failover quick start or warnings, errors detected for the database

    emadbdg - (*) Physical standby database
    WARNING: ORA-16817: configuration not synchronized rapid failover

    (*) Fast failover target

    Properties:
    FastStartFailoverThreshold = "30"
    OperationTimeout = "30"
    FastStartFailoverLagLimit = "30"
    CommunicationTimeout = "180"
    FastStartFailoverAutoReinstate = 'TRUE '.
    FastStartFailoverPmyShutdown = "FALSE".
    BystandersFollowRoleChange = "ALL".

    Fast-Start Failover: ENABLED

    Threshold: 30 seconds
    Target: emadbdg
    Observer: emarn1
    Offset limit: 30 seconds (do not use)
    Primary closure: FALSE
    Auto-Rétablir: TRUE

    The configuration status:
    ERROR


    DGMGRL > see the detailed database emadb

    Database - emadb

    Role: PRIMARY
    State of destination: TRANSPORT-WE
    Occurrence (s):
    emadb

    Database error (s):
    ORA-16783: could not resolve the deficit for the database emadbdg

    Warning (s) of database:
    ORA-16817: unsynchronized fast-start failover configuration

    Properties:
    DGConnectIdentifier = "emadb.
    ObserverConnectIdentifier = "
    LogXptMode = "SYNCHRONIZE".
    DelayMins = '0'
    Binding = "optional."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "30"
    RedoCompression = "DISABLE."
    LogShipping = 'ON '.
    PreferredApplyInstance = "
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO '.
    StandbyFileManagement = 'AUTO '.
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = "4"
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'emadbdg, emadb '.
    LogFileNameConvert = "/ opt/app/oracle/oradata/emadbdg, / opt/app/oracle/oradata/emadb '"
    FastStartFailoverTarget = "emadbdg".
    InconsistentProperties = "(monitor).
    InconsistentLogXptProps = "(monitor).
    SendQEntries = "(monitor).
    LogXptStatus = "(monitor).
    RecvQEntries = "(monitor).
    Nom_sid = "emadb.
    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=emarn1) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = emadb_DGMGRL) (INSTANCE_NAME = emadb)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = "/ opt/app/oracle/oradata/emadb/archivelog1.
    AlternateLocation = "
    LogArchiveTrace = '0'
    LogArchiveFormat = '% t_%s_%r.dbf '.
    TopWaitEvents = "(monitor).

    State of the database:
    ERROR

    DGMGRL > see the detailed database emadbdg

    Database - emadbdg

    Role: STANDBY PHYSICS
    State of destination: apply
    Transport delay: (unknown)
    Apply the Lag: (unknown)
    Real-time query: OFF
    Occurrence (s):
    emadbdg

    Warning (s) of database:
    ORA-16817: unsynchronized fast-start failover configuration

    Properties:
    DGConnectIdentifier = "emadbdg".
    ObserverConnectIdentifier = "
    LogXptMode = "SYNCHRONIZE".
    DelayMins = '0'
    Binding = "OPTIONAL."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "30"
    RedoCompression = "DISABLE."
    LogShipping = 'ON '.
    PreferredApplyInstance = "
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO '.
    StandbyFileManagement = 'AUTO '.
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = "4"
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'emadb, emadbdg '.
    LogFileNameConvert = "/ opt/app/oracle/oradata/emadb, / opt/app/oracle/oradata/emadbdg '"
    FastStartFailoverTarget = "emadb.
    InconsistentProperties = "(monitor).
    InconsistentLogXptProps = "(monitor).
    SendQEntries = "(monitor).
    LogXptStatus = "(monitor).
    RecvQEntries = "(monitor).
    Nom_sid = "emadbdg".
    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=emarn2) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = emadbdg_DGMGRL) (INSTANCE_NAME = emadbdg)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = "/ opt/app/oracle/oradata/emadbdg/archivelog1.
    AlternateLocation = "
    LogArchiveTrace = '0'
    LogArchiveFormat = '% t_%s_%r.dbf '.
    TopWaitEvents = "(monitor).

    State of the database:
    WARNING

    DGMGRL >
    DGMGRL >
    DGMGRL >
    DGMGRL >
    DGMGRL > output

    Alex Antony Samantha wrote:


    Head node

    SQL> archive log list
    Database log mode            Archive Mode
    Automatic archival            Enabled
    Archive destination            /opt/app/oracle/oradata/emadb/archivelog1
    Oldest online log sequence     65
    Next log sequence to archive   67
    Current log sequence            67
    
    SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
    
    THREAD# MAX(SEQUENCE#)
    ---------- --------------
          1           925
    

    It is misleading to the column sequence, sequence of real number is 65 series, but it's beyond. Have you restored any old backup with the incarnation?
    When you perform incremental backups, is the current_scn in the two primaries and Eve was balanced?

    And the sequence number * 29 * is transferred from the primary to the standby (or) he has been removed from the primary?
    Perform the two methods.

    (1) SQL > alter system set log_archive_dest_state_2 = 'reporter ';
    (2) conduct 3-4 log switches
    (3) SQL > alter system set log_archive_dest_state_2 = 'enable '.

    and displays the alert log database and backup files.
    And you mentioned the hostname in the entries of the listener, if this entry is added in/etc/hosts? otherwise you can use the IP address instead of the host name and then reload the listener.

    second method
    (1) copy archives missing from primary sequence of 29
    (2) place manually and then perform a recovery
    or
    (3) retrieve manually

    And update with your conclusions after all these lists.
    Thank you.

  • ashrpt - ORA-20200: samples of ASH NO exist for the DATABASE/Instance

    Hello guyes,

    Please could you help me with the generation of the report of ASHES? I have the stack on:
    "ORA-20200: NO samples of ASH does exist for the DATABASE Instance / '.

    I tried to find how to sample, but the only things I found is for statspack or awr.

    Thanks a lot :)

    redy007 wrote:
    sb92075:
    SYS@PMBTEST > select * from v version $;

    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11 g Release 11.2.0.2.0 - 64 bit version of PL/SQL Production 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for Linux: Version 11.2.0.2.0 - Production NLSRTL Version 11.2.0.2.0 - Production

    The active Session history exists only in the Enterprise edition.

  • How to write a query for the data exchange between two columns?

    How to write a query for the data exchange between two columns?

    I tried a request, does NOT work.
    update tmp t1 set t1.m1=t1.m2 and t1.m2=(select t2.m1 from tmp t2 where t2.student_id = t1.student_id)
    Thank you.

    Published by: user533361 on October 23, 2009 14:04

    Just plain and simple:

    update tmp t1
     set t1.m1=t1.m2,
         t1.m2=t1.m1
    /
    

    SY.

  • How to determine the level of Group of patches for the database Oracle EBS Server?

    Dear
    How findout patches for the database server Oracle EBS group level i.e. 10.2.0.3?

    Concerning

    Dear Suzy,

    I was looking for a patch of database being upgraded. After the database owner (enviroment) to supply file, I used the following command from $ORACLE_RDBMS_HOME/OPatch directory, command like $ OPatch lsinventory, he listed all the patches and updated patch also.

    'OPatch lsinventory' must list all patches applied to $RDBMS_ORACLE_HOME. For the level of database of the Group of hotfixes, you can use one of the instructions above to get the version. In addition, you can check to the BONE by running executable files (i.e. sqlplus, impdb... etc).

    And on request, I used-> -use $AD_TOP/sql/adutconf.sql , it is perfectly correct.

    Ok.

    But I can't go through of OAM,-diagnostics of Applications using, you can guide me. When I select plan of the site-diagnosis & repair - run diagnostic tests, it error. Say year error has occurred!
    Please note: you don't have sufficient privileges to perform this function.

    OAM and Diagnostics Applications are two different things.

    Diagnostics of applications can be run from "Oracle Diagnostic Tool".

    Note: 358831,1 - E-Business Suite Diagnostics run Instructions
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=358831.1

    Note: 167000.1 - Installation Guide for E-Business Suite Diagnostics
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=167000.1

    For the Group of hotfixes in OAM, follow the steps described in the following note:

    Note: 550654.1 - how to get patches Oracle Applications products in R12 group level
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=550654.1

    Kind regards
    Hussein

  • How to free up disk space for the database file

    Hi experts BDB.

    I use bdb4.6.21 transaction Btree access method, found that after vacuum db db-> truncate, the size of the db file has changed. How to free up disk file db space? It can be configured?

    Thank you

    Min

    Hi Min,

    What Mike says is that you do not expect that the empty space after an operation of truncation (for example a delete or update that empties a page) in the database (empty pages) to return to the file system and therefore to see the physical file size decreases.

    The next section of the documentation explaining this: required disk space

    Space released by removing the key/data pairs in a Btree database or Hash is never returned in the file system, even if it is reused when possible. This means that the databases Btree and hash are to develop alone. If enough key is deleted from a database which shrinks the underlying file is desirable, use the DB-> compact() method to recover disk space. Alternatively, you can create a new database and copy the folders of the former into it.


    So, as Mike suggested, you can dump and reload the data into a new database, or copy data from the existing/old database to a new (to remove the old database and rename a new one the old name), or you can try to compact the database using the method compact().

    If you use compact(), then in order to force the return of empty for the file system pages when possible, use the DB_FREE_SPACE flag and try to avoid using an explicit transaction (use a NULL tnxid pointer, so this BDB will use internally of several transactions that will be engaged periodically to avoid locking large sections of the tree).

    When you use the compaction in order to free up space and return pages from database empty in the file system that it is generally recommended to repeat Compact with a value low 'compact_fillpercent '.  In addition, the following output statistics fields in the structure DB_COMPACT, compact_pages_truncated and compact_pages_free should be examined to determine if there is a point, continuing to run the compaction with the same compact_fillpercent.  If the values are strict positive it is then compact() calling again with the same compact_fillpercent (and specify the DB_FREE_SPACE flag).  The compact algorithm allows a single pass on the pages of the database;  pages so not empty at the end of the file will prevent the free pages (which are placed on the free list) to be returned to the file system.

    Kind regards

    Andrei

  • "Backup Optimization" does not work for the "database backup"

    Hello

    I use a windows environment and my info from database is like this:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    now I have to change my configuration for backup optimization on and then make example tablespace offline and do file sample data in offline mode. After that, I run 2 times 'Backup Database' command but 2 backup has the same size and have example tablespace too... Any backup archivelog is work bur backup database is not!
    According to this link, it does not backup datafile for the second example: http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmconfb.htm#BRADV113
    is there something I missed?

    configuration of RMAN:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 5;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    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;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'HIGH' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\APP\ABC\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFORCL.ORA'; # default

    No failure, it works an expected. There is a relationship between the retention policy and the number of backups:

    RMAN only ignore backups of offline or read-only data files when there are backups n + 1, where n is the redundancy. You have of the "REDUNDANCY 5', and you will keep 6 identical backups of the offline data file.

    Werner

  • Set a working folder for the database root $

    Customers need to set a working folder for the $ (root) of each project?

    We have created a database of RSC corresponding to every aid project and now have the following Windows folder and the database structure:

    (database) Path: $/ HelpProjectOne
    Local path: D:\Projects\HelpProjectOne

    (database) Path: $/ HelpProjectTwo
    Local path: D:\Projects\HelpProjectTwo

    (database) Path: $/ HelpProjectThree
    Local path: D:\Projects\HelpProjectThree

    My question is, when I open a database in the RSC Explorer, click on the ' $' at the top of the tree so that this option is selected, and then click file> Set working folder..., is it a good idea that the path field (database) is set to $ and the Local path field is empty?

    Or, I need to define the scope of Local path to D:\Projects or some other setting?

    In your configuration, you need to set the local path, for example, D:\Projects\.

    The contents of the folder to the datbase $- i.e. the folder HelpProjectOne - will be copied in the designated directory.

    -Dirk Bock

  • What method is good for the database upgrade of small size

    want to upgrade the database 10g to 11g.

    Database 10g running on server1 production wants to upgrade to another Server2 Server 11 g

    where's the good.

    -> > > > 1 upgrade can migrate 2 different server.

    -> > > > > 2 migrate then upgrade the database.

    -> > > > another question

    If am install 11g on server2 and 10g migration directly then there will be future problems on future production.

    Instead of 11.2.0.1, I would say that you use 11.2.0.4. For a 5G database, import/export is probably the best option

    HTH
    Srini

  • How to set the SGA / PGA or memory target for the database

    Hello

    We use on AIX 5.1,6.1, oracle 9i, 10g, 11g

    Currently, we manage the databases on the default memory which was chosen at the time of the creation of the databases.

    Now the application owner want to host multiple databases on the same server, so they ask the

    rough idea on the memory required for each database,

    How we calculate the amount of memory required for each database.

    Thank you

    that recommend the SGA ADVISOR?

  • Symantec AntiVirus recommended for the database oracle on windows server 2003

    Hi all

    I have a server of oracle database on the windows server 2003 version 10.2.0.4 platform. What are best practices for symantec antivirus running on this server, but the database of their scanning file exclusions.

    My server restarted unexpectedly for many times. I have in the log of event id 6008. What can be the cause of it... ?

    How to configure the anti-virus protection on Windows Server that is running the database Oracle [ID 782354.1]

  • Dynamic JNDI name for the database in BPEL adapter

    Hi all

    I have some problems trying to give the JNDI location for the dynamic database adapter (10.1.3.4). I already went through the following link, but that has not worked for me: http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html

    The example below works, but only the first round. Second time around the first tracks JNDI value gets stored and connects to this database.

    That's what at least worked the first time.

    I set the JNDI with a variable defined in the definition of partnerlink in the bpel.xml

    In Bpel. XML

    < partnerLinkBinding name = "updatetbl" >
    < property name = "wsdlLocation" > updatetbl.wsdl < / property >
    < property name = "CONN" > eis/DB/na < / property >
    < property name = "retryInterval" > 60 < / property >
    < / partnerLinkBinding >



    In the updatetbl.wsdl file

    < service name = "updatetbl" >
    < name of port = "updatetbl_pt" binding = "tns:updatetbl_binding" >
    < jca:address location = "$CONN" / >
    < / port >
    < / service >


    At runtime, I change the variable CONN partnerlink in embedded Java.


    Try
    {
    Element targetAdapterElement = (Element) getVariableData("Invoke_getFromTbl_OutputVariable","getFromTblOutputCollection","/ns2:getFromTblOutputCollection/ns2:getFromTblOutput/ns2:SRC_JNDI");
    getLocator ().lookupProcess("JndiIssueTest").getDescriptor () .getPartnerLinkBindings () .getPartnerLinkBinding ("updatetbl") .setPropertyValue ("CONN", targetAdapterElement.getTextContent ());
    ("updatetbl").GetPropertyValue ("CONN"));
    }
    catch (Exception ex)
    {
    addAuditTrailEntry ("Error is" + ex);
    }


    It works fine the first time but the second time I launch it looks like a different value of CONN, it connects somehow always using the first value of tracks!

    If I redeploy or erase the cache WSDL, it works. But we intend to run it several times to several environment manually or programmatically clearing WSDL is not the right solution.

    Can someone tell me what is the standard process to do to make it work every time?

    Thank you
    Shaf

    Shaf,

    Please refer to the thread of e-mail for more details. If you want I can send you (send me your email id) the sample BPEL process that uses dynamic JNDI.

    Re: How to outsource the JNDI name (dynamically set the JNDI name)

    Thank you

    Sen

  • Can not find the file init for the database instance

    I have installed Oracle 10 g under Linux CentOS, run netca to create listener.ora and tnsnames.ora files, then I run dbca to create the myodb database and orcl instance.



    Now when I run dbstart, in the boot log, that it is said that he could not find the file orcl example init. so that the database myodb, he says:

    < em > / oracle/product/10.2.0/db_1/bin/dbstart: database instance "myodb' hot began.





    < /em > my questions:



    1. why it is said when I run dbstart both myodb & orcl are instances of database, I created myodb as the General database, while orcl corresponds to the instance, here it says:

    instance of < em > data treatment "orcl": journal file /oracle/product/10.2.0/db_1/startup.log

    Database instance "myodb' of treatment: save the /oracle/product/10.2.0/db_1/startup.log file



    < /em > is the name of the General database is considered an instance itself and can be used alternatively with the instance of word?



    2 when I created the database using dbca, I made the password for users of SYSTEM & SYS.



    When I try to connect to sqlplus using the system/mypassword, here it says:



    < strong > < em > ORA-01034: ORACLE is not available

    ORA-27101: shared memory realm does not exist

    Linux error: 2: no such file or directory < /em > < / strong >



    3. the database myodb started but it is not mentioned in my tnsnames file or the listener, while one mentioned is orcl has not begun, how is it? I know I'm missing a dir for /orcl in/oracle/home/admin, something that we find for the myodb, where there is/oracle/home/admin/myodb/pfile/init file.



    How can I fix this?



    4. What is the use of the command sql, < strong > edit < facilities > system registry, told me in another thread to connect to an idle instance with sqlplus and run this command, here what I got:



    < em > ERROR on line 1:

    ORA-01034: ORACLE not available



    < /em > 5 - can I just rely on the name of the General database and forget the thing of the Forum? I'm just confused about the difference and do not know how the orcl instance was created, it has not been created with dbca, because when I run dbca he says it's already there, create another instance, so I commented the sid parameter and now I amn't during its creation and how to retrieve its files if I need to re - create it again.



    Note: it is located in the bash_profile as $ORACLE_SID = orcl, why it's the only game, while General MYODB database name is not set, can be there rather than on the instance or SID in the bash_profile?





    Sorry for the many questions, this is the thing of the instance and their related discipline, I appreciate your help.



    Thanks in advance.




    If you have only 1 instance "orcl" then the oratab file should have only 1 entry - only for "orcl". Along, only one instance "myodb" {with the db_name "myodb"} must be started.
    The database Instance is identified by the SID - IE the ORACLE_SID.

    Normally, the SID and DB_NAME are the same - and they do like default value is the same when you run dbca. You have changed probably manually the db_name in dbca.

    If the listener is running on port 1521 and is started before the database instance, the database instance automatically saves with the listener. If the listener is started after the database instance, and then the command 'ALTER SYSTEM REGISTER' in the database instance indicates PMON to register with the listener.
    If you do not want to depend on the automatic check of the database with the listener instance, then you can include the information database (SID!) in the listener.ora. In addition, which would be caused if the listener is not on the default port 1521.

    See my posting in this thread: oracle sid and database the name of for more notes.

    A database can contain multiple schemas - each schema is a different database account. In other implementations of database (non-Oracle), what is called a "database", it is called a 'plan' in Oracle - but that is created as a database account. Database accounts are listed in DBA_USERS - if a user "owns" objects, it's a 'plan', otherwise, it is only a user. {Oracle also provides a CREATE SCHEMA command to create multiple objects in a single command.}

    Hemant K Collette
    http://hemantoracledba.blogspot.com

    Published by: Hemant K grapple on November 6, 2008 09:31
    corrected "orcl" to "myodb.

  • VMware Clod Migration boot cd for the database Migration SQL Server

    Hi techies,.

    I have a requirement to migrate one of our physical DB server to the virtual machine, it is very important to business so I thought to go with cold cloning with boot cd, but I could not get this cd bootable anywhere... ! can someone help me on this? and also please suggest me there at - it another way, I can do this task successfully with some fails?

    VMware Converter 5.x has the ability work synchronize to power use this run a p2v migration

    (1) perform a P2v full and when its done and you're ready to cut more

    (2) stop the database service and do a synchronizaion and put the virtual machine online

  • Need help to configure Auto-start for the database

    Hello

    DB version: 11.2
    OS: RHEL 5

    Please help me
    I want to configure the database and listener in auto-start during the startup process of the operating system.

    Concerning

    Step 1 of the oracle user

    CD $ORACLE_HOME/bin
    VI dbstart
    VI dbshut

    changed the

    LISTENER_ORACLE_HOME = $1

    TO

    LISTENER_ORACLE_HOME = $ORACLE_HOME

    Step-2 of the root user

    VI /etc/init.d/dbora

    #! / bin/sh

    Oracle # these scripts runs the listner and Oracle database server.
    #
    # chkconfig: 345 81 81
    Description #: this is the Oracle
    #

    # Define ORA_HOME as equivalent to the ORACLE_HOME
    # from which you want to run dbstart and
    # dbshut
    # the value ORA_OWNER to the userid of the owner of the
    # Oracle in ORA_HOME Server

    ORACLE_HOME=/U01/app/Oracle/product/10.2.0/Db_1
    ORA_OWNER = oracle

    If [! f $ORACLE_HOME/bin/dbstart]
    then
    echo "Oracle startup: cannot start.
    Output 1
    FI

    case '$1' in
    'Start')

    # Run Oracle databases:
    # The following command assumes that the oracle connection will encourage not the
    user # all values

    known - $ORA_OWNER - c "start ORACLE_HOME/bin/lsnrctl $".
    Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbstart.
    ;;
    'stop')

    # Stop the Oracle databases:
    # The following command assumes that the oracle connection will encourage not the
    user # all values

    known - $ORA_OWNER - c "judgment of $ORACLE_HOME/bin/lsnrctl.
    Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbshut.
    ;;
    ESAC

    Exit 0

    Note: Please check your ORACLE_HOME

    Step-3 of the root user

    chmod 755 released
    chkconfig released on

    VI/etc/oratab
    ORCL:/U01/app/Oracle/product/10.2.0/Db_1:Y

    Step 4 Test the automatic start of the root user

    stop /etc/init.d/Dbora
    stop /etc/init.d/Dbora

    Or

    Restart the server

    You can also view
    http://www.Oracle-base.com/articles/Linux/automating-database-startup-and-shutdown-on-Linux.php
    http://docs.Oracle.com/CD/E11882_01/server.112/e10839/strt_stp.htm#BABGDGHF

Maybe you are looking for