Sunday, 10 October 2021

NCP-EUC Exam Experience

 The NCP-EUC exam has been released for a while now and although I booked it very early on I found myself postponing it several times. My reason for this was most likely due to Covid fatigue and lockdowns did not help with the motivation. Well, I finally sat the exam and I am pleased that I passed!
My passing score was 5100.

When the exam got announced I was quite excited because I started a EUC focussed role around the same time and definitely had to learn a lot in that space. And the experienced I gained in the last 6 months definitely came in handy. Before going into the EUC role I did have experience with Horizon from an infrastructure point of view. I did architect the infrastructure for my employer, which was initially a single pod deployment. This architecture has changed a lot in the last year or so. Just before the first lockdown hit New Zealand we implemented a couple of Unified Access Gateways to ensure end users could connect remotely. In the last six months we turned the architecture in a multi-site one for DR purposes. And we also introduced App Volumes and Writable volumes in the mix. I'd like to give a shout out to Kees Baggerman and Sven Huisman for their support and advice on this!

When time permitted I actually spent some time looking at Frame. One of the benefits of being an NTC is the 1 year entitlement to a Frame license. I like the idea of Frame and hopefully I get to make real use of this. During this process I learned quite a bit and it was great to have the ability to call on Ruben Spruyt to iron out some issues and misunderstandings. Now I think this Frame exposure has been quite useful as an exam preparation because the exam was very heavy on Frame. At a guess I would say at least a quarter of the question where Frame related.  There are two exams you can take and passing either one of these will entitle you to the NCP-EUC certification. One is the Virtual Desktop Infrastructure exam and the other is the Desktop as a Service exam. I took the VDI exam and it was still heavy on Frame.

The blueprint is very indicative of the subjects you will get tested on. There was one subject I actually got no questions on but that may have been coincidence.  As I said expect questions around Frame, and plenty, but I also got questions around Files, Prism, Citrix, Horizon, Capacity, Performance, GPU, BCP, etc. Nothing that the blue print does not cover.

You get 75 questions in 120 minutes and the time goes fast. There were quite a few questions where I had to make calculations of some kind. Not allowed to use paper you will have to figure it out in the head. This takes up time. As always, I went through the questions and answered what I could and flagged what I did not know or wasn't sure about. Getting through the questions took me about an hour. I used the remaining hour for reviewing and reading questions properly. Always pay attention to how the questions are written as it is easy to misread. Sometimes you just need to use common sense and process of elimination. And for a few you just have to guess. You have about 25% chance of getting it right. I never have use Citrix myself so I had to guess on a few occasions. In the end I used all my time and was very happy to see I passed. 

I really liked this exam because it covered a broad range of technologies and learned quite a bit in the process. Make sure you use the resources on Nutanix University and give the test exam a go. It will give you a good idea on what to expect! Good Luck.





Saturday, 10 October 2020

NCP-MCI 5.15 Exam Experience

Today was a good day. And a busy day. After my morning coffee I did some painting in my bathroom, mowed the lawns and rode 60 KM in the French countryside, Virtually on Zwift I may add. There is not really a way out of New Zealand these days. And I managed to to squeeze in the NCP-MCI 5.15 exam as well....

Taking the exam had been on my list for a while. Initially I was planning to wait until .Next and do it while I was there. I really enjoyed the experience last year in Anaheim. Unfortunately some virus had other plans and Chicago will need to wait until another year. Kudos to Nutanix for still making the exam available to anyone, free of cost, who attended the virtual .Next conference last month.

I had booked the exam for some weeks back but ended up postponing it twice because I haven't had time to prepare. Even so, the exam date was approaching very quickly and I did go in not as prepared as I should have been. Normally I put a decent amount of time in preparation but I found it hard to get motivated this time around. Like most Kiwis, I spent a lot of time locked up inside either because of Covid or the winter and early spring weather. And once the weather gets better it is time to hit the mountain bike trails.

