SlideShare a Scribd company logo
C-5
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
• サービスの継続性は管理業務
  の継続性でもある
• 効率的な管理はストレージ、
  ネットワーク、ジョブの安定
  性に支えられる
可用性を高める
テクノロジー
Windows Server 2012 で管理をもっと自動化する
いまさらですが...




        物理マシン                   仮想マシン
        Compute と Storage は一体   Compute と Storage の分離
• サービスを止めずに移動



                仮想 OS のみ
                仮想ストレージのみ
                仮想マシン全体
メモリ内データ

 構成情報
移動
• ストレージ マイグレーションのスピードアップ
• あとから Server Core に移行可能
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)
Windows Server 2012 で管理をもっと自動化する
3.5 TB
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
http://blogs.technet.com/b/junichia/archive/2012/03/21/3487696.aspx


• PowerShell 3.0(コマンドレット数 2300!)
  • ワークフローによるジョブの永続化
  • 堅牢なセッション管理
  • PSScheduledJob モジュールによるジョブスケジューリングへの対応
  • GUI を使用したコマンド入力
  • WEB/Json系コマンドレット
  • 新しい PowerShell ISE
• Windows PowerShell Web Service
• Server Manager CIM プロバイダー
• WinRM、WMI のアップデート
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
2012
       マルチ

リモート   リモート

ローカル   リモート
• コマンドレットに実装
 • 複数のコンピュータを指定可能
-ComputerName パラメタ
   • Invoke-Command コマンドレット
   • ComputerNameに対応していないコマンドで使用
   • 複数のコンピュータに対して一括実行
Invoke モード

 • Enter-PSSession コマンドレット
 • SSH のような使い方
対話モード
PowerShell 2.0 の場合
                     セッション情報はローカ
                     ルに保存されるため、別
                     のクライアントから再接
                     続できない

PowerShell 3.0 の場合


                     セッション情報はリモー
                     トに保存されるため、
                     別のクライアントから再
                     接続できる。
Windows Server 2012 で管理をもっと自動化する
• リモートコンピューター上のコマンドレットを一時的に取り込むことができる
• “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
Windows Server 2012 で管理をもっと自動化する
PowerShell -
• Windows PowerShell 2.0 よりサポート
• 長時間を要するコマンドレットを非同期に実行し、次の処理に移る
• 処理の経過は随時受け取れる

    Get-Job
        バックグラウンドジョブを取得
    Receive-Job
        バックグラウンドジョブの出力結果を取得
    Remove-Job
        バックグラウンドジョブを削除
    Start-Job
        バックグラウンドジョブを開始
    Stop-Job
        バックグラウンドジョブを停止
    Wait-Job
        バックグラウンドジョブが終了するまで待つ
•   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
workflow <ワークフロー名>
{
       <処理>
}


                       処理1         結果1     処理1

                     checkpoint           サスペンド
                       処理2
                     checkpoint            処理2

       WF              処理3

                        WF        結果ストア     WF

パラレル                 結果の永続化               サスペンド
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
Windows Server 2012 で管理をもっと自動化する
Thank You
© 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.

More Related Content

PDF
仮想化した DC を PowerShell で複製する
PDF
Hyper-V を Windows PowerShell から管理する
PDF
今さら聞けない!Windows server 2012 r2 hyper v入門
PDF
Hyper-V の本格採用に必要なエンタープライズ設計術
PDF
System Center Operations Managerによる仮想環境の高度な管理
PDF
PowerShell を使用した Hyper-V の管理
PDF
Windows File Service 総復習-Windows Server 2012 R2編 第1版
PDF
Shared Nothing Live Migration で重要な「委任」について
仮想化した DC を PowerShell で複製する
Hyper-V を Windows PowerShell から管理する
今さら聞けない!Windows server 2012 r2 hyper v入門
Hyper-V の本格採用に必要なエンタープライズ設計術
System Center Operations Managerによる仮想環境の高度な管理
PowerShell を使用した Hyper-V の管理
Windows File Service 総復習-Windows Server 2012 R2編 第1版
Shared Nothing Live Migration で重要な「委任」について

What's hot (17)

PPTX
20150418-scugj-scvmm
PDF
G tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイント
PDF
Ws2012フェールオーバークラスタリングdeep dive 130802
PDF
160625 cloud samurai_adds_migration_160625
PDF
Windows Server 2016 で作るシンプルなハイパーコンバージドインフラ (Microsoft TechSummit 2016)
PPTX
SC2012 VMM SP1 Update ヒーロー島 版
PDF
トラブルから理解するHyper vの基礎
PDF
Nano Server First Step
PPTX
無料セミナー20170321 awsから始めるlinux入門
PDF
Interact2015:Host Guardian Service ってなに?(仮)
PDF
Clouderaの品質保証・CDHのテスト工程について by Andrew bayer
PDF
そのエラーやお困りごと、ツールを使えば解決できるかも! ~ Sysinternals や OS 標準ツールの徹底活用術 ~ (Microsoft de:c...
PDF
Dynamic Access Control 演習編
PDF
Windows Server 2012 のストレージ強化とエンタープライズへの活用
PDF
C12 AlwaysOn 可用性グループとデータベースミラーリングのIO特製の比較 by 多田典史
PDF
Hyper vを理解する
PPTX
Windows Admin Center -Project Honolulu改め-
20150418-scugj-scvmm
G tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイント
Ws2012フェールオーバークラスタリングdeep dive 130802
160625 cloud samurai_adds_migration_160625
Windows Server 2016 で作るシンプルなハイパーコンバージドインフラ (Microsoft TechSummit 2016)
SC2012 VMM SP1 Update ヒーロー島 版
トラブルから理解するHyper vの基礎
Nano Server First Step
無料セミナー20170321 awsから始めるlinux入門
Interact2015:Host Guardian Service ってなに?(仮)
Clouderaの品質保証・CDHのテスト工程について by Andrew bayer
そのエラーやお困りごと、ツールを使えば解決できるかも! ~ Sysinternals や OS 標準ツールの徹底活用術 ~ (Microsoft de:c...
Dynamic Access Control 演習編
Windows Server 2012 のストレージ強化とエンタープライズへの活用
C12 AlwaysOn 可用性グループとデータベースミラーリングのIO特製の比較 by 多田典史
Hyper vを理解する
Windows Admin Center -Project Honolulu改め-
Ad

Viewers also liked (20)

PDF
Windows PowerShell によるWindows Server 管理の自動化 v4.0 2014.03.13 更新版
PDF
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
PDF
Windows使いのための仮想マシン入門
PDF
150523 jpsps ws2012r2_top10_150523
PDF
2014年12月 ソネット bit-drive セミナー資料
PDF
Windows Server 2012 R2 のすべて
PPTX
中小企業向け Windows server 2003 サポート終了と移行対策 ~ コストを掛けないツール見直し ~
PDF
AWSへのWindows Server 2003の移行 そして今後インフラとどう向き合うべきか
PDF
Ws2003からws2012 r2へのマイグレーション指南 140217
PDF
サーバの種別を理解しよう
PDF
書籍を執筆して気づいた Windows Server 2012 R2 過去のサーバーOSとの違い
PDF
ふくあずLt資料 windows server technical preview まとめ 141222
PDF
Microsoft と Digital Identity
PDF
Microsoft の ID 連携技術
PPTX
Ultimate SharePoint Infrastructure Best Practices - Japanese Version - #JPSPS
PDF
Active Directory 最新情報 2012.8.31 暫定版
PDF
SaaS としての IDM の役割
PDF
Vdi を より使いやすいインフラにするためのセキュリティ設計
PDF
Dynamic Access Control 解説編
PDF
カジュアルにセキュリティテストはじめよう
Windows PowerShell によるWindows Server 管理の自動化 v4.0 2014.03.13 更新版
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
Windows使いのための仮想マシン入門
150523 jpsps ws2012r2_top10_150523
2014年12月 ソネット bit-drive セミナー資料
Windows Server 2012 R2 のすべて
中小企業向け Windows server 2003 サポート終了と移行対策 ~ コストを掛けないツール見直し ~
AWSへのWindows Server 2003の移行 そして今後インフラとどう向き合うべきか
Ws2003からws2012 r2へのマイグレーション指南 140217
サーバの種別を理解しよう
書籍を執筆して気づいた Windows Server 2012 R2 過去のサーバーOSとの違い
ふくあずLt資料 windows server technical preview まとめ 141222
Microsoft と Digital Identity
Microsoft の ID 連携技術
Ultimate SharePoint Infrastructure Best Practices - Japanese Version - #JPSPS
Active Directory 最新情報 2012.8.31 暫定版
SaaS としての IDM の役割
Vdi を より使いやすいインフラにするためのセキュリティ設計
Dynamic Access Control 解説編
カジュアルにセキュリティテストはじめよう
Ad

Similar to Windows Server 2012 で管理をもっと自動化する (20)

PDF
XPagesDay 2014 - What's new in XPages NOW!
PPTX
Cod2012 jp D-1 SC2012ConfigMgr
PDF
SQL Azure のシームレスな管理
PDF
PowerShellを使用したWindows Serverの管理
PPTX
SharePoint 2010 を使ったクラウドアプリ開発
PDF
BPStudy20121221
PDF
Tech Ed 2010 Japan T1-310 Microsoft Online Services 展開時の実践テクニック
PPTX
20120821 pronet study
PDF
Eight meets AWS
PDF
2012 OpenStack + KVM = onamae.com VPS #2 ~ vnc and snapshot ~
PDF
話題のNode-REDでIoTアプリを作ってみよう
PDF
Windows PowerShell 2.0 の基礎知識
PDF
Windows PowerShell 2.0 の基礎知識
PPTX
JAWS目黒 EC2チューニングTips #jawsmeguro #jawsug
PDF
BIGLOBEが提案するすぐに使えるクラウド活用術
PDF
20130226 Amazon Web Services 勉強会(新宿)
PDF
Windows Server vNext、仮想化 (Hyper-V) の向上点
PDF
Windows server technical preview hyper v の新機能
PDF
JJUG CCC 2015 Spring: Liberty Profile Technical Deepdive:IBMの新しいアプリケーションサーバーの...
PDF
App012 linux java_にも対応!_azure_service_fabric_を
XPagesDay 2014 - What's new in XPages NOW!
Cod2012 jp D-1 SC2012ConfigMgr
SQL Azure のシームレスな管理
PowerShellを使用したWindows Serverの管理
SharePoint 2010 を使ったクラウドアプリ開発
BPStudy20121221
Tech Ed 2010 Japan T1-310 Microsoft Online Services 展開時の実践テクニック
20120821 pronet study
Eight meets AWS
2012 OpenStack + KVM = onamae.com VPS #2 ~ vnc and snapshot ~
話題のNode-REDでIoTアプリを作ってみよう
Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識
JAWS目黒 EC2チューニングTips #jawsmeguro #jawsug
BIGLOBEが提案するすぐに使えるクラウド活用術
20130226 Amazon Web Services 勉強会(新宿)
Windows Server vNext、仮想化 (Hyper-V) の向上点
Windows server technical preview hyper v の新機能
JJUG CCC 2015 Spring: Liberty Profile Technical Deepdive:IBMの新しいアプリケーションサーバーの...
App012 linux java_にも対応!_azure_service_fabric_を

More from junichi anno (18)

PPTX
V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...
PPTX
Microsoft Azure のセキュリティ
PPTX
Azure AD によるリソースの保護 how to protect and govern resources under the Azure AD
PPTX
Azure AD による Web API の 保護
PPTX
Azure ad の導入を検討している方へ ~ active directory の構成パターンと正しい認証方式の選択~
PPTX
Azure Key Vault
PPTX
個人情報を守るための アプリケーション設計(概要)
PDF
IoT のセキュリティアーキテクチャと実装モデル on Azure
PDF
DevSecOps: セキュリティ問題に迅速に対応するためのパイプライン設計
PPTX
Azureの管理権限について
PPTX
Azure Active Directory 1枚資料 20151125版
PPTX
リソーステンプレート入門
PDF
File Server on Azure IaaS
PDF
Active Directory のクラウド武装化計画 V2~"AD on Azure IaaS" or "Windows Azure Active Di...
PDF
最新Active DirectoryによるIDMaaSとハイブリッド認証基盤の実現
PDF
クラウドにおける Windows Azure Active Directory の役割
PPTX
Power shell の基本操作と処理の自動化 v2_20120514
PPTX
PowerShell の基本操作とリモーティング&v3のご紹介 junichia
V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...
Microsoft Azure のセキュリティ
Azure AD によるリソースの保護 how to protect and govern resources under the Azure AD
Azure AD による Web API の 保護
Azure ad の導入を検討している方へ ~ active directory の構成パターンと正しい認証方式の選択~
Azure Key Vault
個人情報を守るための アプリケーション設計(概要)
IoT のセキュリティアーキテクチャと実装モデル on Azure
DevSecOps: セキュリティ問題に迅速に対応するためのパイプライン設計
Azureの管理権限について
Azure Active Directory 1枚資料 20151125版
リソーステンプレート入門
File Server on Azure IaaS
Active Directory のクラウド武装化計画 V2~"AD on Azure IaaS" or "Windows Azure Active Di...
最新Active DirectoryによるIDMaaSとハイブリッド認証基盤の実現
クラウドにおける Windows Azure Active Directory の役割
Power shell の基本操作と処理の自動化 v2_20120514
PowerShell の基本操作とリモーティング&v3のご紹介 junichia

Windows Server 2012 で管理をもっと自動化する

  • 1. C-5
  • 8. • サービスの継続性は管理業務 の継続性でもある • 効率的な管理はストレージ、 ネットワーク、ジョブの安定 性に支えられる
  • 11. いまさらですが... 物理マシン 仮想マシン Compute と Storage は一体 Compute と Storage の分離
  • 12. • サービスを止めずに移動 仮想 OS のみ 仮想ストレージのみ 仮想マシン全体
  • 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
  • 20. http://blogs.technet.com/b/junichia/archive/2012/03/21/3487696.aspx • PowerShell 3.0(コマンドレット数 2300!) • ワークフローによるジョブの永続化 • 堅牢なセッション管理 • PSScheduledJob モジュールによるジョブスケジューリングへの対応 • GUI を使用したコマンド入力 • WEB/Json系コマンドレット • 新しい PowerShell ISE • Windows PowerShell Web Service • Server Manager CIM プロバイダー • WinRM、WMI のアップデート
  • 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.