Apr 17

Problem reading mime attachment in vRealize Orchestrator

A few days ago i had to create a vRealize Orchestrator (vRO) formerly known as vCenter Orchestrator (vCO) workflow that reads a file. For that you can use the MimeAttachement type.

Screen Shot 2015-04-17 at 12.51.27

What i didn’t know was that once you read the file its content will be cached internally in vRO and since i need to run the vRO workflow automatically once a day via the vRO scheduler this was not going to work. Thanks to Joerg Lew for sharing  (in my case) really critical piece of information.

It did work if i:

  • Edit the workflow
  • Click the Value link in the Attribute section, in this case the “vcoinput.csv (application/octet-stream) link”Screen Shot 2015-04-17 at 12.47.33
  • Select the file, vcoinput.csv, again
    Screen Shot 2015-04-17 at 12.48.05
  • Start the workflow.

I got the recommendation, via the following VMware Communities thread, to create a new mime.attachment variable in a scriptable task instead of using an predefined attribute. The below java script code makes it possible to read the same file over and over again and fetch any new content since the last time the file was read.

  • var InputFile = new MimeAttachment(“c:\\scripts\\vcoinput.csv”);
  • var Users = InputFile.content;
  • var user = Users.split(“,”);

To make it possible for vRO to read a local file, in this case placed in the directory c:\scripts on a Windows 2012 Server running vRO/vCO 5.5.2, you have to add the below line to your js-io-rights.conf configuration file located in the directory C:\Program Files\VMware\Orchestrator\app-server\conf

  • +r c:/scripts/vcoinput.csv (actually i only added c:\scripts since i had to later read other files in the same directory)

After you edit the file, make sure to restart the vRO service. Also thank you to VMware community member iliac.


Apr 15

My first company podcast

Must be a first time for everything, right? Last week was my first time i participated in a company lead podcast recording and yesterday it was released. The topic that we covered was automation and orchestration with focus on Nutanix, vRealize Automation (vRA) formerly known as vCloud Automation Center (vCAC), vRealize Orchestrator (vRO) formerly known as vCenter Orchestrator (vCO) and operational procedures.

The podcast was hosted by:

Click the below figure and listen the 28 minutes and see what you think. If you got time, please provide feedback via either the blog post comment or by contacting the podcast hosts here:

Screen Shot 2015-04-14 at 19.21.22












The Nutanix vRealize Automation reference architecture on Nutanix mention in the podcast can be downloaded here and additional Nutanix Podcasts can be found here.

Apr 08

BlueMedora – a new vcdx56 sponsor

I’m happy to announce that Blue Medora has decided to become a vcdx56 blog sponsor. Blue Medora was founded back in 2013 and they operate in the analytics & monitoring space with focus on the development and distribution of product extensions for IBM Tivoli Monitoring (ITM), Oracle Enterprise Manager (OEM), and VMware vCenter Operations (vC Ops)

Screen Shot 2015-04-08 at 10.17.58

 Below is a list of some of the products deliveed by Blue Medora:

  • vC Ops
    • vCenter Operations Management Pack for Oracle Enterprise Manager
    • vCenter Operations Management Pack for SAP HANA
    • vCenter Operations Management Pack for IBM Tivoli Monitoring
    • vRealize Operations Management Pack for Citrix XenDesktop
  • EM Products
    • Oracle Enterprise Manager Plugin for PostgreSQL
    • Oracle Enterprise Manager Plugin for VMware
    • Enterprise Manager Plugin for VMware – Life Cycle Management Edition

To get a complete list of BleuMedora products and also request trial licenses, visit their product page found here.

Apr 08

Heads up! Critical Security Patches released by VMware

I know it’s a few days late but i wanted to make a short blog post about this anyway. 2015-04-02 VMware released a security advisory (VMSA). The VMSA addresses the critical vulnerability in JRE which is used in many VMware products.

Some of the affected products includes

  • Horizon View 6.x or 5.x
  • Horizon Workspace Portal Server  2.1 or 2.0
  • vCenter Operations Manager 5.8.x or 5.7.x
  • vCloud Automation Center 6.0.1
  • vSphere Replication prior to or
  • vRealize Automation 6.2.x or 6.1.x
  • vRealize Code Stream 1.1 or 1.0
  • vRealize Hyperic 5.8.x, 5.7.x or 5.0.x
  • vSphere AppHA Prior to 1.1.x
  • vRealize Business Standard prior to 1.1.x or 1.0.x
  • NSX for Multi-Hypervisor  prior to 4.2.4
  • vRealize Configuration Manager 5.7.x or 5.6.x
  • vRealize Infrastructure 5.8, 5.7

