FrontEnd1 reports Database state on primary and on Mirror DatabaseUnavailable

I have a customer who have Lync Enterprise with 3 Front ends and SQL Backend and Mirror 
On Frontend 1 the command "Get-CsDatabaseMirrorState -PoolFqdn lync.domain.com" reports that all databases state are unavailable while on Front end 2 and 3 it states normally "principal and mirror"
I couldn't detect any errors on either Frontends or SQL Backend or Mirror. the Monitoring tool from tasks on SQL Management states that databases are syncing. 
I have tried restarting the Frontend 1 but still the issue occurs. anyone had this problem before? 
PS C:\Windows\system32> Get-CsDatabaseMirrorState -PoolFqdn lync.domain.com
DatabaseName             : rtcab
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : rtcxds
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : rtcshared
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : lcscdr
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : qoemetrics
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : lcslog
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : rgsconfig
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : rgsdyn
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : cpsdyn
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : xds
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
DatabaseName             : lis
StateOnPrimary           : DatabaseUnavailable
StateOnMirror            : DatabaseUnavailable
MirroringStatusOnPrimary : synchronızed
MirroringStatusOnMirror  : synchronızed
Mohammed JH

Please run the command Get-CsManagementStoreReplicationStatus to check replication status for Lync Server computer.
Check if you can telnet from FE1 to back end server via port 1433.
Lisa Zheng
TechNet Community Support