As I always do, I review the latest ECA course at Nutanix University and then go over the topics outlined in the blueprint. Only this time I did not go through the guides, which I do not recommend. I did open the Web Console Guide two days ago but I only managed to get through a quarter of the pages. Last night and this morning I reviewed the notes I took from the ECA course and crossed my fingers it was sufficient.

If you have taken a Nutanix proctored exam before you are probably familiar with the drill. Verify identity, take a picture and scan the room. I always tend to book a meeting room at work outside of office hours. Having a 6 year old hellraiser at home is to distracting and no doubt he would barge down the door and get me disqualified. There is a lot of do's and do not's during the exam and I always get told off for holding my hand in front of my mouth. Something I tend to do when concentrating...

When the exam starts you have 120 minutes to answer 75 questions. My strategy is to always go through all of them and answer the easier one. I also flag the ones I am unsure off or haven't answered. I was off to a flying start. First five questions were rather easy in my opinion but then I got hit with a few hard ones in a row. I started to wonder whether I had done enough and thought I may struggle to pass at one stage. I think I flagged about 15-20 questions or so the first time I went through the pool. I then work my work my way through all flagged ones until I don't have any left. I always tend to use all my allocated time. I thought it would be a close call but in the end I passed with a score of 5097. The passing score is 3000.
Surprised and happy at the same time.

I do have a few years of experience with Nutanix but as the product set grows there are quite a few I do not use. My employer is a ESXi shop and obviously the exam is heavy on AHV. I do have experience with AHV in lab environments and that definitely helps. However some items on the blueprint I have never had hands on experience with i.e Nutanix Move. If you have hands-on experience and you review the ECA course you should be able to pass or get close. Some of the questions you should be able to answer by applying common sense. I had some lucky guesses too I assume.

Every time I take an exam, whether it is Nutanix or VMware, I always get caught out by topics such as SSL, Encryption, etc. I have always found these topics as dry as Weetbix (A New Zealand breakfast cereal) and find it hard digesting the reading material. And as per usual you get hit with a few questions around this.

When I got my final score and was presented with a breakdown and actually failed one topic and that was Prism Central. I got 50% and although I cannot recall I think there may have been two questions on it.
As to other topics, it is all in the blueprint obviously but make sure you know about Security, AHV, Image Management, Move and then some.

I guess I better do something about renewing my NCAP certification now, which is called NCM-MCI now. I know from the previous edition that I cannot take the lazy approach I did for the NCP exam.


Good Luck






Monday, 5 August 2019

CALM Series Part 2: Deploying Windows VM on VMware

Now that you have installed CALM successfully in part 1, it is time to put CALM to some good use.
In this post we will concentrate on deploying VM on the hypervisor VMware. The reason being that I work for an organisation who uses VMware extensively.

Before we get into the CALM configuration there are a few things we need to cater for in the VMware environment. First we need to create a role with the required permissions. You can find these on page 52 of the CALM admin and operations guide. For the purposes of this exercise I specified an account with admin role but you do not want to do this in production.

First we will need to create a storage cluster in vCenter and assign your Nutanix datastore to it. Actually you only have to do this if you want DRS to do the initial placement of the VM. You could skip this step and just select an individual host instead of DRS cluster. More about this later.

  • Log into vCenter and go to Datastore view
  • Right click datacenter and select Storage > New Datastore Cluster
  • Enter a name and ensure Storage SDRS is enabled
  • Under Cluster and Hosts, select your cluster
  • Under Datastores, select your Nutanix datastore

Over to Prism Central, we need to do is adding a provider.

  • Go to Settings > Providers > Add Provider
  • Set name for provider
  • Set type to VMware
  • Add vCenter server, username and password
  • Specify 443 as port
  • Enter datacenter
  • Click save and verify




With the provider in place we can create a project.

  • Go to Projects and click the Create Project button
  • Enter Project Name
  • Under Infrastructure, Select Local only
  • Set your VMware provider accordingly and Save