Some of the affected products have patche(es) available but in many cases the patch(es) are pending so make sure to monitor the VMware download site for additional patches in the near future.

The VMware Security Advisory is available here

Apr 03

Top vBlog 2015 results are out

A few weeks back the yearly top vBlog voting hosted by Eric Siebert at vSphere-land and sponsored by Infinio started and this Tuesday, (March 31) the results were announced during a live session which you can watch here in case you missed it.   Simon Seagrave, John Troyer  and Scott Davis partivipaded in the live session were the top 25 spots were announced.


Last year, read my blog post here, my blog was voted #18 and this year it was voted as #17.

It’s a real honor that you my readers finds my blog valuable and include it in your voting. This for sure will keep up my motivation and continue blogging.

There were over 411 blog included in the voting and over 2 200 votes and bloggers who make the top 25 also gets a really cool coin. Bloggers who make the top 10 will get a gold coin, 11-25 a silver coin and 26-50 a copper coin.

The complete top vBlog voting results can be found vSphere-land.


Apr 01

vCenter Orchestrator workflow search result not complete


Today i ran into a situation i have not seen in the past. I was using the vCenter Orchestrator (vCO) version 5.5.2 and the vCO plugin vCenter Orchestrator Plugin for Horizon View version 1.1 which can be found here

When configuring the connection between vCO and Horizon View you need to run the workflow “Add Delegated Administrator Configuration”.

Screen Shot 2015-04-01 at 19.54.15

When i clicked the link “Not set” in the Delegated Administrator User name check box i get to search for users against the LDAP source i’m connected to. In my case a Windows 2012 R2 based Active Directory.

Screen Shot 2015-04-01 at 20.07.45

When typing first part of the user name i only got 20 results displayed but i was expecting 65 and the userid i wanted to select was not included in the result pane. There was no way to show the remaining users either.

Screen Shot 2015-04-01 at 19.54.05

I could of course have searched for the specific user id in the above example but in the real world example i had to search for a surname in an active directory with about 50 000 users and at least 75 had the same surname. The search result came back empty when trying to narrow down the search by using the following formats:

  • Surname, First name
  • Surname First name
  • First name

I tried another workflow, the “Add a user to a user group” to verify if i got the same behaviour.

Screen Shot 2015-04-01 at 20.19.27

As you can see i found 65 users in this search.

Screen Shot 2015-04-01 at 20.22.35

After some investigation i found out that the this behaviour could be controlled in the User Preference settings.

Screen Shot 2015-04-01 at 20.25.42

Change the “Finder maximum size” from its default value of 20 to a value of your choice, in my case 100.

Screen Shot 2015-04-01 at 20.25.54

Screen Shot 2015-04-01 at 20.26.19


When running the “Add Delegated Administrator Configuration” once more all my 65 active directory based users were included in the search.

Screen Shot 2015-04-01 at 20.35.53

Mar 24

Storage vMotion fails with error Already disconnected

This blog post applies to vCenter Server version 5.5. U2d and ESXi server version 5.5 U2a.

A few days back i got involved in a virtual machine migration (VM) issue. The VMs were suppose to be migrated from one vSphere cluster to another without any chance of mounting one of the vSphere clusters datastore(s) to the other vSphere cluster. The VM(s) couldn’t be powered off during the migration so the option we had was using the Migrate option from the vSphere Web Client and select “Change both host and datastore”:

Screen Shot 2015-03-24 at 20.28.51

We had to move about 10 VMs and 6 of them completed without any errors but for the additional 4 VMs the process was interrupted randomly. The same VM could be running for either 10 minutes or 2 hours meaning it could fail for any of its VMDKs. VMs with only 1 VMDK failed as well. When changing both host and datastore one VMDK is migrated at the time and not several VMDKs at the same time as when you just change datastore and not host.

The error we got was:

  • Status
    • A general system error occurred:Migration to host <x.x.x.x> failed with error Already disconnected (0xbad002e)
  • Detail
    • Migrating the active state of virtual machine


The initial investigation included:

  • IP information for all vMotion interfaces including
    • IP Addresses
    • Subnet masks
    • Gateway
  • Network connectivity between all potential hosts
  • Limited the migration process to specific sender and receiver ESXi hosts
  • VM vmware.log file in the VM home directory
  • vmkernel log file on both sender and receiver ESXi host.
  • ESXi hosts for dropped packages using esxtop during the migration process
  • Network switches for dropped packages
  • Spanning Tree configuration, which was actually not in use but on our list of things to go through.
  • Verifying latest NIC driver was used by running the following command:
    •  esxcli software vib list | grep -i ixgbe
      Screen Shot 2015-03-24 at 20.53.15

