Friday, February 14, 2014

Test Drive Results for VMware vSphere Mobile Watchlist!!

VMware has recently released a great mobile tool for Administrators who love to manage their vSphere Infrastructure on the move. The tool is called VMware vSphere Mobile Watchlist.

VMware vSphere Mobile Watchlist allows you to monitor the virtual machines you care about in your vSphere infrastructure remotely on your phone. Discover diagnostic information about any alerts on your VMs using VMware Knowledge Base Articles and the web. Remediate problems from your phone by using power operations or delegate the problem to someone on your team back at the datacenter.


IMPORTANT NOTE: A VMware vSphere installation (5.0 and above) is required to use VMware vSphere Mobile Watchlist. Access to your vSphere infrastructure may need a secure access method like VPN. Contact your IT department for further assistance.

FEATURES:

EASILY CREATE VM WATCHLISTS
Select a subset of VMs from your VMware vSphere VM inventory to tell the app what VMs to track. Use multiple lists to organize these important VMs.

VMS AT A GLANCE
Review the status of these VMs from your device including: their state, health, console and related objects.

SUGGESTED KB ARTICLES
Got an alert on your VM? Let VMware vSphere Mobile Watchlist suggest what KB Articles might help you or search the web to gather more information.

REMEDIATE REMOTELY
Use power operations to remediate many situations remotely from your device.

DELEGATE TO YOUR TEAM
For those situations where you are not able to fix an issue from the device, VMware vSphere Mobile Watchlist will enable you to share the VM and alert information along with any suggested KB articles and other web pages relevant to the current problem. Your colleagues back in the datacenter can use this context to resolve the issue.

For more details refer to the following link - VMware vSphere Mobile Watchlist

TEST DRIVE RESULTS

The entire reason behind me writing this post was the results of the Test Drive which I did with the product. To get this tool for FREE is absolutely awesome. The screenshots below explain why I think so.

You can download and install the tool from the following links:-




I installed the Android version and here is how the tool interfaces:-



You can connect to your vCenter Server from here, given you are either VPN'ed or connected to your work network. Once logged in you get the option to create your watchlist for VMs which you would like to monitor or perform maintenance tasks on. 




The entire inventory of the vCenter will be listed and you are free to select VMs by placing a check in front of them as show below in the screenshot.



I have selected my vCenter Server and my proxy system which I use to RDP in my lab on my watch list. Here is how my watch list looks like:-


I can click on this thumbnails and further drill down to monitor the related objects and perform maintenance tasks on the VMs in my watchlist.

I can monitor the utilization and get details:-


I can get to the console of the VM.



I was also able to see the objects related to this VM such as ESXI Host, Cluster, Datastore etc.


Lastly, I was also able to run maintenance tasks:-



All in all a great experience since this app is very light and smooth. Highly recommended for the Modern Sysadmin. Go Get it!!


Share & Spread the Fun!! 







Monday, February 10, 2014

VCAP5-DCA - Exam Experience & Study Tips!

I am happy to share that I have successfully upgraded my VCAP4-DCA to VCAP5-DCA. I wrote about my VCAP4-DCA exam experience back in 2012. Here is the link - My VCAP 4 - DCA Exam Experience - Better late than NEVER!!

With this article, I just wanted to add to what I had to do in addition to prepare for this version of the exam. 

Needless to say that you would need a lot of LAB TIME with the topics which are described in the Blue print, the link to which can be found on the official VMware Certification Page for this exam.

