Monday, September 30, 2013

VMware vMotion Configuration

VMware vMotion is used to move running virtual machines off of one ESXi server to another ESXi server. The virtual machine disk files remain where they are on storage. Its virtual machine memory and CPU processing that will move from one server to another server.

VMware vMotion requirements:
1- Minimum of vSphere Essential Plus License.
2- Shared storage on each host.
3- VMkernel Interface on both ESXi servers with vMotion enabled.
4- Requires at least Standard switch or Distributed switch (should keep same network name)
5- CPU compatibility or from same CPU family

Since its a lab environment I am using Starwinds iSCSI SAN software. I have added another physical NIC on each ESXi host which will be use as a vMotion.

1- I have already created a datacenter and add two hosts in the datacenter.

2- Select first host and under configuration tab select Storage Adapters and select add option from right top.


3- Select OK.


4- Select OK.


5- Right click newly added iSCSI adapter and select properties. 


6- In the dynamic discovery select add.

7- Add the IP Address iSCSI server and select ok.

8- Now go to storage option and select add storage.

9- Select next.

10- Select next.

11- Select next.

12- Select next.

13- Enter the name and select next.

14- Select next.

15- Select finish.

16- The storage is now presented on the host.

Repeat the same process on another host. A new virtual machine has been created on the shared storage.
17- Now add another NIC for vMotion. Under configuration tab select networking and select add networking.


18- Select VMkernel and select next.

19- Select the physical NIC and select next.



 20- Enter the name in the network label and select "use this port group for vMotion". Select next.


21- Enter the IP Address and subnet mask and VMkernel default gateway.

22- Select finish.

23- Right click virtual machine and select migrate.



24- Select Change host and select next.


25- Select the host and select next.


26- Select next.


27- Select finish.


28- Observe the vMotion progress.

29- The vMotion has been successfully completed.

Conclusion: The vMotion has been successfully configured and tested. In the next post I am going to show to configure and test storage vMotion.













No comments:

Post a Comment