vMotion Flashcards

(53 cards)

1
Q

What does vMotion allow you to do?

A

vMotion allows you to move a vm from one host to another without downtime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What components does vMotion Transfer via a high speed/low latency network connection?

A

a vm’s active memory and execution state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How fast is vMotion with a gigabit ethernet network?

A

It is 2 seconds or less

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What can you use vMotion for?

A
  • optimize resource pools
  • hardware maintenance
  • respond to host failures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What has to be migrated with a VM?

A
  • processor and device state (CPU, network, SVGA, etc)
  • VM disks
  • Memory
  • Shared storage connection between a source and destination host
  • a vMotion network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: Guest OS know when they are vMotioned

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: vMotion can not be used for load balancing purposes

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What other vSphere software features utilize vMotion?

A
  • Distributed Resource Scheduler (DRS)
  • Distributed Power Management
  • Fault Tolerance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the steps to vMotion a VM?

A
  1. right click a VM
  2. select “migrate”
  3. change the compute resource
  4. select target host
  5. select vMotion network
  6. select vMotion priority level
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many steps are involved in the vMotion process?

A

13

0-12 (including zero)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What vSphere components are involved in the vMotion process?

A
  • VPXD
  • VPXA
  • hostd
  • VMX
  • VMM
  • VM kernel migration module
  • source host
  • destination host
  • vCenter
  • migration spec
  • compatibility check
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the “migration specification” created by vCenter when a vMotion is initiated?

A

It is an array package of the migration specifications needed to vMotion a VM such as:

  • configuration of the target VM
  • source host information
  • destination host information
  • vMotion network details of target VM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Who does vCenter share the “migration specification” with?

A

the source and destination hosts in the vMotion exchange

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What vCenter service forwards the “migration specification” to the source and destination host in a vMotion exchange?

A

vxpd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does VXPD forward vCenter information to hosts?

A

By calling to the VPXA service that resides on ESXi hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What happens after the VXPA service receives the “migration specification” from the VXPD service?

A

It forwards the “migration specification” to the hostd service on the ESXi host

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What action does hostd make to ensure that a VM’s configuration does not change during a vMotion?

A

It places the host in an intermediate state (disk lock)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

After hostd places a VM in an intermediate state, what happens?

A

Hostd calls to the VMM and VMX service on the destination host so that VMM will transfer the VM’s storage and network I/O requests to the VM’s vmkernel. And, so that the VMX (vm extenstion) service will manage and sustain non critical I/O requests associated with the VM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What does the VMM service stand for?

A

VM monitor service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What does the VMX service stand for?

A

The VM extension service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What happens when VMM and VMX receive all of the data forwarded from the hostd service?

A

Both services call to the VMkernel migrate module on the destination host and the VMkernel migrate module opens sockets on the source host for the vMotion network. In addition, the module starts a handshake request process with the destination host’s VMkernel migrate module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What happens after the source host’s VMkernel migration module performs a successful handshake with the VMkernel migration module on the destination host?

A

it forward’s the “migration specification” to the destination host’s VMkernel migration module and the destination’s VMkernel migration module makes a call to the VMX service on the destination host

23
Q

What is the role of the VMX service on the destination host?

A

When it receives the “migration specification” from the VMkernel migration module, it passes the specification to the hostd service. The hostd service then passes the specification to the destination host’s VPXA service. The VPXA service then passes the specification to the VPXD service on the vCenter.

24
Q

True or False: When a vm is placed in an intermediate state, its configurations cannot be changed

