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

Dynamic Dropdown Values (SQL Query)

$
0
0

Here's the dilemma...

 

I want to use a SQL query to populate a set of dropdown menu items, but everything I read discusses a select statement with a single column being returned.

Whats wrong with this is if I do the same thing in a Blueprint I get to provide a descriptive value presented in the dropdown and the actual value, which is the functionality I am looking to use in my vRO workflow.

Anyone know if this is possible? and if so how would I go about it?

I understand that I create an action which performs the query and then push the resultant values in the attribute, but how would I break this out and concat it to provide the values for the presentation and actual value.

 

For example:

 

DataCenter Code:

Presentation:                           Value:

New Jersey, Newark                DC01

New Jersey, Trenton                DC02

New York, White Planes           DC03


Being that the end user isn't going to know the data center designations I want to present the descriptive name to them so they can clearly understand, while what is actually used if what is required (Transparently!)


Running multiple branches of a workflow at the same time?

$
0
0

I'm trying to figure out if this is something I can do. If you are familiar with the service-now workflow engine they have a Branch activity. This activity allows you to split the running leg of the workflow into multiple segments (much like the vco Switch) but it will evaluate all of the options of the input and run each branch simultaneously. Whereas Switch seems to work with a first match only mentality.

 

Here is what is looks like in service-now

branch.JPG

 

As you can see the workflow branches split out and then join back up further down once they are complete. I'm guessing I can get something close to this building up an Array of all the options I need to run and incorporating the Foreach element, but I didn't want to reinvent the wheel if there was a better way to go about it. If you have any suggestions I'd love to hear them

 

Thanks

 

Chris

vcenter has unusable lable through orchestrator client

$
0
0

Hi

I have problem by accessing vcenter through orchestrator client. vcenter has "(unusable) localhost" lable under vcenter plug-in, when I run a workflow and search for example to find a VM to clone or so.

Thanks

Embedded VRO 7.2 Login Failure

$
0
0

Hello All,

 

I'm on this version:

 

I've followed this guide (adding myself to the custom group from the synced domain):

https://www.vcoteam.info/articles/learn-vco/312-how-to-configure-vra-s-embedded-vro-to-allow-domain-account-login.html

 

I simply can't login with username@domain.corp

 

So I followed this guide and found the same error he shows first but none of the solutions seem applicable due to either version or lack of child domains.

Unable to login to vRO with error Invalid Username or Password (SKKB1037) | Spas Kaloferov's Blog

 

I can't reach any solution here. I must be missing a crucial step somewhere.

 

In VRA I've:

 

-Added domain to Directories under directories management

-Synced the directory after adding an AD Admin Group

-Given myself basically every permission ( not that I would think it would affect logon)

-Created a custom group and added myself (according to first link)

 

In VRO I've:

 

-Logged into VRO Control Center and added the tenant and admin group (according to first link)

-Restarted Service

-Test Login and get failure.

 

Has anyone had a similar problem and/or can someone point out what I'm missing?

 

Thanks!

vRO Java REST SDK example code

$
0
0

As mentioned in the vRO documentation - Developing a Web Services Client for VMware vRealize Orchestrator - PDF

 

I am trying to get hold of the vRO Java REST SDK example code

https://orchestrator_host:port/vco-repo/com/vmware/o11n/o11n-rest-client/

https://orchestrator_host:port/vco-repo/com/vmware/o11n/o11n-rest-client-examples/

https://orchestrator_host:port/vco-repo/com/vmware/o11n/o11n-rest-client-services/

https://orchestrator_host:port/vco-repo/com/vmware/o11n/o11n-rest-client-stubs/

 

On the vRO 7.2.0 appliance, there are .jar files in the o11n-rest-client-examples. unable to locate the source. Am I doing something wrong?

 

Also checked on the VMware Sample Exchange All Samples - Samples - VMware {code} that has a handful of vRO example codes. However, not much using vRO Java REST SDK.

vRO presentation vs vSphere Web Client presentation

$
0
0

Have a very odd issue here.

 

A workflow i created runs perfectly on the vRO client.

 

The first step has an input that displays as a list and that works very well.

 

the second step is supposed to display a list based on the selection of the first step but it just shows up as a test box. Screen Shot 2017-06-21 at 10.23.16 PM.png

 

