CA Service Management

  • 1.  CABI Offline Server Setup

    Posted Sep 26, 2014 04:33 AM

     

    Hello,

     

     

    We have configured Offline reporting and configured the replication. Everything looks fine and the tickets which are getting created on source are getting created on the offline server too.

     

    But, in both the servers we are unable to edit any of the tickets and looks the records were locked. We have used Merge Replication and this should not allow to get the records lock but still the same error. Please find the details of the error below..

     

    AHD05021: Someone else is editing this so you won't be able to make changes. Locked by ''. Phone number ''.

     

    This error is in both actual and offline applications for all the records.

     

    Can I get some suggestion here?

     

    Thanks!

    Sharath.M

     

     

     



  • 2.  Re: CABI Offline Server Setup

    Posted Sep 26, 2014 05:07 AM

    Hi Sharath,

     

    You may verify the standard recommendations for the record lock problem in the below thread:

     

    https://communities.ca.com/thread/102001752

     

    Thanks,

    Naveen



  • 3.  Re: CABI Offline Server Setup

    Posted Sep 26, 2014 07:18 AM

    Thanks Naveen for the suggestion.

     

    My current version is R12.7 with Cum2 applied, and hence the value is already set to 30.

     

    As stated, the problem we have seen after we have configured offline reporting. If we delete the publication and subscription from both the database servers the issue will get fixed.

     

    Regards,

    Sharath.M



  • 4.  Re: CABI Offline Server Setup

    Broadcom Employee
    Posted Sep 29, 2014 11:32 AM

    Thank you for your time today to discuss this further Sharath.

     

    The errors we were seeing in the logs on the main SDM Server, when any record is attempted to be edited was similar to this:

     

    sqlsrvr.c  2612 Execution failed. MISC_DB_ERROR: Clause ({ ? = call dbo.usp_lock_acquire;1( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) }) Input (<string>Animator|<string>411019|<int>15724|<string>domsrvr|<uuid>(NULL)|<string>superuser|<string>ANI|<string>cr:899558|<int>1411998253|<int>63 0) 

    animator_nxd.c 1839 AHD04199:An unexpected error occurred.  Contact your administrator. [Microsoft OLE DB Provider for SQL Server] [ SQL Code=3621 SQL State=01000] The statement has been terminated.; [Microsoft OLE DB Provider for SQL Server] [ SQL Code=548 SQL State=42000] The insert failed. It conflicted with an identity range check constraint in database 'mdb', replicated table 'dbo.usp_record_lock', column 'id'. If the identity column is automatically managed by replication, update the range as follows: for the Publisher, execute sp_adjustpublisheridentityrange; for the Subscriber, run the Distribution Agent or the Merge Agent. in animator ANI:411019 (cr:899558) for atev:1463347 in method examine_lock_list

     

    Initially we thought it was the procedure itself that was giving grief. But later we saw that the table usp_record_lock  was in the replicated list. 

     

    Upon identifying this, we determined that TEC617157, which has the updated procedures for SQL Server Merge Replication would help.

     

    Sharath would be testing this and getting back to me, I'll update the thread later on.

     

    _R



  • 5.  Re: CABI Offline Server Setup

    Posted Sep 29, 2014 04:00 PM

     

    Thanks Much Raghu...

     

     

    I will update you the result once I set the publication.

     

    I appreciate your time on this issue.

     

     

    Thanks,

    Sharath.M