SAP デプロイ自動化フレームワークで Azure Monitor for SAP を構成する

Azure での SAP システムのパフォーマンスと可用性の監視は、Azure Monitor for SAP を使用して簡略化されます。 これは、アプリケーション、データベース、オペレーティング システム、および Azure リソースからメトリックとログを収集して分析するものです。 お客様は、Azure Monitor for SAP を使用して、問題の視覚化とトラブルシューティング、アラートと通知の設定、および Azure での SAP ワークロードの最適化を行います。

Azure Monitor for SAP と SAP デプロイ自動化フレームワークを統合することで、Azure 上への SAP システムのデプロイと運用を、よりすばやく簡単に、かつ確実に行うことができます。 自動化フレームワークを使用して SAP システムをプロビジョニングし構成してから、Azure Monitor for SAP を使って、その SAP システムのパフォーマンスと可用性を監視および最適化できます。

この SAP on Azure デプロイ自動化フレームワークとの統合により、SAP ランドスケープのさまざまなコンポーネントの監視の自動化が可能になり、Azure での SAP 環境の実行に伴う複雑さとデプロイ コストを削減することができます。

概要

概要ドキュメントで説明されているように、自動化フレームワークには主に 2 つのコンポーネントがあります。

  • デプロイ インフラストラクチャ (通常はハブにデプロイされるコントロール プレーン)
  • SAP インフラストラクチャ (通常はスポークにデプロイされる SAP ワークロード ゾーン)

Azure Monitor for SAP (AMS) とプロバイダーのデプロイは、監視プロセスを簡略化するために、SAP デプロイ自動化フレームワーク (SDAF) から自動化することができます。 このアーキテクチャでは、ワークロード ゾーンごとに 1 つの Azure Monitor for SAP リソースがデプロイされ、これが環境を表します。 このリソースは、その環境内の SAP システムのさまざまなコンポーネントのパフォーマンスと可用性を監視する役割を担います。

Diagram that shows the dependency between the control plane, the application plane for SAP Deployment Automation Framework with Azure monitor for SAP.

各 SAP システムのさまざまなコンポーネントを監視するために、それぞれ対応するプロバイダーがあり、そのプロバイダーはすべて、その環境の Azure Monitor for SAP リソースにデプロイされます。 この設定では、特定のシステムのすべてのプロバイダーが同じ Azure Monitor for SAP リソースに配置されるため、SAP システムを効率的に監視および管理することができます。 自動化フレームワークでは、次の手順が自動化されます。

  • ワークロード ゾーンで Azure Monitor for SAP リソースを作成する。
  • 監視の有効化に必要な前提条件の手順を実行する。
  • 作成された Azure Monitor for SAP リソースで、SAP ランドスケープのコンポーネントごとにプロバイダーを作成する。

Note

この自動化フレームワークでは現在、Azure Monitor for SAP リソース、Azure VM を監視する OS (Linux) プロバイダー、および SAP システムで高可用性クラスターを監視する HA Pacemaker クラスター プロバイダーのデプロイの自動化がサポートされています。

ワークロード ゾーン リソース グループで作成された Azure Monitor for SAP リソースの主要コンポーネントは次のとおりです。

  • Azure Monitor for SAP リソース
  • Azure Monitor for SAP の管理対象リソース グループには、次のものが含まれます。
    • Azure Functions リソース
    • Azure Key Vault
    • Log Analytics ワークスペース (オプション)
    • ストレージ アカウント

Azure Monitor for SAP リソースのワークロード ゾーン構成

この例は、ワークロード ゾーンでの Azure Monitor for SAP リソースのデプロイに必要なパラメーターを示しています。 必要に応じて、ワークロード ゾーンと同じサブスクリプションに存在する既存のログ分析ワークスペースを使用することもできます。

#########################################################################################
#  AMS Subnet variables                                                                 #
#########################################################################################

# If defined these parameters control the subnet name and the subnet prefix
# ams_subnet_name is an optional parameter and should only be used if the default naming is not acceptable
# ams_subnet_name = ""

# ams_subnet_address_prefix is a mandatory parameter if the subnets are not defined in the workload or if existing subnets are not used
ams_subnet_address_prefix = "10.242.25.0/24"

# ams_subnet_arm_id is an optional parameter that if provided specifies Azure resource identifier for the existing subnet to use
#ams_subnet_arm_id = ""

# ams_subnet_nsg_name is an optional parameter and should only be used if the default naming is not acceptable for the network security group name
# ams_subnet_nsg_name = ""

# ams_subnet_nsg_arm_id is an optional parameter that if provided specifies Azure resource identifier for the existing network security group to use
# ams_subnet_nsg_arm_id = ""

#########################################################################################
#  AMS instance variables                                                               #
#########################################################################################

# If defined these parameters control the ams instance (Azure monitor for SAP)
# create_ams_instance is an optional parameter, and should be set true is the AMS instance is to be created.
create_ams_instance = true

# ams_instance_name is an optional parameter and should only be used if the default naming is not acceptable
ams_instance_name = "AMS-RESOURCE"

# ams_laws_arm_id is a optional parameter to use an exisiting log analytics for the AMS instance
ams_laws_arm_id = "/subscriptions/0000000-000000-0000000-0000000000/resourcegroups/rg-name/providers/microsoft.operationalinsights/workspaces/workspacename"

AMS プロバイダーのシステム構成

次の例は、Azure Monitor for SAP でプロバイダーの前提条件とプロバイダーの作成を自動化するのに必要なパラメーターを示しています。

# enable_os_monitoring is an optional parameter and should be set to true if you want to monitor the Azure VMs of your SAP system.
enable_os_monitoring = true

# enable_ha_monitoring is an optional parameter and should be set to true if you want to monitor the HA clusters of your SAP system.
enable_ha_monitoring = true