メモ
コミュニティの関心グループが Yammer から Microsoft Viva Engage に移行されました。 Viva Engage コミュニティに参加し、最新のディスカッションに参加するには、「 Finance and Operations Viva Engage Community へのアクセスを要求する 」フォームに入力し、参加するコミュニティを選択します。
この記事では、Microsoft Azure Service Fabric cluster を Dynamics 365 Finance + Operations (on-premises) 環境向けに更新する方法について説明します。 Service Fabricクラスタのコード バージョンおよびコンフィギュレーションを更新する最善の方法について説明します。
Service Fabric Cluster ランタイムを更新する
Dynamics 365 Finance + Operations (on-premises) 環境では、特定バージョンの Service Fabric ランタイムが必要です。 ご利用の Finance + Operations のバージョンに必要な最小の Service Fabric ランタイム バージョンは、最小の Azure Service Fabric ランタイムでご確認いただけます。
クラスターの Service Fabric ランタイムを更新するには、次の手順に従います。
Service Fabric Cluster に属するノードから、以下の PowerShell コマンドを実行して、利用可能な Service Fabric ランタイムのバージョン一覧を取得します。
# Connect to the Service Fabric Cluster Connect-ServiceFabricCluster # Get the latest Service Fabric runtime version downloaded to your cluster Get-ServiceFabricRegisteredClusterCodeVersionメモ
クラスタの発信インターネット アクセスが大幅に制限されている場合は、ランタイムがプリロードされていない可能性があります。 この場合、作業を続ける前に、接続性のないクラスターをアップグレードする手順に従って、最新のコードと構成をダウンロードしてください。
次のコマンドを実行して、クラスタを特定のバージョンに更新します。
# Update the Service Fabric runtime version Start-ServiceFabricClusterUpgrade -Code -CodePackageVersion <version> -Monitored -FailureAction Rollbackオプション: クラスターに任意のノード タイプの 1 つのノードがある場合は、次のコマンドを実行して PreUpgradeSafetyCheck チェックをスキップします。これは、タイム アウトの原因となる可能性があります。
# If you are using a single Microsoft SQL Server Reporting Services node, use UpgradeReplicaSetCheckTimeout to skip PreUpgradeSafetyCheck check, otherwise it will timeout Update-ServiceFabricClusterUpgrade -UpgradeReplicaSetCheckTimeoutSec 30アップグレードの状況を確認するには、次のコマンドを実行します。
Get-ServiceFabricClusterUpgrade
Service Fabric Cluster の構成を更新する
新しい Service Fabric Cluster 構成ファイルがあり、それをクラスターに適用する必要がある場合は、以下の PowerShell コマンドを実行してクラスターの構成を更新します。
# Connect to the Service Fabric Cluster
Connect-ServiceFabricCluster
# Start the cluster configuration upgrade with the new configuration file
Start-ServiceFabricClusterConfigurationUpgrade -ClusterConfigPath ClusterConfig.json
# If you have a node type with a single node, use UpgradeReplicaSetCheckTimeout to skip PreUpgradeSafetyCheck check, otherwise it will time out
Update-ServiceFabricClusterUpgrade -UpgradeReplicaSetCheckTimeoutSec 30
# To monitor the status of the upgrade, run the following and note UpgradeState and UpgradeReplicaSetCheckTimeout
Get-ServiceFabricClusterUpgrade
# While monitoring the status of the upgrade, if UpgradeReplicaSetCheckTimeout was reset to the default (example 49710.06:28:15), run the following command again
Update-ServiceFabricClusterUpgrade -UpgradeReplicaSetCheckTimeoutSec 30
# When UpgradeState shows RollingForwardCompleted, the upgrade is finished