Create a Multiserver Environment
On Azure SQL Database Managed Instance, most, but not all SQL Server Agent features are currently supported. See Azure SQL Database Managed Instance T-SQL differences from SQL Server for details.
Multiserver administration requires that you set up a master server (MSX) and one or more target servers (TSX). Jobs that will be processed on all the target servers are first defined on the master server and then downloaded to the target servers.
By default, full Secure Sockets Layer (SSL) encryption and certificate validation are enabled for connections between master servers and target servers. For more information, see Set Encryption Options on Target Servers.
If you have a large number of target servers, avoid defining your master server on a production server that has significant performance requirements from other SQL Server functionality, because target server traffic can slow performance on your production server. If you also forward events to a dedicated master server, you can centralize administration on one server. For more information, see Manage Events.
To use multiserver job processing, the SQL Server Agent service account must be a member of the msdb database role TargetServersRole on the master server. The Master Server Wizard automatically adds the service account to this role as part of the enlistment process
Considerations for Multiserver Environments
Consider the following issues when creating a multiserver environment:
Use the most recent version as the master server. The current and two previous versions are supported.
Each target server reports to only one master server. You must defect a target server from one master server before you can enlist it into a different one.
When changing the name of a target server, you must defect it before changing the name and re-enlist it after the change.
If you want to dismantle a multiserver configuration, you must defect all the target servers from the master server.
SQL Server Integration Services only supports target servers that are the same version or higher than the master server version.
The following topics document common tasks for creating a multiserver environment.
|Describes how to create a master server.||Make a Master Server|
|Describes how to create a target server.||Make a Target Server|
|Describes how to enlist a target server into a master server.||Enlist a Target Server to a Master Server|
|Describes how to defect a target server from a master server.||Defect a Target Server from a Master Server|
|Describes how to defect multiple target servers from a master server.||Defect Multiple Target Servers from a Master Server|
|Describes how to check the status of a target server.||sp_help_targetserver (Transact-SQL)