2018年7月21日土曜日

Windows Admin Center 1807からCluster Shared Volumeを作ってみた

いつもは、PowerShellで作っていますが、Windows Admin CenterからCluster Shared Volume(CSV)作ってみることにしました。
ターゲットは、Windows Server Insider Preview 17713 S2Dです。

結論、PowerShellほど自由度は高くないですが、作成は簡単です!

PowerShellで作成済みのCSVがあります。


ここにWindows Admin CenterからCSVを作成します。

重複排除のチェックは押せない状態ですが、今後機能追加されそうなのかな。

特に問題なく作成できました。

が、CSVのファイルシステムは、ReFSを暗黙に指定した感じになっていますね。


フェールオーバークラスターでも作成が確認できます。


もう一つCSVを作成するついでにオプションを眺めてみます。
3ノードなので、3方向ミラーだけ指定できます。


332GBのつもりで入れていますが、単位がTBのままなので、validateがかかってくれます。


以上、ご参考になれば幸いです。

Windows Server Insider Preview 17713でDDNSが復活

Windows Admin Center 1807からファイル共有も設定できるけど

Announcing Windows Server 2019 Insider Preview Build 17713にファイル共有も設定できるようになったと書いてあったので、早速試す。
が、結論としてはまだ中途半端な感じ。

ファイルから、共有が柵瀬できるようになっています。


Windows Admin Center的既定のファイル共有アクセス権は下記の通り。


Domain Adminsを追加してみます。


Read onlyかRead/Writeのどちらかを選択可能です。
※本来やりたいのはFull Controlですが。


Read/Writeでsubmitします。


できたみたいなんですが、


ファイルサーバーから、ファイル共有アクセス権を開いてみると、アクセス権が違う。。。


本来設定したかったアクセス権にしてみます。


Windows Admin Centerに戻ってみたけど、こちらには反映されていないようです。


1時間~2時間ほど間隔を開けると、アクセス権の表示は(そもそも選択肢がないので)こういう感じですが、Domain Adminsにアクセス権が付与されているのは確認できます。

でも、実際はコンピュータアカウントにもアクセス権があるのですけどね。

これもしばらくしたら表示されるのかな。。。

2018年7月16日月曜日

フェールオーバークラスターを使おうとすると、Windows Admin Centerをお勧めするのね

Windows Server Insider Preview LTSC 17709の英語版で、フェールオーバークラスターを使おうとした時のこと。

Windows Admin Centerで、フェールオーバークラスターの管理を試してみないかって。


Windows Server Insider Preview 17709でのS2D構築は、DDNS以外支障なし

別稿で記載していますが、Windows Server Insider Preview 17709はDDNSができていないようです。
ということで、Windows Server Insider Preview 17709は、DNSエントリーを手動登録し、いつものようにS2D PoCを構築しました。

クラスターのコンピュータアカウントがADドメインに作成されるとともに、DDNSでDNSサーバーに登録される動きはまったく問題なかった旨、記載しておきます。



手順は、概ねDeploy Storage Spaces Directの通りです。

いつもは構築スクリプトを貼ったりしていますが、今回は実行結果を貼ってみます。
まずHyper-Vホスト側から実行したものです。
Nested Hyper-Vに必要なCPUおよびネットワークを前半で設定。
後半は、各VMごとに、TrustedHostsの設定、クラスター実行アカウントをローカル管理者グループへ追加、役割と機能のインストール、再起動を行いました。
まあ、VMによるPoCなので、"Data-Center-Bridging"の機能はインストールしなくてもよいのですけどね。
S C:\Users\sashizaki> $vmname1="g2wsip17709s2d1"
Set-VMProcessor -VMName $vmname1 -ExposeVirtualizationExtensions $true
Get-VMNetworkAdapter -VMName $vmname1 | Set-VMNetworkAdapter -MacAddressSpoofing On
Get-VMProcessor -VMName $vmname1 |fl vmname,ExposeVirtualizationExtensions
Get-VMNetworkAdapter -VMName $vmname1 |fl VMName,MacAddressSpoofing