Similar Messages

  • Query regarding standby database state when primary is down or un-reachable

    Hi
    I want to know if there is any reflection on the standby database states when it's primary is down or not reachable? I want to use this information from standby node to determine if I can programatically execute (dgmgrl) failover operation or not? This is considering that the broker configuration has no fast-startfailover and no observer enabled/configured.
    Thanks,
    Yojana

    989192 wrote:
    Hi
    I want to know if there is any reflection on the standby database states when it's primary is down or not reachable? I want to use this information from standby node to determine if I can programatically execute (dgmgrl) failover operation or not? This is considering that the broker configuration has no fast-startfailover and no observer enabled/configured.
    Thanks,
    YojanaYou don't have exactly such option,
    But you have alternate for it. Whenever standby is unreachable to primary then from standby alert log file you can see informational messages as RFS: Possible network disconnect with primary database , So you can write a script to grep those contents and to mail alert, so that you can sense whether any issue with primary database.
    HTH.

  • SQL Database replication between Primary and DR site

    Hi,
    We are setting up a DR Site, for our Production SAP system.
    At present the curren setup for Production SAP system are as follows.
    SAP ERP 2005 (SAP ECC 6.), ABAP+JAVA on Windows with MS SQL Server
    2005.
    Data are stored on SAN and SAP installed on MSCS Cluster enviornment.
    For Setting up the DR site, we are setting up Central System
    installation and replication will be configured between SAP
    Production/Primary system and DR site.
    We are shoadwing at our test setup and facing below replication issues
    while setting up transactional replication in MS SQL server 2005.
    1. At present 78716 articles are available on Production Database, and
    SQL fails the replication publication after 59000 articles.
    We open the ticket with Microsoft and below are the suggestion provided
    by them.
    1. Microsfot suggest to prepare 2\3 publications for total number of
    tables, 1 publication for all Views and 1 publication for SPs,
    Functions and Data types with single Distributor Agent. Distribution Agent will
    take care of propagating changes in the tables across the publications.
    2. All related tables (Parent child relationship) to be published on
    one publication.
    3. It would recommend to create 4 publications: 2 for the tables, 1 for
    the views and the other for the stored procedures. This would ensure
    better manageability.
    The main concerns here is about splitting the tables into two different
    sets with about 30,000 in one of the publications and the rest in the
    second publication.
    You will have to make sure that all the dependant tables are included
    in the same publication. Since this database is a SAP database, requesting to  provide information as follows.
    1. Identify and split the entire set of table into two/three groups.
    2. How to publish dynamic tables (The tables which get created post
    publication process).
    Regards,
    JP

    Hi,
    for database mirroring and log shipping there a several very good whitepapers and other documents out there:
    [http://download.microsoft.com/download/d/9/4/d948f981-926e-40fa-a026-5bfcf076d9b9/SAP_SQL2005_Best%20Practices.doc]
    [http://blogs.msdn.com/saponsqlserver/archive/2007/09/26/what-did-we-learn-using-database-mirroring-over-the-last-two-years-in-our-sap-erp-system-second-revision.aspx]
    [http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032297524&EventCategory=5&culture=en-US&CountryCode=US]
    [http://sqlcat.com/whitepapers/archive/2007/11/19/database-mirroring-best-practices-and-performance-considerations.aspx]
    Furthermore see note 965908 for this.
    The needed bandwidth depends on the amount of log you create in a given timeframe. Internet bandwidth can be suffient, if you don't generate much log (btw, i don't understand the term RTD is 220).
    In the log shipping scenario you can run the DR site in standby mode, then a readonly access (as DBCC etc.) is possible.
    Regards
      Clas Hortien

  • Oracle RMAN recovery catalog database in a Primary and Standby mode

    Hello All,
    The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups. There are are 200+ databases running on OEL, RHEL and Windows. So we planned to host the recovery catalog database on Oracle Active DataGuard 11.2.0.1 Enterprise Edition on RedHat EL 5.8 version on two physical servers. The Primary Instance will be in one server in the Primary DC and the Standby Instance will be on another server in another DC. Also all the database datafiles are hosted in ASM Diskgroups on SAN (DATA, FRA, REDO, ARCH diskgroups).
    Are there any specific RPM/patch/OS user custom/specific settings or configurations needed..?
    Thanks in advance..
    Regards,
    Abhijit

    "The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups"
    Hi,
    i think you can achieve HA for the catalog DB. (Rac and Asm should work fine)
    There's no way (afaik) to use TAF with the rman backup. If you have a failure during a backup it simply fails.
    There is no TAF in this situation.
    Hope this helps.
    Regs,
    Drew

  • Firefox Health Report Vital Stats shows bookmarks 14, but Raw Data shows bookmarks 7917. How can I make Firefox Health Report Vital Stats show bookmarks 7917?

    All data in the about:healthreport Firefox Health Report page is accurate except for the persistently inaccurate bookmarks count in the Vital Stats section of the page, which counts only 14 bookmarks and fails to count the other 7903 bookmarks.
    The about:healthreport Firefox Health Report Vital Stats section shows bookmarks 14.
    The about:healthreport Firefox Health Report Raw Data page shows bookmarks 7917.
    The Firefox/Bookmarks/Show All Bookmarks/Library window shows 7910 items.
    How can I make the about:healthreport Firefox Health Report Vital Stats section correctly and accurately show "bookmarks 7917" instead of incorrectly and erroneously showing "bookmarks 14"?
    Platform: FF 36.0.4, Mac OS X 10.8.5
    Platform: FF 31.5.2 ESR, Mac OS X 10.8.5
    The following steps reveal the issue:
    (1) In the Firefox Navigation Bar, type "about:healthreport" (without the quotation marks) to open the Firefox Health Report page.
    (2) On the left side of the Firefox Health Report page, in the Vital Stats section, the following data appears: bookmarks 14. This is false data because the browser actually has 7917 bookmarks, not 14 bookmarks. All other data in the Firefox Health Report page is accurate.
    (3) In the Firefox Health Report page, click the Raw Data link to reveal all Raw Data.
    (4) Page Down approximately 10 pages to the following specific Raw Data:
    "2015-03-22": {
    "org.mozilla.addons.counts": {
    "_v": 2,
    "extension": 28,
    "plugin": 6,
    "theme": 1
    "org.mozilla.healthreport.submissions": {
    "_v": 2,
    "continuationUploadAttempt": 1,
    "firstDocumentUploadAttempt": 1,
    "uploadSuccess": 1,
    "uploadTransportFailure": 1
    "org.mozilla.places.places": {
    "_v": 1,
    "bookmarks": 7917,
    "pages": 4293
    5) The preceding Raw Data correctly indicates the following data: "bookmarks": 7917,
    6) Open the Firefox/Bookmarks/Show All Bookmarks/Library window.
    7) In the Library window sidebar, select the entry "All Bookmarks".
    8) In the Library window Search Bookmarks search bar, type the colon punctuation mark " : " (without the quotation marks) to reveal the entire list of all items (bookmarks) in the Library window.
    9) In the Library window, select any one of the items (bookmarks) in the list of items.
    10) Press the <command> <A> keys to select and highlight automatically all items in the items (bookmarks) list, and Firefox automatically will begin the process of counting all items (bookmarks) in the items list.
    11) After a counting interval of several seconds, the count of the total number of items (bookmarks) that are present in the items list appears near the bottom-center of the Library window: 7910 items.
    12) I installed the "Places Maintenance" add-on, selected the "All" preference, and executed the add-on, but it did not correct the issue.
    13) The about:healthreport Firefox Health Report Vital Stats section counts only 14 bookmarks and fails to count the remaining 7903 bookmarks.
    Note --
    On the support.mozilla.org/en-US/questions site, after selecting ASK A QUESTION and writing this question, I attempted to upload image files with the question, but I am unable to upload a JPG (97 KB) image file or a PNG (307 KB) image file because the "Add Images Browse" function appears to be broken.
    Each time I click the "Add images: Browse" button, select one of the image files, and click "Open" to upload the image file, a spinning gear appears in a square beneath "Uploaded images:", and the spinning gear continues to spin without stopping. The image file does not upload.
    While the gear is spinning, the message "Uploading <filename>.jpg" or "Uploading <filename>.png" remains constantly visible beneath the square that contains the spinning gear.
    I think the gear would have continued to spin for eternity if I had not reloaded the page after the gear had been spinning for a full 7 minutes.
    The image files would not upload.

    It could be the work of one of your add-ons.
    Type '''about:addons'''<enter> in the address bar to open your Add-ons Manager.
    Hot key; '''<Control>''(Mac:<Command>)''<Shift> A)'''
    In the Add-ons Manager, on the left, select '''Extensions.'''
    Disable a few add-ons, then '''Restart Firefox.'''
    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    If the problem continues, disable some more (restarting FF). Continue until
    the problem is gone. After, you know what group is causing the issue.
    Re-enable the last group '''ONE AT A TIME''' (restarting FF) until the problem returns.
    Once you think you found the problem, disable that and re-enable all the
    others, then restart again. Let us know who the suspect is detective.

  • Move SSRS engine to new server, but keep same reporting databases

    We have our SQL Server reporting services (2008 R2) setup as follows:
    ServerA: contains the reporting services engine (including the report manager URL, web service URL and so on).
    ServerB: Is the sql server instance that hosts the reporting databases for ServerA (ReportServer and ReportServerTempDB).
    ServerA is EOL and will be replaced by ServerC. I have two questions:
    1. How do we proceed to install Reporting Services on ServerC so that it points to the databases on ServerB.
    2. How do we migrate the reports (and settings) from ServerA to ServerC.  Will this be automatic by pointing ServerC to the exiting databases on ServerB.
    Thanks.

    Hello,
    All reports / Settings are stored in ReportServer database, so if you Keep your database you have nothing to migrate.
    Install SSRS without configuration on the new machine and afterwards do the configurtaion with Point the "ReportServer" database to ServerB.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • App-V 5 Reporting Database SQL Mirroring

    Hi,
    As I understand, there is a registry entry for the SQL string in order for the App-V Management Database to work with a mirrored database.  However, I've searched all over and could not find an equivalent setting to the Reporting Database.
    I understand that the Management DB is important however in my organization we may have over 30,000 clients sending usage data to the reporting server so we would like to ensure that the Database server is fault tolerant by mirror the database.
    It is my belief that the Reporting Database will grow larger and have more transactions than the Management Server Database due to client user log collection.

    Thanks for the response.  We have implemented the same SQL string we use for Management DB for mirroring and it does not work for Reporting Server.  When we stopped the MSSQL services on the principal SQL DB server.  The App-V Reporting Server
    loses connectivity to the DB. 
    This is the string that we use for the HKLM\Software\Microsoft\AppV\Server\ReportingService
    Keyname: REPORTING_SQL_CONNECTION_STRING
    Data Source={0};Initial Catalog={1};Integrated Security=True;MultipleActiveResultSets=True;Asynchronous Processing=true;Failover Partner=FQDN_SQL_Mirror_server
    We are able to verify that the Management DB with the failover partner string does work.
    I just hope somebody from Microsoft can read this and help us out.  Because in a production App-V environment with many clients sending reporting data this will have more impact on our environment than the publishing or management servers.

  • Shell script to find MAX(SEQUENCE#)  of primary and standby DB.

    Hi All,
    AIX 5.3 64bit DB:10.2.0.3.0
    I am looking for a shell script which does the following:
    Use SQL*Plus to query the MAX(SEQUENCE#) from both databases i.e., Primary and standby V$LOG_HISTORY view. If the STANDBY appears to be falling behind by 2 archive log files,then send alert mail to: [email protected]
    We should be able to connect to primary DB from standby DB using ssh
    For example: ssh ora<user>@hostname.domain
    I use the following query to find out MAX(SEQUENCE#):
    col logseq_on_standby new_value V_STDBY_LOGSEQ
    select /*+ rule */ max(h.sequence#) logseq_on_standby
    from v\$log_history h,
    v\$parameter p
    where h.thread# = to_number(decode(p.value,'0',1,p.value))
    and p.name = 'thread';
    Thanks for your time!!
    Regards,

    sent the shell script..
    By the way is this hssawan!!!
    Please check the shell script and let me know the following:
    AIX 5.3 64bit DB:10.2.0.3.0
    I am looking for a shell script which does the following:
    Use SQL*Plus to query the MAX(SEQUENCE#) from both databases i.e., Primary and standby V$LOG_HISTORY view. If the STANDBY appears to be falling behind by 2 archive log files,then send alert mail to: [email protected]
    We should be able to connect to primary DB from standby DB using ssh
    For example: ssh ora<user>@hostname.domain
    I use the following query to find out MAX(SEQUENCE#):
    col logseq_on_standby new_value V_STDBY_LOGSEQ
    select /*+ rule */ max(h.sequence#) logseq_on_standby
    from v\$log_history h,
    v\$parameter p
    where h.thread# = to_number(decode(p.value,'0',1,p.value))
    and p.name = 'thread';
    Thanks for your time!!
    Regards,

  • Shrink Log file in log shipping and change the database state from Standby to No recovery mode

    Hello all,
    I have configured sql server 2008 R2 log shipping for some databases and I have two issues:
    can I shrink the log file for these databases: If I change the primary database from full to simple and shrink the log file then change it back to full recovery mode the log shipping will fail, I've seen some answers talked about using "No
    Truncate" option, but as I know this option will not affect the log file and it will shrink the data file only.
          I also can't create maintenance to reconfigure the log shipping every time I want to shrink the log file because the database size is huge and it will take time to restore in the DR site, so the reconfiguration
    is not an option :( 
    how can I change the secondary database state from Standby to No recovery mode? I tried to change it from the wizard and wait until the next restore for the transaction log backup, but the job failed and the error was: "the step failed". I need
    to do this to change the mdf and ldf file location for the secondary databases.
    can any one help?
    Thanks in advance,
    Faris ALMasri
    Database Administrator

    1. can I shrink the log file for these databases: If I change the primary database from full to simple and shrink the log file then change it back to full recovery mode the log shipping will fail, I've seen some answers talked about using "No Truncate"
    option, but as I know this option will not affect the log file and it will shrink the data file only.
          I also can't create maintenance to reconfigure the log shipping every time I want to shrink the log file because the database size is huge
    and it will take time to restore in the DR site, so the reconfiguration is not an option :( 
    2. how can I change the secondary database state from Standby to No recovery mode? I tried to change it from the wizard and wait until the next restore for the transaction log backup, but the job failed and the error was: "the step failed". I need to do
    this to change the mdf and ldf file location for the secondary databases.
    can any one help?
    Thanks in advance,
    Faris ALMasri
    Database Administrator
    1. If you change recovery model of database in logshipping to simple and back to full Logshipping will break and logs wont be resored on Secondary server as log chain will be broken.You can shrink log file of primary database but why would you need that
    what is schedule of log backup. Frequent log backup is already taking care of log files why to shrink it and create performance load on system when log file will ultimately grow and since because instant file initilaization is not for Log files it takes time
    to grow and thus slows performace.
    You said you want to shrink as Database size is huge is it huge or does it have lots of free space. dont worry about data file free space it will eventually be utilized by SQL server when more data comes
    2. You are following wrong method changing state to no recovery would not even allow you to run select queries which you can run in Standby mode. Please refer below link to move Secondary data and log files
    http://www.mssqltips.com/sqlservertip/2836/steps-to-move-sql-server-log-shipping-secondary-database-files/
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Need help with sorting records in primary and secondary databases

    Hi,
    I would like to store data into primary and secondary db in different order. For the main primary, I want it to be ordered by login_ts instead of uuid which is the key.
    For the user secondary database, I want it to be ordered by sip_user. For the timestampe secondary db, I want it to be ordered by login_ts.
    This is what I have right now,
    this is for main
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200003 login_ts=1264327688 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200003 login_ts=1264327618 logout_ts=
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    this is for user search
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200003 login_ts=1264327688 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200003 login_ts=1264327618 logout_ts=
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    this is for timestamp
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200003 login_ts=1264327688 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200003 login_ts=1264327618 logout_ts=
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    but what I want is :
    this is for main
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200004 login_ts=1264327618 logout_ts=
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200005 login_ts=1264327688 logout_ts=
    this is for user search
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200004 login_ts=1264327618 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200004 login_ts=1264327688 logout_ts=
    this is for timestamp
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200003 login_ts=1264327618 logout_ts=
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200004 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200004 login_ts=1264327688 logout_ts=
    Right now, I have:
    int compare_login_ts(dbp, a, b)
         DB *dbp;
         const DBT a, b;
         int time_a = 0;
         int time_b = 0;
         time_a = atoi ( (char *)a->data);
         time_b = atoi ( (char *)b->data);
         return time_a - time_b ;
    for the timestamp secondary, I set that compare function:
              if ((ret = (*sdb)->set_bt_compare(*sdb , compare_login_ts )) != 0){
    Does anyone know how can I make it sorted according?

    Hi,
    The DB->set_bt_compare() is used to compare keys in Btree database. In the callback function, both the DBTs are key, but not data. Please refer to http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/dbset_bt_compare.html.
    If you want any field in the data to be sorted, you might create a secondary index on it and define the compare function as you wish.
    Regards,
    Emily Fu, Oracle Berkeley DB

  • Standby database(11g) was still in sync after stopping the primary and standby database listener.

    Hello !!!
    I have noticed that my standby database(11g) was still in sync after stopping the primary and standby database listener.
    If this is the case then how log is transferring from primary to standby ? it is not using listener service ? kindly clarify

    Read this Metalink Note:407040.1

  • Setting up a primary and secondary Database in Oracle 10G

    Hi Experts
    can you please tel me the steps involved in creation of primary and secondary database? This is the first time i am going to configure this setup. Please provide your helping hands.
    Thanks alot in advance,
    Ram

    Absolutely glad to help.
    Step 1: Clarify what it is you are trying to build. Are you talking about a Standby Database? Perhaps Physical or Logical Data Guard? If so what protection mode? Stand-alone or RAC? Or are you just trying to dup an existing database on another server in which case you can just use RMAN.
    Step 2: Go to http://tahiti.oracle.com and read the relevant docs
    Step 3: Go to http://metalink.oracle.com and look at the Knowledge Base docs
    If you have any question thereafter contact us and be sure to include your version number, not a marketing label. 10g is a marketing label that refers to everything from the 10.1 Beta through 10.2.0.4.

  • Upgrading the primary and physical standby database

    Solaris 9
    oracle 9i (9.2.0.8)
    upgrade to 10g (10.2.0.3)
    Hi,
    I would like to know how to upgrade database in dataguard envronment.(primary and remote physical standby database)
    Is rolling upgrade possible in this case?
    Or any steps or Document is appreciated.
    Thanks.
    Message was edited by:
    user539835

    Read this Metalink Note:407040.1

  • How to sync primary and standby database in 11GR2 on linux

    Hi ,
    How to sync primary and standby database in 11GR2 on linux . Both my primay and standby are 3 node cluster each.
    Can you please suggest a good link and brief steps .
    Thanks

    Are you trying to setup a new standby or sync an existing standby database?
    OK I see it
    "standby is behind the primary"
    So you have a gap.
    I would check both alert logs for a cause. You might find something like this
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.Look for ORA-00308 and ORA-27037 and ORA-16055.
    There's no sense fixing the gap unless the cause is fixed too.
    Also check out this post from a few days ago its dealing with similar issues.
    How to sync the standby database with the primary?
    If you find this helpful please mark it so.
    Edited by: mseberg on Jul 20, 2011 4:37 PM

  • How to re-synch primary and standby database?

    Hello everyone,
    Working on 10g R2/windows server 2003, I have configured a physical standby database but, I have an issue, and don't know how to resolve it.
    We were making an update that made some DDL and DML on our application, and for security reason we
    1. we ensure that primary and standby are in sync
    2. We made a cold backup of the primary database
    3. We Deferred the redo shipping between primary and standby
    4. We applied changes on primary database
    But the big issue is that, for any reason my colleague did the following.
    a) made above steps 1,2,3,4
    b) after the update he kept the resulted archived log files generated during to another location
    c) He restore the cold backup before the update(step 2 above)
    c) he applied again the update.
    Now the issue is
    At the first update step(2), the sequence# 553 was applied to the stand by before the update
    At the second update step(c) above another sequence# 553 was created but stored localy in the primary database, because the both servers were deverged (step 3 above).
    Technically both servers cannot be in sync again,because sequence# 553 at the first update has next_change# 80307804 and sequenc# 553 at the second update has next_change# 80461356.
    Question:
    How Can I do to rollback the the first sequence# 553 ( before the first update) on the standby database? in order to apply the sequence#553 generated at the second update and then re-sync both servers to roll forward subsequent sequence#? 554,etc...
    Thank you for your help

    Hello,
    I have just tried the FLASHBACK DATABASE TO SCN XXXXXXXX;
    but it doesn't work.
    Here are steps used from my local dev envirronnment
    From the stand by I retrieved the following information.
    SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# FIRST_TIM NEXT_TIME
    95 707168 707906 15-AUG-08 15-AUG-08
    96 707906 708653 15-AUG-08 15-AUG-08
    97 708653 709359 15-AUG-08 15-AUG-08
    100 710951 711794 15-AUG-08 15-AUG-08
    98 709359 710179 15-AUG-08 15-AUG-08
    99 710179 710951 15-AUG-08 15-AUG-08
    101 711794 712762 15-AUG-08 15-AUG-08
    102 712762 713720 15-AUG-08 15-AUG-08
    103 713720 714748 15-AUG-08 15-AUG-08
    104 714748 715920 15-AUG-08 15-AUG-08
    105 715920 739430 15-AUG-08 15-AUG-08
    106 739430 800525 15-AUG-08 16-AUG-08
    107 800525 875810 16-AUG-08 17-AUG-08
    108 875810 916527 17-AUG-08 18-AUG-08
    SQL> alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database activate standby database; --> prepare to open stby in R/W mode
    Database altered.
    SQL> startup mount force;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 180358020 bytes
    Database Buffers 423624704 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    SQL> alter database set standby database to maximize performance;
    Database altered.
    SQL> alter database open;
    Database altered.
    SQL> startup mount force;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 180358020 bytes
    Database Buffers 423624704 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    Now I tried to mimic the flashback database as in the production, to bring it back to sequence# 105 above
    SQL> flashback database to scn 739430;
    flashback database to scn 739430
    ERROR at line 1:
    ORA-38754: FLASHBACK DATABASE not started; required redo log is not available
    ORA-38761: redo log sequence 75 in thread 1, incarnation 2 could not be
    accessed
    I'm reverted back the physical standby to its function
    SQL> alter database convert to physical standby;
    Database altered.
    SQL> startup mount force;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 180358020 bytes
    Database Buffers 423624704 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    SQL> alter database recover managed standby database using current logfile disconne
    Database altered.
    Verifying if the MRP is up and running: YES see below
    SQL> select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC3: Becoming the 'no FAL' ARCH
    ARC3: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery starting Real Time Apply
    Clearing online redo logfile 1 C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO11.LOG
    11 rows selected.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination C:\local_destination1_orcl
    Oldest online log sequence 110
    Next log sequence to archive 0
    Current log sequence 110
    So, how can I reslove this issue? without creating the standby from scratch?
    Thanks Again for your help

Maybe you are looking for

  • Issues with ESSSVR performance and memory consumption

    hi, I'm facing some major challenges figuring out why the ESSSVR process on my UNIX box consumes a huge amount of memory, some times almost 99% of the RAM is taken away by it. I am trying to look for log files that can explain this behavior, but i ju

  • How to make two PCs (one local, one remote) control the same running vi at the same time?

    Hi Labviewers, I have a vi running, and two PCs are monitoring it, one is local and another one is remote. I can see the remote front panel at the remote machine by using application property node, but it seems only one of the two PCs has the control

  • Ipod not being recognised, but with a twist

    Hi, My ipod nano 5th Gen is not being recognised on my computer. It is now being recognised by the computer itself sometimes, but not itunes. However, when I plug my ipod into my partners laptop, its fine. More to the point, when they plug their's in

  • Oracle 8i Lite: logging to sql plus - uid, password, host string - whats that

    If i install "Oracle 8i Lite" (just locally, not networked). There are two important things : "Navigator", and "SQL Plus". If in navigator, I create a local database called "xxx" (tables under 'system' user). Then if i need to query - i go to SQL Plu

  • RMI and NAT(windows) ?

    Hello world, I've got a server and client working fine on internet excepted when the client is using a share internet connection with NAT. The important thing is that everythings works fine as long as I make simple client to server connections, but I