Now jump over to the environment tab. We will be setting some default configuration to use in your blueprint

  • Set credentials. Click Save
  • Under VM Configuration, Select VMware
  • Under Windows, enable DRS Mode. Select cluster, template and storage pod
  • Under instance name, I have enter the @@{vmname}@@ macro. I will explain this in more detail as we progress
  • Change the value for CPU and Memory as desired. Click the running man if you want to have ability to alter the values.
  • Leave the other defaults for now
  • Enable Check login upon create and set credential to calmadmin
  • We will leave the Linux config for now.
  • Click Save




You are now ready to create your firs blueprint so jump over the blueprint section

  • Click create the new blueprint button and select multipod VM. CALM 2.6 has some issues with single VM option.
  • Enter name and project and click proceed



  • You are now in the blueprint editor
  • On the right under Application Profile Name, specify  "vmname" under name and tick the runtime option. This will allow to specify VM name upon creation as I specified @@{vmname}@@ as an instance name in the environment setup.


  • Click the plus sign next to service and enter a name.
  • Select VM and set Cloud to VMware and OS to Windows
  • Click Clone from Environment. This will take the values from your default VMware config.
  • All values should be pre-entered but you will need to add another credential under connection.
    I basically re-created the calmdmin credential as we did in the environment.

Now you are ready to launch your first VM with CALM.

  • Click the launch button in top right corner of the editor
  • Give the application a name and specify a name for your VM under the vmname variable



  • Click create
  • The provisioning will start and you are taking to the application provisioning screen


  • When the status on the overview tab changes to running your VM has been deployed successfully.



Now that your VM is up and running, let's explore some of the other tabs on the application screen.
The manage tab allows you to do action such as start, restart, stop and delete. When you click on the action the play and eye button gets enabled. Once you click the play arrow the selected action will be undertaken. The services tab will allow you to see your VM's configuration. Finally we have the audit button, which is useful to follow the deployment process and allows you to see what went wrong, if anything.

This was a very simple example that may not reflect a real world use but it will get you started. You will probably find that you need to do some customisations to your VM, such as adding it to a domain,  so in a future post I will discuss how to utilise customisation such as sysprep and VMware custom specs.

CALM Series Part 1 - Enabling CALM

CALM provides advanced app-level orchestration across teams and clouds while eliminating the complexity and repetitive nature of resource delivery via comprehensive app-centric automation from Nutanix Calm. With demands on IT rising faster than ever, Calm enables you to streamline how you manage applications and support the business.

That is CALM in a nutshell, and I assume you have looked at the official documentation, but I just want to get my hands dirty and get started. Actually I did get started about a year ago but due to time constraints I never got anywhere with it. I am not sure what version of CALM was in use at the time but I do remember thinking that it was not overly mature and too complicated for my liking....

Enabling CALM is a piece of cake. Basically there area few pre-requirements:

  • Configure a data service IP on the cluster running Prism Central
  • Register this cluster with Prism Central
  • PC VM needs to have hot add memory enabled
  • PC needs to be AOS 5.9 or higher and the cluster it is running on it needs AOS 5.5. or more.

And now for the configuration of CALM itself:

  • Log in to PC as an Admin
  • Under Services > CALM, click Enable
  • Enable App Management. Notice how it will add 4 GB to your PC VM


  • Click save. The CALM interface will appear

Let's check if a newer version is available. Upgrading CALM is super easy thanks to one of my favorite Nutanix features, Life Cycle Management.

  • Go to Settings > Life Cycle Management
  • Perform an inventory update
  • Once completed, go to Software Updates
  • Select both the CALM and Epsilon features and click Update


  • Take note that genesis will be restarted and click Apply 2 Updates


  • The process will take a while but all going well you should see the following


And that is it! You are all set to start with CALM. Stay tuned for more posts.

Saturday, 15 June 2019

NCAP exam - Experience and thoughts

The weather has not been to all that over the last few weeks here in New Zealand. As it is winter here it us pretty much to be expected. In the weekend I usually hit the local mountain bike tracks but after the rainfall over the last two weeks it is like riding in peanut butter. So instead of riding I decided to take my Nutanix Certified Advanced Professional exam instead and I am pleased to say I passed.

