次の方法で共有


SAP Deployment Automation Framework を使用して SAP 用 Azure Monitor を構成する

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

Azure Monitor for SAP と SAP Deployment Automation Framework を統合することで、Azure 上の SAP システムの迅速で簡単で信頼性の高いデプロイと運用を実現できます。 自動化フレームワークを使用して SAP システムをプロビジョニングおよび構成し、Azure Monitor for SAP を使用してそれらの SAP システムのパフォーマンスと可用性を監視および最適化できます。

この SAP on Azure Deployment Automation Framework との統合により、SAP ランドスケープのさまざまなコンポーネントの監視を自動化することで、Azure で SAP 環境を実行する際の複雑さとデプロイ コストを削減できます。

概要

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

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

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

コントロール プレーン (SAP Deployment Automation Framework と Azure monitor for SAP のアプリケーション プレーン) の間の依存関係を示す図。

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

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

現在、この自動化フレームワークでは、SAP リソース用 Azure Monitor、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 existing 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