Quantcast
Channel: VMware Communities : All Content - vRealize Orchestrator
Viewing all 10285 articles
Browse latest View live

Workflow or action to get the vRO version

$
0
0

Whats the best way to determine the vRO servers version number... I am trying to account for differences in how things are running between 6 and 7.  I found this example from burke but it is not working on version 7

 

var vROIP = Config.getNetworkInterfaces().getBindInterface();

var vROPort = Config.getNetworkInterfaces().getBindPort();

var getUrl = "https://"+vROIP+":"+vROPort+"/vco/api/about";

 

 

//get url

var urlObject = new URL(getUrl);

var aboutResult = urlObject.getContent() ;

 

 

// parse results

System.debug(aboutResult);

System.debug("============");

var aboutObj = JSON.parse(aboutResult);

System.debug("Version: "+aboutObj["version"]);

var version = aboutObj["version"];

System.debug("Build Number: "+aboutObj["build-number"]);

var build = aboutObj["build-number"];

System.debug("Build Date: "+aboutObj["build-date"]);

System.debug("API Version: "+aboutObj["api-version"]);

 

There does not seem to be a Config.getNetworkInterfaces method in 7.2


Unable to create Object

$
0
0

Hi,

i am writing a workflow, about checking some facts, so now i found the option "CheckAlarmsEnabled", result is true or false. But when i want to create an object, to enable the alarms for the hostsystem i get this error:

 

Info:

in_name_host = vchostsystem

 

 

test = new VcAlarmManager();
test.EnableAlarmActions(in_name_host,true);

 

 Unable to create object : VcAlarmManager : com.vmware.vmo.plugin.vi4.model.VimAlarmManager
[2017-01-30 16:07:42.213] [E] Workflow execution stack:
***
item: 'Alert/item7', state: 'failed', business state: 'null', exception: 'Unable to create object : VcAlarmManager :

 

 

Thanks for help

get vcenter name or ip from vc:clustercomputeresource or vc:virtualmachine or vc:hostsystems

$
0
0

Simple but i haven't found documentation on how to obtain the vcenter fqdn or IP from input of cluster/vm/vmhost

 

many thanks

Rename User Interaction in a Workflow

$
0
0

Hi,

I created a workflow for increase vCPU of a virtual machine and therefor I need an user interaction.

In vSphere Web Client - Waiting for user Interaction - every Interaction from a special workflow is shown with the same name. If there exists a lot of interactions it is difficult to differ between them.

It would be nice if the name looks like: Workflowname:VMName

Is it possible to modify that in a way?

 

Thanks very much in advance.

How can I create a dynamic form by manipulating text fields?

$
0
0

Hey fellow members,

 

I would like to pick your brain on something, I’m trying to generate a dynamic form by adding more text field whenever a user clicks on + or -. However, I’m not doing it right or I’m limited since I can’t manipulate DOM objects or insert pictures in vRO . Thus, the only approach I have is to predefine a couple of text field and yes/no radio buttons and keep them hidden minus one of course. After that, whenever a user clicks on the shown yes/no radio button a new text field pops up with a new yes/no radio button. My question is as follows how can I get the current value of the radio button? I need to hide the previous radio button and keep only the new one. Moreover, is there a better way to do the whole thing?

 

Thanks….

Error when creating new virtual machine

$
0
0

Hi,

 

I have upgraded my Orchestrator from version 5.5 to 7.1

When I try to deploy a new virtual machine from template with workflow named: Clone virtual machine, no customization I receive the following error:

The object has already been deleted or has not been completely created (Dynamic Script Module name: cloneVM#17)

 

When I try to deploy manually from the vCenter there is no error.

 

Any idea?

Problem converting vCenter object to VumVIInventory

$
0
0

I am attempting to execute the follow code within an action, and receiving the error below. The error suggests that VumVIInventory.id doesn't exist, but the API documentation says differently. Does anybody have any suggestions?

 

Code:

****Note**** This action takes the input of a VcHostSystem(variable named inputHostSystem)

// create the new VUM Inventory object and assign values.
// first define a new instance of the object, pointing to the vCenter Server of the host
var vumItem = new VumVIInventory(inputHostSystem.sdkConnection.name);
System.log(inputHostSystem.sdkConnection.name);
System.log(inputHostSystem.reference.value);
System.log(inputHostSystem.vimType);
System.log(inputHostSystem.name);

// get the Managed Object Reference
vumItem.id = inputHostSystem.reference.value;

// get the Managed Object Type
vumItem.type = inputHostSystem.vimType;
// get the ESXi Host name
vumItem.name = inputHostSystem.name;

// the VUMVIInventory object must be an array, so create a dummy one and push the host value in
var vumHosts = [];
vumHosts.push(vumItem);

// return the array of VUM objects (even if it is just one)
return vumHosts;

 

 

 

Error Message:

[2017-02-07 07:47:35.352] [E] (<REMOVED>/findVUMobjectfromvCenter) Property or method 'id' not found on object VumVIInventory
[2017-02-07 07:47:35.362] [E] Workflow execution stack:
***
item: 'Patch host with vUM/item3', state: 'failed', business state: 'null', exception: 'Property or method 'id' not found on object VumVIInventory'
workflow: 'Patch host with vUM' (fb97061b-cdb9-487f-b915-bbe897105ca4)
|  'attribute': name=serverURI type=string value=
|  'attribute': name=entities type=Array/VUM:VIInventory value=null
|  'attribute': name=baselines type=Array/VUM:Baseline value=__NULL__
|  'attribute': name=excludedPatches type=Array/VUM:PatchInfo value=null
|  'attribute': name=autoAcceptEULA type=boolean value=true
|  'input': name=inputHostSystem type=VC:HostSystem value=<REMOVED>'
|  'no outputs'
*** End of execution stack.

Embedded vro plugins vs external vro plugins

$
0
0

Hi,

What is the reason for some plugins missing from the external vro appliance as compared to the embedded vro version?

I am using the external vro w/ vRA, do I just download the plugins from the embedded vro and load them into the external vro?

 

thanks


vRA show vRO workflow result

$
0
0

Hello,

I would like to create a workflow with an option to return result from my script.

I'm using vRA blueprints to execute workflows.

what should be configured on vRO workflow side so vRA blueprint will show the System.log result from vRO workflow?

I guess the vRA blueprint side should have some kind of label controller, but how it should be configured on vRO side so I can map the result from System.log to the controller?

because

 

Regards,

Same vRO server for different vCenters/SSO domains?

$
0
0

Hi,

 

Newbie to vRO here...

 

At the moment, we have several different vCenters in different SSO domains, is it possible to use the same vRO server for all of them, or do they need one each?

 

/Andreas

Getting an evaluation copy of orchestrator

$
0
0

My company is looking to evaluate Orchestrator for a project. However, when I try to download it from the orchestrator page http://www.vmware.com/products/vrealize-orchestrator.html
and login with my vmware account I cannot download VMware vRealize Orchestrator Appliance 7.2.0 OVA File. It is greyed out for me. Am I missing a step to get access to the OVA?

Design Question

$
0
0

Hey guys,

 

Is this something that is possible to do? Or is this a limitation of something i will have to work around or might be considered another product like vRA?

 

Background:

I have to maintain multiple datacenters with different domains and settings. The goal is to have a separate workflow for each site until a global setting can be established that does everything consistent that I would like, so for the time being i am just going to mimic what a VM creation takes to do.

 

Question:

I have a workflow that does everything i need for dynamic questions and the deployment of a windows VM for a certain company and location. Now i am trying to expand it to the next group which has its own location and VM settings, so to manage things i would like to break things into workflows (one big one per location). I would like to create a global a workflow that the operations team can just execute that asks certain questions about the domain and location and based on that knowledge than execute the correct workflow to present the dynamic inputs for more detail with. Does anyone know if this is possible?

 

Ex: I would like workflow A to ask:

 

Presentation:

VM Name

Domain

OS

 

If Domain & OS  = TestA & Windows than execute workflow TestA-OSWin - (User gets prompted with new presentation workflow creation).

 

I tried something like User Interaction in the vRO client and it does what i would like but when i execute the plugin from vCenter it will never give me a user interaction without having to manually answer each question on clicking the workflow.

 

Has anyone ever tried this? I poked around for answers but seem to be having a brain fart.

 

I am using the latest version of vRO.

Thanks for the help!

Disable vNIC

$
0
0

Hi,

 

Has anyone found a easy way to disable/enable a vNIC through Orachestrator?

 

Thx

Technical Preview Version of VMware vRealize Orchestrator Plug-In for VMware Update Manager 6.5

$
0
0

Version 6.5.5043263

  •     This version is compatible with VMware vRealize Orchestrator 7.2
  •     Added support for vSphere Update Manager 6.5
  •     minor defect fixes

Storage vMotion with vRO

$
0
0

I'd like to storage vmotion a bunch of VMs with vRO.

If I use PowerCLI, there is no logic built in to stop one vm from storage vmotioning until the previous VM completes.

 

If I use vRO, will it wait to storage vMotion another VM until the VM before it completes?  Or will it start doing storage vmotions in parallel like it does by default in PowerCLI?


Export Workflows and Actions in UTF-8

$
0
0

Hi:

 

We would like to bring our vRealize Orchestrator workflows and actions written in-house to our local Git server. I haven't seen a plug-in to allow us to save these directly to our GIt instance, so an alternate plan is to:

- Export each workflow/action to a git-controlled directory tree

- Use a pre-commit hook to unzip each exported file (as they are just zip archives after all) into its own directory, then add each of those directories to the repository

 

The pre-commit script actually works great, however I see the files extracted from each .action or .workflow file are in UTF-16 format, which Git does not handle well. Is there a vRealize Orchestrator configuration item where I can tell it to export its data in UTF-8 instead? As an alternative, is there a way to tie vRO into a Git server?

 

Thanks in advance.

Dean Powell

Edmonton, Canada

customize and sysprep workflow, how to have windows default to non-english

$
0
0

I have Windows vms with two language packs installed (english and a second language). Currently when I use the vRO customize and sysprep workflow (I copied it and make a couple small tweaks) and everything is working fine and it defaults the OS to English.

 

Is there a way to change the answer file that vRO provides so it defaults to the other language installed in my template?

 

I found a sysprep.inf file under Resources > Library > vCenter but I can't figure out how this is called. I'm guessing I can import a new copy and adjust the language code in there and then adjust my workflow but can't figure out how.

 

Anyone know?

 

Thanks

Can't change lease of deployment to period more that blueprint

$
0
0

Hello.

 

Product:

vRealize automation version 7.2.0 (build 4659752).

 

Problem:

I request a deployment with machine with  "Lease days = 90". After 1 month of using it, I want to change lease to 1 year, but can't do it in one step (change date from 1.1.2017 to 1.1.2018)

Workaround: I need change lease 4 times  (1.1.2017 -> 1.4.2017 -> 1.7.2017 -> 1.11. 2017 -> 1.1.2018)

4 steps, because 90 days period is a default lease date for this deployment.

On previous deployed vRa Automation, I didn't have these problems, I could change lease to any period.

 

Could you answer me, this is "bug" or "feature" of vRa 7.2 ?

How to edit IPAM plugin in vRO 7.1

$
0
0

How can I edit the current IPAM plugin connection (or add a new connection to IPAM plugin connection) in vRO 7.1?

There is no option to edit it even in vco-controlcenter!

In vRO itself, when selecting configuration -> edit then i can edit/delete/add new IPAM connection. But my IPAM server is not reachable!

 

The following is quite useful step by step guide, however i could not find an answer to my question in it as I am using IPAM Plugin 3.2.1 rather than 4!


Configuring Infoblox IPAM plug-in 4.0 with vRealize Automation 7.1 - YouTube

 

I think I should try to run "Install vRO customization wrapper" IPAM Plugin 3.2.1 that I guess is equivalent of "Setup Wizard" workflow in IPAM Plugin 4.

MachineUnprovision --exception thrown but still machine is destroyed

$
0
0

Hi All,

 

A MachineUnprovision state change workflow is attached to a buleprint. When a vm is destroyed from the VRA portal, the workflow gets executed. But an exception thrown in the workflow. I was expecting  destroy action to fail but it continued and destroyed the VM. Is this expected behavior? If so how to prevent it from continue destroy action.

 

Thanks

Viewing all 10285 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>