Some quick pointers about the exam format & things which I learned from my experience, keeping in mind the NDA which I signed :-)



  • 26 Questions with 225 minutes to complete them. Approx 30 minutes extra for Non-English speaking countries.
  • All the questions are Practical Only. You would have to do everything in the LAB.
  • Each question might have One or More Tasks to complete so never think that you only have to do 26 tasks.
  • Their might be TASKS which are dependent on a previous task so be careful.
  • You CAN go BACK & FORTH between questions as you like, UNLIKE VCAP-DCD so feel free to do that.
  • Official vSphere documentation in PDF format is available for you to access during examination, although it is not a great idea since the access to these files can be painfully slow and result in a waste of time.
  • You have the choice to access things via RDP or vSphere Client. Avoid RDP as much as possible especially if you have a slow access to the environment which you need to work on.
  • Give yourself enough time to study for this exam. You need a lot of time with each topic to master it. This is not the exam where you could study a night before and pass with flying colors. NaaDa.. Not going to happen!!
  • One last thing, the biggest challenge would be time, hence it is important to pace your self appropriately. Another thing which I would worry about is the slowness of some of the centers who host this exam. It might be a good idea to take a feedback from people on which is the best center to take this exam in your city or a city near you. 

While you have endless options on the study material, I would highly recommend that you go through the Pluralsight's (formerly Train-signal) VMware vSphere Optimize and Scale (VCAP-DCA). Jason Nash (the instructor for this course) has covered each and every section on the blueprint in detail and this helped me a lot during my preparation. 

With this I am all set for my VCDX certification. I hope these tips will help you.


Share & Spread the Knowledge!! 





Wednesday, February 5, 2014

Part 6 (Final) - Architecting vSphere for Business Critical Apps - A Scoop From my vForum Prezo!

This article throws light on Architecting vSphere Infrastructure for running workloads which are critical to your business. With this article I will end this series which I have been writing on Architecting vSphere Infrastructure. I thought I would conclude this with something which I am interested in evangelizing in the days to come as I not only see a huge learning & business opportunity in this area, but I also see the next major shift which virtualization is going to bring. 

Before we begin, here are the links to the first 5 articles in this series in case you are interested:







While creating my vForum Presentation (See Part 1 for more details), I realized that I would have a number of people in the crowd who will be interested in discussing the virtualization of their business critical workloads, since they have already exhausted all of their Tier 2 & Tier 3 applications running on physical x86 boxes, by converting them into virtual machines.

With this article we will look at some of the grey areas which we should be aware of when we are planning to Virtualize business critical applications on a vSphere Environment. At this point let me also highlight the fact that these are specific areas which may or may not suit all the applications/workloads. These are general recommendations which will help you iron out a lot of issues which I have seen organizations facing while taking this task on hand.

As always, let us first look at the single slide which I used during my presentation and then we will discuss each point as we move along.



While the above slide is quite self-explanatory, I would like to elaborate on a few of the pointers which might need some more explanation and clarification to put my point across to you and also due to recent changes in the vSphere 5.5 platform.

FOLLOW ASTBUL - This is not a technical jargon or a industry standard term. I coined this term to ensure that we do not rush into virtualization of business critical workloads. ASTBUL stands for ASSESS, SETUP, TEST, BENCHMARK, UAT & LIVE. When organizations begin with virtualization, they chose the low hanging fruits which are not only easy to virtualize, but can also live with downtime if it happens. We all know that it is not a rocket science to run a P2V conversion tool like converter to virtualize physical workloads. Similarly all the organizations with a decent virtualization footprint would have a Virtual First policy leading to virtualization of most of the new workloads as well. What does this mean to the C-Level people? Savings, infact let me say HUGE SAVINGS. 

While this was all good with Tier 2 and Tier 3 type of workloads, such an approach CANNOT be followed for applications/servers which are critical to an organization. What I mean to say is that you cannot, rather should not follow the approach of throwing business critical workloads on your virtual platform which is not architected or ready for them. You are actually making sure that all the hell will break lose and your whole idea of agility, savings, mobility etc with virtualization would be deemed foolish.

