Header Image - Acropolis.Ninja

Kelly Olivier

1 click Self Service Restore? Yes, please.

I got the chance to test this feature out today at the request of a customer. This feature was going to allow them a much simpler configuration in their environment, and also not require Microsoft DPM. Since I hadn’t used the feature myself I decided to take it for a spin. So what is it?

1 Click Self Service Restore allows users to restore their own files. This feature uses Nutanix’s built in Data Protection. It is extremely easy to set up. I set it up in a test environment in minutes. I believe it is a feature of 5.0 or newer.

First step is ensure that your VM has Nutanix Guest Tools enabled. Ensure that the SSR feature is checked.

Once it is enabled you will need to install them. They mount in the cdrom drive. It may even autoplay.

After the installation we need to setup a Protection Domain under Data Protection tab. Configure your PD with the schedule you require.

I created some files that would represent something I deleted and wanted to copy back.

Once the PD is created and it has taken its snap, its time to run the executable for the SSR from within our vm.



Once you launch the executable, you will need to login to the local portal. This is your system credentials, not the Nutanix administrative portal.

After authentication you can see the snaps that belong to this VM. You can click on each individual snap and see the disks associated. Click on any that you wish to restore from and then click Disk Action and Mount. You can then navigate through the Windows Explorer and see the mounted drive.


Now you have access to your file!

Install Cisco ISE on AHV

Upload the cisco ise iso to the image service. This will allow you to mount it to a virtual cdrom.


Now create the vm we will use to install the Cisco ISE. I chose 4 vcpu/16GB RAM, 200GB disk.
Connect the cdrom to the image service and choose the iso we uploaded.

You will need to run the following command to set some right bits.

<acli> vm.update vmnamehere extra_flags=enable_hyperv_clock=false

Now boot the vm and open the console. Choose option 1 to install.



The system will reboot and give the same prompt again. This time just press enter to boot from disk.

Type setup

Enter all the info:


That’s it!


Configure a Network Switch in Prism to show latest network visualization!

With the release of Asterix (AOS 5.0) you can now view very detailed information into your switch. This is great news because the visibility into the physical network layer in AHV was not very detailed before.

Nutanix has supported adding in a network switch config for some time now to be able to view stats in Prism, but it wasn’t until Asterix where you can see such things as AHV host vswitch config, detailed port information and vm to host to port to physical switch mappings.

Getting a switch configured with a basic config to pull into prism is pretty easy. Let’s begin.

Let’s start with the physical switch config. I am using an Arista 7050.


Now lets configure Prism. Click the Network Switch option and let’s add a Switch Configuration.

Click on the gear in Prism and Click “Network Switch.”

Using the basic information from our network config input the SNMP community name as well as the username, and also pull down the correct version. I used v2c. Don’t forget to add your switch management ip address!


Now you can click on the network visualization from the menu.




Have fun playing around with the visibility.

Customize linux guests with AHVs built in cloud-init feature.

The time was finally here.  I have been slammed lately with meeting and installs and meeting new partners.  Today, I had a scheduling cancellation so finally had some time to test out this cloud-init feature.  For those unfamiliar (including me until recently), cloud-init is a “defacto multi-distribution package that handles early initialization of a cloud instance.”  You can read more about the features here.

Anyways, using the feature with regards to AHV (Acropolis Hypervisor) is actually pretty easy.  Basically, on AHV the installation of cloud-init is automated for you.  To use this feature there a few things you must know and knock out first.

  1.  Configure your linux master template the way you want.  I installed a new Centos 6.5 one from iso.  Configure the root passwd, and also delete the persistent rules in /etc/udev/rules.d/persistent-rules-net.rules.
  2. Install the cloud-init package. “yum install cloud-init”
  3. You will also need a cloud-init config file for when we provision the new server vm.  You can create your own file, but I will show you the quick generator I wrote.
  4. Create your own file or generate one with the generator.  You will need to vi the file first and set your envirnment specifics such as domain name and username, etc.
  5. Screenshot 2016-06-03 18.37.44
  6. Run the cloud-init-generator by typing ./cloud-init-generator
  7. It will ask you for the hostname.  Specify it.  Boom, now you have a file with the same name:
  8. Screenshot 2016-06-03 18.40.20
  9. Now assuming you are using AHV’s built in IPAM with managed networks you don’t have to worry about specifying IP address information.  IP will be set for the life of the VM.  Let’s now create the new VM.  High light your existing template and choose “Clone.”
  10. Screenshot 2016-06-03 18.29.40
  11. Now lets scroll to the bottom and upload the file we just created.
  12. Screenshot 2016-06-03 18.41.58
  13. That’s it!  We now have a system that has the hostname set, nutanix user created on the network thanks to our managed network.