DefinIT

  • VMware
    • NSX
    • vRealize Automation
    • vRealize Orchestrator
    • vSphere
    • vSAN
    • vRealize Operations
    • Log Insight
    • PowerCLI
  • Community
    • VMworld
    • Opinion
    • Webinar
    • Career
  • Storage
    • vSAN
  • Networking
    • NSX
  • Authors
    • Simon’s Lab
    • Sam’s Lab
  • GitHub

#vROps 6.7 – Automate all the things..

13/04/2018 by Simon Leave a Comment

There are many improvements, changes and new additions to vROps in version 6.7 but one of the aspects that stands out to me personally is the direction VMware are taking with the product. Aside from the obvious addition of cloud costings and comparisons and a reworked capacity planning (from the ground up) and new hook in to  Wavefront (which I really like) there has been some real effort to improve how you can further automate things from vROps.

The list of OOTB actions has grown a lot.. (a sample below)

Couple this with the vRO Management Pack and you can have some serious proactive and reactive automation taking place based on effective monitoring.

If you were already considering using vROps for automation then perhaps this will tip the balance and if you were in the no camp then perhaps you will reconsider?

Either way 6.7 looks great (loving the dark theme)

You can check out more about the overall changes and improvements in the follow sites.

Release notes – https://docs.vmware.com/en/vRealize-Operations-Manager/6.7/rn/vRealize-Operations-Manager-67.html 

Nice blog summary – https://lukaswinn.net/2018/04/12/welcome-to-vrealize-operations-6-7/ 

 

Filed Under: vRealize Operations, vRealize Orchestrator Tagged With: 6.7, actions, Automation, vro, vrops, wavefront

Alexa, turn on my workload cluster

06/04/2017 by Sam Leave a Comment

Like many other geeks out there, I received an Amazon Echo device this Christmas, and whether it’s a fad or not, I’ve spent a few happy hours setting up my Hue lights and some other automation. The room in the house with the most automation is my office – the novelty may wear off, but walking in each morning and saying “Alexa, turn on my office” and having everything wake up for me is really cool.

I already have a vRealize Orchestrator workflow to shutdown my workload cluster. What I want to do is trigger that by a voice command from Alexa. [Read more…]

Filed Under: Amazon Web Services, Community, VMware, vRealize Automation, vRealize Orchestrator Tagged With: alexa, Automation, ha-bridge, orchestrator, vRA, vro, vsphere

Getting started with vRealize Log Insight 4.3 for vRealize Automation 7

14/03/2017 by Sam Leave a Comment

In this humble consultant’s opinion, Log Insight is one of the most useful tools in the administrator’s tool belt for troubleshooting vRealize Automation. I have lost count of the number of times I’ve been asked to help troubleshoot an issue that, when asked, people don’t know which log they should be looking at. The simple fact is that vRealize Automation has a lot of log files. Correlating these log sources to provide an overall picture is a painful, manual process – unless you have Log Insight!

Installing the Content Packs

In order to get the full picture of what’s going on during a vRA deployment you will likely need to correlate logs from vRA, vRO and NSX. Installing and configuring these is pretty easy.

I am going to assume the vSphere integration has already been configured, and all ESXi hosts are forwarding their logs to Log Insight already. [Read more…]

Filed Under: NSX, VMware, vRealize Automation, vRealize Orchestrator Tagged With: log insight, logging, nsx, vRA, vrealize, vro

vRealize Orchestrator Workflow: shutdownVSANCluster

30/12/2016 by Sam 1 Comment

vRealize OrchestratorMy vSphere lab is split into two halves – a low power management cluster, powered by 3 Intel NUCs, and a more hefty workload cluster powered by a Dell C6100 chassis with 3 nodes. The workload servers are noisy and power hungry so they tend to be powered off when I am not using them, and since they live in my garage, I power them on and off remotely.

