Standby Server

Hi All
I have oracle 9i DB.
I want to make a (standby server) in diffrent location, which is a mirror of my current server for the first time,
then I want to send a batch to update it once aday.
in case of any damage of the current server I will connect to the (standby server).
what is the right way to make this plan?
I am thinking of use RMAN , but how ?!?!?!?! (any help doc)
Are there a better way ?
Another Question :
I use the (Archive log) in my DB, for now I am using EXP from my backup,
I don't think that we need Archive log once we use EXP for all data, How to stop working with archive log?
thanx in advance

I don't think that we need Archive log once we use EXP for all dataYeah, go on with NOARGIVELOG mode if and only if you want to loose data. And don't reply you don't want, because the only way to preserve data is to have a backup and archivelog files from backup time to "now". If you're trusting export for your backups I'd advise you to get back to TFM, for your data's sake.
I am thinking of use RMAN , but howIf you want to create a standby database, just look there: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1004466
And use DataGuard for the synch of the databases. Or maybe are you planning to clone the whole server? If so, did you take in account the time take by a restore in case the main server crashes? etc?
DR is not an easy stuff. If you describe what you want to achieve, we will be able to give advice, not if you only ask widely open questions!
Regards,
Yoann.

Similar Messages

  • Will RMAN delete archive log files on a Standby server?

    Environment:
    Oracle 11.2.0.3 EE on Solaris 10.5
    I am currently NOT using an RMAN repository (coming soon).
    I have a Primary database sending log files to a Standby.
    My Retention Policy is set to 'RECOVERY WINDOW OF 8 DAYS'.
    Question: Will RMAN delete the archive log files on the Standby server after they become obsolete based on the Retention Policy or do I need to remove them manually via O/S command?
    Does the fact that I'm NOT using an RMAN Repository at the moment make a difference?
    Couldn't find the answer in the docs.
    Thanks very much!!
    -gary

    Hello again Gary;
    Sorry for the delay.
    Why is what you suggested better?
    No, its not better, but I prefer to manage the archive. This method works, period.
    Does that fact (running a backup every 4 hours) make my archivelog deletion policy irrelevant?
    No. The policy is important.
    Having the Primary set to :
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBYBut set to "NONE" on the Standby.
    Means the worst thing that can happen is RMAN will bark when you try to delete something. ( this is a good thing )
    How do I prevent the archive backup process from backing up an archive log file before it gets shipped to the standby?
    Should be a non-issue, the archive does not move, the REDO is transported and applied. There's SQL to monitor both ( Transport and Apply )
    For Data Guard I would consider getting a copy of
    "Oracle Data Guard 11g Handbook" - Larry Carpenter (AKA Dr. Paranoid ) ISBN 978-0-07-162111-2
    Best Oracle book I've read in 10 years. Covers a ton of ground clearly.
    Also Data Guard forum here :
    Data Guard
    Best Regards
    mseberg
    Edited by: mseberg on Apr 10, 2012 4:39 PM

  • Logical standby server stopped applying changes

    Hi
    I set up a logical standby database with database guard and it worked fine for some time. But recently I had to use it again and discovered that applying changes from primary database to secondary database just stopped working. I see in V$ARCHIVED_LOG one entry per day. If I restart the logical standby then the changes from primary server are also applied. But if I just make a change on primary server and even call 'alter system switch logfile' then I see an entry in V$ARCHIVED_LOG on primary server but not on standby server (BTW in general there are much more entries in this view on the primary server). I checked pairs of log files indicated by the parameter *.log_file_name_convert in standby server's spfile: their last changed date is always the same.
    I will paste spfile of my standby server (dh5). Primary server name is dh2.
    dh2.__db_cache_size=79691776
    dh5.__db_cache_size=96468992
    dh2.__java_pool_size=4194304
    dh5.__java_pool_size=4194304
    dh2.__large_pool_size=4194304
    dh5.__large_pool_size=4194304
    dh2.__shared_pool_size=71303168
    dh5.__shared_pool_size=54525952
    dh2.__streams_pool_size=0
    dh5.__streams_pool_size=0
    *.audit_file_dest='/var/lib/oracle/oracle/product/10.2.0/db_1/admin/dh5/adump'
    *.background_dump_dest='/var/lib/oracle/oracle/product/10.2.0/db_1/admin/dh5/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='/var/lib/oracle/oracle/product/10.2.0/db_1/oradata/dh5/control01.ctl'
    *.core_dump_dest='/var/lib/oracle/oracle/product/10.2.0/db_1/admin/dh5/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='dh2','dh5'
    *.db_name='dh7'
    *.db_recovery_file_dest='/var/lib/oracle/oracle/product/10.2.0/db_1/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.db_unique_name='dh5'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=dh2XDB)'
    *.fal_client='dh5'
    *.fal_server='dh2'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(dh2,dh5)'
    *.log_archive_dest_1='LOCATION=/var/lib/oracle/oracle/product/10.2.0/db_1/oradata/dh5_local
    VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=dh5'
    *.log_archive_dest_2='SERVICE=dh2 LGWR ASYNC
    VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
    DB_UNIQUE_NAME=dh2'
    *.log_archive_dest_3='LOCATION=/var/lib/oracle/oracle/product/10.2.0/db_1/oradata/dh5
    VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLES)
    DB_UNIQUE_NAME=dh5'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_dest_state_3='ENABLE'
    *.log_archive_format='%t_%s_%r.arc'
    *.log_archive_max_processes=30
    *.log_file_name_convert='oradata/dh2/redo01.log','flash_recovery_area/DH5/onlinelog/o1_mf_4_5x0o5grc_.log','oradata/dh2/r
    edo02.log','flash_recovery_area/DH5/onlinelog/o1_mf_5_5x0o61mw_.log','oradata/dh2/redo03.log','flash_recovery_area/DH5/on
    linelog/o1_mf_6_5x0o63gj_.log'
    *.nls_language='AMERICAN'
    *.open_cursors=300
    *.pga_aggregate_target=311427072
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.undo_management='AUTO'
    *.undo_retention=3600
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/var/lib/oracle/oracle/product/10.2.0/db_1/admin/dh5/udump'
    Thanks in advance for any help.
    JM

    Hi,
    Nice to hear you issue got resolved.
    It is good practice to keep monitoring the progress of SQL apply on the logical standby on a regular basis.
    You can mark my response as helpful if it has helped you.
    Regards
    Anudeep

  • Archived log to standby server stopped

    Hi,
    I configured dataguard standby server few weeks ago,
    I set log_archive_dest_2='SERVICE=JHRD0107_OFS1 OPTIONAL'
    and log_archive_dest_state=ENABLE in primary server,
    and very go fine until yesterday, I shutdown my standby server and set the log_archive_dest_state=DEFER,
    when I tried to startup again the standby server, and set log_archive_dest_state=ENABLE again,
    the archive stop sending the archived log to log_archive_dest_2.
    No error was found in alert log of primary and standby server.
    It seem that the primary server don't know there is another archive destination..
    The database version is 10g 10.2.0.4
    Anyone what could be the cause of this?
    Thanks

    Hi, Below is the parameter related to archive in my primary server
    SQL> alter system set log_archive_dest_state_2=enable;
    System altered.
    SQL> show parameter archive
    NAME TYPE VALUE
    archive_lag_target integer 0
    log_archive_config string
    log_archive_dest string
    log_archive_dest_1 string LOCATION=I:\OFSDB\OFS1\archive
    MANDATORY REOPEN=300
    log_archive_dest_10 string LOCATION=USE_DB_RECOVERY_FILE_
    DEST OPTIONAL REOPEN=300
    log_archive_dest_2 string SERVICE=JHRD0107_OFS1 OPTIONAL
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    NAME TYPE VALUE
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string enable
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string ENABLE
    log_archive_dest_state_3 string enable
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    NAME TYPE VALUE
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string ARC%S_%R.%T
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 2
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    remote_archive_enable string true
    NAME TYPE VALUE
    standby_archive_dest string %ORACLE_HOME%\RDBMS
    Thanks for your response.
    Vincent

  • Standby server in oracle9i standard edition under linix

    Hi,
    I want to know more abt the standby server option on oracle 9i standard edition, whether is it possible or not, if yes give me step by step doc and useful scripts for automating the system.
    thanx in advance.

    Hi,
    look in the "Data Guard Concepts and Administration"-Dokumentation(Help CD). All steps you have todo, are descriped there.
    For Online-Help, look here:
    http://otn.oracle.com/pls/db92/drilldown?word=Data+Guard&wildcards=0&remark=federated_search

  • UCCX 8.0 SNMP notification to report failover from active to the standby server?

    Does any know the UCCX 8.0 SNMP notification to report failover from active to the standby server?  (The specific notification.)
    ftp://ftp.cisco.com/pub/mibs/v2/CISCO-VOICE-APPS-MIB.my
    I see this in the MIB.
    cvaModuleStart NOTIFICATION-TYPE
      OBJECTS   { cvaAlarmSeverity, cvaModuleName }
      STATUS    current
      DESCRIPTION
            "A cvaModuleStart notification signifies that an
            application module or subsystem has successfully
            started and transitioned into in-service state. 
            This notification is working in conjunction with
            the cvaModuleStop notification to notify the start
            and stop status of a particular application module."
      ::= {ciscoVoiceAppsMIBNotifications 1}

    Attached are two files:
    cad-ecc-viewer.html
    This is a template HTML document which dictates how the pop up will look and what data fields are available.
    cad-ecc-viewer.vbs
    This is the Windows Scripting Host file which you run from a CDA workflow, and you pass it the values of the call data, it then launches an instance of IE and loads the above template.
    By default the code is setup to use the following data from the call, but can be modified to work with more, less, or different data:
    Customer Name
    Customer Status (like Premium, or Platinum)
    Customer Number (like an account number)
    Customer Phone Number
    So when you specify the VBS file to run in CDA you need to pass those variables in that order.
    The CDA should expect the VBS file on the root of C:\ by default, and the VBS file expects the HTML Template on the root of C:\ also.
    I have only tested this on UCCX 7x and IE 8x.  Use the code as a guide to your own solution, that suites your business requirements.
    EDIT: I see that this does not work on my Win7/IE9 system, so I will spend some time updating the code for Win7/IE9 and I'll let you know how it goes.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Standby server - WAIT_FOR_GAP error

    Hi,
    I have a Oracle Dataguard 10.2 running on Windows and found a WAIT_FOR_GAP error on the standby server.
    --> alert log of standby
    Sun Jan 30 20:00:04 2011
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
    MRP0 started with pid=18, OS id=2452
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 3 processes
    Sun Jan 30 20:00:13 2011
    Waiting for all non-current ORLs to be archived...
    Clearing online redo logfile 10 E:\ORACLE\A30\ORIGLOGA\LOG_G10_M1.DBF
    Clearing online log 10 of thread 1 sequence number 17848
    Sun Jan 30 20:00:13 2011
    Errors in file z:\oracle\a30\saptrace\background\a30_mrp0_2452.trc:
    ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 10 thread 1: 'E:\ORACLE\A30\ORIGLOGA\LOG_G10_M1.DBF'
    Clearing online redo logfile 10 complete
    Media Recovery Log L:\ORACLE\A30\ORAARCH\A30ARCH\ARC17856_0681431456.001
    Sun Jan 30 20:00:13 2011
    Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
    Sun Jan 30 20:00:33 2011
    Media Recovery Waiting for thread 1 sequence 17857
    Sun Jan 30 20:51:19 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[636]: Assigned to RFS process 4976
    RFS[636]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    Sun Jan 30 20:51:20 2011
    Fetching gap sequence in thread 1, gap sequence 17857-17863
    Sun Jan 30 20:51:20 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[637]: Assigned to RFS process 4012
    RFS[637]: Identified database type as 'physical standby'
    Sun Jan 30 20:52:20 2011
    RFS[637]: Archived Log: 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC17864_0681431456.001'
    Sun Jan 30 20:56:34 2011
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 17857-17863
    DBID 3371425568 branch 681431456
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Sun Jan 30 22:00:44 2011
    RFS[636]: Archived Log: 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC17865_0681431456.001'
    Primary database is in MAXIMUM PERFORMANCE mode
    SQL> select process,sequence#,status from v$managed_standby;
    PROCESS    SEQUENCE# STATUS
    ARCH               0 CONNECTED
    ARCH               0 CONNECTED
    MRP0           17857 WAIT_FOR_GAP
    RFS                0 IDLE
    RFS                0 IDLE
    RFS                0 IDLE
    SQL> select * from v$archive_gap;
       THREAD# LOW_SEQUENCE# HIGH_SEQUENCE#
             1         17857          17863
    SQL> select sequence#,applied from v$archived_log order by sequence#;
    SEQUENCE# APP
         17855 YES
         17856 YES <--- Gap here
         17864 NO
         17865 NO
         17866 NO
         17867 NO
         17868 NO
         17869 NO
         17870 NO
         17871 NO
         17872 NO
    SEQUENCE# APP
         17873 NO
         17874 NO
         17875 NO
         17876 NO
         17877 NO
         17878 NO
         17879 NO <--- Gap here
         17889 NO
         17890 NO
         17891 NO
         17892 NO
    SEQUENCE# APP
         18067 NO
         18068 NO
         18069 NO
         18070 NO
         18071 NO
         18072 NO
    4032 rows selected.
    --> alert log of primary
    Sun Jan 30 20:00:03 2011
    Incremental checkpoint up to RBA [0x45c8.1f6c6.0], current log tail at RBA [0x45c8.1f7f5.0]
    Sun Jan 30 20:05:04 2011
    ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
    Sun Jan 30 20:30:11 2011
    Incremental checkpoint up to RBA [0x45c8.201e2.0], current log tail at RBA [0x45c8.20215.0]
    Sun Jan 30 20:51:12 2011
    Destination LOG_ARCHIVE_DEST_2 is UNSYNCHRONIZED
    LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
    LNSb started with pid=50, OS id=1792
    Sun Jan 30 20:51:19 2011
    Destination LOG_ARCHIVE_DEST_2 no longer supports SYNCHRONIZATION
    Beginning log switch checkpoint up to RBA [0x45c9.2.10], SCN: 276988485
    Sun Jan 30 20:51:20 2011
    Thread 1 advanced to log sequence 17865 (LGWR switch)
      Current log# 17 seq# 17865 mem# 0: F:\ORACLE\A30\ORIGLOGB\LOG_G17_M1.DBF
      Current log# 17 seq# 17865 mem# 1: E:\ORACLE\A30\MIRRLOGB\LOG_G17_M2.DBF
    Sun Jan 30 20:51:20 2011
    ARC1: LGWR is actively archiving destination LOG_ARCHIVE_DEST_2
    Sun Jan 30 20:51:25 2011
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    Sun Jan 30 20:56:35 2011
    Completed checkpoint up to RBA [0x45c9.2.10], SCN: 276988485

    Hi,
    I've seen that, if the following message persists for a long time, then it is an ERROR.
    FAL[client]: Failed to request gap sequence GAP - thread 1 sequence 17857-17863 DBID 3371425568 branch 681431456 FAL[client]: All defined FAL servers have been attempted.
    The possibility is that log shipping of 17857 is stuck. It is not stuck because of any network disconnect, as it is in the case you mentioned. It is probably due to the following.
    The parameter LOG_ARCHIVE_DEST_1 on standby is set as L:\ORACLE\A30\ORAARCH\A30ARCH\ARC and STANDBY_ARCHIVE_DEST is also set to L:\ORACLE\A30\ORAARCH\A30ARCH\ARC. When a GAP is identified, standby database tries to pull the missing files FROM PRIMARY, and the in turn when you enable standby destination on primary (log_archive_dest_state_2 = enabled), it starts shipping logfiles on its OWN.
    When such a situation occurs in a system when archived logs are generated at a high rate, it can happen that the file which standby is trying to pull is being pushed/already pushed by primary database. Then a conflict arise, and standby deletes the file and tries to pull it again...this may go on in a loop. (because the locations are SAME).
    When i had this issue, I maintained different locations for  LOG_ARCHIVE_DEST_1 and STANDBY_ARCHIVE_DEST on standby database. After this is done, you will find that the logs shipped by primary are written in STANDBY_ARCHIVE_DEST. The file written in this location will be used by the standby database only when you do a managed recovery. If you are doing a manual recovery by issuing the command RECOVER STANDBY DATABASE; then, the stanbdby database will check if the file exists in LOG_ARCHIVE_DEST_1.
    The point is, when there is BIG gap, then you have the option of doing the following procedure.
    1. On the primary database keep LOG_ARCHIVE DESTSTATE_2 = enable
    2. On the standby ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL.
    3. Copy the missing archive logs sequence from the primary to standby's LOG_ARCHIVE_DEST_1 and perform manual recovery on standby untill the gap is over.
    4. issue the command ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT to start managed recovery. ( This will use the files present in STANDBY_ARCHIVE_DEST ).
    Hope the above procedure helps.
    Note: If the GAP is not that big and you see that last applied log is advancing, then conflict is not there...standby will automatically fill the GAP. But it is advised to maintain different location for the parameters i mentioned.
    Regards,
    Anish
    Edited by: Mohammed Anish on Feb 10, 2011 6:48 AM

  • Oracle 10gR2 Data guard physical or logical standby server?

    Hi
    We are planing to implement an Oracle 10gR2 data guard standby server for DR purposes, I found out that there are two type of standby server which is logical and physical standby server. I want to know which one is preferable? in term of complexity of setup and maintenance?
    regards

    Well it depends on what you mean by maintenance. I found the physical standby to be very little trouble at all ; however the logical standby has restrictions on it that the physical standby does not. In essence the physical standby merely digest archive logs; where as the logical standby uses logminer like functionality to process sql statements much like Oracle streams.
    Hope that helps,
    -JR jr.

  • Error in standby server

    The standby server not receiving archivelogs continuesly . Scenario : in 10 files transmission,database transmitting only 7 or 8 files. remaining files i am copying maunally & then resolving the gap sequence .when i see alert log file in standby server I am geting an error like follows.what should i do?
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 152366-152366
    DBID 3500755944 branch 694072247
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    -------------------------------------------------------------

    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version
    What clues exist in alert_SID.log file on Primary?

  • Why FRA filling faster in logical standby server.

    I have two standby servers one physical and one logical for my primary database. I have notice that on logical standby server the FRA is filling faster then physical standby server. Any one have some suggestions.
    Thx

    >
    I have two standby servers one physical and one logical for my primary database. I have notice that on logical standby server the FRA is filling faster then physical standby server. Any one have some suggestions.
    >
    That is to be expected, because the logical standby not only creates archive logs on behalf of the transmission from the primary but also generates its own archivelogs on behalf of the filling (& archiving) of the local online logfiles. If you watch a logical standby applying, you may notice that the standby logs are getting archived and the online logs as well. That is significant for a logical standby and leads to (at least temporary) higher space consumption in the recovery area. Temporary, because the applied archive logs can get deleted (automatically, if you allow that).
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • ORA-01017: invalid username/password; logon denied in Standby Server

    Hello,
    In Standby Server , when executing logs applying process it shows an error.
    It happens suddenly
    Now logs from PRD to standby is not applying.
    Error log is as follows:
    BR0002I BRARCHIVE 7.00 (42)
    BR0006I Start of offline redo log processing: aehrjpck.svd 2012-01-17 08.38.34
    BR0484I BRARCHIVE log file: /oracle/PRD/saparch/aehrjpck.svd
    BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.34
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT system/********@PRD.WORLD'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance PRD/PRIMARY failed.
    BR0338E Applying offline redo log file /oracle/PRD/oraarch/standby/PRDarch1_24090_696018700.dbf failed
    BR0338E Applying offline redo log file /oracle/PRD/oraarch/standby/PRDarch1_24091_696018700.dbf failed
    BR0016I 0 offline redo log files processed, total size 0.000 MB
    BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.36
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT system/********@PRD.WORLD'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance PRD/PRIMARY failed
    BR0007I End of offline redo log processing: aehrjpck.svd 2012-01-17 08.38.36
    BR0280I BRARCHIVE time stamp: 2012-01-17 08.38.36
    BR0005I BRARCHIVE terminated with errors
    Standby DB is in mount state
    I have checked from v$instance.
    # select status from v$instance;
    MOUNTED
    Logs applying commadt is as follows;
    # brarchive -u system/systempwd -c -f -d disk -m 30 -sd
    How can i check whether , the status of SYSTEM user?
    Since Standby is in mount state, im not allowed to query DBA_USERS
    How can i check whether , SYSTEM user is locked or not.
    Is it possible to change the password of SYSTEM , while DB is in mount state.
    I have tried like this;
    #sqlplus
    / as sysdba
    <It logon as sys - success>
    conn SYSTEM
    Enter password: systempwd
    ERROR:
    ORA-01033: ORACLE Initialization or shutdown in progress
    Warning: You are not longer connected to ORACLE
    Im not able to connect as SYSTEM user.
    What should be the solution for this;
    regards,
    Zerandib

    Is it possible to maintain different passwords for users in Standby and PrimaryFor SYSTEM user, you don't need to worry because when you change SYSTEM user password on primary, it will automatically be updated on the standby because password is saved in data dictionary and data dictionary change is also propagated at the standby standby site. More importantly, you will not be able to perform any data change on standby site in any case (password change of any user other than SYSDBA is a "data change" actually)
    For SYS password, no you can't have a different password on primary and standby site(s)
    Salman

  • ORACLE 10G RAC+STANDBY server

    We have a ORACLE RAC 10G based on 2 nodes with 1 disk array for test purposes.
    Now, we want to connect a standby server to RAC with its own disk array. Standby server with array will be located in another city.
    How can we realize it?

    Hi friend,
    We have tested with the following : we have 1og RAC (10.2.0.3.0) with Single Physical Standby database :
    RAC Database :
    bash-3.00$ export ORACLE_SID=racdb
    bash-3.00$ rman target sys/sysracdb@racdb
    RMAN> connect catalog rman/rman@racdb
    RMAN> backup device type disk format '/backup/rman/%U' database plus archivelog;
    RMAN> backup device type disk format '/backup/rman/%U' current controlfile for standby;
    Note : Transfer the backup to the standby database location.
    Single Instance Database
    SQL> create spfile from pfile='/oracle/admin/stdby/pfile/initstdby.ora';
    SQL> shutdown immediate;
    SQL> startup nomount;
    [oracle@linux7 pfile]$ rman target sys/sysracdb@racdb auxiliary=sys/sysracdb
    RMAN> duplicate target database for standby;
    Note : It will restore....
    bash-3.00$ export ORACLE_SID=stdby
    bash-3.00$ export ORACLE_HOME=/oracle/product/10.2.0/db_1
    SQL> alter system set control_files='+DATA_GRP1/stdby/CONTROLFILE/current.256.665416399' scope=spfile;
    SQL> shutdown immediate;
    SQL> startup nomount;
    SQL> alter database mount standby database;
    SQL> alter database recover managed standby database disconnect from session;
    Thanks
    LaserSoft

  • Standby server time zone - sync-up with primary

    As we are running our database with physical standby database - Oracle 10.2.0.3, O/S RHEL4 ES
    now the primary database server time zone is set to EST Time Zone and Standby database server is set to PST time Zone
    We would need to Sync-up standby time zone with Primary database server (EST)
    and also the standby server is having 2 instances,
    1. standby instance
    2. independent instance
    We are running rman for both the instances in standby server
    as part of this time sync, we need to bring down both the instances then reset the time zone in standby server as primary and bring both the instances up and run the rman backup.
    is this fine.
    Please let us know if this is fine or do we need to perform anything more.
    Thanks,
    AJ

    Please see the attached screenshot, which is of the last page of the Sync Setup process. It says to backup your Sync Key, and it offers a Print ... button and a Save... button. The correct Sync Key is necessary to recover your data, it is the encryption / decryption key. Sorry, without it your data is useless.

  • Single license / Standby Server Preparedness

    I have a production server with a Standard Edition One single CPU license. I need to be ready in case the server has a problem and I need to stand up a new server.
    At what point is it required to buy another license?
    Case 1:
    Standby Server: Oracle is not installed.
    Primary Server does level 0, level 1 backups to the Flash Recovery Area. The backups are copied the Standby server each night. Furthermore the archive logs are copied to Standby as they are created.
    Recovery would involve, installing Oracle and then using rman to restore and recover.
    Case 2:
    Standby Server: Oracle is installed, it only has the sample schema and is shutdown.
    Primary Server does level 0, level 1 backups to the Flash Recovery Area. The backups are copied the Standby server each night. Furthermore the archive logs are copied to Standby as they are created.
    Recovery would involve, starting Oracle and then using rman to restore and recover from the FRA.
    Case 3:
    Standby Server: Oracle is installed, communicates to Primary via Net8, has a copy of the primary database, is mounted and applying archive logs throughout the day.
    Primary Server does level 0, level 1 backups to the Flash Recovery Area. The backups are copied the Standby server each night. Furthermore the archive logs are copied to Standby as they are created. Standby applies the arcivelogs via .bat script.
    Recovery would involve, applying the last archive log and opening.
    I’m trying to find the fastest road to recovering to a new server without needing to shell out $5k for a license and another $1k per year for support.

    >
    I'm pretty sure doing any of my proposed solutions is of the developer license, as this a production environment. It seems like it a violation of the license to have Oracle installed on 2 servers even if one is shutdown.
    >
    That would be my opinion as well.
    >
    It's like Oracle requires us to install it on the 2nd server only when the 1st server it out of commission. I really don't know.
    >
    Still don't know why you don't have an image backup of the disk partition that Oracle consumes.
    I have multiple OS's installed on machines in their own partitions. On Linux you can easily use the DD command to copy an entire partition, sector by sector, to a backup file. Restoring it takes only a few minutes even for a 20 GB partition. An Oracle-only installation is nowhere near that size.
    I can restore the OS or an installed app in a few minutes from an image backup. This is really easy on Linux since there is no registry to deal with. At some point you need to start heading towards virtual disks.
    Using Oracle's VM technology you just have a VM template (image) that gets deployed to a server. You only need the license for the servers you actually deploy to. So if a server goes down you redeploy the OS template to another server and keep right on trucking.
    You should really look into VM and start getting familiar with it. It is a game changer.
    The Oracle VM Templates main page is
    http://www.oracle.com/technetwork/server-storage/vm/database-092479.html
    They have a VM Templates for RAC also.
    http://www.oracle.com/technetwork/server-storage/vm/rac-template-11grel2-166623.html
    Using Oracle's virtual box you have plenty of pre-built developer VMs available for download
    http://www.oracle.com/technetwork/community/developer-vm/index.html
    And plenty of Oracle-provided articles about how to use VirtualBox and those templates
    http://www.oracle.com/technetwork/articles/servers-storage-admin/howto-use-vb-templates-1695904.html
    I have a single server that has multiple VMs running on it for different OSs including Windows XP. I rarely pick up any viruses because each system is in its own virtual machine. Periodically I just redeploy a VM template for XP and start fresh. Important files and page files are on on high-speed shared drives.
    You are missing out on the revolution if you haven't ventured into the VM area yet.

  • Replace standby server in CCX 8.02su3 HA cluster

    Hej.
    I am replacing the standby server (secondary node) in a CCX 8.02su3 cluster because of hardware failure.
    I can only find the procedure for replacing the primary node on cisco .com.
    Here is what I attend to do :
    1. Remove secondary node (server name) from primary node's www under System->Server
    2. Take backup of primary node
    3. Add secondary node (server name) in primary node's www under System->Server ( Same ip, sub etc as old secondary node but new mac)
    4. Start installation on secondary node (with adding patches in the installation phase so the server comes to SU3 with the same)
    5. Take full backup of cluster.
    Don't if step 1 (and 3) is nessesary..
    Can anyone please verify this procedure.
    Thanks in advance
    Thomas

    This is exactly what you need to do if you are reinstalling the second server.
    Thank you
    Rajani

  • Creating Standby server ---- Flash archive/Alternate Boot Environment.

    Dear All,
    I want to patch upgrade the Centralized login server which holds more than 200 users. To avoid this production outage during the downtime of upgradation, we are planning to create all the logins and application in the alternate server manually. But i feel (lazy) hesitate to create logins and copy the applications in the statndby server. Since "chpasswd" is not in solaris, i can't copy the /etc/passwd & shadow file to standby server.
    So i have the plan to achieve this by
    i) creating flash archive of existing login server
    ii) Creating Alternate boot environment in the standby server and flash restore the archive in it.
    Whether the above mentioned plan is achievable, how to create the entire flash archive of solaris os?? and how to deploy it in the alternate boot environment.?
    Regards,
    Siva

    Done, I've given the same path in Standby Database [datafiles, controlfiles] as it has been given in the Primary Database.
    MoreOver, I m manually switching logfiles at primary database [alter system switch logfile] they are copied and applied sucessfully at standby database. But the archived files that I have copied with cold backup are not applied yet. Infact they are not retrieved executing the below query.
    select name, applied from v$archived_log;
    How can I apply those archived logs? [archives that copied with cold backup]
    Regards.

Maybe you are looking for

  • Photoshop transfer to laptop

    Can I transfer photoshop cs5 to laptop running windows 8 and a i3 processor?

  • Maxl Automation for sequential calc scripts - just stops without giving any error

    Hi, I was running an automation for calculations using MaxL. by scheduling the Steps.bat in the task scheduler of windows. _________ Steps.bat ___________ StartMaxl Steps.mxl _________ Steps.mxl ___________ Login ..... Sppol on to log.log Execute cal

  • Unable to open CC

    I bought the cc subscription, it won't open. It keeps asking for my old serial number, which I type in and it rejects.

  • "Check Connection Settings" msg in 6070

    I have a Nokia 6070. When I turn the phone on I get a red "STOP" sign and it says "Check Connection Settings". I have checked my settings and all seems to be OK. I can receive e-mails and I can send and receive SMS messages. Does anyone have any idea

  • IPhoto does not read images/has moved the images

    Hi, I was importing pictures from my iPhoto library to a friends HDD last night, and when the import finished I found my 2010 folder of pictures that should have been in the iPhoto library, on my desktop for some reason. Without thinking and after ch