vCO – Configure vMotion with Virtual Distributed Virtual Switch

Here is some code how to configure the vMotion address with a distributed virtual switch. Input parameter are my host and dvSwitch. I go through all portgroups and compare if it is called vmotion. If so I set IP and subnet. Hard coded so it is easier to understand, you probably want this also asContinue reading “vCO – Configure vMotion with Virtual Distributed Virtual Switch”

Rate this:

vCO – Configure ESXi Syslog Server and more

In this example I configure some advanced setting on an ESXi host. Syslog server is just one of the. First I create a for loop to create my hostSetting array objects. Then late I fill them. Always the key and a value. You can check the ESXi host advanced setting in GUI for parameters. YouContinue reading “vCO – Configure ESXi Syslog Server and more”

Rate this:

vCO – Configure NTP on ESX

In this example I set the NTP Server and then check if the NTP Service is running. If not I start it. //myhost is input parameter of type VcHostSystem //ntpServer is input parameter of type String[] (string array) var hostDateTimeConfig = new VcHostDateTimeConfig(); hostDateTimeConfig.ntpConfig = new VcHostNtpConfig(); hostDateTimeConfig.ntpConfig.server = ntpServer; //Set the ntp servers myhost.configManager.dateTimeSystem.updateDateTimeConfig(hostDateTimeConfig);Continue reading “vCO – Configure NTP on ESX”

Rate this:

vCO – Send email attachment

There are maybe times when you want to send an email attachment. A csv file for example. It is actually quit easy to achieve. Just create a duplicate of the existing workflow “Send notification” and add a few lines. Add following lines: attachmentName is an input parameter of the type string with the file nameContinue reading “vCO – Send email attachment”

Rate this:

vCO getting started – Videos from VMwareTV

VMware has published some demo videos on how to develop vCenter Orchestrator (vCO) workflows. The first time I ever worked with vCO before I actually were clueless on what to do with it. In case you feel the same way right now these three youtube videos might give you a good start. Developing Your FirstContinue reading “vCO getting started – Videos from VMwareTV”

Rate this:

vCO – Another way of getting Distributed Virtual Switches

Well this is my very first blog ever.  Actually  this is a reply to a blog on the mighty virtualization blog from  Christian Johannsen on http://mighty-virtualization.blogspot.com/2011/01/vco-get-all-distributed-virtual.html Blogspot for some reason did not let me post this code as a reply but I thought I do not want to leave my talent wasted (cough!) and post it asContinue reading “vCO – Another way of getting Distributed Virtual Switches”

Rate this: