次の方法で共有


データベース サーバーの移行のステップ バイ ステップ ガイド

Microsoft HPC Pack クラスター データベースは、クラスターのヘッド ノードにインストールするのではなく、Microsoft® SQL Server® を実行している 1 つ以上のリモート サーバーにインストールすることも、Azure SQL データベースすることもできます。 また、SQL データベースをローカルサーバーからリモートサーバーに移行することも、古いサーバーから新しいサーバーに移行することもできます。

このガイドでは、HPC Pack 2019 でのデータベース サーバー移行の手順について説明します。

概要

HPC Pack 2019 の場合、HPC Pack クラスターには、HPCHAStorage、HPCHAWitness、HPCDiagnostics、HPCManagement、HPCMonitoring、HPCReporting、HPCScheduler の 7 つのデータベースが必要です。 HPCHAStorage データベースの接続文字列は、ヘッド ノードのレジストリ テーブルに格納されます。 また、他のデータベースの接続文字列は HPCHAStorage データベースに格納されます。

手続き

    1. すべてのヘッド ノードですべての HPC サービスを停止する
    1. HPC データベースをバックアップし、新しい DB サーバーで復元する (HPC セットアップ ユーザーとヘッド ノード マシン アカウントに DB アクセス許可を付与してください)
    1. 新しい DB サーバーのデータベース HPCHAStorage 内の 6 つの DB 接続文字列を次の SQL クエリで変更します (<New_xxxxx_ConnectionString> を正しい値に置き換えます)。
Update dbo.DataTable set dvalue='<New_HAWitnessDatabase_ConnectionString>' where dpath = 'HKEY_LOCAL_MACHINE\Software\Microsoft\HPC\Security' and dkey = 'HAWitnessDbConnectionString'
Update dbo.DataTable set dvalue='<New_DiagnosticsDatabase_ConnectionString>' where dpath = 'HKEY_LOCAL_MACHINE\Software\Microsoft\HPC\Security' and dkey = 'DiagnosticsDbConnectionString'
Update dbo.DataTable set dvalue='<New_ManagementDatabase_ConnectionString>' where dpath = 'HKEY_LOCAL_MACHINE\Software\Microsoft\HPC\Security' and dkey = 'ManagementDbConnectionString'
Update dbo.DataTable set dvalue='<New_MonitoringDatabase_ConnectionString>' where dpath = 'HKEY_LOCAL_MACHINE\Software\Microsoft\HPC\Security' and dkey = 'MonitoringDbConnectionString'
Update dbo.DataTable set dvalue='<New_ReportingDatabase_ConnectionString>' where dpath = 'HKEY_LOCAL_MACHINE\Software\Microsoft\HPC\Security' and dkey = 'ReportingDbConnectionString'
Update dbo.DataTable set dvalue='<New_SchedulerDatabase_ConnectionString>' where dpath = 'HKEY_LOCAL_MACHINE\Software\Microsoft\HPC\Security' and dkey = 'SchedulerDbConnectionString'
    1. HKLM:\Software\Microsoft\HPC\Security のレジストリ値 HAStorageDbConnectionString を、ヘッド ノード上の HPCHAStorage データベースの新しい接続文字列で変更します。
    1. すべてのヘッド ノードですべての HPC サービスを再起動する

関連項目