More Related Content Similar to Windows Server 2012 で管理をもっと自動化する Similar to Windows Server 2012 で管理をもっと自動化する (20) More from junichi anno (18) Windows Server 2012 で管理をもっと自動化する11. いまさらですが...
物理マシン 仮想マシン
Compute と Storage は一体 Compute と Storage の分離
16. NIC チーミング(最大 32 NIC/Team)を OS 標準でサポート
SMB 3.0 マルチチャネル with RSS
NIC NIC
Teaming Teaming
SMB Multi.
RS RS
SMB Multi.
NIC
SWITCH
S NIC S
RS RS
S NIC NIC S
RS RS
S NIC NIC S
SMB コネクション RSS: Receive-side scaling
Remote Direct Memory Access)
19. Solution Service
IT Pro IT Developer Developer Provider
開
発
Windows Management Framework
標準化されたアクセス Windows PowerShell 他の
プラットフォーム
WS-Man WS-Man
標準化されたプロトコル (Web Service for Management)
標準化された CIMOM、SMI-S CIMOM、
オブジェクトモデル SMI-S
CPU Storage Network Devices
23. 2012
マルチ
リモート リモート
ローカル リモート
24. • コマンドレットに実装
• 複数のコンピュータを指定可能
-ComputerName パラメタ
• Invoke-Command コマンドレット
• ComputerNameに対応していないコマンドで使用
• 複数のコンピュータに対して一括実行
Invoke モード
• Enter-PSSession コマンドレット
• SSH のような使い方
対話モード
25. PowerShell 2.0 の場合
セッション情報はローカ
ルに保存されるため、別
のクライアントから再接
続できない
PowerShell 3.0 の場合
セッション情報はリモー
トに保存されるため、
別のクライアントから再
接続できる。
27. • リモートコンピューター上のコマンドレットを一時的に取り込むことができる
• “Invoke-Command -Session” を使用する必要が無くなる
• コマンドの実行中はセッションを生かしておく必要がある
PS C:> Get-VM |ft name
Name
----
VM01 Hyper-V Module
VM02
VM03 PS Session
VM04
VM05
Hyper-V Server
PS C:> $s = New-PSSession -ComputerName Server1
PS C:> Import-PSSession -Session $s -Module HYPER-V
29. PowerShell -
• Windows PowerShell 2.0 よりサポート
• 長時間を要するコマンドレットを非同期に実行し、次の処理に移る
• 処理の経過は随時受け取れる
Get-Job
バックグラウンドジョブを取得
Receive-Job
バックグラウンドジョブの出力結果を取得
Remove-Job
バックグラウンドジョブを削除
Start-Job
バックグラウンドジョブを開始
Stop-Job
バックグラウンドジョブを停止
Wait-Job
バックグラウンドジョブが終了するまで待つ
30. • PSScheduledJob モジュールで提供
Add-JobTrigger New-JobTrigger
Disable-JobTrigger New-ScheduledJobOption
Disable-ScheduledJob Register-ScheduledJob
Enable-JobTrigger Remove-JobTrigger
Enable-ScheduledJob Set-JobTrigger
Get-JobTrigger Set-ScheduledJob
Get-ScheduledJob Set-ScheduledJobOption
Get-ScheduledJobOption Unregister-ScheduledJob
31. workflow <ワークフロー名>
{
<処理>
}
処理1 結果1 処理1
checkpoint サスペンド
処理2
checkpoint 処理2
WF 処理3
WF 結果ストア WF
パラレル 結果の永続化 サスペンド
37. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered
trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this
presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part
of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT
MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.