25
What service manages vm storage and network while a VM is in an intermediate state?
VM Monitoring (VMM)
26
Where does the VMX service reside?
In the vmkernel of a host
27
What services are managed by the VM Extension (VMX) service when a VM is placed in an intermediate state?
Non essential I/O activity and requests
28
True or False: The VMM service is only used on the source destination because that is where a VM's active memory resides?
True
29
During Stage 0 to 1 of vMotion
A pre compatibility check is performed on the source and destination hosts to ensure networking and configuration requirements for vMotion are met on both hosts
30
During Stage 1 to Stage 2 of vMotion
The VMX service receives a "mirate_start" message and prepares for vMotion. VM's that passed pre check are ok'd for stage 2
31
During Stage 2 to 3 of vMotion
The target VM's configuration and data is pre-copied from the source to the destination Logs for the VM's vMotion progress are transferred from the source to the destination (via vCenter)
32
During Stage 3 to 4 of vMotion:
The pre-copy of the VM's configuration is completed and the target VM is stunned (paused)
33
During Stage 4 to 5 of vMotion:
The source waits for the destination to confirm it has received the target vm's pre-copy files before proceeding to the nest stage ( confirmation is made via the destination host's VMX service) If a confirmation ack message is not sent to the source or the ack request times out, the migration will fail back to the source host If the acknowledgement is received, the target VM is started on the destination host
34
During Stage 5 to 6 of vMotion
The target VM is readied for shutdown at the source, and its association with the source (configuration and data files) are cleaned from the source If the migration failed in stage 4 to 5, the target VM will show as running on the source and waiting on a vMotion acknowledgement operation in the vmware.log and vmkernel.log
35
During Stage 6 to 7 of vMotion:
The target VM is powered off at the source and initialized on the destination. This is indicated by an active VMX connection that is observable on the destination The target VM gets a new vmware.log that is hosted on the destination host
36
True or False: Stage 0 to Stage 6 of vMotion is always from the source host perspective
True
37
True or false: Stage 8 to 12-0 of vMotion centers the destination host perspective
True
38
What happens at stage 8 to 9 of a vMotion?
The destination host starts to create the compute resources and file saves necessary to support a vm vmx is ready and waiting for the source to send VM data
39
Stage 8 to Stage 9 of vMotion on the destination side corresponds to what stage on the source side ?
Stage 3
40
Stage 9 to stage 10 on the destination side corresponds to what stage on the source?
Stage 5
41
During stage 9 to stage 10 of vMotion:
memory and checkpoint data is copied to the destination from the source
42
What happens during stage 10 to stage 11 of vMotion?
The destination has fully received the precopy data from the source and restores the last checkpoint (status) of the VM
43
What happens during stage 11 to 12 of vMotion?
Either the vMotion migration succeeds and the vm receives a new vmware.log at the source host or the migration fails and the vm is restarted/continues at the source host VM enters default state
44
What is enhanced vMotion compatibility for vSGA?
It is an extension of the enhanced vMotion compatibility architecture that defines a common baseline of GPU sets for a cluster
45
What pre-requisites must be present in order to use enhanced vMotion for GPU?
* vSphere 7 update 1 & higher * Hosts that are compatible with a GPU baseline * VM hardware version 18 or higher
46
What are the steps to enable enhanced vMotion compatibility vSGA GPU for a cluster?
1. right click a cluster | 2. go to configuration > vmware evc > edit > enable evc
47
What GPU processors are currently compatible with the enhanced vMotion sVGA GPU feature?
AMD and Intel
48
What are common scenarios that will cause an issue with EVC sVGA GPU outcomes?
* A host will not be able to join a cluster if it can not meet the evc baseline for the cluster * A vm can not power on hosts in a cluster because the VM requires evc and the hosts are not enabled for it * A vm can not migrate to a host because the host does not meet the VM's evc requirements
49
What log reports the GPU capabilities of a VM when the VM is powered on?
vmware.log
50
The value of an "evcHost id" is ______
unique for each host that has evc enabled
51
What log reports the evc svga capabilities of a host when the hostd service is moving to setup evc sVGA on a host?
hostd.log
52
Where are the evc sVGA capabilities of a host stored within the hostd.log?
This information is cached in the "/etc/vmware/svga_caps.cache" file
53
When is the gpu driver information for a host updated in the hostd.log and svga_caps.cache file?
when a GPU driver is installed of updated on the host