I have always been a fan of industry certificates. I believe you learn a lot in the process and while it may not always get you the next job I do believe it adds tremendous value to your CV. Like most other vendors, Nutanix also offers a certification path. If my memory serves me correctly, I believe they started with certifications in 2014 and although I have no idea how many people are certified these days, I managed to become Nutanix Platform Professional #180. I kept up to date when they upgraded to NPP4 and 5. When the new Nutanix Certified Professional track was announced I was having too much fun on the mountain bike and upgrading was not a priority.

During .Next in Anaheim, Nutanix offered free certification during the conference and that got me excited enough to review the training course and materials. I registered for the NCP exam as soon as I arrived and managed to pass without too many issues. NCP was a fun exam. Very similar to NPP when it comes to difficulty but the big difference is that it is no longer open book. While I sat my exam I was sitting close to the proctor's table and I was surprised to see that a large chunk of people failed. Now this could have been for any of the exams offered not just NCP.

Since there was still a day to go at the conference I was persuaded to give NCAP a go. I knew I would surely fail without looking at the blueprint let alone no study. I was told that the NCAP exam was about 30% harder than NPP. So I sat the exam and has expected failed. 2600 out of 5000 with a passing score of 3000. The exam focused heavily on Metro Availability, Prism Central, CALM, AHV Networking, ABS and AFS.
My employer's choice of hypervisor is ESXi and we do not use any of the other features in anger so haven't done any study I thought I was pretty close. Good thing was that you also got a voucher for 50% off on the next attempt. A saving of USD 100.

When I got back to New Zealand I downloaded the blueprint and started studying everything that is in there. I decided to give myself a month before taking the exam. I read all the guides and watched the videos that were linked to blueprint and wrote down what I thought was most useful in a notebook. In the last week I have been mainly reviewing, not just my notes but also working with the product.

My exam was scheduled for 9 AM and this was my first time doing an online proctored exam. You can actually launch the exam 30 minutes before or after scheduled time. I recommend you launch it 30 minutes earlier as there is still a bit of work to do. First I needed to download and install PSI secure browser. Once that was done I had to take a scan of an ID and a picture of myself. Finally, I had to scan the room with the webcam. They are pretty strict as to what you can and can not have in the room so I booked a meeting room and locked the door.

I had a pretty good idea has to what was going to come my way and I had studied the sections that I had no clue about in attempt one. Although I was more confident in some of my answers I was still struggling with quite a few. You are allowed 150 minutes and I used all of them. I reviewed all the questions I was not sure about multiple times and changed a few in the end. When I was finished I was relieved to see that I passed.

I like the exam. It is fair and definitely achievable. The best training resource is to do exactly what the blueprint provides. And hand on experience of course!! I suggest you get to know CALM, PRISM Central, AHV (especially networking), AFS and ABS inside out. Getting to work with these technologies hands on will help tremendously. Other than that pay attention to the wording. Sometimes the difference and answer lies in the wording. Pay close attention to questions on the same subject later in the exam. Sometimes it includes a hint to the right answer in a previous question.

Good luck!!


Friday, 31 May 2019

Getting started with Karbon

If you look at Nutanix' solution brief for Nutanix Karbon it says "Who knew Kubernetes could be so simple?" and yes it is that simple!

I don't know much about containers and I still struggle to see many uses for them. Regardless of what I think, my manager is keen to explore its abilities and provide support if our developers want to use them. I had to start from scratch and do a lot of reading. To get familiar with all the jargon I started playing around with Docker and Kubernetes on my MAC. Very easy to install and you will be creating containers in no time. Having access to an enterprise Azure subscription I started looking at their offerings. Azure Container Services is no longer available and has been replaced by Azure Kubernetes Services. I did manage to get AKS to work but not without involvement from Microsoft Support. Too complicated and time consuming for me. I also feel that financially AKS may not be the cheapest option.

How about setting up a Kubernetes cluster on prem? Yes, tried that too. I deployed 3 Centos VM and installed Kubernetes on top of it. There are some great references on how to do this but again I found it complicated and time consuming, took me a few days. Although it all seems to work as expected, this is definitely not a setup I would take into production.