To automate the process, I wanted to write an Orchestrator workflow (vRO sits on my management cluster and is therefore always on) that could safely and robustly shut down the workload cluster. There were some design considerations:

  • Something to do with the C6100 IPMI implementation and the ESXi driver does not like being woken from standby mode. It’s annoying, but not the end of the world – I can use impitool to power the hosts on from shutdown. If you want to use host standby, there’s a hostStandby and hostExitStandby workflow in the package on github.
  • I run VSAN on the cluster, so I need to enter maintenance mode without evacuating the data (which would take a long time and be pointless).
  • All the running VMs on the cluster should be shut down before the hosts attempt to go into maintenance mode.
  • I want a “what if” option, to see what the workflow would do if I ran it, without actually executing the shutdown – it’s largely for development purposes, but the power down/power on cycle takes a good half hour and I don’t want to waste time on a typo!

[Read more…]

Filed Under: VMware, vRealize Orchestrator, vSphere Tagged With: Automation, cluster, shutdown, vRealize Orchestrator, vro, VSAN, workflow

Increasing the Java Heap size for vRealize Orchestrator Client (7.x)

16/12/2016 by Sam 1 Comment

vRealize OrchestratorBack in January 2015 I wrote an article on how to modify the Java heap settings for the vCenter Orchestrator client when working with very large workflows. Since vRealize Orchestrator 7.x has been released, we no longer have an installable client, just a Java WebStart file (.jnlp) that you run, or a package that you can download – but nothing that installs.

Note that none of this is official or supported by VMware as far as I know – it’s the results of my experimentation which has shown some performance improvement by increasing the configured memory pool. Use it at your own risk! [Read more…]

Filed Under: VMware, vRealize Orchestrator Tagged With: Java, Java WebStart, memory, vRealize Orchestrator, vro, xmx

Adding a vCloud Air (PAYG/Gen2) instance to vRealize Orchestrator as a vCloud Director host

19/04/2016 by Sam Leave a Comment

vRABig thanks to Jose Luis Gomez for this solution, his response to my tweet was spot on and invaluable!

I’ve been trying to configure vCloud Air as a vCloud Director host in vRealize Orchestrator in order to create some custom resource actions for Day 2 operations in vRealize Automation. What I found was that there’s *very* little information out there on how to do this, and I ended up writing my own custom resource mapping for the virtual machines to VCAC:VirtualMachine objects – at least that way I could add my resource action. But this still didn’t expose the vCloud Director functionality for those machines. To do this I needed vCloud Air added as a vCloud Director host.

As per Jose’s advice, I duplicated the “com.vmware.library.vCloud.Host/addHost” action, named it “addHost_vCA_G2”:

2016-04-19_10-58-00

I then modified the following line to include “/api/compute”:

newHost.url = "https://" + host + ":" + port;

Becomes

newHost.url = "https://" + host + ":" + port + "/api/compute";

I then duplicated the “Add a connection” workflow to create “Add a connection (vCloud Air Gen2)” and swapped the old action for the new action:

2016-04-19_11-00-46

2016-04-19_11-02-31

Now I can add vCloud Air (PAYG/Gen2) as an endpoint in the normal way:

2016-04-19_11-10-02  2016-04-19_11-12-57

The out-of-the-box “IaaS vCD VM” Resource Mapping now works in vRA and I can create custom Resource Actions against the vCloud:VM object type.

Once again, big thanks to Jose for this solution!

@sammcgeown @grantorchard duplicate “Add a connection” WF & duplicate “AddHost” action. Append + “/api/compute” pic.twitter.com/oWXayI3fpT

— Jose Luis Gomez (@pipoe2h) April 19, 2016

Filed Under: VMware, vRealize Automation, vRealize Orchestrator Tagged With: Automation, Hybrid Cloud, vCA, vCHS, vCloud Air, vRA, vRealize Automation, vRealize Orchestrator, vro

What’s in my vRA7 EBS Payloads?

30/03/2016 by Sam 2 Comments

