Applies to ApexSQL Monitor, ApexSQL BI Monitor, ApexSQL VM Monitor
Summary This article describes the steps required to install the central repository database to be part of AlwaysOn Availability Group.
Description
Applies to ApexSQL Monitor, ApexSQL BI Monitor, ApexSQL VM Monitor
Summary This article describes the steps required to install the central repository database to be part of AlwaysOn Availability Group.
Description
ApexSQL Monitor collects and stores important performance data necessary for proper tuning of SQL Server performance as well as to maintain the SQL Server fitness at the highest level. Saying that keeping the performance monitoring blackout time at the lowest possible level ensures the availability of all necessary performance data with acceptable performance data lost that should not affect performance analysis anyhow.
Also, monitoring tens or hundreds of SQL Server instances requires ApexSQL Monitor to be tuned carefully and precisely according to the monitored SQL Servers state and importance, in order to get the best possible performance monitoring results, and at the same time to minimize the central repository database storage requirements. All those monitoring configurations are stored in the central repository database, where any loss of the central repository database will cause not only the disastrous collected performance data loss but also the loss of painstakingly established monitoring configurations.
So whenever larger number SQL Server instances have to be monitored, and especially where it is necessary to establish a demanding and precise configuration of the monitoring process, hosting the central repository database as part of AlwaysOn Availability Group is worth of considering.
Can I install the application on a computer that is not a member of the same domain with AlwaysOn AG?
No. The computer that will be used for ApexSQL Monitor application must be a member of the same domain as AlwaysOn AG
To deploy the central repository database in the AlwaysOn Availability group as the part of the ApexSQL Monitor installation process:
Quick tip: Having a database in full recovery model and after that performing the full database back up are necessary prerequisites for adding a database in AlwaysOn AG. If not, the AlwaysOn Add database wizard will report the error |
Now that the central repository database is the member of the AlwaysOn AG, it is necessary to instruct the ApexSQL Monitor service to communicate with the database using the AlwaysOn AG listener instead of accessing the primary replica directly
To do that, editing of the <drive-letter>:\ProgramData\ApexSQL\ApexSQLMonitor.Monitor.dat file is required. That change should instruct the ApexSQL Monitor service to use the new AlwaysOn Availability Group listener address for accessing the central repository database. The file can be edited using any text editor
Replace the existing name or IP address of the AlwaysOn AG primary replica SQL Server with the name or IP address of the AlwaysOn AG listener in the following line:
<MonitorServerName>AlwaysOn_AG_Listener </MonitorServerName>
Replace the highlighted part with the AlwaysOn AG listener name or IP address. It should look like in the below example
<MonitorServerName>192.168.66.109,5024</MonitorServerName>
Save the changed Monitor.dat file. The changes will not take effects until ApexSQL Monitor service is restarted
Now, all ApexSQL Monitor communication with the central repository database will be performed via the AlwaysOn listener
Yes. The only difference is that instead of the Install the central repository database step described in this article, the existing repository database should be migrated to the AlwaysOn Availability group primary replica by the user. Migrating method is not relevant in this case.
Once the migration is completed, just perform the rest of the steps described in the previous section
© ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center