一緒に使おう - microsoft...データ、windows management instrumentation (wmi)、dcdiag...

67
CI16 一緒に使おう Windows Server 2019 Microsoft Azure 瀧本 文男 日本マイクロソフト株式会社 クラウド&ソリューション事業本部 テクノロジー ソリューション プロフェッショナル

Upload: others

Post on 27-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

CI16

一緒に使おう

Windows Server 2019 &Microsoft Azure

瀧本文男

日本マイクロソフト株式会社

クラウド&ソリューション事業本部

テクノロジー ソリューション プロフェッショナル

Page 2: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

アジェンダ

2

Page 3: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#
Page 4: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Windows Admin Center

4

Page 5: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

https://docs.microsoft.com/ja-jp/windows-server/manage/windows-admin-center/understand/windows-admin-center

提供形態

2017 2018

5

Page 6: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

インターネット

オンプレミス

/ Azure

管理者クライアント

(ブラウザ)

Web サーバー

ゲートウェイ

Windows

Admin

Center

HTTPS

管理対象ノード

PowerShell / WMI over WinRM

DNS、ファイアウォール

公開

どこからでもアクセス可能

Page 7: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

管理者クライアント

(ブラウザ)

Windows

Admin

Center

管理対象ノード

Page 8: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#
Page 9: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

https://github.com/Microsoft/windows-admin-center-sdk

Windows Admin Center が提供する機能

9

Page 10: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Windows Admin Center の機能一覧

インストールされているアプリ

概要

証明書

デバイス

イベント

ファイル

ファイアウォール

ローカルユーザーとグループ

ネットワーク +

プロセス

レジストリ

PowerShell

役割と機能

サービス

記憶域

記憶域レプリカ

仮想マシン +

仮想スイッチ

更新プログラム +

リモートデスクトップ

スケジュールされたタスク

システム インサイト *

記憶域の移行サービス *

設定+

概要

ディスク

ネットワーク

ノード

役割

仮想マシン

仮想スイッチ仮想ネットワーク

仮想マシン

仮想スイッチ

ダッシュボード

サーバー

ドライブ

ボリューム

役割

SDN モニタ

10

バックアップ +

Page 11: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Windows Server 2019 とWindows Admin Center

11

Page 12: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure との連携

12

Page 13: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure AD との連携

13

Page 14: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Windows Admin Center と Azure との連携機能

14

Page 15: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

拡張機能

15

Page 16: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

拡張機能の例(DataON)

16

Page 17: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#
Page 18: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

システム インサイト

18

Page 19: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

システム インサイト

19

Page 20: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#
Page 21: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

記憶域の移行サービス(Storage Migration Service)

21

Page 22: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

記憶域の移行サービス

Storage Migration Service

オーケストレーター

移行元ソース ノード 宛先 ノード

(1) 分析

(2) 転送

(3) 切替え• Windows Server 2019

• Windows Server 2016

• Windows Server 2012 R2

• Windows Server 2012

• Windows Server 2008 R2

• Windows Server 2008

• Windows Server 2003 R2

• Windows Server 2003

• Windows Server 2019 (推奨)

• Windows Server 2016

• Windows Server 2012 R2

22• Windows Server 2019

Page 23: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#
Page 24: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#
Page 25: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

閉域網

(ExpressRoute)

or

公衆網

(Internet)

Azure File Sync

拠点A ファイルサーバー

拠点B ファイルサーバー

Azure Files

Microsoft AzureSMB / NFS

SMB / NFS

Backup

共有スナップ

ショット

Azure File Sync Agent

Azure File Sync Agent

25

Page 26: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure Files

26

■Azure Filesのスケールターゲット

https://docs.microsoft.com/ja-jp/azure/storage/common/storage-scalability-targets?toc=%2fazure%2fstorage%2ffiles%2ftoc.json#azure-files-scale-targets

Azure Files 管理構造

Page 27: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure Files:パフォーマンスとサイズの強化

Standard(現在) Standard Premium (SSD)

10,000 IOPS 100,000 IOPS

300 MBps 5GBps

100TB 100TB

近日 Preview

27

Page 28: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure File Sync:クラウド階層化

サーバーエンドポイント

Azure Files

Azure File Sync Agent

階層化

常に完全なデータコ

ピーを保持

28

Page 29: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure File Sync

Azure File Sync StorSimple

オンプレミス装置 汎用ハードウェア

(Windows Server ファイルサーバー)

専用アプライアンス装置

(StorSimple 8000)

プロトコル SMB iSCSI

Azure ストレージ Azure Files(SMB) Azure Blob(https)

29

Page 30: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

30

Page 31: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure Backup

システム状態

ファイルとフォルダ―

Windows

Admin

Center

Windows Admin Center と Azure Backup

システム状態

ファイルとフォルダ―

31

Page 32: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

32

Page 33: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

33

Page 34: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

34

Page 35: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

35

Page 36: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

36

Page 37: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

37

Page 38: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

38

Page 39: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

39

Page 40: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure Backup~クラウドバックアップ

40

Azure Backup

GRS(レプリケーション)

☆ バックアップサーバー経由

(Azure Backup Server/ SCDPM)

Recovery Services コンテナー

Page 41: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure Backup

41

対象直接バックアップ バックアップサーバー経由

バックアップ対象 Azure Backup Agent

(OSにインストール)

Azure Backup

Server

System

Center DPM

Azure 上の仮想マシン Azure 仮想マシン(Windows) ◎ - -

Azure 仮想マシン(Linux) ◎ - -

Azure 仮想マシン(SQL Server) * ◎ ^

Azure 上のサービス Azure Files * ◎ ー ー

オンプレミスの仮想マシン Hyper-V 仮想マシン (Windows) - ○ ○

Hyper-V 仮想マシン (Linux) - ○ ○

VMware 仮想マシン(Windows) - ○ ○

VMware 仮想マシン(Linux) - ○ ○

Windows Server

(オンプレミス/仮想マシン)

システム状態 ○ ○ ○

ファイルとフォルダー ○ ○ ○

Microsoft SQL Server - ○ ○

Microsoft SharePoint - ○ ○

Microsoft Exchange - ○ ○

Windows Admin

Center でできる範囲

Page 42: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

42

Page 43: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure Site Recovery

仮想マシン

Windows

Admin

Center

Windows Admin Center と Azure Site Recovery

43

Page 44: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

44

Page 45: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

• 通常時

45

Page 46: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

• 障害発生時 / 移行時

46

Page 47: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

47

Page 48: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure ポイント対サイト VPN

サイト間(S2S)VPN

ポイント対サイト

(P2S) VPN

Windows Server

48

Page 49: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azureネットワークアダプター

49

Page 50: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

50

Page 51: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

51

Page 52: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

• Azure仮想マシンもオンプレミスも利用可能

• WindowsとLinuxの両方に対応

• 更新プログラムの適用状況確認はもちろん、更新プログラム適用のスケジュール

実行も

• Azure Automationの中の一機能という位置づけ

更新プログラム配布 ~ Update Management ~

分析適用状況

更新プログラム適用

5252

Page 53: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

53

Page 54: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

54

Page 55: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Windows Server on AzureゲストOSのメトリック取得

55

Azure Agent

Page 56: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Log Analytics

データの分析データの収集 データの視覚化Azure/AWS

Windows PC/Linux PC(直接接続、エージェント)

Windows PC/Linux PC(System Center 経由)

Webブラウザー

モバイル アプリ

•各種ログ

•各種パフォーマンス

•Wired Data

•構成変更履歴

•設定情報等の分析結果・推奨事項などを表示、全データを横断検索が可能

56

Page 57: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

1. ログの収集

◆ サーバー(Azure VM・オンプレミス)、HW機器(Windows, Linux, HW機器)

• Windows イベントログ

• IIS ログ

• Windows パフォーマンスカウンタ

• Linux パフォーマンスカウンタ

• Syslog

• テキストログ(Windows/Linux)

◆ Azure のログ• VMの作成、RBACの変更など、Azure上での活動全てのログ

• 診断ログ

• メトリック(CPU、メモリ、ネットワーク、ストレージなど)

Page 58: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Log Analytics基本機能

Perf| where CounterName == "% Processor Time"| summarize avg(CounterValue) by Computer,bin(TimeGenerated, 15min)

2. クエリと可視化

対話的に可視化

結合や時系列解析も可能

インテリセンス装備

58

Page 59: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

アラートの発報

59

クエリを指定通知方法を指定

頻度を指定

メールにすると、メールでアラートを受信

Page 60: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

管理ソリューション

60https://docs.microsoft.com/ja-jp/azure/monitoring/monitoring-solutions

Page 61: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

例:Active Directory評価

61

Active Directoryを、

• セキュリティとコンプライアンス

• 可用性とビジネス継続性

• パフォーマンスとスケーラビリティ

• アップグレード、移行、デプロイ

• 運用と監視

• 変更管理と構成管理

の6分野100項目以上で精査し、推奨事項を表示

優先順位の重みづけがされ、最重要の10項目のみ表示

分析には、レジストリ

LDAP、.NET Framework、イベント ログ、Active Directory サービス インターフェイス (ADSI)、Windows PowerShell、ファイル

データ、Windows Management Instrumentation (WMI)、DCDIAG ツール API、ファイル レプリケーション サービス (NTFRS)

API、カスタム C# コードのソースからデータを収集する

Page 62: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure Security Center

63

Page 63: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Azure Security Centerのしくみ

64

Log Analytics

Page 64: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

Windows Server が約束すること

65Windows Server 2019はオンプレミスとクラウドの橋渡し役

Page 65: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

最新のWindows Server をデモで体験@EXPO Area2 会場 “Microsoft Azure ブース”

#3 ハイパーコンバージド インフラストラクチャー

#1 ハイブリッド データセンター

#2 高度なセキュリティ#4 コンテナー プラットフォーム

Page 66: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

マイクロソフト社員との情報交換スペース “Azure トーク”@EXPO Area2 会場 “Microsoft Azure ブース”

日付 時間 テーブル 1 テーブル 2

11 月 5 日 (水) 15:30 - 19:00 AI Cloud Infrastructure

11 月 6 日 (木) 9:00 -12:30 AI Cloud Infrastructure

12:30 – 15:30 AI Cloud Infrastructure

15:30 – 19:00 AI Cloud Infrastructure

11 月 7 日 (金) 9:00 -12:30 AI OSS

12:30 – 15:30 AI IoT

15:30 – 18:30 Cloud Infrastructure OSS

Page 67: 一緒に使おう - Microsoft...データ、Windows Management Instrumentation (WMI)、DCDIAG ツールAPI、ファイルレプリケーションサービス(NTFRS) API、カスタムC#

© 2018 Microsoft Corporation. All rights reserved.

本コンテンツの著作権、および本コンテンツ中に出てくる商標権、団体名、ロゴ、製品、サービスなどはそれぞれ、各権利保有者に帰属します。