vRAAs I discussed in my previous post, vRA7 Event Broker integration is a big change from previous version of vRA – we no longer receive the same objects that used to be passed from vCAC/vRA to vCO. Instead we receive the mysterious “payload” – a properties object.

I wanted to create a workflow that I could enable to log all of the keys, values and types of the properties object for each stage of the vRA7 MachineProvisioning workflows, and create a reference for myself on the payload for each stage.

To do this I created a new workflow “debugProperties” and added an input variable called “payload”, type Properties. Next I added a single scriptable task and cycled through the properties. Some of the properties’ values are actually other properties objects, so there’s a function to test the type and iterate through if required.

You can download the debugProperties workflow here. [Read more…]

Filed Under: VMware, vRealize Automation, vRealize Orchestrator Tagged With: Automation, EB, ebs, event broker, payload, vco, vRA, vra7

vRealize Automation 7 XaaS blueprint form displays: Failed to retrieve form from provider

16/03/2016 by Sam Leave a Comment

vRAI ran into this issue as described in VMware KB2140539 where requesting an XaaS (vRealize Orchestrator) blueprint fails with:

Failed to retrieve form from provider

The KB describes it occuring when “more than one VMware vRealize Orchestrator instance is configured for different tenants“. The issue I faced is not the same – in my case, I had the system default tenant configured to use the embedded vRO, and the customer tenant configured to use the system default (which would be the embedded vRO!)

 

The article itself does not give a work-around for this issue, but it’s possible to resolve it by editing the customer tenant Orchestrator Server configuration (Administration > vRO Configuration > Server Configuration) to use the external load balanced URL for the appliances (or for a PoC/small deploy with a single appliance, the appliance URL).

2016-03-16_13-30-40.png

Filed Under: VMware, vRealize Automation, vRealize Orchestrator Tagged With: Automation, error, vRA, vro, xaas

vRealize Automation 7 Custom Hostname with Event Broker (EB) Subscription

09/03/2016 by Sam 19 Comments

vRAThe new Event Broker service in vRA7 is one of the most exciting features of this latest release, the possibilities for extensibility are huge. At this point it time you can still use the old method of using workflow stubs to customise machine lifecycle events, but at some point in the future this will be deprecated and the Event Broker will be the only way to extend.

With this in mind, I wanted to use the Event Broker to do something that I am asked on almost every customer engagement – custom hostnames beyond what the Machine Prefixes mechanism can do.

This, as it turns out, Event Broker extensibility is not the simplest to get your head around – there is a very large (>100 page) extensibility document to parse!

For the purposes of this post, I will be using the BuildingMachine lifecycle state. This is because I want to modify the hostname before the VM is built – in much the same way as you would with the old ExternalWFStubs.BuildingMachine method.

One of the key differences between using the old WFStubs method and the new EB method is that it does not pass the same objects, there is no vCAC:Entity or vCAC:VirtualMachine – only a Properties object which holds the request properties. These include any custom properties from the blueprint. [Read more…]

Filed Under: VMware, vRealize Automation, vRealize Orchestrator Tagged With: Automation, EB, event broker, hostname, orchestrator, vRA, vra7

  • 1
  • 2
  • 3
  • Next Page »

Sponsors

VMTurbo - Why pay for monitoring? Vembu - Backup unlimited VMs, free, forever!

Tags

3rd Party Software Active Directory appliance Automation blogengine certificates Certificate Services ESX and ESXi esxi Exchange Exchange Exchange 2010 Hardware lab Networking nsx nsx-t NSX/vCNS opsmgr PowerCLI PowerShell PowerShell Security System Center vcac vCenter Server vco vmug VMUG VMWare vmworld vRA vRealize Automation vRealize Orchestrator vro vrops VSAN vsphere Webinar webinar What's new Windows Windows Server 2003 Windows Server 2008 Windows Vista
Creative Commons Licence
This work is licensed under a Creative Commons Attribution 4.0 International License.

Copyright © 2018 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in