With BCA (Business Critical Applications) you need to ensure that you follow the strategy of ASTBUL. You begin with ASSESSMENT of the workload with tools like VMware Capacity Planner, SETUP a parallel to production setup in an isolated environment after inputs from application owners and hardware vendors, TEST the workloads in this environment to the maximum limit to see the Highs & Lows of compute, storage & network performance, BENCHMARK & publish the performance results to the business to get a buy in, run a User Acceptance Test (UAT) to get a buy in from the end users of the application and then finally pull the plug out of that EXPENSIVE physical server and  make your Virtual Workload LIVE. With this approach you will be successful 99% of the time. I believe in luck so would leave the rest of 1% on LUCK :-)


PLAY SMARTLY - The credit for the second point on the slide goes Michael Webster of Long White Virtual Cloud fame. Michael needs no introduction for the people who are active in the Virtualization Community, but for those who are not, he is the first VCDX in New Zealand and one of the finest craftsmen when it comes to Architecting vSphere Environments for running Business Critical Workloads. I would highly recommend you visit his blog to see all the great work he has done around Virtualization. Michael in one of his posts says that if you are virtualizing applications which are network intensive and they have a need to talk to other VMs in the same VLAN, one should try and place such VMs in an affinity. This will ensure that they will run on the same ESXi host and be a part of the same PortGroup/dvSwitch. In this way their network traffic would never leave the ESXi hosts and would transmit at the speed of memory between the VMs. This will not only save your network from choking but would also remove any performance bottlenecks which might result from sharing physical up-links. 

Their are a number of other tips & tricks which can help you get the best results for your business critical workloads. It is important that you TEST & BENCHMARK them as mentioned in the last point.


DE-MYSTIFYING NUMA - NUMA a.k.a. Non Unified Memory Access is another critical area to consider especially when you are virtualizing BCA. Their are a number of articles out their which discuss NUMA and I will not re-invent the wheel here by writing another one. Let's first look at the articles here and then I will add my 2 cents to this concept by trying to simplify & summarize this for you.

To begin with you should read this article from Wikipedia to understand what is NUMA. Then you should understand what is vNUMA and then read the following 3 articles:-




All the above mentioned articles are amazing as they clearly explain the concept of NUMA, vNUMA & the affects of assigning cores instead of sockets. The bottom line is this :-

  • Ensure that you do not cross the physical NUMA boundaries if possible. In-case you need to, GO AHEAD, but ensure that you have all the pre-requisites for vNUMA to do the smart scheduling for you.
  • Upto vSphere 5.1 vNUMA wont kick in if you use more than 1 core per socket while allocating vCPU AND you are crossing the NUMA boundary with your overall allocation. So do not use this setting unless you need to save on CPU license for the application and you can take the performance hit.
  • The point above nullifies with vSphere 5.5 as vNUMA in 5.5 is smart enough to ensure that it will allocate the number of vCPU required with the best possible combination of cores and sockets as per the architecture of the physical NUMA. Hence even if you goof up while allocation, vSphere will take care of it. For eg. if you assign 1 CPU with 16 cores, it will automatically size the machine as 2 CPU with 8 Cores each.


CRITICAL DOES NOT MEAN COMPLEX - When you speak to people about virtualizing business critical applications, the first thing which comes to their mind is "This has to be a complex architecture". This is where things start to become a little overwhelming as architects try to make use of each and every BEST PRACTICE and feature available. A classic example would be to run OS & Application clustering over and above vSphere HA. You need to go to the business and ask them the up-time requirement vs the cost of providing the up-time and you will always see that they are okay with the restart of HA rather than putting complex and expensive clustering technology which is difficult to deploy, manage and troubleshoot. Keep things as simple as possible & you will get the most optimum results from your efforts of running business critical applications in a virtual machine.