What got us on the right track was checking for errors on the ESXi host network adapters using the following command:

  • ethtool -S vmnic0 | grep -i error
    • The command gave us quite a lot  “rx_missed_errors”

When i have seen this before it has been related to “Flow Control” not being turned on. When the networking team turned on Flow Control on the switches the rx_missed_errors counter did not increase and the Storage vMotion processes completed successfully on the first attempt.

Mar 17

Nutanix Platform Expert (NPX)

This is really awesome, today Nutanix has released the enterprise computing certification Nutanix Platform Expert (NPX).  Since the certification is released by Nutanix it will off course require that each candidate completely master the Nutanix web-scale hyper converged infrastructure (HCI) concept and products. What will make NPX absolutely outstanding, and is a huge differentiator compared to other high level certificates, is that it covers both a specific area/concept/product (Nutanix) and several other areas as well including but not limited to e.g:

  • Analyze business needs
  • Application implementation/layout on HCI
  • Incorporate new operational models into Nutanix solutions
  • HCI Infrastructure design/implementation/operation
  • Multi Hypervisor expert skills (2 of the below 3):
    • KVM
    • Microsoft Hyper-V
    • VMware ESXi
  • Transition of existing 3 tier architecture to HCI


There are no requirements for participating in the NPX program apart from being a Nutanix Platform Professional. However, the following figure gives you an idea of the recommended skills before joining the program. Let’s assume you want to create a design using vSphere and also be tested on Microsoft Hyper-V you should at least have the skills compared to VCDX (DCV, DT or Cloud) and e.g. MCSE Private Cloud.

Screen Shot 2015-03-17 at 16.20.42

The entire NPX process consists of several steps including:

  • Written exams
  • A web-scale based design
  • Hands-on labs
  • Design exercise
  • Live peer review

Nutanix will sponsor two NPX Design Review sessions in in 2015. Both sessions will be held at Nutanix Corporate Headquarters located at 1740 Technology Drive, Suite 150, San Jose, CA 95110

  • September 14-18
  • December 7-11

To participate in the program, register your interest via the Nutanix nu.school NPX Program Homepage, NPX Program Forum or contact the NPX program manager Mark Brunstad at npx@Nutanix.com.

Just one more important thing. This certification is free of charge,


Mar 13

vRealize Automation 6.2.1 released

A new version of the vRealize Automation (vRA) formerly known as vCloud Automation Center (vCAC) software was released yesterday, actually the same day as when vSphere 6.0 was released.

Based on that and the fact that is just a minor release i can unedrstand it didn’t got that much attention.

However, there are one really good thing with this release and that is that the secure remote console capabilities for machines provisioned with vSphere are implemented (back in a secure way) in this release by means of WebMKS (HTML 5 console) through a console proxy.

This feature requires ESXi 5.1 or later to be used.

The vRA 6.2.1 release notes can be found here and you can download the vRA 6.2.1 software here.

Mar 13

Two years as a blogger

Today, March 13 2015, i have been a blogger for two years. During my first year as a blogger i posted 113 blog posts and the last year i followed up with 116 blog posts meaning a total of 229 blog posts. As i mention in my one year as a blogger summary, which you can find here, the numbers are more than i expected. I’m still targeting one blog post per week.

During this year a lot of fun stuff have happened:

  • I have start working for Nutanix.
  • My blog was voted #18 in the yearly vBlog top voting. See separate blog post here.
  • My blog was voted #1 in the year vBlog top voting in the category “New blog”. See separate blog post here.
  • I have been awarded the vExpert title for 2015.

The number of unique blog visitors per day are increasing, slowly but still.

Obviously a lot of my work has been related to Nutanix which have reflected my blogging and it seems like there is a lot of interest around our software and i can understand why:)
I have continued to work a lot with vRealize Automation (vRA) formerly known as vCloud Automation Center (vCAC) and I’m also picking up on vRealize Orchestration (vRO) formerly known as vCenter Orchestrator (vCO) and not to forget KVM. So expect a lot more blog posts in these three areas.

Finally, a huge thank you to all of you reading my blog, creating blog posts comments, link your blog posts to my blog posts, retweet my tweets, mention my blog posts on twitter, giving me linkedin likes.


Older posts «