1.2.3. vCenter Server 構成ガイド

1.2.3.1. はじめに

本書の目的、位置づけ

本書は、Smart Data Platform(以下SDPF)をSmart Data Platformポータル(以下SDPFポータル)からご利用中で、VMware社が提供するvSphere製品を活用した仮想化環境構築経験のあるお客さまを対象としています。
以下のメニューの作成が完了した段階からの手順をご紹介します。
事前に作成されているメニュー一覧

項目

作成状況

SDPFのお申し込み

お申し込みが完了

ロジカルネットワークメニュー

vSphereマネージメント用(データプレーン)/vSphere仮想マシン通信用(データプレーン)/vSphere vMotion用(データプレーン)/ストレージ接続用(ストレージプレーン)の合計4IDの作成完了

ブロックストレージメニュー(IO性能確保)

LUNの作成が完了

ネットワークセキュリティメニュー(vUTM)

vUTMの作成完了

インターネット接続メニュー

インターネットゲートウェイの作成完了

VMware vSphere ESXi

設定が完了

VMware vCenter Server

環境構築が完了


本書のご利用にあたって

本書を参照いただくにあたって、以下の点にご留意ください。

  • 本書で紹介する構成を実際に当社で構築した際の手順の一例を紹介します。お客さまの環境・構成において動作することをお約束するものではありません。

  • 本書で扱う構成を構築する場合に求められるSDPF固有の操作を中心に紹介します。vSphere ESXiの一般的な操作方法については、記載しておりませんのでご注意ください。

  • ロジカルネットワークの作成やファイアウォールの作成、仮想マシンの作成など一般的な操作について記載しておりません。一般的な操作は、SDPF詳細情報やチュートリアルをご参照ください。

  • 本書の記載は、予告なく変更する場合がありますので、あらかじめご了承ください。


事前にご準備いただくもの

  • 必要に応じてSDPFにインターネット接続可能なネットワークをご用意ください。


参照する詳細情報

主に以下の詳細情報を参照し、本書をご確認ください。

  • ベアメタルサーバー詳細情報

  • OS詳細情報

  • vSphere詳細情報

  • ハイパーバイザーゲストイメージ詳細情報


概要

本書においてはvSphere Distributed Switch(以下vDS)を構築し、vSphere ESXiの標準仮想スイッチをvDSへ移行する手順を示します。


1.2.3.2. 構築手順

作業手順

vDS構築

  • vSphere Clientへログインし、左インベントリから、[vCenter]をクリックします。
    インベントリから、[vCenter]>[Inventory Trees]配下の[Networking]をクリックします。
    インベントリの[Datacenter]を右クリックし、[New Distributed Switch]をクリックします。
../../../_images/image188.png

  • 「New Distributed Switch」画面が表示されるので 「1 Name and location」にて、必要事項を入力し、[NEXT]をクリックします。

本書では以下の設定でvDS(データプレーン)を構築しています。

「1 Name and location」設定例

項目

既定値

設定値

Name:

(空欄)

DataPlane_vDS

location:

Datacenter(変更不可)

Datacenter

../../../_images/image239.png

  • 「2 Select version」にて、[Distributed switch: 7.0.3]を選択し、[NEXT]をクリックします。

../../../_images/image326.png

  • 「3 Configure settings」にて必要事項を入力し、[NEXT]をクリックします。

../../../_images/image426.png

本書では以下の設定でvDS(データプレーン)を構築しています。

「3 Configure settings」設定例

項目

既定値

設定値

Number of uplinks:

4

4

Network I/O Control:

Enable

Enable

Default port group:

選択(Create a default port group)

未選択

Port group name:

DPortGroup

(空欄)


  • 「4 Ready to complete」にて設定内容を確認し、[FINISH]をクリックします。

../../../_images/image521.png

vDSポートグループ設定

  • vSphere Clientのインベントリから、[vCenter]>[Inventory Trees]配下の[Networking]をクリックします。
    作成したvDSを右クリックし、[New Distributed Port Group]をクリックします。