Being a big Nutanix customer it made sense to look into Nutanix Karbon and as with all things Nutanix it is supposed to be simple to install. When I first looked at Karbon it was still a technical preview and although I could see immediately that it would be a whole lot simpler to get up and running I did run into some issues. My deployments did fail and I had to get support involved. The things that were highlighted by support were:


  • Upgrade to latest PRISM
  • Upgrade AOS
  • Disable proxy settings
  • Limitation in networking port groups returned.

In the mean time Karbon had gone GA so before dealing with the above I updated Karbon via LCM. Worked flawlessly. I am a big fan of LCM and if you attended .NEXT you may have seen me on stage during the LCM session.

Upgrading PRISM and AOS was a breeze as per usual. The proxy settings need to be disabled for Karbon to work. This is a known issue and hopefully will be solved before too long. I have a requirement for a proxy in my environment and when I disable it I cannot upgrade my components.
We also encountered an issue where I could not select correct network for node VM. This was due to the fact that I have many network ports in my ESX environment and the Karbon UI did not like that.  We worked around this issue by prefixing network name with AA

Let's have a look at the install of Karbon...


  • Log into PRISM and go to Services > Karbon
  • Enable Karbon






  • Click upload file and change image name to acs-centos and click save



  • Click create cluster and select Development cluster



  • Enter name for K8s cluster and specify Nutanix cluster




  • Specify network. I have also changed the worker resources to 2 from the default 1 instance



  • Accept the defaults for networking



  • Enter your credentials and accept the other defaults. Click create



  • Once your cluster is deployed you should see a green heart your cluster has been deployed successfully.


  • Select the cluster and from actions menu, download kubeconfig


  • You can set your KUBECONFIG variable to the downloaded file or merge the context into your existing config file (.kube/config) if you need to connect to multiple clusters.

At this stage you should be ready to start deploying containers and this is where you will need some Kubernetes knowledge. Let's verify a few things to see if everything is in order....

  • From your CLI, type kubectl config get-contexts. This will show you which clusters you'll have access to. One is the Karbon cluster and the other is my docker-for-desktop setup on my Macbook, which is defult context at this stage.



  • Switch to the Karbon context with command "kubectl config use-context KarbonPilot4-context"
  • Run kubectl cluster-info and you'll get the address where Kubernetes Master is running


We are pretty much ready to deploy a container on our Nutanix platform. The best way to deploy containers is by having all your code in a yaml file but that is outside of scope for this post.

  • Run "kubectl create deployment nginx --image=nginx" to create deployment
  • Verify with "kubectl get deployments"
  • Get more info on Nginx deployment "kubectl describe deployment nginx"
  • Make the container accessible "kubectl create service nodeport nginx --tcp=80:80"
  • Check if your service was created with "kubectl get svc"


  • Open a browser window. Pick the public IP of any of the master/slaves nodes followed by the port above. 
  • Your container is available


I am hoping to go into a bit more detail about some of the other features that Karbon uses in a future post





Tuesday, 16 April 2019

Creating tag based custom groups in vROPS

vCenter tags are a great way of categorizing your VM in vCenter and it will allow you to all kinds of wonderful things on the reporting front. You can search the vCenter inventory based on tags or you could use them with PowerCLI for your reporting needs. Tags also integrate with other VMware products and one of these is vROPS.

One of the things I use tags for is to create custom groups in vROPS. Custom groups will allow me to group all VM in a service and saves me from remembering the VM name and searching the vROPS inventory.

I assume you know how to create vCenter tags but in case you don't here is how you can go about it:


  • Select VM and right click. Select Tags and Custom attributes
  • Click assign tag
  • Click the tag with green plus sign
  • Enter name and select a category. 
  • Select the service and click OK

In vROPS, undertake the following steps

  • Go to Environment > Groups and Applications > Custom Groups
  • Click Green plus sign.
  • Enter name and set policy to environment.
  • Check "Keep group membership up to date"
  • Set object type to vCenter Adapter | Virtual Machine
  • Select Properties and Summary|vSphere Tag. Specify "is" from 3rd dropdown box
  • Select your tag
  • Click OK