VMName : g2wsip17709s2d1
ExposeVirtualizationExtensions : True





VMName : g2wsip17709s2d1
MacAddressSpoofing : On

VMName : g2wsip17709s2d1
MacAddressSpoofing : On




PS C:\Users\sashizaki> $vmname2="g2wsip17709s2d2"
Set-VMProcessor -VMName $vmname2 -ExposeVirtualizationExtensions $true
Get-VMNetworkAdapter -VMName $vmname2 | Set-VMNetworkAdapter -MacAddressSpoofing On
Get-VMProcessor -VMName $vmname2 |fl vmname,ExposeVirtualizationExtensions
Get-VMNetworkAdapter -VMName $vmname2 |fl VMName,MacAddressSpoofing


VMName : g2wsip17709s2d2
ExposeVirtualizationExtensions : True





VMName : g2wsip17709s2d2
MacAddressSpoofing : On

VMName : g2wsip17709s2d2
MacAddressSpoofing : On




PS C:\Users\sashizaki> $vmname3="g2wsip17709s2d3"
Set-VMProcessor -VMName $vmname3 -ExposeVirtualizationExtensions $true
Get-VMNetworkAdapter -VMName $vmname3 | Set-VMNetworkAdapter -MacAddressSpoofing On
Get-VMProcessor -VMName $vmname3 |fl vmname,ExposeVirtualizationExtensions
Get-VMNetworkAdapter -VMName $vmname3 |fl VMName,MacAddressSpoofing



VMName : g2wsip17709s2d3
ExposeVirtualizationExtensions : True





VMName : g2wsip17709s2d3
MacAddressSpoofing : On

VMName : g2wsip17709s2d3
MacAddressSpoofing : On




PS C:\Users\sashizaki> $myServer1 = "$vmname1.sshzk2016.local"
$localadmin = ".\administrator"
$domainadmin = "sshzk2016\sashizaki"
$myServer2 = "$vmname2.sshzk2016.local"
$myServer3 = "$vmname3.sshzk2016.local"


PS C:\Users\sashizaki> Enter-PSSession -ComputerName $myServer1 -Credential $domainadmin


