vforum2013さわってみよう講義編 v.1.9

31
さささささささ ささささささ vMotion/HA/DRS

description

さわってみようサーバ仮想家講義編 vForum2013

Transcript of vforum2013さわってみよう講義編 v.1.9

Page 1: vforum2013さわってみよう講義編 v.1.9

 

さわってみよう! サーバ仮想化 vMotion/HA/DRS

Page 2: vforum2013さわってみよう講義編 v.1.9

- 2 -©2013 VMware, Inc. All right reserved.

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシン

の起動3. vMotion とは?4. 演習 2 vMotion5. HA とは?6. 演習 3 HA7. DRS とリソースプールとは?8. 演習 4 DRS9. vCenter Operations とは?10.本日のおさらい

Page 3: vforum2013さわってみよう講義編 v.1.9

- 3 -©2013 VMware, Inc. All right reserved.

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシン

の起動3. vMotion とは?4. 演習 2 vMotion5. HA とは?6. 演習 3 HA7. DRS とリソースプールとは?8. 演習 4 DRS9. vCenter Operations とは?10.本日のおさらい

Page 4: vforum2013さわってみよう講義編 v.1.9

- 4 -©2013 VMware, Inc. All right reserved.

サーバ仮想化とは何でしょうか?

1. CPU ・メモリ・ HDD ・ NIC などを、ソフトウエアで論理的に作る

こと

2. 仮想化の層 (ESXi) で、ハードウエアと仮想マシンを切り離すこと

3. ひとつの物理マシン上で、複数のシステムを集めて同時に動かすこと仮想化した場合従来の PC/PC サーバ

OS

App

ESXi

OS

App

Intel Architecture

CPU Memory NIC HDD

OS

App

Intel Architecture

CPU Memory NIC HDD

Page 5: vforum2013さわってみよう講義編 v.1.9

- 5 -©2013 VMware, Inc. All right reserved.

管理ネットワーク

FC-SANIP-SAN

NFSSAS

vCenter ServerESXi ESXi ESXi ESXi ESXi ESXi

仮想マシンのデータを全て共有ストレージアレイに格納してしまうことも可能

vSphereクライアント

vSphere の全体像: ESXi/vCenter/Web Client の関係

WebClient

Page 6: vforum2013さわってみよう講義編 v.1.9

- 6 -©2013 VMware, Inc. All right reserved.

vSphere Client および Web Client

vSphere Client旧来の管理アクセス

vSphere Web Client管理アクセス

(vCenter 利用時 )

Page 7: vforum2013さわってみよう講義編 v.1.9

- 7 -©2013 VMware, Inc. All right reserved.

仮想マシンの実体は”ファイル”である

Operating System

Application

ゲスト OS

仮想マシンA

ESXi ホスト

Operating System

Application

ゲスト OS

仮想マシンB

Operating System

Application

ゲスト OS

仮想マシンC

仮想マシン C

仮想マシン B

仮想マシン A

仮想マシンの実体はファイル構成

Page 8: vforum2013さわってみよう講義編 v.1.9

- 8 -©2013 VMware, Inc. All right reserved.

仮想マシンの構成変更を柔軟に!

Operating System

Application

ゲスト OS

仮想マシンA

ESXi ホスト

Operating System

Application

ゲスト OS

仮想マシンB

Operating System

Application

ゲスト OS

仮想マシンC

ゲスト OS は、あたかも物理ハード上で動作実際は仮想的なハードで動作してます!

ESXi が仮想マシンをゲスト OS に提供

Page 9: vforum2013さわってみよう講義編 v.1.9

- 9 -©2013 VMware, Inc. All right reserved.

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシン

の起動3. vMotion とは?4. 演習 2 vMotion5. HA とは?6. 演習 3 HA7. DRS とリソースプールとは?8. 演習 4 DRS9. vCenter Operations とは?10.本日のおさらい

演習環境に慣れましょう!-Web   Client を使用して vCenter へログイン- 演習環境を把握していきましょう- 仮想マシン( LHVM )のスペックを調べましょう- 仮想マシン (LHVM) に入って動画を流します

Page 10: vforum2013さわってみよう講義編 v.1.9

- 10 -©2013 VMware, Inc. All right reserved.

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシン

の起動3. vMotion とは?4. 演習 2 vMotion5. HA とは?6. 演習 3 HA7. DRS とリソースプールとは?8. 演習 4 DRS9. vCenter Operations とは?10.本日のおさらい

Page 11: vforum2013さわってみよう講義編 v.1.9

- 11 -©2013 VMware, Inc. All right reserved.

vMotion と vSphere HA

ポイント• どのような時に vMotion を使用するのか?• vMotion と vSphere HA は何が違うのか?

Page 12: vforum2013さわってみよう講義編 v.1.9

- 12 -©2013 VMware, Inc. All right reserved.

システムの可用性が高まります  vMotion

メンテナンス時 ( 物理サーバ ) におけるシステム停止の手間が省けます!!