You will now notice that your custom group is available which you can use for monitoring purposes and the likes.



If you happen to find that you cannot select your tags in vROPS then ensure that the credentials you use for your collector has read-only permissions at a global level.

Monday, 1 April 2019

Nutanix on Huawei x86 platform

Just recently it was announced that Huawei has been certified as a platform to run the Nutanix AOS software. With this the end user gets yet another platform to choose from if they want to run software only. Huawei joins the likes of Dell, Lenovo, HP, Cisco, Fujitsu, Inspur and then some. For those not familiar with software only it really is a bit like how we used to deploy vSphere in the old days.
You buy the software and pick any hardware you like as long as it is on the compatibility list.

It is is still early days in the Huawei\Nutanix relationship and right now only one model had been certified, the 2288 V5 with a 12 LFF disk configuration. This model is suitable for .storage heavy and server virtualization workloads.
Another model, comes with a 25 SFF disk configuration and is suitable for VDI, Exchange and SQL. I imagine that before too long other models will be available.
Huawei uses these models for their own HCI solution and the package is marketed as the Fusioncube 2000.





Software wise you have the same options as you do with OEM solutions. Pick whatever suits your needs; Starter, Pro, Ultimate. In addition you can by the add-on licenses you require.



So how do you go about support when your Huawei Nutanix cluster is up and running? Thanks for asking. Basically you will contact Nutanix support for anything software related and Huawei for anything hardware related. If you are not sure you can just call your trusted Nutanix SRE's.





Why would I consider anything other than NX knowing it has been treating me very well and rarely misses a beat? The main thing is that money is always tight and if I can get a few more nodes for the same price than I really need to look at it. A high level investigation showed me that the Huawei solution was overall cheaper than any other software only solution I looked at and it also came in cheaper than the trusted NX solution. In saying that, a decision should never be made just on cost. As Benjamin Franklin said, the bitterness of poor quality will remain long after the sweetness of low price is forgotten. Does this mean that Huawei (or any other non-oem vendor) is poor quality? Absolutely not!

I was lucky enough to visit Huawei's factories in Shenzen and Chengdu earlier this year and I have to say that I was amazed by what I saw. With an research and development force of 80,000 strong and a reinvestment of 10% of their profits into R&D nothing is going to stop them. Huawei is a freight train coming your way and I don't think it will be stopped.

Am I going to implement Nutanix on Huawei X86? Not at this point but I will keep a very close eye on further developments and who knows, it may happen down the line. For now though, I will stick with NX and here are my reasons why:


  • Support. Never have I experienced the support I get from Nutanix. I don't want to deal with 2 different channels. Some time ago I opened a P1. Probably was more a P2 but hey, I am paying for support so I thought I would test it out. From logging SR to having a webex session going it took 6 minutes. 6 minutes!! That is unprecedented. I want this support across the board.
  • Lifecycle Manager: This tool has come such a long way and it is still getting better with each release. It is one of my favorite features and I am not willing to give it up. I assume  LCM on non-oem will get more parity as times goes by. This is not just an issue on Huawei but on the other vendors too.
  • I love the density I get from the NX series and we are always short on rack space.
  • I cannot extend my existing NX clusters with other platforms and want to limit silos.

These are my thoughts anyway. Have a look at Huawei's technologies if you have the chance, they do it all, or visit China when the opportunity comes up. It was an eye opener for me and left pleasantly surprised.

Monday, 25 June 2018

Repairing a corrupt RPM database on VCSA

The other day I decided to upgrade to my 6.5 U1 VCSA to U2.  After successfully completing the upgrade in my development lab I moved on to one of the production sites. This worked as expected so did not expected any issues with the remaining site. However this was not the case. After clicking the upgrade button I got a message stating that the "VAMI Upgrade Staging Failed".

Working with VMware support we came to the conclusion that the VCSA's RPM database got corrupted somehow.



