SQL Server Always On is a high-availability and disaster recovery feature in Microsoft SQL Server, designed to enhance the resilience and reliability of database systems. It allows databases to have backup copies of the main server, that can take over if the main server faces issues, ensuring that your data is safe and accessible all the time. This provides failover and redundancy to safeguard critical data. SQL Always On support has been introduced from OpManager versions 127256 and above.
Note: This is applicable only to OpManager's MSSQL builds configured with Always On.
To enable SQL Always on in OpManager, follow the below steps,
From this:
To this:
DBConnectionRetryInterval:Specifies the time interval between each ping from OpManager to the database for connection retries.
DBConnectionRetryCount: Determines the total number of ping attempts that OpManager will make to the database.
We've adjusted the values, so that OpManager will try to connect to the DB server six times(DBConnectionRetryCount), waiting five seconds(DBConnectionRetryInterval) between each attempt. This means it will keep trying for a total of 30 seconds. If the SQL failover takes longer than 10 seconds, the DBConnectionRetryCount value should be updated accordingly.
For failover configured setups, follow the above steps in both primary and secondary servers
Thank you for your feedback!