

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Microsoft SQL サーバーを AWS クラウドに移行した後に接続エラーを解決する
<a name="resolve-connection-errors-after-migrating-microsoft-sql-server-to-the-aws-cloud"></a>

*Premkumar Chelladurai、Amazon Web Services*

## 概要
<a name="resolve-connection-errors-after-migrating-microsoft-sql-server-to-the-aws-cloud-summary"></a>

Windows Server 2008 R2、2012、または 2012 R2 で実行中の Microsoft SQL Server をAmazon Web Services (AWS) クラウド上の Amazon Elastic Compute Cloud (Amazon EC2) インスタンスに移行後、SQL Server への接続が失敗し、次のエラーが表示されます。 
+ `[Microsoft][ODBC SQL Server Driver][DBNETLIB] General Network error`
+ `ERROR [08S01] [Microsoft][SQL Native Client]Communication link failure. System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)`
+ `TCP Provider: The semaphore timeout period has expired`

このパターンでは、Windows Server 2008 R2、2012、または 2012 R2 で実行中の SQL Server のオペレーティングシステム (OS) とネットワークインターフェイスレベルで Windows スケーラブルネットワークパック (SNP) 機能をオフにすることでこれらのエラーを解決する方法を説明します。

## 前提条件と制限
<a name="resolve-connection-errors-after-migrating-microsoft-sql-server-to-the-aws-cloud-prereqs"></a>

**前提条件**
+ Windows サーバーの管理者特権。
+ AWS アプリケーション移行サービスを移行ツールとして使用した場合は、次の Windows Server バージョンのいずれかが必要です。
  + Windows Server 2008 R2 サービスパック 1、2012、または 2012 R2
+ CloudEndure Migration を移行ツールとして使用した場合は、次の Windows Server バージョンのいずれかが必要です。
  + Windows Server 2003 R2 Service Pack 3、2008、2008 R2 サービスパック 1、2012、または 2012 R2

## ツール
<a name="resolve-connection-errors-after-migrating-microsoft-sql-server-to-the-aws-cloud-tools"></a>
+ 「[Amazon EC2](https://docs.aws.amazon.com/ec2/index.html)」— Amazon Elastic Compute Cloud (Amazon EC2) は、AWS クラウドでスケーラブルなコンピューティング容量を提供します。Amazon EC2 を使用して必要な分だけ仮想サーバーを起動し、スケールアウトまたはスケールインできます。 
+ [Windows サーバー](https://docs.microsoft.com/en-us/windows-server/) — Windows Server は、接続されたアプリケーション、ネットワーク、および Web サービスのインフラストラクチャを構築するプラットフォームです。

## エピック
<a name="resolve-connection-errors-after-migrating-microsoft-sql-server-to-the-aws-cloud-epics"></a>

### OS レベルと伸縮性ネットワークインターフェイスレベルで SNP 機能をオフにする
<a name="turn-off-snp-features-at-the-os-and-elastic-network-interface-levels"></a>


| タスク | 説明 | 必要なスキル | 
| --- | --- | --- | 
| OS レベルで SNP 機能をオフにします。 | [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/resolve-connection-errors-after-migrating-microsoft-sql-server-to-the-aws-cloud.html) | AWS 管理者、AWS システム管理者、移行エンジニア、クラウド管理者 | 
| 伸縮性のあるネットワークインターフェイスレベルで SNP 機能をオフにします。 | [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/resolve-connection-errors-after-migrating-microsoft-sql-server-to-the-aws-cloud.html) | AWS 管理者、クラウド管理者、AWS システム管理者 | 

## 関連リソース
<a name="resolve-connection-errors-after-migrating-microsoft-sql-server-to-the-aws-cloud-resources"></a>
+ [RSS、NetDMA などの高度なネットワークパフォーマンス機能のトラブルシューティング方法](https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/troubleshoot-network-performance-features-rss-netdma)