To solve the problem I took the following steps:

  • Snapshot the appliance
  • Take backup of all the __db files on /var/rpm
  • rm /var/lib/rpm/__db to remove the db files
  • rpm -qa, this will ideally recreate the database

After executing the above run the rpm -qa | grep -i rpm command again




This allowed me to run the upgrade process successfully from the VAMI interface

Thursday, 24 May 2018

Resuming a failed one click hypervisor upgrade


I am a huge fan of the one click functionality in PRISM and things are getting even better as Lifecycle Manager progresses. One of the options you have with one click is to upgrade your hypervisor and I tend to use this instead of VMware's Update Manager. Just a few days ago I was updating another cluster and to my surprise it failed after upgrading first node successfully.





After a bit of investigation it turned out the UVM could not migrate and this was all due to a misconfigured VMotion interface. So how do you resume the process after fixing said VMotion issue? Pretty simple actually. Log into CVM and issue allssh 'genesis restart' command.
Log out of PRISM and back in again and the process will happily continue


Tuesday, 13 March 2018

Removing nodes from a Nutanix cluster and add them to another one


Like most of us who use Nutanix we started off small. Today we have 60+ nodes across several clusters. One of these clusters houses production and development workloads. This has served us well but as the environment continues to grow I want to separate the cluster in a dedicated cluster for production and another one for development. Also, it will give me the opportunity to re-ip the cluster easily, which is a requirement that the security team has tasked me with. Furthermore it will allow me to settle on a certain model node and minimize having a mixture of different nodes.

The current cluster exists out of 19 nodes. 14 of those are used for development workloads and 5 for production workloads. The outcome is to have 4 nodes as dedicated production cluster. Another 4 are getting on a bit but have plenty of space and will become a dedicated backup cluster at our remote site. And the 11 remaining nodes will be added to another existing but dedicated development cluster.

As with everything Nutanix there should be no disruptions but it still made me somewhat nervous as this particular production workload is the most important system we have. You can only do one node at a time and it can be time consuming.

  1. You cannot place host in maintenance mode as the CVM needs to remain powered on so manually migrate VM to other nodes in cluster
  2. There is a chance that DRS will place VM on the node you are trying to evacuate so you may want to change the setting to manual or partial
  3. Run a NCC check to make all is in order.
You want to unmount the datastore from the node and you will find that the datastore will not unmount. Reason for this is that the datastore is being used a heartbeat datastore. You can just disable HA on the cluster. There are several ways you can do the unmounting of the datastores. I prefer to do it via PRISM.

  • Go to Storage > Table and select the datastore. Click update
  • Select Mount/Unmount on the following ESX hosts and deselect host in question.



  • Click OK when prompted.
Now the datastores are unmounted you can proceed with removing the nodes from the cluster

  • Go to Hardware > Table and select your host.Click remove host.
  • Click OK when prompted



  • The removal process will start and you can follow progress under tasks. This is a time consuming process.



  • Once the process is complete you should see a decrease in available dataspace and the host will be no longer visible.
Before we add the node to the new cluster we want to remove it from the virtual distributed switch (assuming you used one) and remove host from vCenter.

Expanding the cluster is fairly easy through PRISM but I ran into a few issues so to speak. This was due to the fact that I had to re-ip the node while adding it to cluster.

  • Before starting the process set the ESXi root password to the default nutanix/4u password
  • In my case I assigned the new IP to the ESXi host as well as the IPMI interface
  • Under the gear icon click expand cluster. The node you have removed previously should be discovered.



  • Scroll down and enter new IP




    Note: At this point I ran into an error but that was fixed by a 'genesis restart' and start process again. The genesis.out file should give you a good indicator
  • Select the hypervisor needed and expand cluster.



  • The process kicks off and took approx. 60 minutes to complete



  • You should notice on the main PRISM page that you have an extra node and that your storage has increased.
  • Go to Storage > Storage Container. Select the applicable datastores and moun them to new host. You can do this by selecting datastore and clicking the update link. Select mount/unmount on following ESXi hosts and select IP address of new host.
  • Last thing to do on the Nutanix cluster is to update licensing. On the original cluster, go to the gear icon > Licensing. Click Update license and generate cluster summary file
  • In the portal select the cluster UUID and click on actions button. Click reclaim and upload summary file and click generate.
  • Go back to original cluster and upload the newly generated license file.
  • On the cluster where you added node, click on the licensing violation banner at top and update license. Generate license and go to support portal once again. Select the correct cluster and choose add node under actions.
  • Upload the cluster summary file and generate a new license file. On the cluster apply the new license