VMware のサーバ仮想化が広まるきっかけとなった、有名な機能!

VMware ESXi VMware ESXi VMware ESXi

仮想マシンを「オンライン状態」で、別の物理サーバへ移行

vMotion のポイント• システムを止めずに、仮想マシンを移動できる

• サーバの計画的なメンテナンスを、夜間、休日に限らずいつでも実施できる

• オンラインのまま、リソースを再配置できる

Page 13: vforum2013さわってみよう講義編 v.1.9

- 13 -©2013 VMware, Inc. All right reserved.

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシン

の起動3. vMotion とは?4. 演習 2 vMotion5. HA とは?6. 演習 3 HA7. DRS とリソースプールとは?8. 演習 4 DRS9. vCenter Operations とは?10.本日のおさらい

仮想マシン LHVM を ESX1 号機から 2号機へ

vMotion してみましょう!

Page 14: vforum2013さわってみよう講義編 v.1.9

- 14 -©2013 VMware, Inc. All right reserved.

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシン

の起動3. vMotion とは?4. 演習 2 vMotion5. HA とは?6. 演習 3 HA7. DRS とリソースプールとは?8. 演習 4 DRS9. vCenter Operations とは?10.本日のおさらい

Page 15: vforum2013さわってみよう講義編 v.1.9

- 15 -©2013 VMware, Inc. All right reserved.

vSphere におけるクラスタの考え方ESXi の集まり=クラスタ 物理的なリソースを「論理的なひとつのリソース」に 1 物理サーバー分をフェイルオーバー用として確保 ( 複数ノー

ドも可 ) クラスタ  =   vSphere HA や DRS が動作する単位

予備

Big Computer!

クラスタ

Page 16: vforum2013さわってみよう講義編 v.1.9

- 16 -©2013 VMware, Inc. All right reserved.

システムの可用性が高まります  vSphere HA

仮想化にすることにより、可用性が一気に向上!!

*100 %の仮想マシンの保護を実現する vSphere FT (Fault Tolerance) という機能もあります

VMware ESXiVMware ESXi VMware ESXi

*HA : High Availability

物理サーバに障害があっても、迅速に自動リカバリ

HA のポイント システムのダウンタイムを最小化 専用ハードウェア・ソフトウェア 不要 クラスタリングのコスト、複雑さ なし お手軽! 全自動で OK !

Page 17: vforum2013さわってみよう講義編 v.1.9

- 17 -©2013 VMware, Inc. All right reserved.

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシン

の起動3. vMotion とは?4. 演習 2 vMotion5. HA とは?6. 演習 3 HA7. DRS とリソースプールとは?8. 演習 4 DRS9. vCenter Operations とは?10.本日のおさらい

ESXi2 号機に対して擬似障害を起こします。2 号機で動いている仮想マシンの様子を見てみましょう!

Page 18: vforum2013さわってみよう講義編 v.1.9

- 18 -©2013 VMware, Inc. All right reserved.

可用性向上機能のまとめ

機能 内容 設定(実

施)箇所

ダウン

タイム

利用ケース オペレーション

vMotion 計画停止削減仮想マシン単位

ゼロ物理サーバ計画停止前に

別物理サーバへ移行手動

StoragevMotion

計画停止削減仮想マシン単位

ゼロストレージ移行

仮想マシン配置変更( Tier )仮想ディスク変換

手動

vSphere HA

対ホスト障害性対策

クラスタで設定 数分

物理サーバ障害時にクラスタ内の別物理サーバで仮想マシンを再起

動自動

vSphere FT

対ホスト障害性対策

クラスタで設定す

るが、保護は仮想マシン単位

ゼロ

FT保護し仮想マシンは常に2重化される。 FT ログ転送ネットワークが必須。CPUメモリリソース

がセカンダリ側で必要

自動

Page 19: vforum2013さわってみよう講義編 v.1.9

- 19 -©2013 VMware, Inc. All right reserved.

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシン

の起動3. vMotion とは?4. 演習 2 vMotion5. HA とは?6. 演習 3 HA7. DRS とリソースプールとは?8. 演習 4 DRS9. vCenter Operations とは?10.本日のおさらい

Page 20: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 20 -

vSphere DRS とは?

DRS なしの場合

負荷が特定サーバに偏ると・・・・-パフォーマンス劣化の恐れ

- 物理サーバリソースが活用されてない事も

DRS ありの場合

特定サーバに負荷が偏らない!! -パフォーマンスはいつも最適な状態

- より多くの仮想マシンが載せられる

余分な物理サーバがいらなくなる

VMware ESX VMware ESX VMware ESXi

リソースプール

VMware ESX VMware ESX VMware ESXi

仮想基盤上の仮想マシンを自動的に整理整頓!

Page 21: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 21 -

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシンの起動

3. vMotion とは?4. 演習 2 vMotion

5. HA とは?6. 演習 3 HA

