English follows Japanese.
こんにちは、 SQL Server サポート チームです。
今回は、SQL IaaS Agent 拡張機能と Azure 上の SQL 仮想マシン リソースについて解説します。
SQL Server IaaS Agent 拡張機能とは
SQL Server IaaS Agent 拡張機能は、Azure Portal 上から Azure VM 上の SQL Server を管理・運用できるようにする拡張機能です。
SQL Server がインストール済みの Azure VM が Azure 上の 「SQL Server IaaS Agent 拡張機能」 に登録されると、その Azure VMに紐づいた 「SQL 仮想マシン」リソース が Azure Portal 上に作成され、SQL Server のライセンス等を管理するための画面をご利用いただけるようになります。
//SQL Server IaaS Agent 拡張機能とは
SQL Server IaaS Agent 拡張機能とは (Windows) - SQL Server on Azure VMs | Microsoft Learn
拡張機能に登録する利点
SQL Server IaaS Agent 拡張機能を使用することで、様々な管理機能を有効化することが可能です。代表的な機能を後述いたします。
前提として、 SQL Server IaaS Agent 拡張機能に登録すると、既定では基本的な機能(SQL 仮想マシン管理画面の [ライセンスの種類] )のみが有効化された状態となります。
下記の弊社公開情報に「SQL IaaS Agent 拡張機能が必要です。」と記載されたいずれかの機能を有効化すると、SQL IaaS Agent 拡張機能用のサービスが Azure VM 上にインストールされます。
// Windows SQL Server IaaS Agent 拡張機能を使用して管理を自動化する - 機能面の利点
代表的な機能
SQL IaaS Agent 拡張機能が持つ機能は、前述の弊社公開情報にまとめられております。
そのうち、代表的な機能をご紹介します。詳細は、前述の公開情報や、それぞれの説明に添えた公開情報を必要に応じてご参照ください。
- 自動バックアップ
Azure VM での SQL Server 上のすべての既存および新規データベースのための Microsoft Azure へのマネージド バックアップが自動的に構成されます。
// Azure 仮想マシンでの SQL Server 2014 の自動バックアップ - SQL Server on Azure VMs | Microsoft Learn
//Azure VM 上の SQL Server の自動バックアップ
SQL Server 2016 以降の自動バックアップ - SQL Server on Azure VMs | Microsoft Learn
- tempdb の構成
Azure Portal 上から tempdb の ストレージ構成を行うことが可能になります。
//Azure portal を使用して SQL Server VM を管理する - ストレージ
- Microsoft Entra 認証
SQL Server への認証に Microsoft Entra ID を使用することが可能になります。
//Azure VM 上の SQL Server に対する Microsoft Entra 認証を有効にする
Microsoft Entra 認証を有効にする - SQL Server on Azure VMs | Microsoft Learn
FAQ
- SQL Server IaaS Agent 拡張機能 は有料ですか?
SQL Server IaaS Agent 拡張機能を使用する際、追加の費用等は発生いたしません。 - SQL Server IaaS Agent 拡張機能 に登録する方法を教えてください。
Azure PowerShell や Azure CLI での手動登録、 Azure Portal でサブスクリプション単位でのIaaS Agent 拡張機能の自動登録機能を有効化する方法がございます。また、弊社の定期メンテナンスにより登録が行われる場合もあります。
//SQL IaaS Agent 拡張機能への自動登録
SQL IaaS Agent 拡張機能への自動登録 - SQL Server on Azure VMs | Microsoft Learn
//Windows SQL Server VM を SQL IaaS Agent 拡張機能に登録する(手動登録)
SQL IaaS Agent 拡張機能に登録する (Windows) - SQL Server on Azure VMs | Microsoft Learn - 複数の SQL Server インスタンスがインストールされている環境で SQL Server IaaS Agent 拡張機能 をインストールすることは可能ですか?
複数の SQL Server インスタンスがある場合は既定のインスタンス (MSSQLSERVER) のみが拡張機能にサポートされます。具体的にサポートされる環境は以下となります。- 1 つの既定のインスタンスのみがある環境。
- 複数のインスタンスがある場合は、Azure portal の拡張機能によって既定のインスタンスのみがサポートおよび管理されます。 既定のインスタンスがなく名前付きインスタンスが複数ある環境はサポートされていません。
- インストールされているインスタンスが 1 つのみの場合は、1 つの名前付きインスタンスがサポートされます。
- VM を削除すると SQL 仮想マシン リソースも削除されますか?
対象の SQL Server がインストールされた VM が削除されると、SQL 仮想マシンリソースも削除されます。
// ご参考) Azure VM 上の SQL Server についてよく寄せられる質問 (FAQ) - Azure SQL | Microsoft Learn
https://learn.microsoft.com/ja-jp/azure/azure-sql/virtual-machines/windows/frequently-asked-questions-faq?view=azuresql
※本情報の内容(添付文書、リンク先などを含む)は、作成日時点でのものであり、予告なく変更される場合があります。
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hello, this is the SQL Server Support Team.
In this article, we will explain the SQL IaaS Agent Extension and the SQL Virtual Machines resource on Azure.
What is the SQL Server IaaS Agent extension?
The SQL Server IaaS Agent Extension is a feature that enables you to manage and operate SQL Server installed on Azure VMs directly from the Azure Portal.
When an Azure VM with SQL Server installed is registered with the "SQL Server IaaS Agent Extension" on Azure, a corresponding "SQL Virtual Machine" resource is created in the Azure Portal. This allows you to access a management interface for SQL Server licensing and other settings.
//What is the SQL Server IaaS Agent extension?
What is the SQL Server IaaS Agent extension? (Windows) - SQL Server on Azure VMs | Microsoft Learn
Benefits of Registering the extension
By using the SQL Server IaaS Agent Extension, you can enable various management features. Some of the key features are introduced below.
By default, when a VM is registered with the SQL Server IaaS Agent Extension, only the basic functionality (such as the "SQL Server License" setting in the SQL Virtual Machine management) is enabled.
When you enable any of the features listed in the Microsoft documentation that states "Requires SQL IaaS Agent extension.", the extension service is installed on the Azure VM.
//Automate management with the Windows SQL Server IaaS Agent extension - Feature benefits
https://learn.microsoft.com/ja-jp/azure/azure-sql/virtual-machines/windows/sql-server-iaas-agent-extension-automate-management?view=azuresql&tabs=azure-portal#feature-benefits
Key Features
The features provided by the SQL IaaS Agent Extension are summarized in the documentation above. Here are some of the most notable ones.
For more details, please refer to the linked documentation.
1. Automated backup
Automated Backup automatically configures Managed Backup to Microsoft Azure for all existing and new databases.
//Automated Backup for SQL Server 2014 virtual machines (Resource Manager)
Automated Backup for SQL Server 2014 Azure virtual machines - SQL Server on Azure VMs | Microsoft Learn
//Automated Backup for SQL Server on Azure VMs
Automated Backup for SQL Server 2016 and later - SQL Server on Azure VMs | Microsoft Learn
2. Configure tempdb
You can configure tempdb storage directly from the Azure Portal.
//Manage SQL Server VM using Azure Portal - Storage | Microsoft Learn
https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/manage-sql-vm-portal?view=azuresql#storage
3. Microsoft Entra authentication
You can use Microsoft Entra ID for authentication to SQL Server.
//Enable Microsoft Entra authentication for SQL Server on Azure VMs
Enable Microsoft Entra authentication - SQL Server on Azure VMs | Microsoft Learn
FAQ
Q: Is the SQL Server IaaS Agent Extension a paid feature?
A: No, there are no additional costs for using the SQL Server IaaS Agent Extension.
Q: How can I register with the SQL Server IaaS Agent Extension?
A: You can register manually using Azure PowerShell or Azure CLI or enable automatic registration at the subscription level via the Azure Portal. Registration may also occur during maintenance by Microsoft.
//Automatic registration with SQL IaaS Agent extension
Automatic registration with SQL IaaS Agent extension - SQL Server on Azure VMs | Microsoft Learn
//Register Windows SQL Server VM with SQL IaaS Agent extension
Register with SQL IaaS Agent Extension (Windows) - SQL Server on Azure VMs | Microsoft Learn
Q: Can I install the SQL Server IaaS Agent Extension in an environment with multiple SQL Server instances?
A: The SQL IaaS Agent extension supports the following environments:
- One default instance.
- If there are multiple instances, only the default instance is supported and managed by the extension in the Azure portal. Environments with multiple named instances without a default instance aren't supported.
- One named instance, if it's the only installed instance.
Q: If I delete the VM, will the SQL Virtual Machine resource also be deleted?
A: Yes, if the VM with SQL Server installed is deleted, the corresponding SQL Virtual Machine resource will also be removed.
//Frequently asked questions for SQL Server on Azure VMs
Frequently asked questions (FAQ) for SQL Server on Azure VMs - Azure SQL | Microsoft Learn
Note: The content of this article (including attachments and linked pages) is current as of the time of writing and may be subject to change without notice.