on vRO, this is the presentation. Am i doing something wrong here?

 

Screen Shot 2017-06-21 at 10.25.36 PM.png

 

Thanks!

READ THE vRO output

$
0
0

Hi All,

I have writen a workflow where I am invoking the powershell script and I am getting the output of my poweshell script in vRO sucessfully. Now I want to use the VRO output to my next workflow. Could anybody help to that how to grep vRO output and use in next workflow?

Problem passing an array of object between 2 different workflow in vco 7.3 (work in 6.0.0.3)

$
0
0

I'm trying to use the NetApp wfa plugin for vco on a vco 7.3 (vrealize embedded one) and I have problems passing parameters to netapp workflow.

After doing some tests I've saw that the plugin work correctly with a standalone vco 6.0.0.3 and trying to understand what is not working it seems that the problem is that one workflow call another workflow passing an array of object and the called workflow cannot see the "value" passed (it see the number of elements in the array but not the element values).

 

To simulate the behavious I've created 2 workflow.

 

First workflow (testcall) accept 2 parameters p1 and p2 (in testrun i assign p1='p1val' and p2='p2val'). This workflow has a script that create an array of string and an array ov vcOptionValue (to have a key/value pairing) and then call the second workflow.

 

Workflow:

Workflow input parameters:

Script Binding:

Workflow Binding:

 

This is the script in the first workflow:

System.log("Starting the workflow")
System.log(" Assigning inputs to key/value pairs");

var out = new Array();
var out2 = new Array();

var x = new VcOptionValue();
x.key = "p1";
x.value = p1;
out.push(x);
out2.push(p1)

var x = new VcOptionValue();
x.key = "p2";
x.value = p2;
out.push(x);
out2.push(p2)

for (var i in out) {
  System.debug("OUT    " + i + " " + out[i].key + " = " + out[i].value);
}
for (var i in out2) {  System.debug("OUT2    " + i + " " + out2[i]);
}

 

The second workflow (testcalled) just get those input parameters and print them.

 

Workflow:

Workflow input:

Script Binding:

 

Script:

System.debug("TEST1_v1:    " + v1 );
System.debug("TEST1_v2:    " + v2);

for (var i in t) {
     System.debug("TEST1_t:    " + t[i].key + " = " + t[i].value);
}

for (var i in a) {
     System.debug("TEST1_a:    " + a[i]);
}

 

 

 

This is the output of the workflow run on vco 7.3

[2017-06-22 11:08:58.574] [I] Starting the workflow
[2017-06-22 11:08:58.575] [I]  Assigning inputs to key/value pairs
[2017-06-22 11:08:58.576] [D] OUT    0 p1 = p1val
[2017-06-22 11:08:58.577] [D] OUT    1 p2 = p2val
[2017-06-22 11:08:58.578] [D] OUT2    0 p1val
[2017-06-22 11:08:58.579] [D] OUT2    1 p2val
[2017-06-22 11:08:58.595] [D] TEST1_v1:    p1val
[2017-06-22 11:08:58.596] [D] TEST1_v2:    p2val
[2017-06-22 11:08:58.598] [D] TEST1_t:    undefined = undefined
[2017-06-22 11:08:58.600] [D] TEST1_t:    undefined = undefined
[2017-06-22 11:08:58.601] [D] TEST1_a:    p1val
[2017-06-22 11:08:58.602] [D] TEST1_a:    p2val

This is the output on the exported from 7.3/imported on 6.0 workflow run on vco 6.0

[2017-06-22 10:53:19.915] [I] Starting the workflow
[2017-06-22 10:53:19.915] [I]  Assigning inputs to key/value pairs
[2017-06-22 10:53:19.916] [D] OUT    0 p1 = p1val
[2017-06-22 10:53:19.916] [D] OUT    1 p2 = p2val
[2017-06-22 10:53:19.916] [D] OUT2    0 p1val
[2017-06-22 10:53:19.916] [D] OUT2    1 p2val
[2017-06-22 10:53:20.150] [D] TEST1_v1:    p1val
[2017-06-22 10:53:20.150] [D] TEST1_v2:    p2val
[2017-06-22 10:53:20.151] [D] TEST1_t:    p1 = p1val
[2017-06-22 10:53:20.151] [D] TEST1_t:    p2 = p2val
[2017-06-22 10:53:20.151] [D] TEST1_a:    p1val
[2017-06-22 10:53:20.151] [D] TEST1_a:    p2val

 

