database showing restoring does not add back in to always on high availability group

  • i got a primary secondary and a Disaster Recovery servers.

    I have a database added to the always on high availability,

    as we work on failover cluster, i found it as Always On, on all the servers.

    I dont know how but found the DB says restoring...

    the always on feature is not enabled to that particular DB.

    when i try to add the DB to one of the Availability group it says:

    " Failed to join the 'DB' to the availability group 'groupname' on the availability replica 'server name'

    the remote copy of DB is not recovered far enough to enable database mrroring or to join it to the availability group. you need to apply the missing log records to the remote database by restoring the curent log backups from the primary database (MS SQL Server error:1408) "

    i do restored under norecovery from the primary...

    now i couldnot find a way to add it back to the Always On...

    Can any one find me a way... or am i missing anything over here???

    Rookie here :hehe:

  • I had removed it from availability group and

    i had deleted the databses manually in all the secondary and also in DR (disaster recovery)

    and again added it to the availability group and it stil show as restoring...

    I will update if i see any changes........

    Rookie here:hehe:

  • Hi guys,

    It worked..

    please follow this, if you facew such kind of troubles... correct me if i am wrong.

    Up on restoring i faced some LSN incompatibility, So i checked the LSN, and only selected the LSN which is latest.

    I restored from primary(database) it showed restoring...

    and i left as such yesterday..

    Up on checking today, they got synchronized and is in Always On group.

    It need time to get synchronized....

    i need patience 😉

    rookie here :hehe:

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply