hyper-v + linux {which microsoft...
TRANSCRIPT
Hyper-V + Linux {which Microsoft Loves}
Microsoft MVP Cloud and Datacenter Management
Norio Sashizaki
from System Center Users Group Japan
Powered by MVPs
0
Agenda
• Windows Server 2016 Hyper-V の新機能/改善点• 最近のトピックから見るMicrosoft Loves Linux
• 主要な Linux ディストリビューション• Windows Server Hyper-VのLinuxサポート• System Center とLinux
1
指崎則夫(さしざきのりお)http://sashiz.seesaa.net → http://sashiz.wordpress.com → http:// sshzk.blogspot.com
https://www.facebook.com/norio.sashizaki
@sshzkSCUGJ運営スタッフMicrosoft MVP Cloud and Datacenter Management• Windows Server 2012 R2 Hyper-V、System Center 2012 R2などなど
週末は、技術系ブログの運営、写真撮影、ガンプラ…• 高校サッカーの観戦&写真撮影
自己紹介
4
Windows Server 2016 Hyper-V の新機能/改善点(1/2)
https://technet.microsoft.com/en-US/library/dn765471.aspx
6
新機能/改善点 概要説明
Rolling Hyper-V Cluster upgrade Windows Server 2012 R2のRolling Hyper-V Clusterに、Windows Server 2016 Technical Previewを追加可能です。ただし、Windows Server 2016 Technical Previewを追加してしまうとRolling Hyper-V ClusterをWindows Server 2012 R2に戻すことはできません。
Production checkpoints VSSを使うことで、アプリケーションサーバー、データベースの整合性を保ちながら、チェックポイントが取得可能です。
Hot add and remove for network
adapters and memory
WindowsやLinuxが動作中の第2世代VMにおいて、Networkアダプターの抜き差し可能です。動的メモリを有効にしていない第1世代VMと第2世代VMにおいても、割り当てられるメモリの量を調整可能です。
Integration Services delivered
through Windows Update
統合サービス経由でVMに対してWindows Update可能です。
Storage quality of service (QoS) VMの仮想ハードディスクを置いているスケールアウトファイルサーバーでデータ転送の帯域を確保できます。
Virtual machine configuration
version、New virtual machine
configuration file format
Windows Server 2016 Technical Previewより使える新しいVMバージョンです。これに伴い、VM構成ファイルがXMLからバイナリーファイルに変更されます。これにより、Windows Server 2012 R2以下の構成ファイルと互換性がなくなります。
Windows Server 2016 Hyper-V の新機能/改善点(2/2)
https://technet.microsoft.com/ja-jp/library/dn765471.aspx
7
新機能/改善点 概要説明
Hyper-V Manager improvements 代替資格情報のサポートにより、Windows Server 2016 Technical PreviewとWindows 10にリモート接続する際に別の資格情報を保存可能です。
Windows Server 2016 Technical PreviewとWindows 10のHyper-V Mangerから、Windows Server
2012、Windows 8、Windows Server 2012 R2 and Windows 8.1のHyper-Vを管理可能です。 Hyper-V Managerは、WS-MANプロトコルを使用してリモートのHyper-Vホストと通信するように改善されます。WS-MANプロトコルでは、CredSSP、KerberosまたはNTLM認証を利用可能です。リモートのHyper-Vホストへの接続にCredSSPを使用するならば、Active Directoryに制限された委任を有効にせずとも、ライブマイグレーションを実行できます。
Linux secure boot Ubuntu 14.04およびそれ以降、SUSE Linux Enterprise Server 12といったLinuxと第2世代VMの組み合わせてサポートします。
Compatible with Connected
Standby
Hyper-Vの役割で、Connected Standbyをサポートします。
PowerShell Direct 従来は、ネットワーク越しに、Invoke-CommandコマンドレットでVMへPowerShellを実行していた。PowerShell Directにより、ネットワーク無くても(ネットワークとして到達できなくても)、VMへのPowerShell実行が可能です。https://technet.microsoft.com/en-us/library/mt187808.aspx
Windows Server 2016 Hyper-Vに関連する新機能/改善点
http://techtarget.itmedia.co.jp/tt/news/1507/15/news13.html
8
関連する新機能/改善点 概要説明
Host Guardian ServiceとShielded
VM/Device Guard
Hyper-Vに対しては、テナント毎のセキュリティを保つことができます。テナント毎にファブリックを分離した状態において、VMが他テナントのファブリックに移動できくしたり、動作しないようにできます。Hyper-Vが仮想TPMをサポートすることにより、VMをBitlockerで暗号化し、VMへの不正アクセスを防止します。詳細は、http://www.slideshare.net/wind06106/interact-2015hostguardianserviceをご参照ください。
ストレージの障害復元性(レジエンシー)
ストレージとHyper-V間との接続が1分以上切れるとVMクラッシュしていたが、それを回避します。
ストレージレプリカ Hyper-V Failover ClusterのストレージであるCluster Shared Volumes(CSV)の複製に利用できます。Hyper-V Stretch Cluster Replication https://technet.microsoft.com/en-us/library/mt126102.aspx
最近のトピックから見るMicrosoft Loves Linux(1/2)
http://japan.zdnet.com/article/35055935/2
そもそもの始まりは、昨年の10月末にMicrosoft CEOのSatya Nadella氏が”Microsoft Loves Linux”と表現し、MicrosoftのOSSに対するアプローチを示したことが、明確なターニングポイントとなりました。
以前より、Linuxも企業活動を支える重要なOSであることは間違いないところです。
Linuxで動作するWebアプリケーションを支えるOSSも、重要な要素であることは間違いないところです。
また、エンドユーザーがより簡単に使える(スマートフォンに代表される)デバイスに、情報の入り口がシフトし、それを支えるWebアプリケーション/アプリケーションがクラウドで動作しています。
そのクラウドでもOSSは活用されております。
以上のことからMicrosoftとして、OSSを重視していくというメッセージをこれまで以上に打ち出されていると思います。
10
最近のトピックから見るMicrosoft Loves Linux(2/2)
Server & Cloud Blog http://blogs.technet.com/b/server-cloud/
Microsoft Loves Linux Deep Dive
#1: Introduction to Linux and FreeBSD on Hyper-V
#2: Linux and FreeBSD Integration Services Core Features
#3: Linux Dynamic Memory and Live Backup
#4: Linux Network Features and Performance
#5: FreeBSD on Hyper-V
#6: Linux and UNIX Systems Management Overview
#7: Managing Linux in System Center Virtual Machine Manager
#8: Linux and UNIX Monitoring with Operations Manager
#9: Monitoring Open Source Middleware
Azureで利用できるLinuxディストリビューションhttp://download.microsoft.com/download/C/5/2/C529B562-863B-42FF-A5AE-4E984B29CE2E/CDP-012_yuyoshi.pdfより引用
CoreOS
Oracle Linux
OpenSUSE
OpenLogic(CentOSベース)
Ubuntu
Redhat Enterprise Linux:11月4日サポート提供の発表! http://www.itmedia.co.jp/news/articles/1511/05/news059.html
11
そもそもLinuxとは(1/2)
OS内部の違いがあるため、内部構造に踏み込んでいくと、使用感の差異があります。
ログインして、shellを使うだけならさほど違いが気にならないかも。
OSSではないアプリケーションソフトウェアが組み込まれるケースもあります。
OSが動作するためのLinuxカーネルに、デバイスドライバー、httpサーバーやメールといったアプリケーションソフトウェアをパッケージングしたものです。
ディストリビューションの違いとしては、パッケージ管理コマンドの違いとして見分けるのが分かりやすいかもしれません。が、例外もあります。
13
そもそもLinuxとは(2/2)
LinuxとFreeBSDの違い
UNIX自体、AT&Tが主導していたSystem V系列と、カリフォルニア大学バークレー校が主導していたBSD系列の2種類が存在していました。
System V系列は、企業向けであり代表的なのは、Solarisです。
BSD系列は、どちらかというと学術向けではありましたが、企業ユースでも使われていました。例えばSunOS 4.1.4まではBSD系列でした。
BSD系列をUNIXライセンスに抵触しないようフリー化したものが、FreeBSDです。
OS内部の違いがあるので、内部構造に踏み込んでいくと、Linuxと使用感との差異があります。
ログインして、shellを使うだけならさほど違いが気にならないかも。
ちなみにMacOS XもしくはOS Xは、FreeBSDのブランチです
https://ja.wikipedia.org/wiki/UNIX#.E3.82.AA.E3.83.BC.E3.83.97.E3.83.B3.E3.82.BD.E3.83.BC.E3.82.B9.E7.B3.BBBSD
14
主要な Linux ディストリビューション
https://ja.wikipedia.org/wiki/Linux%E3%83%87%E3%82%A3%E3%82%B9%E3%83%88%E3%83%AA%E3%83%93%E3%83%A5%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3#/media/File:Linux_Distribution_Timeline.svg
15
ディストリビューション系列
起点となるディストリビューション
パッケージ管理システム 主な派生ディストリビューション
Debian系 Debian GNU/Linux APT KNOPPIX
SteamOS
Ubuntu
RedHat系 Red Hat Enterprise Linux
※実験的要素の強いFedoraがRed Hat
Enterprise Linuxの先鋒を務めます。
RPM CentOS
Vine Linux
Slackware系 Slackware Pkgtoolなど
Windows Server 2012 R2 Hyper-VまでのLinux/FreeBSD サポート
https://technet.microsoft.com/en-us/library/dn531030.aspx
17
ゲストOSでサポートされるLinux/FreeBSD(1/2)
18
LinuxディストリビューションWindows Server 2008 R2 Windows Server 2012, Windows
Server 2012 R2
CentOS 5.5-5.6 Linux Integration Services v2.1、v3.5、v4.0
CentOS 5.7-5.8 Linux Integration Services v3.5、v4.0
CentOS 5.9-5.11 Kernel built-in、Linux Integration Services v4.0
CentOS 6.0-6.3 Linux Integration Services v3.5、v4.0
CentOS 6.4-6.7 Kernel built-in、Linux Integration Services v4.0
CentOS 7.0-7.1 Kernel built-in、Linux Integration Services v4.0
Red Hat Enterprise Linux 5.5-5.6 Linux Integration Services v2.1、v3.5、v4.0
Red Hat Enterprise Linux 5.7-5.8 Linux Integration Services v3.5、v4.0
Red Hat Enterprise Linux 5.9-5.11 Kernel built-in、Linux Integration Services v4.0
Red Hat Enterprise Linux 6.0-6.3 Linux Integration Services v3.5、v4.0
Red Hat Enterprise Linux 6.4-6.7 Kernel built-in、Linux Integration Services v4.0
Red Hat Enterprise Linux 7.0-7.1 Kernel built-in、Linux Integration Services v4.0
Linux and FreeBSD Virtual Machines on Hyper-V: https://technet.microsoft.com/en-us/library/dn531030.aspxLinux Integration Services v2.1: http://www.microsoft.com/ja-jp/download/details.aspx?id=24247Linux Integration Services v3.5: http://www.microsoft.com/ja-jp/download/details.aspx?id=41554
Linux Integration Services Version 4.0 for Hyper-V : http://www.microsoft.com/en-us/download/details.aspx?id=46842
ゲストOSでサポートされるLinux/FreeBSD(2/2)
19
LinuxディストリビューションWindows Server 2008 R2 Windows Server 2012, Windows
Server 2012 R2
Debian 7.0-7.8 Kernel built-in
Debian 8.0-8.1 Kernel built-in
Oracle Linux [Red Hat Compatible Kernel
Series] 6.4-6.5
Kernel built-in、Linux Integration Services v4.0
Oracle Linux [Unbreakable Enterprise
Kernel Series] R3 QU1-QU3
Kernel built-in
SUSE Linux Enterprise Server 11 SP2-SP4 Kernel built-in
Open SUSE 12.3 Kernel built-in
Ubuntu 12.04、14.04、 14.10、15.04 Kernel built-in
FreeBSD 8.4 Integration Services
FreeBSD 9.1-9.3 Integration Services
FreeBSD 10-10.2 Kernel built-in
Linux and FreeBSD Virtual Machines on Hyper-V: https://technet.microsoft.com/en-us/library/dn531030.aspxLinux Integration Services v2.1: http://www.microsoft.com/ja-jp/download/details.aspx?id=24247Linux Integration Services v3.5: http://www.microsoft.com/ja-jp/download/details.aspx?id=41554
Linux Integration Services Version 4.0 for Hyper-V : http://www.microsoft.com/en-us/download/details.aspx?id=46842
Windows Server 2016 Technical Preview Hyper-V のLinux サポート
https://technet.microsoft.com/en-us/library/mt126119.aspx
製品リリースに向けては、「サポート状況の変更が当然ありえる」と思われます。
20
統合サービス/Integration Services
http://technet.microsoft.com/ja-jp/library/hh831531.aspx
21
Linux Integration Services
IC:Integration Components
IS:Integration Services
http://news.microsoft.com/2009/07/20/microsoft-contributes-linux-drivers-to-linux-community/
22
Linux Integration Services 4.0
http://www.microsoft.com/en-us/download/details.aspx?id=46842
23
対象となるホストプラットフォーム 対象となるLinux
Windows Server 2008 R2 (applicable editions)
Microsoft Hyper-V Server 2008 R2
Windows 8 Pro and 8.1 Pro
Windows Server 2012 and 2012 R2
Microsoft Hyper-V Server 2012 and 2012 R2
Windows Server Technical Preview
Microsoft Hyper-V Server Technical Preview
Microsoft Azure.
Red Hat Enterprise Linux 5.5-5.11 32-bit, 32-bit PAE, and 64-bit
Red Hat Enterprise Linux 6.0-6.7 32-bit and 64-bit
Red Hat Enterprise Linux 7.0-7.1 64-bit
CentOS 5.5-5.11 32-bit, 32-bit PAE, and 64-bit
CentOS 6.0-6.7 32-bit and 64-bit
CentOS 7.0-7.1 64-bit
Oracle Linux 6.4-6.7 with Red Hat Compatible Kernel 32-bit
and 64-bit
Oracle Linux 7.0-7.1 with Red Hat Compatible Kernel 64-bit
Windows Server 2012 R2 Hyper-Vからみた統合サービス
24
ホストからゲストVMへのファイルコピー• http://technet.microsoft.com/en-
us/library/dn282278.aspx#bkmk_integration
System Center 2012 R2
コンポーネント群
System Center 2012 R2コンポーネントのおさらい
31
App
Controller
Configuration
Manager
Endpoint
Protection
Virtual
Machine
Manager
Operations
Manager
Data
Protection
Manager
Orchestrator
Service
Manager
Un
ified
Insta
ller
System Center 2012 R2によるLinuxの管理
管理コレクション、メンテナンスウィンドウ、CMクライアント設定、ポリシー、証明書
Microsoft System Center 2012 R2 Configuration Manager -その他のオペレーティングシステム用クライアントhttp://www.microsoft.com/ja-jp/download/details.aspx?id=39360
モニターインベントリー、レポートHow to Monitor Linux and UNIX Clients in Configuration Manager
https://technet.microsoft.com/en-us/library/jj573949.aspx
Linux のウイルス対策http://blogs.technet.com/b/kkscpm/archive/2012/10/23/scep-for-mac-and-linux.aspx
https://technet.microsoft.com/en-us/library/hh508781.aspx
VM管理 VMテンプレート Linux 仮想マシンのテンプレート (Red Hat 系の場合)
http://yamanxworld.blogspot.jp/2013/11/linux-red-hat.html
How to Create a Virtual Machine Template
https://technet.microsoft.com/en-us/library/hh427282.aspx
System Center 2012 R2 Virtual Machine Manager, Data Protection Managerステップバイステップ評価ガイド
監視 System Center 2012 Management Pack for UNIX and Linux (2015/08)
http://www.microsoft.com/en-us/download/details.aspx?id=29696
32
System Center 2012 Management Pack for UNIX and Linux
UNIX/Linuxの監視
AIX 5.3, AIX 6.1, and AIX 7
HP-UX 11iv2 and HP-UX 11iv3
Red Hat Enterprise Linux Server 4, Red Hat Enterprise Linux Server 5, Red Hat Enterprise Linux Server 6, and Red Hat Enterprise Linux 7
Solaris 9, Solaris 10, and Solaris 11
SUSE Linux Enterprise Server 9, SUSE Linux Enterprise Server 10 SP1, SUSE Linux Enterprise Server 11, and SUSE Linux Enterprise Server 12
CentOS 5, CentOS 6, and CentOS 7
Debian GNU/Linux 5, Debian GNU/Linux 6, Debian GNU/Linux 7, and Debian GNU/Linux 8
Oracle Linux 5, Oracle Linux 6, and Oracle Linux 7
Ubuntu Linux Server 10.04 and Ubuntu Linux Server 12.04, and Ubuntu Linux Server 14.04
Management Pack for UNIX and Linuxのための監査コレクションサービスのインストールを可能にする
33
System Center 2016
コンポーネント群
System Center 2016コンポーネント
34
Configuration
Manager
Endpoint
Protection
Virtual Machine
Manager
Operations
Manager
Data Protection
Manager
Orchestrator
Service
Manager
System Center 2016:Features Removed
https://technet.microsoft.com/en-us/library/mt162212.aspx
35
削除されたもの 代替
App Controller Windows Azure Pack
Citrix XenServer and VMware vCenter 4.1/5.1 support
in Virtual Machine Manager
VMware 5.5 and 5.8の使用
Microsoft IT GRC Process Management Pack SP1 for
Service Managerガバナンスを実装できるパートナーを探して、ご相談することをお勧めします。
Server App-V support Migrate workloads to virtualized platforms using
templates
Service Manager Cloud Service Process Pack (CSPP) Windows Azure Pack for Windows Server
Authoring Management Packs for Operations
Manager with Visio
Design and Develop Management Packs for
Operations Manager 2012 with Silect‘s MP Author –
FREE http://www.silect.com/mp-author
Service Reporting Windows Azure Packにthird-party製課金&利用率のシステムをインストール
System Center 2016 Technical Preview:仮想化にかかわる新機能
https://technet.microsoft.com/en-us/library/dn705350.aspx
Management capabilities for guarded hosts and shielded virtual machines in this release of VMM
Add Azure Subscription feature in this release of VMM
Networking capabilities in this release of VMM
Storage provisioning and management capabilities in this release of VMM
Management capabilities for hosts, host clusters, and Scale-Out File Server clusters in this release of VMM
Extend Operations Manager with Operations Management Suitehttps://technet.microsoft.com/en-us/library/dn997273.aspx
System Center 2016 Technical Preview 2 Management Packs for Open Source Softwarehttp://www.microsoft.com/en-za/download/details.aspx?id=46924
36
System Center 2016 Technical Preview 3 Management Pack for UNIX and Linux
UNIX/Linuxの監視
AIX 5.3, AIX 6.1, and AIX 7
HP-UX 11iv2 and HP-UX 11iv3
Red Hat Enterprise Linux Server 4, Red Hat Enterprise Linux Server 5, Red Hat Enterprise Linux Server 6, and Red Hat Enterprise Linux 7
Solaris 9, Solaris 10, and Solaris 11
SUSE Linux Enterprise Server 9, SUSE Linux Enterprise Server 10 SP1, SUSE Linux Enterprise Server 11, and SUSE Linux Enterprise Server 12
CentOS 5, CentOS 6, and CentOS 7
Debian GNU/Linux 5, Debian GNU/Linux 6, Debian GNU/Linux 7, and Debian GNU/Linux 8
Oracle Linux 5, Oracle Linux 6, and Oracle Linux 7
Ubuntu Linux Server 10.04 and Ubuntu Linux Server 12.04, and Ubuntu Linux Server 14.04
Management Pack for UNIX and Linuxのための監査コレクションサービスのインストールを可能にする
37
情報不足ですが、System Center 2012 Management Pack for UNIX and Linuxと同等と思われます。
System Center 2012 Management Pack for UNIX and Linuxと比較したところ、
取り消し線のOSサポートが無いようです。
Open Source Software Management Pack for System Center 2016 Technical Preview 2
System Center 2016 Technical Preview 2 Management Packs for Open Source Softwarehttp://www.microsoft.com/en-za/download/details.aspx?id=46924
System Center 2016 Technical Preview 2 Management Pack for UNIX and Linuxが必要です。
AIX, Solaris、HP-UXはサポートされていません。
Apache HTTP Server version 2.2 と 2.4を監視します。
busy workersとidle workersを監視
メモリーとCPUの使用率を監視
Virtual hostsにおける“Requests per Minute”と“Errors per Minute”の統計を提供
SSL証明書の有効期限切れを警告
MySQL Server 5.0, 5.1, 5.5, 5.6と5.7を監視します。
上記バージョンとともにMariaDB Server version 5.5, and 10.0をサポート
データベースを監視
サーバーとデータベースのディスク使用量を監視
Key Cache, Query CacheとTable Cacheの統計を提供
スローダウンしているクエリー、接続の失敗、フルテーブルスキャンを警告47
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (1/9)
48
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (2/9)
49
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (3/9)
50
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (4/9)
51
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (5/9)
52
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (6/9)
53
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (7/9)
54
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (8/9)
55
Demonstration:Open Source Software Management Pack for System Center 2016 Technical Preview 2 (9/9)
56
Microsoft Operations Management Suite(2/2)
https://github.com/MSFTOSSMgmt/OMS-Agent-for-Linux
Amazon Linux 2012.09 --> 2015.09 (x86/x64)
CentOS Linux 5,6, and 7 (x86/x64)
Oracle Enterprise Linux 5,6, and 7 (x86/x64)
Red Hat Enterprise Linux Server 5,6 and 7 (x86/x64)
Debian GNU/Linux 6, 7, and 8 (x86/x64)
Ubuntu 12.04 LTS, 14.04 LTS, 15.04 (x86/x64)
SUSE Linux Enteprise Server 11 and 12 (x86/x64)
58
What‘s new in Hyper-V on Windows Server 2016 Technical Preview
https://technet.microsoft.com/en-US/library/dn765471.aspx
今から押さえたい、「Windows Server 2016」のHyper-V新機能
http://techtarget.itmedia.co.jp/tt/news/1507/15/news13.html
Supported Windows guest for Windows Server Technical Preview
https://technet.microsoft.com/en-us/library/mt126119.aspx
Windows 10 Blog
http://blogs.windows.com/business/2015/01/30/windows-10-for-enterprise-more-secure-and-up-to-date/
Windows for Business
http://www.microsoft.com/en-us/windowsforbusiness/default.aspx
Linux and FreeBSD Virtual Machines on Hyper-V
https://technet.microsoft.com/en-us/library/dn531030.aspx
Linux Integration Services Version 4.0 for Hyper-V
http://www.microsoft.com/en-us/download/details.aspx?id=46842
System Center 2016 Technical Preview 2 Management Packs for Open Source Software
http://www.microsoft.com/en-za/download/details.aspx?id=46924
61
UNIX: https://ja.wikipedia.org/wiki/UNIX#.E3.82.AA.E3.83.BC.E3.83.97.E3.83.B3.E3.82.BD.E3.83.BC.E3.82.B9.E7.B3.BBBSD
FreeBSD: https://ja.wikipedia.org/wiki/FreeBSD
Linux: https://ja.wikipedia.org/wiki/Linux
Linuxディストリビューション:
https://ja.wikipedia.org/wiki/Linux%E3%83%87%E3%82%A3%E3%82%B9%E3%83%88%E3%83%AA%E3%83%93%E3%83%A5%E3%83%BC
%E3%82%B7%E3%83%A7%E3%83%B3
SunOS: https://ja.wikipedia.org/wiki/SunOS
OS X: https://ja.wikipedia.org/wiki/OS_X
62