What I'm doing wrong? It seems that between 6.0 and 7.3 the behaviour of passing array of object is somewhat changed (at least for VcOptionValue). Can I use other object/type to make this work correctly?


VRO 7.3 ControlCenter in a Load Balanced Environnement

$
0
0

Hello all,

 

I recently upgraded from 7.2 to 7.3.

Went through the upgrade doc, and it was specified that I had to:

- Unregister the connection with the PSC

- Configure the Load Balanced name of my instance, instead of the real name of the server.

- Register the connection with the PSC

 

Everything went okay, then after that if I try to access the Control Center, I go to usual URL, which now gets redirected to the PSC SSO page, type in my AD Account.

Then the page stays there forever in my prod, and preprod it eventually connect. And at the bottom of the browser it says that its Waiting for the vroservername...

 

My first thought was that some ports might be missing between the psc and vro ? Anyone has found a port mapping that is required between a VRO and PSC Server ?

I can't access the firewall logs because I don't have access to it. But from what I was told, nothing is blocked.

vRO permissions - hardening RBAC, Security

$
0
0

Prerequisites:

1. vCenter Server instance is added in vRO using an administrator user account with full privileges (using the "Share a unique session" option while adding vCenter Server instance) on vCenter Server and full permissions in vRO.

2. The "vmuser" has fewer privileges e.g. the default "Virtual machine user (sample)” role on the vCenter Server and View, Inspect, Execute permissions in vRO.

 

Scenario:

The “vmuser” executes the vCenter Server workflow “Create simple virtual machine”.

The workflow execution completes successfully creating the specified virtual machine. However, the operations are executed in the context of the service account i.e. the administrator user account with full privileges used for adding the vCenter Server in vRO. Note that the “vmuser” has no permission to create a virtual machine and with execute permission in vRO the restricted user created a virtual machine.

 

Also observed that the Initiator reported in the Recent Tasks vs. More Tasks in vSphere Web Client are different.

 

vROCreateVM.png

 

What options are available if I want to execute the vRO workflow/operations in the context of the “vmuser” – the user that initiated the vRO Workflow instead of the service account used for adding the vCenter Server in vRO?

 

Appreciate your thoughts, suggestions, comments on this.

 

I think of few options:

1. Plug-in for vRO with Custom Workflows

2. Leverage vRO REST API retrieving vRO user, workflow/operation details and check against the vCenter Server privileges for the vRO user for allowing/disallowing the vRO workflow/operation.

 

 

Extract the data from xml file

$
0
0

Hello All,

I changed the vRO output (Which I was getting from powershell) in XML format by using ".getxml" . Now I want to parse and extract the from that xml format. Could anyone help to to write javascript program for this?

Can't Import Certificate running Add Powershell Host Workflow

$
0
0

Running VRO 7.2.

 

I get this error when running Add Powershell Host Workflow:

[I] Manage SSL certificate called for URL->https://hostname:5986/wsman/

 

I don't understand why because I can punch that url into my browser and view the certificate under developer settings.

 

Everything is setup on the powershell host for winrm, the cert is even valid. I just don't understand why this is happening.

 

2017-06-23 16:19:45.583+0000 [WorkflowExecutorPool-Thread-1] DEBUG {:Add a PowerShell host:EF8180808080808080808080808080803D80808001270557368849c62c352aa82:token=ff8080815cd5b977015cd5c0739a0009} [WinRmPowerShellClient] handleStream STDERR buffer broker_serialize : The term "broker_serialize" is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + broker_serialize "$host" + ~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (broker_serialize:String) [], Co mmandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

 

 

So is this something I'm doing wrong? It doesn't seem like it. Did Microsoft push something in a patch? If so, please update your powershell plugin!

Technical preview version of VMware vCenter Powershell Plug-in 1.0.x

$
0
0

Version 1.0.11 (4889909)

  • Fix regression introduced with UTF support provided in 1.0.10. Some of possible exposure of the issue includes :
    • "Invoke a PowerShell script" workflow is executing the script twice
    • "Invoke a PowerShell script" workflow containing write-output "Hello" does not print result in system log console
    • Result returned from PowerShell scripts invocation is empty or missing


     Compatible with:   vRealize Orchestrator 5.5.2+


