Archive for the ‘vSphere’ Category
vSphere In A Box: Part(2): Putting the pieces all together
The response to my previous post has been unreal! The amount of tweets, ping backs, hits, linking, emails was quite amazing. I have to admit, I didn’t expect to see that much of interest in the subject, but thanks to everyone who participated in promoting this idea on twitter and the blogosphere.
In the second part of this series we will spice things up a bit and explore through the following video many aspects of the idea we’ve talked about. Following to that an important screenshots and some considerations you should be aware of before and after implementing this in your lab.
What you’ll see in this video:
1- Deploy a thin-provisioned vESX(i) VM from a template.
2- Check the required configuration parameter on the vESX to run nested VMs.
3- Customizing the new vESX server (assign password, set a static IP, put the DNS config ..etc)
4- Add the vESX to an existing HA Cluster.
5- Test the vMotion within the same cluster and across deferent clusters in the datacenter.
6- Add the required configuration parameter on the nested VM for enabling the FT.
7- Enable the FT and test the failover across deferent vESX servers.
A Quick note on the hardware used:
Technically speaking, only one server can be used in this whole setup. What is deferent in my setup (as you saw in the diagram) is that I use an external iSCSI array (the CLARiiON AX4) for hosting the vESX VMs. I just needed the flexibility to have them on an external storage to share them later on with other servers, but it is not a requirement. You can simply use the internal storage of the pESX server to host your vESX and you will still have everything you see in the video. As far as the shared storage for the vESX servers is concerned, you can use the Celerra VSA. In my case I use the Celerra only for the SRM labs to do the replication trick. Other than that, I use the OpenFiler as my shared storage for the nested VMs.
Two things to be set on the pESX hosts:
1 – Increase the number of ports on your pESX vSwitch to accommodate the increased number of connections required by your vESX VMs.

2 – Enable the “Promiscuous Mode” on the vSpwitch

The configuration parameters on the Virtual Machines are as follows:
1 – The virtual ESX (vESX) host: monitor_control.restrict_backdoor = TRUE

2 – The nested VM: replay.allowBTOnly = TRUE

The iSCSI vSwitch on the pESX host bound to vmnic1 (phisical NIC 2) and connected to the EMC CLARiiON AX4 iSCSI array

The vMotion internal vSwitch on the pESX host

The Fault Tolerance internal vSwitch on the pESX host

The thin-provisioned ESX(i) size on disk (475MB) + the memory swap:

The thin-provisioned ESX(i) size on disk(3.5GB) + the memory swap:

Other considerations and GOTCHAs:
1 – When enabling the FT, make sure you have your VMs powered off, even if they have eager zeroed disks, I used to get some errors when the VMs were powered on while enabling FT.
2 – Sometimes the network card order and numbering could be confusing. For example, in the vESX VM, you will have the NICs order starting from 1 to 10, but in the actual vESX network configuration tab, you will find the NICs starting from 0 and counting towards 9. This could be confusing when mapping your vnics to the pESX host vSwitches, like the VMotion internal switch, the FT internal switch and so forth. Just make sure you count the nics order accurately.
3 – Deploying vESX from templates may be cool and fast, but it could a bit challenging sometime in troubleshooting the network related issues. The reason behind that is the fact that all the network cards will have the same MAC address, or worst, the Port Groups like (VMotion) could have the same MAC address even if you completely remove the vnics and created brand new ones. The work around for that is to create the vESX template, and then remove all the NICs form it. When you deploy a new vESX, you can just add the new nics as you like, and by that you’ll have a new MAC addresses. Beside that, you may need to add a new VMkernel network for the VMotion, and then remove the old one. Of course you may be thinking that deploying a brand new vESX would be easier, you are right, but with the scripting everything could be automated. I will try to write a PS script to automate this network changes/settings and post it here later on.
vSphere 4.0 GA release!
Al Pacino – (Scent of a Woman): “It’s a wonderful day for singing a song…it’s a wonderful day for mooooooving a long…HOOOWAAA”
Downloads:
Download Page: https://www.vmware.com/download/
Free 60 days Trial: https://www.vmware.com/tryvmware/index.php?p=vsphere&lp=1
Documentations:
http://www.vmware.com/support/pubs/vs_pubs.html
Third-Party Downloads:
Cisco Nexsus 1000V Trial: http://www.cisco.com/go/1000vdownload
Video Tutorials from VMware:
1 - ESX Installation and Configuration
2 – ESXi Installation and Configuration
3 – VMware vCenter Server
4 – VMware vSphere Client
5 – Networking configuration
6 – Storage configuration (iSCSI)
7 – Create and manage virtual machines
8 – VMware Host Profiles
9 – VMware Storage VMotion
10 – VMware vCenter Server Linked Mode
11 – VMware vNetwork Distributed Switch (vDS)
To be updated with the latest and greatest links…Stay Tuned!
Video: vSphere4 Unleashed: 06 – Storage vMotion
A new, thin and compact video! Here we’ll demo the new GUI based storage vMotion feature built-in vSphere. Yes, GUI based and built in, no more command lines and hassle. It’s fast, it’s easy and it’s very reliable, especially when doing the thin/thick conversions while you’re migrating the VMs.
Happy viewing!
Video: vSphere4 Unleashed: 05 – Hot-Add and Thin-Provisioning
In this video I’ll be demonstrating the following in order:
- Enable the Hot-Add/Plug in the virtual machines.
- Hot-Add memory for a VM and increase it from 512MB to 1GB.
- See from the VM’s Task Manager the new amount of memory available for the GOS.
- Hot-Add a new NIC, and configure it on the fly.
- Thin-Provision a new 10GB hard drive for a VM.
- Hot-Expand the new hard drive from 10GB to 20GB.
- Extend the volume live within the GOS using the “diskpart” tool.
I have the Storage vMotion & vCenter linked-mode recorded and will be publishing them this week. Stay tuned!
Video: vSphere4 Unleashed: 04 – Fault Tolerance
And finally some real action of the new amazing vSphere’s Fault Tolerance. In this video we’ll do the following in order:
- Verify that the FT logging is enabled on our network card.
- Enable the FT on one VM.
- Observe that the VM has two instances, the primary running on one ESX server, and the secondary running on a deferent ESX server.
- Demonstrate the “Record & Play”, or to be acurate the “vLockStep” mechanism used on the FT enabled VM.
- Start a large file copy to the VM as a continuous operation in place throughout our fail-over process
- Start the fail-over process by resetting the ESX blade via the Dell admin console.
- Observe that the VM has been shifted to the secondary ESX server, and that the file copy is not interrupted.
- Observe that the FT has automatically chosen another ESX server to protect the VM with no intervention from our side.
- We’ll check also the up-time of the VM after the fail over.
- And finally we’ll perform the migration of the FT enabled VM in case of planned maintenance.
I hope you will find this video useful, and see the great benefit of the new Fault Tolerance feature in vSphere 4.