VIRTUALIZING BCA- IT'S NOT ABOUT THE MONEY HONEY - While the prime attraction towards virtualization was always monetary benefits, this mindset has to change with BCA (Business Critical Applications). In simpler terms, you might be saving money by moving your business critical workloads from a UNIX to LINUX platform and then virtualize it with vSphere, what you should NOT do is to practice things live OVER-COMMITMENT or HIGH CONSOLIDATION. All the money which you might be saving should be re-invested to ensure that you are successful at virtualizing business critical workloads. This investment should be done in running parallel Test Setups, Running Benchmarks, Zero Commitment of CPU & Memory, High Performance Storage platforms etc. Remember savings is not the only benefit of virtualization. Things such as Ease of Upgrade, scaling up of RAM and CPU on the fly, options to take Snapshots before Upgrading, quickly Rolling out new services, options to Clone from templates, easily moving from TEST to UAT to PROD and vice-versa, Zero-Downtime during hardware maintenance without having to invest in complex clustering solutions are some of the major benefits you get from virtualizing Business Critical Applications and this is what you should AIM for.


I would want to conclude by saying that it is an Art and not a Science, so its important that you INVOLVE THE EXPERTS. Its a fact that you need more experience than skills to architect a vSphere environment suitable for running business critical applications which is stable, secure & highly available.

With that note I will close this article and the entire series. I hope this has and will help you while you architect better for your organization or a customer. If you have any questions, comments or feedback, feel free to use the comments section and I would love to have a constructive debate on this and other topics.


Share & Spread the Knowledge!!



Friday, January 31, 2014

Part 5 - Architecting vSphere Networks: A Scoop From my vForum Prezo!

This is the fifth part of the series of articles I have been writing about “Architecting vSphere Environments”. For those who have not read the other parts, I would highly recommend you go through them to understand the context of this entire series and to pick up key learning's which I have gained during design & implementation of VMware vSphere Infrastructures for VMware customers. Here is the list:-






Maintaining the context from my previous articles, I would continue to stress on areas which are mostly ignored either due to high complexity or due to lack of skill sets. Also as the title of this article suggests, I will speak about key considerations around designing Networks for a vSphere Infrastructure. In my humble opinion, a single blog article cannot do justice to plethora of networking gotchas which you need to be aware of, hence I would expect that the reader of this article would have basic understanding of the concepts of Networking in a Virtual Environment. Needless to say that you should understand the traditional physical networks.

Let me make your’ s & mine task simpler by putting up a slide here which talks about 4 major things which you need to remember. These are my Do’s & Don’ts and are areas which are mostly mis-configured and mis-designed in most of the environments I have seen. Let’s have a look at the slide first and then we will discuss these options in detail.




















Network Layout

The first part on the slide speaks about laying out the vSphere Virtual Networks appropriately. The best and the worst part about doing this is that there is no right or a wrong way. This is one of the areas of vSphere which is entirely dependent on the Requirements & Constraints. While you need to ensure that you meet the requirements, you cannot step out of the boundaries created due to constraints. Let us see as to what are the key considerations you need to worry about.

  • One Role Per PortGroup – Using each port group for a single role would be an ideal scenario while designing networks for a vSphere environment. In essence, you should have one VMkernel (Management) PortGroup each for Management Network, Secondary Management Network (if available), FT, vMotion & vSphere Replication (this option is still not active in vSphere, although can be seen through vSphere Web Client). This will ensure that you assign individual VMK IDs to each function which not only makes your network settings simple but easy to troubleshoot as well. For Virtual Machine Port Groups you have to use separate PortGroups for easy identification and VLAN tagging. Although with a VLAN trunk option available on dvSwitch you can use a single PortGroup for multiple segments (rarely used).
  • Use of VLANs – Use of VLANs is not uncommon in a vSphere infrastructure. This is the easiest method to make sure that you can run multiple network segments on a single physical wire. I have seen a very few environments who do not use VLANs & in most of such cases it is the lack of networking knowledge. Have seen servers with up to 22 NIC ports and the same number of network cables going out of the server which ofcourse is INSANE. The simple reason behind this crazy setup was no use of VLANs. Last but not the least, don’t forget to trunk the VLANs in the physical switch ports and define the same on the virtual port group. Use of VLAN1 (native VLANs) is another crime which should never be committed :-)
  • Standardize VMkernel interfaces across ESXi hosts – This one is the simplest but the most ignored best practice of all. Each VMK defined on a host should be identical to the VMK defined on other hosts in the same ESXi cluster. For e.g. if VMK0 is Management on one host, it should be Management on all the other hosts in the cluster. Same applies to all the VMkernel interfaces. This will ensure that your network configuration is easily readable. Another benefit is seen when you are writing scripts to manage network settings of your ESXi cluster. Try to follow this practice for IP addressing of management functions as well. This makes your life easy when you are troubleshooting during those unplanned downtime.
  • Redundant NICs, dedicated FT Network, appropriate Load Balancing Policies & appropriate NIC failover ordering are other few configurations which can make or break the networking stack of a vSphere Infrastructure.