[g2wsip17709s2d1.sshzk2016.local]: PS C:\Users\sashizaki\Documents> Set-Item WSMan:\localhost\Client\TrustedHosts "*"
Net localgroup Administrators sshzk2016\sa_s2dcluster /add
Install-WindowsFeature -Name "Data-Center-Bridging","Failover-Clustering","Hyper-V","RSAT-Clustering-PowerShell","Hyper-V-PowerShell" -IncludeManagementTools
shutdown -r -t 0
exit
The command completed successfully.


Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True Yes SuccessRest... {Data Center Bridging, Failover Clustering...
警告: You must restart this server to finish the installation process.

PS C:\Users\sashizaki> Enter-PSSession -ComputerName $myServer2 -Credential $domainadmin


[g2wsip17709s2d2.sshzk2016.local]: PS C:\Users\sashizaki\Documents> Set-Item WSMan:\localhost\Client\TrustedHosts "*"
Net localgroup Administrators sshzk2016\sa_s2dcluster /add
Install-WindowsFeature -Name "Data-Center-Bridging","Failover-Clustering","Hyper-V","RSAT-Clustering-PowerShell","Hyper-V-PowerShell" -IncludeManagementTools
shutdown -r -t 0
exit
The command completed successfully.


Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True Yes SuccessRest... {Data Center Bridging, Failover Clustering...
警告: You must restart this server to finish the installation process.

PS C:\Users\sashizaki> Enter-PSSession -ComputerName $myServer3 -Credential $domainadmin


[g2wsip17709s2d3.sshzk2016.local]: PS C:\Users\sashizaki\Documents> Set-Item WSMan:\localhost\Client\TrustedHosts "*"
Net localgroup Administrators sshzk2016\sa_s2dcluster /add
Install-WindowsFeature -Name "Data-Center-Bridging","Failover-Clustering","Hyper-V","RSAT-Clustering-PowerShell","Hyper-V-PowerShell" -IncludeManagementTools
shutdown -r -t 0
exit
コマンドは正常に終了しました。


Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True Yes SuccessRest... {Data Center Bridging, フェールオーバー クラスタリング, H...
警告: インストール処理を完了するには、このサーバーを再起動する必要があります。

以降は、VMから実行しています。
  • クラスターの検証
  • クラスターの作成
  • ファイル共有監視の設定
  • ディスクのクリーンアップ
  • verboseオプションを用いたS2Dの有効化
  • CSVの作成
  • コマンドにより、構築状況の確認
PS C:\Users\sashizaki> $vmname1="g2wsip17709s2d1"
$vmname2="g2wsip17709s2d2"
$vmname3="g2wsip17709s2d3"
$myServer1 = "$vmname1.sshzk2016.local"
$myServer2 = "$vmname2.sshzk2016.local"
$myServer3 = "$vmname3.sshzk2016.local"

PS C:\Users\sashizaki> Test-Cluster -node $myServer1,$myServer2,$myServer3 -include "Storage Spaces Direct",Inventory,Network,"System Configuration"

WARNING: System Configuration - Validate Operating System Installation Option: The test reported so
me warnings..
WARNING: System Configuration - Validate Software Update Levels: The test reported some warnings..
WARNING: Network - Validate Cluster Network Configuration: The test reported some warnings..
WARNING:
Test Result:
HadUnselectedTests, ClusterConditionallyApproved
Testing has completed for the tests you selected. You should review the warnings in the Report. A
cluster solution is supported by Microsoft only if you run all cluster validation tests, and all te
sts succeed (with or without warnings).
Test report file path: C:\Users\sashizaki\AppData\Local\Temp\Validation Report 2018.07.16 At 11.04.
42.htm

Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2018/07/16 11:06 925510 Validation Report 2018.07.16 At 11.04.42.htm



PS C:\Users\sashizaki> New-Cluster -name s2dwsip17709 -node $myServer1,$myServer2,$myServer3 -noStorage -static 192.168.3.16


Name
----
s2dwsip17709



PS C:\Users\sashizaki> Set-ClusterQuorum -FileShareWitness \\g2ws2016fsis01\fwwsip17709


Cluster QuorumResource
------- --------------
s2dwsip17709 File Share Witness



PS C:\Users\sashizaki> icm (Get-Cluster -Name s2dwsip17709 | Get-ClusterNode) {
Update-StorageProviderCache
Get-StoragePool | ? IsPrimordial -eq $false | Set-StoragePool -IsReadOnly:$false -ErrorAction SilentlyContinue
Get-StoragePool | ? IsPrimordial -eq $false | Get-VirtualDisk | Remove-VirtualDisk -Confirm:$false -ErrorAction SilentlyContinue
Get-StoragePool | ? IsPrimordial -eq $false | Remove-StoragePool -Confirm:$false -ErrorAction SilentlyContinue
Get-PhysicalDisk | Reset-PhysicalDisk -ErrorAction SilentlyContinue
Get-Disk | ? Number -ne $null | ? IsBoot -ne $true | ? IsSystem -ne $true | ? PartitionStyle -ne RAW | % {
$_ | Set-Disk -isoffline:$false
$_ | Set-Disk -isreadonly:$false
$_ | Clear-Disk -RemoveData -RemoveOEM -Confirm:$false
$_ | Set-Disk -isreadonly:$true
$_ | Set-Disk -isoffline:$true
}
Get-Disk |? Number -ne $null |? IsBoot -ne $true |? IsSystem -ne $true |? PartitionStyle -eq RAW | Group -NoElement -Property FriendlyName
} | Sort -Property PsComputerName,Count

Count Name PSComputerName
----- ---- --------------
4 Msft Virtual Disk g2wsip17709s2d1
4 Msft Virtual Disk g2wsip17709s2d2
4 Msft Virtual Disk g2wsip17709s2d3



PS C:\Users\sashizaki> Enable-ClusterStorageSpacesDirect -verbose

VERBOSE: 2018/07/16-11:15:01.195 Ensuring that all nodes support S2D
VERBOSE: 2018/07/16-11:15:01.227 Querying storage information
VERBOSE: 2018/07/16-11:15:01.664 Sorted disk types present (fast to slow): HDD. Number of types pre
sent: 1
VERBOSE: 2018/07/16-11:15:01.664 Checking that nodes support the desired cache state
VERBOSE: 2018/07/16-11:15:01.680 Checking that all disks support the desired cache state
VERBOSE: 2018/07/16-11:15:04.289 Creating health resource
VERBOSE: 2018/07/16-11:15:09.727 Setting cluster property
VERBOSE: 2018/07/16-11:15:09.727 Setting default fault domain awareness on clustered storage subsys
tem
VERBOSE: 2018/07/16-11:15:09.883 Waiting until physical disks are claimed
VERBOSE: 2018/07/16-11:15:12.899 Number of claimed disks on node 'g2wsip17709s2d1': 4/4
VERBOSE: 2018/07/16-11:15:12.915 Number of claimed disks on node 'g2wsip17709s2d2': 4/4
VERBOSE: 2018/07/16-11:15:12.930 Number of claimed disks on node 'g2wsip17709s2d3': 4/4
VERBOSE: 2018/07/16-11:15:12.946 Node 'g2wsip17709s2d1': Waiting until cache reaches desired state
(HDD:'ReadWrite' SSD:'WriteOnly')
VERBOSE: 2018/07/16-11:15:12.962 SBL disks initialized in cache on node 'g2wsip17709s2d1': 4 (4 on
all nodes)
VERBOSE: 2018/07/16-11:15:12.962 Cache reached desired state on g2wsip17709s2d1
VERBOSE: 2018/07/16-11:15:13.977 Node 'g2wsip17709s2d2': Waiting until cache reaches desired state
(HDD:'ReadWrite' SSD:'WriteOnly')
VERBOSE: 2018/07/16-11:15:13.977 SBL disks initialized in cache on node 'g2wsip17709s2d2': 4 (8 on
all nodes)
VERBOSE: 2018/07/16-11:15:13.977 Cache reached desired state on g2wsip17709s2d2
VERBOSE: 2018/07/16-11:15:15.321 Node 'g2wsip17709s2d3': Waiting until cache reaches desired state
(HDD:'ReadWrite' SSD:'WriteOnly')
VERBOSE: 2018/07/16-11:15:15.337 SBL disks initialized in cache on node 'g2wsip17709s2d3': 4 (12 on
all nodes)
VERBOSE: 2018/07/16-11:15:15.337 Cache reached desired state on g2wsip17709s2d3
VERBOSE: 2018/07/16-11:15:16.352 Waiting until SBL disks are surfaced
VERBOSE: 2018/07/16-11:15:19.384 Disks surfaced on node 'g2wsip17709s2d1': 12/12
VERBOSE: 2018/07/16-11:15:19.399 Disks surfaced on node 'g2wsip17709s2d2': 12/12
VERBOSE: 2018/07/16-11:15:19.430 Disks surfaced on node 'g2wsip17709s2d3': 12/12
VERBOSE: 2018/07/16-11:15:22.774 Waiting until all physical disks are reported by clustered storage
subsystem
VERBOSE: 2018/07/16-11:15:26.290 Physical disks in clustered storage subsystem: 12
VERBOSE: 2018/07/16-11:15:26.290 Querying pool information
VERBOSE: 2018/07/16-11:15:26.915 Starting health providers
VERBOSE: 2018/07/16-11:15:46.891 Checking that all disks support the desired cache state
WARNING: 2018/07/16-11:15:46.969 Node g2wsip17709s2d1: No disks found to be used for cache
WARNING: 2018/07/16-11:15:46.969 Node g2wsip17709s2d2: No disks found to be used for cache
WARNING: 2018/07/16-11:15:46.985 Node g2wsip17709s2d3: No disks found to be used for cache
VERBOSE: 2018/07/16-11:15:46.985 Required steps for this action completed successfully

Node EnableReportName
---- ----------------
g2wsip17709s2d2 C:\Windows\Cluster\Reports\EnableClusterS2D on 2018.07.16-11.15.47.htm




PS C:\Users\sashizaki> New-Volume -FriendlyName "Volume1" -FileSystem CSVFS_ReFS -StoragePoolFriendlyName S2D* -Size 332GB -ResiliencySettingName Mirror -PhysicalDiskRedundancy 2

DriveLetter FriendlyName FileSystemType DriveType HealthStatus OperationalStatus SizeRemaining Siz
e
----------- ------------ -------------- --------- ------------ ----------------- ------------- ---
Volume1 CSVFS_ReFS Fixed Healthy OK 328.42 GB GB



PS C:\Users\sashizaki> Get-VirtualDisk


FriendlyName ResiliencySettingName FaultDomainRedundancy OperationalStatus HealthStat
us
------------ --------------------- --------------------- ----------------- ----------
Volume1 Mirror 2 OK Healthy
ClusterPerformanceHistory Mirror 2 OK Healthy



PS C:\Users\sashizaki> New-Volume -FriendlyName "Volume2" -FileSystem CSVFS_ReFS -StoragePoolFriendlyName S2D* -Size 332GB -ResiliencySettingName Mirror -PhysicalDiskRedundancy 2
New-Volume -FriendlyName "Volume3" -FileSystem CSVFS_ReFS -StoragePoolFriendlyName S2D* -Size 332GB -ResiliencySettingName Mirror -PhysicalDiskRedundancy 2


DriveLetter FriendlyName FileSystemType DriveType HealthStatus OperationalStatus SizeRemaining Siz
e
----------- ------------ -------------- --------- ------------ ----------------- ------------- ---
Volume2 CSVFS_ReFS Fixed Healthy OK 328.42 GB GB
Volume3 CSVFS_ReFS Fixed Healthy OK 328.42 GB GB



PS C:\Users\sashizaki> Get-ClusterS2D

WARNING: 2018/07/16-11:32:24.279 Node g2wsip17709s2d1: No disks found to be used for cache
WARNING: 2018/07/16-11:32:24.289 Node g2wsip17709s2d2: No disks found to be used for cache
WARNING: 2018/07/16-11:32:24.305 Node g2wsip17709s2d3: No disks found to be used for cache


CacheMetadataReserveBytes : 34359738368
CacheModeHDD : ReadWrite
CacheModeSSD : WriteOnly
CachePageSizeKBytes : 16
CacheState : Enabled
Name : s2dwsip17709
ScmUse : Cache
State : Enabled




PS C:\Users\sashizaki> Get-VirtualDisk


FriendlyName ResiliencySettingName FaultDomainRedundancy OperationalStatus HealthStat
us
------------ --------------------- --------------------- ----------------- ----------
Volume3 Mirror 2 OK Healthy
Volume1 Mirror 2 OK Healthy
ClusterPerformanceHistory Mirror 2 OK Healthy
Volume2 Mirror 2 OK Healthy



PS C:\Users\sashizaki> Get-StoragePool


FriendlyName OperationalStatus HealthStatus IsPrimordial IsReadOnly Size AllocatedSize
------------ ----------------- ------------ ------------ ---------- ---- -------------
Primordial OK Healthy True False 3.12 TB 2.99 TB
Primordial OK Healthy True False 3.12 TB 2.99 TB
S2D on s2dwsip17709 OK Healthy False False 2.99 TB 2.97 TB



PS C:\Users\sashizaki> Get-PhysicalDisk

DeviceId FriendlyName SerialNumber MediaType CanPool OperationalStatus HealthStatus Usage
-------- ------------ ------------ --------- ------- ----------------- ------------ -----
0 Msft Virtual Disk Unspecified False OK Healthy Auto...
3001 Msft Virtual Disk HDD False OK Healthy Auto...
1001 Msft Virtual Disk HDD False OK Healthy Auto...
2003 Msft Virtual Disk HDD False OK Healthy Auto...
3004 Msft Virtual Disk HDD False OK Healthy Auto...
3003 Msft Virtual Disk HDD False OK Healthy Auto...
2004 Msft Virtual Disk HDD False OK Healthy Auto...
2001 Msft Virtual Disk HDD False OK Healthy Auto...
2002 Msft Virtual Disk HDD False OK Healthy Auto...
1003 Msft Virtual Disk HDD False OK Healthy Auto...
1002 Msft Virtual Disk HDD False OK Healthy Auto...
1004 Msft Virtual Disk HDD False OK Healthy Auto...
3002 Msft Virtual Disk HDD False OK Healthy Auto...


2018年7月15日日曜日

Windows Server Insider Preview 17709でDDNSできていないっぽいのと、日本語表示のバグ

Windows Server Insider Preview 17709がリリースされたので、いつものようにS2DのPoCを作ろうと準備していました。

enter-pssessionでコマンド流し込もうと思ったらつながらない。
nslookupしても、Windows Server Insider Preview 17709をインストールしたVMの名前解決ができない。
AD DCと同居しているDNSにもエントリーなし。
確認のため、
  • Windows Server Semi-Annual Preview 17709 英語
  • Windows Server LTSC Preview 17709 英語
  • Windows Server LTSC Preview 17709 日本語
を用意しました。

結論としては、まったくDDNSされていません。。。
  • Windows Server Semi-Annual Preview 17709 英語

  • Windows Server LTSC Preview 17709 英語

  • Windows Server LTSC Preview 17709 日本語

ということで、
S2D PoCは、DNSエントリーを静的登録して、進めます。。。

で、ついでに見つけた日本語表示のバグ。
powershellで、"ipconfig /registerdns"を実行したら、日本語が文字化けします。

正確には、ipconfig /registerdnsを実行中は日本語が表示されます。

しかし、コマンド実行後は、文字化けしてしいます。

2018年7月8日日曜日

Windows Admin CenterにWindows Server 2008 R2を登録してみる

Interact 2018でデモンストレーションしようと考えていましたが、機材の不調で省略する羽目になりました。
よって、前提条件含め、キチンと説明していきます。

Prepare your environment for Windows Admin Center
にある通り、前提条件としてWMF 5.1以上のインストールが必要です。
が、Windows Server 2008 R2の場合、WMF 5.1以上のインストールでは.NET Framework 4.5.2以上が必要です。こちらについては、Windows Updateで最新版である4.7.1をインストールしておきます。
WMF 3.0をインストールしてはいけないとも記載があります、ご注意ください。

以下も必要ですね。
  • 名前解決
    今回はドメイン参加させることで、DNS登録を省略(DDNSするので)
  • winrm quickconfig
    こちらでWindows Firewallも開きます
  • Set-Item WSMan:\localhost\Client\TrustedHosts -Value ‘*’
まずwinrm quickconfigとSet-Item WSMan:\localhost\Client\TrustedHosts -Value '*'を実行。

winrm quickconfigで、WinRMも動作するようになりました。Windows Firewallの例外が構成されたことも確認できますね。

Windows Updateで最新版である4.7.1をインストール済み。


ダウンロードしたWMF 5.1をインストール。
Windows 7 and Windows Server 2008 R2用は、zipファイルです。デスクトップに解凍します。


インストールは、PowerShellで行うのですね~。
と思って実行したら、PowerShellの実行ポリシーに引っかかってる。


RemoteSignedに変えてみて、再度実行。

しばらく待つと、ダイアログが出ました。

[はい]ボタンを押すと、ライセンス条項の同意ダイアログが出ました。

[同意します]を押します。
6~7分ほど待つと、インストール完了し、再起動待ちとなります。ここで再起動します。



前提条件を満たしましたので、Windows Admin Centerに登録/接続します。
ここではドメイン管理者のアカウントをしています

無事に登録完了。


サーバーの概要画面も表示できました。

ですが、Supported operating systems: Managementに記載の通り、
  • 概要
  • PowerShell
  • イベント
  • サービス
  • プロセス
  • レジストリ
  • ローカルユーザーとグループ
といった管理項目は限られていますね。

Windows Admin CenterにWindows Server 2012 R2を登録してみる

Interact 2018でデモンストレーションしようと考えていましたが、機材の不調で省略する羽目になりました。
よって、前提条件含め、キチンと説明していきます。

Prepare your environment for Windows Admin Center
にある通り、前提条件としてWMF 5.1以上のインストールが必要です。
また、以下も必要です。
  • 名前解決
    今回はドメイン参加させることで、DNS登録を省略(DDNSするので)
  • winrm quickconfig
    こちらでWindows Firewallも開きます
  • Set-Item WSMan:\localhost\Client\TrustedHosts -Value '*'

まずwinrm quickconfigとSet-Item WSMan:\localhost\Client\TrustedHosts -Value '*'を実行。


ダウンロードしたWMF 5.1をインストール。
インストール自体は、ウィザードに従えば良いです。





前提条件を満たしましたので、Windows Admin Centerに登録/接続します。
ここではドメイン管理者のアカウントをしています


無事に登録完了。


サーバーの概要画面も表示できました。


2018年7月2日月曜日

Windows Server 2016 で Unable to configure the RD Session Host Server が出ますけど


Windows Server 2016 でsession collectionを作っていて、
Unable to configure the RD Session Host Server が出てしまいました。

調べたところ、
You cannot create a session collection and an error occurs in Windows Server 2012
があたりました。
あと、
RDS Collection error: Unable to configure the RD Sessionhost server. Invalid operation
はエラーの画像付きです。

Windows Server 2012におけるグループポリシーのパスは、

  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Security
  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing
ということです。
が、Windows Server 2016におけるグループポリシーのパスは、下記の通りでちょっと違います。
  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing
  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security
早速見たところ、
  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing
のほうはすべて"Not Configured"で問題なし。

  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security

  • Set client connection encryption level
  • Always prompt for password upon connection
  • Require secure RPC Communication
がenableでした。
これらを"Not Configured"に戻したところ、
Unable to configure the RD Session Host Server
は表示されなくなり、無事にsession collectionが作成できました。

2018年7月1日日曜日

サービス スタック更新プログラム (SSU) と最新の累積的な更新プログラム (LCU)

2018 年 5 月 18 日 — KB4103720 (OS ビルド 14393.2273)
下記に引用します。

重要 Microsoft Update カタログからサービス スタック更新プログラム (SSU) (KB4132216) と最新の累積的な更新プログラム (LCU) 両方の更新プログラムをインストールする場合は、LCU をインストールする前に SSU をインストールしてください。

ということなんです。勉強不足で知りませんでした。

本稿執筆時点で、
June 12, 2018—KB4284880 (OS Build 14393.2312)
Applies to: Windows 10, version 1607Windows Server 2016

がリリース済み。

サービス スタック更新プログラム (SSU) (KB4132216)
を適用して始めて、
June 12, 2018—KB4284880 (OS Build 14393.2312)
Applies to: Windows 10, version 1607Windows Server 2016

を適用できます。

気を付けましょう。

Interact 2018 セッション資料 「Windows Admin Center -Project Honolulu改め-」を公開します

Interact 2018 セッションに参加いただいた方、誠にありがとうございました。
資料 「Windows Admin Center -Project Honolulu改め-」を公開します。
ご参考になれば幸いです。