インフラエンジニアの技術ブログ

日々学んでいることをブログでまとめていきます。

VCP DCV 2020 U1_DRS

question
An administrator runs a two-node vSphere cluster, which contains two domain controller virtual machines (VMs).

The administrator wants to ensure that VMs run on separate hosts without interfering with normal maintenance operations.

How should the administrator configure Distributed Resource Scheduler (DRS)?


管理者は、2つのドメインコントローラー仮想マシンVM)を含む2ノードのvSphereクラスターを実行します。

管理者は、VMが通常のメンテナンス操作に干渉することなく、別々のホストで実行されるようにしたいと考えています。

管理者は分散リソーススケジューラ(DRS)をどのように構成する必要がありますか?

 

answer
Create a "˜Should run Virtual Machines to Hosts' anti-affinity rule.

「〜ホストに対して仮想マシンを実行する必要がある」の非アフィニティルールを作成します。

 

所感

難しい。

Create a "˜Must run Virtual Machines to Hosts' anti-affinity rule.

 かなあとも思ってしまう。

 

Using DRS Affinity Rules

Used to specify affinity or anti-affinity between a group of virtual machines and a group of hosts. An affinity rule specifies that the members of a selected virtual machine DRS group can or must run on the members of a specific host DRS group. An anti-affinity rule specifies that the members of a selected virtual machine DRS group cannot run on the members of a specific host DRS group.

仮想マシンのグループとホストのグループの間のアフィニティまたは非アフィニティを指定するために使用されます。
アフィニティルールは、選択した仮想マシンDRSグループのメンバーが、特定のホストDRSグループのメンバーで実行できる、または実行する必要があることを指定します。
反アフィニティルールは、選択した仮想マシンDRSグループのメンバーが特定のホストDRSグループのメンバーで実行できないことを指定します。

 

VM-Host Affinity Rules


A VM-Host affinity rule specifies whether or not the members of a selected virtual machine DRS group can run on the members of a specific host DRS group.

Unlike a VM-VM affinity rule, which specifies affinity (or anti-affinity) between individual virtual machines, a VM-Host affinity rule specifies an affinity relationship between a group of virtual machines and a group of hosts. There are 'required' rules (designated by "must") and 'preferential' rules (designated by "should".)


VM-ホストアフィニティルールは、選択した仮想マシンDRSグループのメンバーが特定のホストDRSグループのメンバーで実行できるかどうかを指定します。

個々の仮想マシン間のアフィニティ(または非アフィニティ)を指定するVM-VMアフィニティルールとは異なり、VM-Hostアフィニティルールは、仮想マシンのグループとホストのグループ間のアフィニティ関係を指定します。
「必須」ルール(「must」で指定)と「優先」ルール(「should」で指定)があります。


A designation of whether the rule is a requirement ("must") or a preference ("should") and whether it is affinity ("run on") or anti-affinity ("not run on").
ルールが要件(「必須」)または優先度(「すべき」)であるかどうか、およびそれが親和性(「実行」)または非親和性(「実行されない」)であるかどうかの指定。

 

Create a VM-Host Affinity Rule

Must run on hosts in group. Virtual machines in VM Group 1 must run on hosts in Host Group A.
グループ内のホストで実行する必要があります。 VMグループ1の仮想マシンは、ホストグループAのホストで実行する必要があります。

 

Should run on hosts in group. Virtual machines in VM Group 1 should, but are not required, to run on hosts in Host Group A.
グループ内のホストで実行する必要があります。 VMグループ1の仮想マシンは、ホストグループAのホストで実行する必要がありますが、必須ではありません。

 

Must not run on hosts in group. Virtual machines in VM Group 1 must never run on host in Host Group A.
グループ内のホストで実行してはなりません。 VMグループ1の仮想マシンは、ホストグループAのホストで実行してはなりません。

 

Should not run on hosts in group. Virtual machines in VM Group 1 should not, but might, run on hosts in Host Group A.
グループ内のホストでは実行しないでください。 VMグループ1の仮想マシンは、ホストグループAのホストで実行するべきではありませんが、実行する可能性があります。

 

 

参考

Exam 2V0-21.20 topic 1 question 5 discussion - ExamTopics