Enterprise Plus Licensing – Do you use a dvSwitch? 

If you are one of many who have Enterprise Plus licensing on vSphere, but are not using the Distributed Virtual Switch, you my friend are wasting your investments made on the vSphere Platform. The only reason for vSphere to be the number one hyper-visor in the world is the amazing features that comes with this platform. Distributed Virtual switch a.k.a. DVS is definitely one of them. In my experience every 6 out of 10 enterprise plus licensed customers I see are still running on VSS (Virtual Standard Switch). Although VSS might meet your requirements, it does not have the intelligence of a DVS. While managing an environment with a DVS is simple due to a centralized control plane, features like health check & backup/restore are priceless. Health Check ensures that any mis-configuration is automatically rolled back which reduces the risk of human errors which by the way is the single biggest reason for most of the issues you will see in any IT infrastructure. DVS also allows you to Backup itself and restore it in-case you need to replicate environments or re-build from scratch.

While I am pushing all my customers to dvSwitch, I would highly recommend you plan a move as well in-case you are still on the VSS. While you have a freedom of moving all the PortGroups to dvSwitch, some people prefer to keep the management networks (Heartbeat/FT/vMotion etc.) on VSS while they move the Virtual Machine PortGroups or Data traffic to DVS. I completely support this philosophy as well, especially when you do not have any redundancy for your vCenter Server. This allows you to play around with the network settings of an ESXi hosts by directly logging into it using the vSphere Client, even if the vCenter Server is down and not recoverable. Although it is a bad situation to be in, but certainly not unrecoverable.

Read the following knowledge base article from VMware which is a great source for clearly laying out the differences between Standard & Distributed Virtual Switches - Overview of vNetwork Distributed Switch concepts.


Convergence is the way forward - Move to 10G Networks

I know for a fact that many might challenge this thought. However, in my experience and a number of projects I have worked on, I see that customers with a converged infrastructure are more on ease and peace of mind as compared to the one who have their network all over the place.

While I say this, I would only encourage you to make this move if you have planned IT budgets, as this would be an overkill if you want to transform as in most of the cases your old hardware would be a waste. With 10G, you have options of either using the convergence with the management platform available from the hardware vendors or use features like Distributed Virtual Switches / Network I/O Control to manage the bandwidth requirements of your workload.

Here are a couple of articles which I wrote around using 10G cards for vSphere Networking. Would urge you to read them to see how things become simple with implementation of converged networks.



Some More Quick Tips Around vSphere Networking
  • Be a miser while provisioning vSwitches, Portgroups or for that matter any virtual hardware. Please remember they might appear to be FREE but they do use CPU Cycles and Memory since they are nothing but a piece of code which runs as soon as you create a new object.The idea is not to stop you from provisioning, but to make sure that you do not provision what you do not require. This also helps when you are trying to troubleshoot issues.
  • vMotion has been around for a while, but the options to configure vMotion have always been evolving. Use these options to ensure that you have Fast vMotion Networks which will allow you to load balance clusters, evacuate hosts & run maintenance tasks way faster then what you have been doing. Use Multi NIC vMotion to do this.  There are a number of articles on Multi NIC vMotion which you can find on frankdenneman.nl by Frank Denneman which I refer to. Go use them, they are awesome :-)
  • This is another important tip which is organizational and operational in nature. You need to involve your Networking team while choosing, designing & implementing your vSphere Infrastructure. The more the networking experts are involved, the better would be your networking stack supporting your virtual infrastructure. Also, as I see convergence in the Datacenter, I also see convergence in the IT teams. Networking & Storage teams are getting trained on vSphere and Wintel/VMware teams are getting trained on the networking and storage platforms. This change is welcoming and my suggestion to you would be follow this change ASAP so that you, your teams and your organization is able to cope with this paradigm shift.