7. DRS とリソースプールとは?8. 演習 4 DRS

9. vCenter Operations とは?10.本日のおさらい

DRS を使用した環境で仮想マシンを 4台動かし、特定物理サーバに負荷が偏らないか?を見てみましょう!

Page 22: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 22 -

リソースプール:論理的なリソースグループ

例:季節に合わせたリソース配分が“柔軟”に実施可能

リソースプール

クラスタ

300 のリソースをもっている論理的なコンピュータ

100 100 100

営業グループ使用リソース 80

VM VM VM

技術グループ使用リソース 120

VM VM VMVMVM上半期

物理の構成に依存しないサーバリソース配分で柔軟かつ安全なリソース配分を実現!!

クラスタリソースプールは DRS 機能が必須です

Page 23: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 23 -

リソースプール:論理的なリソースグループ

例:季節に合わせたリソース配分が“柔軟”に実施可能

リソースプール

クラスタ

300 のリソースをもっている論理的なコンピュータ

100 100 100

営業グループ使用リソース 120

VM VM VM

技術グループ使用リソース 80

VM VM VMVMVM下半期

物理の構成に依存しないサーバリソース配分で柔軟かつ安全なリソース配分を実現!!

クラスタリソースプールは DRS 機能が必須です

Page 24: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 24 -

参考資料 : vSphere クラスタの利用実績 多く使用されている vSphere クラスタにおける 2大機能

• ワールドワイドでは主要ユーザの 95%(HA), 89%(DRS) が利用( 2009年)

Page 25: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 25 -

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシンの

起動3. vMotion とは?4. 演習 2 vMotion

5. HA とは?6. 演習 3 HA

7. DRS とリソースプールとは?8. 演習 4 DRS

9.  vCenter Operations とは?10.本日のおさらい

Page 26: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 26 -

仮想基盤の健全性を把握する vCenter Operations

Page 27: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 27 -

わかりやすく例えるなら vCenter Operations は健康診断ツール

今の状態についてアドバイスしてくれる!!

vCenter vCenter Operations

Page 28: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 28 -

VMware Hands On Lab 開催中 !!

ハンズオンラボでは VMware の最新の製品や機能、ソリューションをオンデマンドでご体感頂けます。 VMware NSX や vSAN など話題の製品や、パフォーマンス最適化など実運用のお役に立つラボも多数用意しておりますので是非ご参加ください。日本語マニュアルも多数用意されています!

リアルタイム情報を Twitter にて配信中!!

@VMWJPHOL

クラウドの運用機能:対象製品 : vCenter Operations Management Suite, vSOM, Log InsightHOL-SDC-1301

基礎からはじめる分散仮想スイッチ:対象製品 : vSphere, vCenter ServerHOL-SDC-1302

VMware NSX ~ネットワーク仮想基盤~:対象製品 : vSphere, vCloud Network and Security, NSXHOL-SDC-1303

vSphereパフォーマンスの最適化:対象製品 : vSphere, vCenter Operations Management Suite, vFlash, vBenchmarkHOL-SDC-1304

事業継続と災害対策: VMware vCenter Operations Manager Enterprise の新機能HOL-SDC-1305

vCloud における自動化ソリューション:対象製品 : vSphere, vCenter Server, vCloud Director, vCloud Automation Center, vCloud Network and Security, vCenter Orchestrator, vSphere PowerCLI

HOL-SDC-1307

仮想ストレージソリューション:対象製品 : vSphere, Virtual Storage, vFlashHOL-SDC-1308

vSphere と vSOM の基礎:対象製品 : vSphere, vCenter Server, vCenter Operations Management SuiteHOL-SDC-1310

マルチハイパーバイザー環境における VMware NSX :対象製品 : vSphere, vCloud Automation Center, vCenter Orchestrator, NSX, KVMHOL-SDC-1319

Page 29: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 29 -

本日の流れ1. サーバ仮想化のおさらい2. 演習 1 vCenter ログインと仮想マシンの起動

3. vMotion とは?4. 演習 2 vMotion

5. HA とは?6. 演習 3 HA

7. DRS とリソースプールとは?8. 演習 4 DRS

9. vCenter Operations とは?10.本日のおさらい

Page 30: vforum2013さわってみよう講義編 v.1.9

Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

- 30 -

本日のおさらい vMotion :システム停止における運用負荷の軽減•仮想マシンが無停止で別物理サーバに移動 平日昼間でも作業可!

HA :可用性の大幅な向上•物理サーバ障害時、仮想マシンが別物理サーバで自動復旧

システム全体の可用性を大幅に向上!

DRS/ リソースプール:システム安定性の向上とリソース活用•使用状況に応じた自動的な仮想マシンの最適配置 安定的なインフラ運用とコストの最適化!経営者 管理者 そしてユーザにもうれしい  

サーバ仮想化!

Page 31: vforum2013さわってみよう講義編 v.1.9

ありがとうございました !!