Version 1.0.10

    GA release of the plugin 1.0.7 available as part of vRealizer Orchestrator 7.2.0

  • Added support for UTF  character in powershell script input/output. 

         


Version 1.0.7

        GA release of the plugin 1.0.7 available as part of vRealizer Orchestrator 7.0.0


Version 1.0.6 (2442318)

Prerequisite  : vCO 5.5.2+

Supports        : PowerShell 2.0, PowerShell 3.0, PowerShell 4.0

What's new 

    • Resolves problem adding powershell host that is not member of default realm in krb5.conf

 

Version 1.0.4

    Officially released version of VMware vCenter Powershell Plug-in 1.0.4 available here :VMware vCenter Orchestrator Plug-In for Microsoft Windows PowerShell Release Notes

Version 1.0.3-304:

  • Fixes plugin inventory not shown when connecting to PowerShell 3.0 host

 

 

Please note, that the attached plug-in is QE verified, but still not a final version.


Get All Users

$
0
0

Hi,

 

How can I get all disabled users from active directory with VMWare Orchestrator?

My Workflow get as an input AD:AdHost object.

 

I have multiple active directory connected to my Orchestrator.

 

Thanks!

Unlock User

$
0
0

Hi,

 

Is it possible to unlock a user account from VMWare Orchestrator?

 

Thanks!


Time zone problems after upgrade to Orchestrator 7.3.

$
0
0

Good morning.

After upgrading our orchestrator to the 7.3 version the time zone is not working properly.

When we use the method date.getHours() the system is returning the UTC time. Before the upgrade the system was returning the correct time zone date. In the CLI, when I try the command date the system returns the result with the time zone reference (-3) like "Tue Jun 27 09:58:27 -03 2017".

 

Any suggestions?

 

Thanks in advance.

 

Diego Bejar.

vRealize Orchestrator Plugin for Citrix NetScaler Pre-release Program

$
0
0

vROps Community Members:

 

Blue Medora is currently developing a new vRealize Orchestrator Plugin for Citrix NetScaler. 

 

If vRO integration with Citrix NetScaler is something that is relevant to you, Blue Medora's product management team is very interested in engaging with you to learn about what aspects of Citrix NetScaler integration you like to see surfaced as vRO workflows as well as the specific NetScaler use cases your organization is seeking to automate.

 

Please drop us a line at beta@bluemedora.comif you'd like to participate in a pre-release program for the vRO Plugin for Citrix NetScaler.

Technical Preview of VMware vCenter Orchestrator Autodeploy Plug-In for vCenter 6.5

$
0
0

This is the version of the Autodeploy plugin for vCenter 6.5. It supports only this version of the vCenter. The plugin is verified with vRO 7.3. The expected release date is August 2017. Release date is delayed because of release blackout during quarter transition.

vRO 7.3 Authentication mode against vCenter 5.5?

$
0
0

Hi, I just stood up a brand new instance of vRO 7.3 appliance, and looking to attach it to our existing vCenter 5.5 (build 366016) environment. The idea is to migrate packages from our existing vCO 5.5.3 to this new instance of vRO 7.3, then start the ball rolling on getting our vCenter environments moved to 6.5.

 

From the product interoperability matrix, it seems that vRO 7.3 should easily support vCenter 5.5:

VMware Product Interoperability Matrices

 

But when I access the vRO 7.3 Control Center, and try to point it at my vSphere instance, it just throws an error of:

 

Error! An error occurred while retrieving the Single Sign-On token from: https://VCENTERHOSTNAME/lookupservice/sdk

 

 

I did some research, and saw some references to some kind of legacy authentication, but the vRO 7.3 appliance only shows me either vRealize Automation or vSphere for the Authentication mode. What gives here?

 

vRO 7.2 not prompting for login in Chrome or IE

$
0
0

I having what I think is a strange issue with vRO 7.2. In Chrome and IE the Control Center address never prompts me for login. The odd part is that FireFox will every time. Has anyone seen this before and have a quick fix for this issue?

 

IE renders a nearly blank page and Chrome gives me the following error:

 

Screen Shot 2017-07-01 at 6.15.27 PM.png

 

This is a stand alone appliance being used for vRA. 

Viewing all 10285 articles
Browse latest View live




Latest Images