../../../_images/image623.png

  • 「New Distributed Port Group」画面が表示されるので、「1 Name and location」にて必要項目を入力し、[NEXT]をクリックします。

../../../_images/image724.png

  • 「2 Configure settings」にて必要項目を入力し、[NEXT]をクリックします。

../../../_images/image825.png

  • 「3 Ready to complete」にて設定に問題ないことを確認し、[FINISH]をクリックします。

../../../_images/image923.png

  • すべてのポートグループを同様に追加します。

本書では以下のように入力しています。

「New Distributed Port Group」設定例

Name:

Management

DB

Common Function Gateway

User Network 1

User Network 2

vMotion 1

vMotion 2

ECL Admin Management Network

Location:

DataPlane_vDS

DataPlane_vDS

DataPlane_vDS

DataPlane_vDS

DataPlane_vDS

DataPlane_vDS

DataPlane_vDS

DataPlane_vDS

Port binding:

Static binding

Static binding

Static binding

Static binding

Static binding

Static binding

Static binding

Static binding

Port allocation:

Elastic

Elastic

Elastic

Elastic

Elastic

Elastic

Elastic

Elastic

Number of Port:

8

8

8

8

8

8

8

8

Network resource port:

(default)

(default)

(default)

(default)

(default)

(default)

(default)

(default)

VLAN type:

VLAN

VLAN

VLAN

VLAN

VLAN

VLAN

VLAN

VLAN

Customize default policies configuration:

100

101

3

100

100

102

102

3


vMotionポートの追加

  • vSphere Clientのインベントリから、[Home]>[Hosts and cluster]配下の対象ホスト(esxi-11)を選択します。
    右ペインから[manage]>[Networking]>[VMkernel adapters]と選択、[Add Networking]をクリックし、必要項目を入力して登録します。
../../../_images/image1028.png

本書では以下の設定でvMotionポートの追加設定をしています。

VMkernel adapters設定例

Selection connection type

VMkernel Network Adapter

Select target device

Select an exiting standard switch
DataPlane vSwitch

Network label

vMotion 1

Vlan ID

102

IP settings

IPv4

TCP/IP stack

default

Enable services

vMottion trafffic
Fault Tolerance logging
にチェックを入れる

IPv4 settings

未記入

※[Network label]を[vMotion 2]へ変更し、同じ内容で作成する


  • 「Select connection type」にて[VMkernel Network adapter]を選択し、[NEXT]をクリックします

../../../_images/image1125.png

  • 「Select target device」にて[Select an existing standard switch]>[BROWSE...]をクリックし、Data Plain vSwitchを選択後、[NEXT]をクリックします。

../../../_images/image1219.png

  • 「Port properties」にて必要事項を入力し、[NEXT]をクリックします。

../../../_images/image1320.png

  • 「Ready to complete」にて入力内容を確認し、[FINISH]をクリックします。

../../../_images/image1419.png

VMkernel移行

  • vSphere Clientのインベントリから、[vCenter]>[Inventory Trees]配下の[Networking]をクリックします。
    作成したvDSを右クリックし、[Add and Manage Hosts...]をクリックします。
../../../_images/image1515.png

  • 「Add and Manage Hosts」画面が表示されるので、「1 Select task」にて[Add hosts]を選択し、[NEXT]をクリックします。

../../../_images/image1611.png

  • 「2 Select hosts」にて、[esxi-11.a.ecl.local]および[esxi-22.a.ecl.local]にチェックを入れ、[NEXT]をクリックします。

../../../_images/image1710.png

  • 「3 Manage physical adapters」にて[vmnic0]を選択し、右側の[Assign uplink]のプルダウンから[uplink 1]を選択、[NEXT]をクリックします。

../../../_images/image198.png

  • 同様にすべてのESXiホストに[uplink]を追加し、[NEXT]をクリックします。