With this, I will close this article. Hope this helps you make the right choices while choosing the network configuration for your infrastructure. Please share your comments, thoughts & feedback around this series.


Share & Spread the Knowledge!!


Follow on Twitter -     @Sunny_Dua

LinkedIn - LinkedIn@duasunny

Wednesday, January 1, 2014

A Dive in the Past - A Peep in the Future!

First things First, a Happy New Year to all my buddies in the Virtualization World. I wish that each one of you have a Successful, Healthier & a Wealthier 2014. I wanted to kick off 2014 with this article to have a quick look at the year gone by and also peep in the future and see what's in store for the year 2014 & beyond.


While "Never Look Back" is a great strategy for a progressive person, I believe that you need to Look Back & Learn from your experiences and prepare yourself for the future. So it's good to have a look at the rear-view mirror :-) in my opinion. When I look back at 2013, I can easily say that this was one of the best times of my professional career. There have been some great highs in the year and I am thankful to my family, friends & employer for the encouragement & support.


The year started with travel and I would say that this is the most I have ever traveled for work. Although it
was killing I am happy that it paid off with more than 12 successfully delivered projects with the Top
Enterprise customers of VMware in India. This was also the first time when vXpress was ranked number 12 for being the "Most Favorite New Blog" in the Virtualization community. Blogging was a dream and I am so happy I have got a lot of great feedback from the readers & sponsors of vXpress all year long. Thanks to all the readers for their amazing support. This definitely gives me the dope to live this dream in the time to come. vSphere-Land would be soon coming out with Top vBlog 2014 voting and I hope I could improve on my past ranking this year.



This was definitely not the end of good things. I was soon promoted to a Senior Consultant@VMware & the PSO Team in India started to grow at a rapid pace. Pretty soon I was awarded the VMware vExpert 2013 title for all the community work I had done through my blogs & other VMware forums. This gave me a lot of recognition in the industry and some great buddies who have inspired me and helped me with their work. vExpert is a way of life now and I will make sure that I keep giving back to this awesome community to the best of my knowledge, experience and ability.



Although I still have fresh memories of all the goodness of 2013, it is the time which has passed by. It is time when I step into 2014 and look forward to face all the new challenges which will help me grow personally and professionally. I think the bigger reason for me is to meet connect with the amazing people in the community and have a great time learning new things and sharing experiences. n all this there are a few things which I have targeted and a few which are bestowed upon me by the grace of all mighty. It is amazing to start the year knowing that I will be a Father soon. Just waiting for this amazing transition to happen and I would need all your prayers and blessings. Don't have words to describe our excitement around this..



While I would definitely strive for a better work-life balance, there are a certain things I would want to achieve this year. A VCDX Attempt definitely tops the list. At this point I must congratulate Samir Roshan (my PSO colleague) to become the first VCDX in India. This is truly inspiring and I wish to follow his footsteps on my journey to the VCDX title. Another difficult one for me would be to quit smoking completely. I realize that I need to stop poisoning myself as 20 hazardous chemicals cannot be your friend. I will spend all the time & money I save from not smoking on my health instead. 



With this I Close 2013 and Welcome 2014 with open arms. Once again, my best wishes and regards for you and your loved one's. Have a Fantastic Year Ahead!!

Follow on Twitter -     @Sunny_Dua

LinkedIn - LinkedIn@duasunny