And that is it! You can now add your node to vCenter and configure as required





Thursday, 27 April 2017

Create and deploy AHV images

In this post I will explain how to make an AHV image, or template, that you can use for future deployments of VM on your AHV cluster. The first thing I will do is upload some ISO files so we can use them to build our VM.
  • Log into PRISM and select Image Configuration under the gear icon
  • Click upload image

  • Enter a name and annotation
  • Set Disk Type to iso
  • Select a destination datastore and select ISO file


  • Click Save and the upload procedure will start
  • Click close on the confirmation window
  • Repeat for other ISO
In this example we will be building a Windows 2012 R2 VM. The first thing you will need to do is download the VirtIO driver from the Nutanix portal. Once this has been done you will need to upload it to the Image Configuration as explained above. Without this driver you will not be able to install your Windows OS.
  • Go Home > VM > Create VM
  • Assign  a name as well as your desired compute details

  • Select the CD Rom and click the pencil icon
  • Set operation to "Clone from Image Service" and select the image you created previously

  • Add a second CD Rom and assign the VirtIO iso to it

  • Next we add another disk and this one is for the purpose of our VM's system disk
  • Set operation to "Allocate on container". Specify desired container and size

  • Last thing you will need to when creating a VM is adding a NIC. Click "Add new NIC" button. Assign it to correct VLAN


At this point we are ready to install the operating system. Power on the VM and follow the Windows screen prompts until you reach the screen for where to install Windows
  • Click Load Driver

  • Browse to the mounted virtio iso and select the folder for your OS
  • Select the drivers to install

  • You can now select the disk you added during VM creation process

  • Complete the Windows install
Now you can customize the windows install to your liking. I recommend you snapshot your VM before starting sysprep as this makes it easy to revert your changes.

  • From the command prompt in the C:\Windows\System32\Sysprep directory run the 'sysprep /generalize /shutdown /oobe' command. This will start the sysprep process.

  • The VM will shutdown once the process is complete.
You now have an image that you can clone or import in the image configuration so you can use it for future deployment of VM.

The image configuration does not allow for a VM to be imported through its GUI but you can do so via the acli
  • SSH into one of your CVM and go to acli interface. Enter the vm namespace
  • Retrieve the listing of your VM with vm.list command
  • Retrieve disk information from your vm with vm.disk_get <vmname>

  • To create an image we will be using the image.create command from the acli interface. You will need to specify the vmdisk_uid you retrieved above
  • Run the command  image.create "Template Windows2012 R2" clone_from_vmdisk=a74820ad-209d-4cee-8001-555bc1ab3647 image_type=kDiskImage
  • Run image.list and you should image listed.
  • In PRISM you can see that the image is listed in the Image Configuration GUI

  • Now when we deploy a new VM we will need to add a disk and specify to clone from image service and pick our new image

  • Configure the rest of the settings, such as network, to your liking
  • Enable the custom script checkbox and enter your sysprep script. I am not going into detail here about sysprep scripts but you can quickly generate one, as I did for this exercise, with the Windows Answer File Generator website


  • Power on your VM and launch its console.
  • All going well your VM should be customized according to your script.
If you are looking to clone VM rather than using image configuration you follow a similar process.
  • Select the VM you want to clone
  • Click on the clone link
  • Specify the amount of clones you want and a name. The other fields will be populated with the details of the machine you are cloning.

  • You can re-use the sysprep script again if you desire and click save
  • The process will start and in no time you will have your clones deployed

In a future post I will be re-utilizing my image for deployment with the Nutanix Self Service Portal