「3 Manage physical adapters」設定例

Host/Physical Network Adapters

On this switch

In Use by Switch

Uplink

Uplink Port Group

esxi-11.a.ecl.local

vmnic0

Data Plane vSwitch

Uplink 1

DataPlane_vDS-DVUplinks-1009

esxi-22.a.ecl.local

vmnic0

Data Plane vSwitch

Uplink 1

Data Plane vSwitch


  • 「4 Manage VMkernel adapters」にて移行対象のVMkernelポートを選択します。
    右ペインの[assign port group]から割り当て対象となるポートグループを選択し、右側の[ASSIGN]をクリックします。
    ポートグループが設定されたら、右ペインの一番内側の×をクリックします。
../../../_images/image206.png

  • すべてのVMkernelポートに対し同様の手順を実施し、[NEXT]をクリックします。

../../../_images/image2114.png

本書では以下の設定でVMkernelポートを設定しています。

「4 Manage VMkernel adapters」設定例(esxi-11.a.ecl.local, esxi-22.a.ecl.local共通)

On this switch

vmk0

vmk1

vmk2

vmk5

vmk6

In Use by Switch

Data Plane vSwitch

Data Plane vSwitch

Data Plane vSwitch

Data Plane vSwitch

Data Plane vSwitch

Source Port Group

ECL Administrator Management

User Network 1

User Network 2

vMotion Network 1

vMotion Network 2

Destination Port Group

ECL Administrator Management

User Network 1

User Network 2

vMotion Network 1

vMotion Network 2


  • 「5 Migrate VM Networking」の[Configure per network adapter]にて、[Source network]をクリックします。対応する[Destination port group]を選択し[NEXT]をクリックします。

../../../_images/image258.png

  • 「6 Ready to complete」にて設定を確認し、[FINISH]をクリックします。

../../../_images/image267.png

仮想マシンポートグループ移行

  • vSphere Clientのインベントリから、[vCenter]>[Inventory Trees]配下の[Networking]をクリックします。
    [Datacenter]を右クリックし、[Migrate VMs to Another Network...]をクリックします。
../../../_images/image307.png

  • 「Migrate VMs to Another Network」画面が表示されるので、「Select source and destination networks」にて必要事項を入力し、[NEXT]をクリックします。

../../../_images/image3111.png

本書では以下の1ポートグループごとに設定しています。

「Select source and destination networks」設定例

Source network

Specific network

Management

DB

Common Function Gateway

Destination network

Name

Management

DB

Common Function Gateway

Distributed Switch

DataPlane_vDS

DataPlane_vDS

DataPlane_vDS


  • 「2 Select VMs to migrate」にて、移行対象のVMすべてにチェックを入れ、[NEXT]をクリックします。


  • 「3 Ready to complete」にて、設定内容を確認し[FINISH]をクリックします。

../../../_images/image333.png

注釈

同様の手順を、仮想マシンネットワークごとに実施します。


標準仮想スイッチ削除

  • vSphere Clientのインベントリから、[Datacenter]配下の[esxi-11.a.ecl.local]を選択し、右側ペインから[Configure]タブをクリックします。
    [Configure]タブ内の[Networking]>[Virtual switches]をクリックします。
    削除対象の仮想マシンスイッチを選択し、[Remove]をクリックします。
../../../_images/image344.png

  • 「Remove Standard Switch」画面が表示されるので、[YES]をクリックします。

../../../_images/image354.png

  • 同様の手順を、ESXiホスト、標準仮想スイッチごとに実施します。

本書では以下の標準仮想スイッチを削除しています。

「1 Select source and destination networks」設定例

ESXiホスト

esxi-11.a.ecl.local

esxi-22.a.ecl.local

削除対象標準仮想スイッチ

  • Data Plane vSwitch

  • Storage Plane vSwitch

  • Data Plane vSwitch

  • Storage Plane vSwitch