SE の雑記

SQL Server の情報をメインに Microsoft 製品の勉強内容を日々投稿

Archive for 9月, 2015

Azure Active Directory を利用した SQL Database v12 への接続

3 comments

Preview: Azure AD authentication で紹介されていますが、SQL Database の接続時の認証に、Azure Active Directory (Azure AD) のユーザーが使用できるようになりました。

詳細については Connecting to SQL Database By Using Azure Active Directory AuthenticationAzure Active Directory Authentication – troubleshooting potential connectivity issues で解説されていますので、そちらを見ていただければと思います。

ざっと触ってみたので軽くまとめてみようかと。

Azure AD を使用した認証ができるのは SQL Databas v12 となり、v11 では使用することはできないようです。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 18th, 2015 at 11:12 pm

SQL Server 2014 で追加されたバックアップ時のチェックサム取得のデフォルト設定

leave a comment

SQL Server 2016 のサーバー構成オプション (sys.configurations) を見ていて気付いたのですが、SQL Server 2014 のタイミングで「backup checksum default」というオプションが追加されたようです。

サーバー構成オプション (SQL Server) にも記載されていないみたいですね。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 16th, 2015 at 11:15 pm

Posted in SQL Server

Tagged with

Invoke-Command で Azure 上にワークグループクラスターを作成しようとした際の思い出

leave a comment

Azure に、Windows Server 2016 TP3 の仮想マシンを 2 台構築し、それをローカルから Invoke-Command でワークグループクラスターを構築しようとした際の思い出を。

リモートでコマンドを実行するためにいろいろと設定していたり、並列で実行できる個所を直列で実行していたりと「それ、ぎたぱそせんせーの valentia つかえばよかったのでは」と思う方もいるかもしれませんが、必要な設定を自分で試して勉強しておきたかったので、えっちらおっちら、一つずつやってみました。

今回は、以下のような環境に対して、ワークグループクラスターを設定しています。

image

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 15th, 2015 at 11:21 pm

Posted in Microsoft Azure,PowerShell

Tagged with ,

SQL Server 2016 CTP 2.3 のインストール時の複数 tempdb について

leave a comment

SQL Server 2016 では、インストール時に複数のデータファイルで構成した tempdb の構成でインストールをすることができます。

Multiple TempDB Database Files

image

SQL Server 2016 : Getting tempdb a little more right も参考になるかと。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 14th, 2015 at 6:38 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 の AlwaysOn の DTC サポートについて

leave a comment

SQL Server 2016 では、AlwaysOn で DTC (分散トランザクション) がサポートされるとアナウンスされています。
これに関連する情報を軽くまとめてみたいと思います。
2016/4/15 追記
最新の情報を確認したところ、Windows Server 2012 R2 に KB?3090973 をインストールすることで、DTC がサポートされるらしいです。

Availability Groups must be running on Windows Server 2016 or Windows Server 2012 R2. For Windows Server 2012 R2, you must install the update in KB3090973 available at https://support.microsoft.com/en-us/kb/3090973.

 
Read the rest of this entry »

Written by Masayuki.Ozawa

9月 7th, 2015 at 8:04 am

Posted in SQL Server

Tagged with ,