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

Find all SNMP:SnmpDevice and Policy

$
0
0

Hi

 

I am trying to automate SNMP creation/deletion and Policies, in vRealize Orchestrator, for a large amount of SNMP devices.

 

But I can't figure out how to get all SNMP:SnmpDevice already in the vRealize Orchestrator inventory.

 

Likewise, how would I get a array of all existing Policies in the vRealize Orchestrator


Configuring email

$
0
0

Hi,

 

I've been trying to configure email for a couple of days now.  Just updated to VRO 7.2 and reconfigured email.

 

I do not want to pass credentials to my SMTP server.  When VRO tries to send an email, I am getting '535 5.7.3 Authentication unsuccessful' errors....even if the credentials being passed are "null".  I can send an email from a Windows server using powershell to the same SMTP server, without any credentials.

 

Is there a way sending an email without passing any credentials, even null?

 

Sorry if this is a dumb question!

 

Thanks

What are the limitation in VRO with using a predefined list of elements in your presentation?

$
0
0

I have done some limited testing and noticed a major difference when I select to "select value as" and specify list vs. using a predefined list of elements and selecting an action that gets the same list.  In my case I am trying to select a VM.  When I specify to select values as list I noticed that the list is empty when it first comes up and you either have to press a space or something in the filter box to find the system you are looking for.  I thought I might be able to fix this by using a predefined list of elements and linking it to the action getAllVMs.  When I do this it take a long time for my presentation to even come up and when I go to select a VM I am not even presented a list view.  It presents a tree.  I think I must be at the limit of the array however I am not sure what that limit is.  I also prefer to use the list format vs the other options.  Any suggestions for best practices when displaying and searching large lists? 

VRO Log Messages

$
0
0

Hi All,

 

Log messages in  the VRO Client for a workflow run disappear after sometime. Where is the setting to keep them displayed in VRO?

 

Any help appreciated.

Selecting datastore with most free space and outputting it

$
0
0

I found a script on the forums that seems to be close to what I am looking for, but doesn't return anything but an error which is the throw part. I am thinking I am just getting no results from the beginning and don't understand why. I am new to this. So for actions I have one called findTestDatastore that is supposed to look in our Non-Production Cluster (it is called that), then find the datastore with the highest amount of free space where the name of the datastore begins with hds-esxi-ucs-04. In the workflow I added it and put an output of bestDataStore, but it throws the error No datastore found which has over 25% free space which is untrue. Attached is the code.

Working with the Clone, Windows with Single NIC workflow

$
0
0

I would like to know the best way to preset a bunch of answers and not show them on the presentation screen for this workflow. So far example poweron should not be an option and what vm to clone from shouldn't be either because I already have a preset one that I don't want people to have to keep picking. I know how to remove the questions from the Presentation layer but where in the workflow would you just set defaults for the actual inputs?

 

Also since I am not using the Guest Customization wizard which normally asks if you want to run a command once where in the workflow would I put something to run a batch file that would work start where the runonce would normally run if using the Guest Customization.

Maximum number of objects supported by VRO inventory

$
0
0

Hi,

I am developing a vRO plugin and I wanted to know, is there any upper limit on the number of objects which can be listed in the Inventory?

Thanks in advance.

Technical preview version of VMware vCenter Orchestrator Plug-In for Microsoft Active Directory

$
0
0


Technical preview version of VMware vCenter Orchestrator Plug-In for Microsoft Active Directory

This is a patch release of the plug-in.


Version 3.0.4-4950206

  • Fix UserGroup.memberOf method always return NULL

 

Version 3.0.2-4209033

  • Added LdapFilter scripting object

    Note: 3.0.2-4209033 GA version of the plugin is available as part of vRealize Orchestrator Appliance 7.1


Version 3.0.0-4132888

  • Added generic LDAP client (LdapClient).
  • Added support for SimplePagedResultsControl. It allows the client to iterate through a potentially large set of search results in subsets of a specified

number of entries (i.e., "pages").

  • Added support for non-persistent LDAP connections ().
  • Added User.getSID() and UserGroup.getSID() scripting methods for retrieving objectSID attribute in folowing format format 'S-1-IdentifierAuthority-SubAuthority1-SubAuthority2-...-SubAuthorityn'
  • Added getGUID() support for retrieving objectGUID formatted as dashed string
  • Fix: ActiveDriectory.search() methods discards configured LDAP base
  • Removed sub-domain entries from inventory tree of parent domain. (Deprecated since 2.0)

Notes : Compatible with vRealize Orchestrator 5.5.2+

Notes : Introduction to new feature available here  Active Directory plugin 3.0.0 - New and Noteworthy

 

 

Version 2.0.8-3635144

  • Support for named Active Directory connection configurations

Version 2.0.7-3423847

  • Fix : rename method for AD:User does not accept names that contain commas.
  • Fix : ActiveDirectory "Base" setting discarded.

Version 2.0.6-3285066

  • Fix : rename method for AD:User does not accept names that contain commas

 

Version 2.0.5-3151865

  • Fix : Can not modify attributes of entry containing forward slash in the name.
  • Fix : Configuration changes not propagated among vRO cluster nodes
  • Added ActiveDirectory.rename() method for renaming/moving entries inside same domain.


Version 2.0.4-3014454

  • Fix : ActiveDirectory.searchExactMatch not returning correct result when user name contain forward slash.


Version 2.0.3-2824604

  • Fix : User.memeberOf not returning correct result when user is not from default domain

 

Version 2.0.2-2670588

  • Fix : AD:UserGroup.userMembers return null when user name contain comma.
  • Fix : AD:UserGroup.userMembers return null when the users are not part of default domain.

 

Version 2.0.1-2597988

  • Fix : Configure "Active Directory plug-in options" workflow does not set default server.

 

Version 2.0.0-2543027 GA

  • Add support for Multiple Active Directory hosts

Notes : GA version available for download from - VMware vCenter Orchestrator Plug-In for Microsoft Active Directory Release Notes

Notes : Compatible with vRealize Orchestrator 5.5.2+


Version 1.0.6-2315152

  • Fixed validation warning messages in the AD plugin's workflows.


Version 1.0.5-1866388

  • OU/AD objects from the AD plugin are getting lost/not-found. In configurations, a value with the attribute of AD:OrganizationalUnit reports "Not found"
  • Fix "Object 'OU:DC=xxxx,DC=yyyy,DC=com' of type ActiveDirectory not found" for AD entities containing special characters like COMMA in CN value.


Version 1.0.4-760

  • Plugin configuration performed trough workflows.
  • Fix. Deleted ad object is still returned by the plugin.

 

 

 



Adding a Powershell Host in VRO 7.2

$
0
0

Hi Everyone,

 

I am trying to add a Powershell host, but the point in which the workflow adds it, it just hands.  I have to stop VRO and, in troubleshooting. kill off any running scripts.

 

I have followed the various winrm configuration instructions and I can successfully test winrm from my PC to the server.  I have tried configuring 2 seperate servers, both of which are in different domains and a different domain to the VRO server (3 domains).

 

I am attempting to configure a host with basic authentication, with a local user with admin and RM rights.  I can see a connection being made on the host using netstat.  I've tried turning off the firewall and Mcafee, but get the same result.

 

If I build a new server, with no domain and configure in exactly the same way, it works.........so what am I missing?

Convert Catalog resource to Virtual Machine

$
0
0

I am getting accustomed with vRA types and wanted to get a hint on object conversion approach. Is there a simple way to convert from vCACCAFE:CatalogResource type to VC:VirtualMachine? Preferably without using findAllForType and looping through to find a match.

I see that vCAC resource catalog object has property resourceData which may have useful references to identify vc:virtualmachine. But I am not quite sure how to retrieve details like vm id.

vRO ActiveDirectory Plugin does not return all objects in an orgnizationalUnit

$
0
0

Hello all,

 

I am on-site working with a customer that has approximately 35,000 objects in a single OU. Unfortunately, I need to present a selection/search criteria to the users to select security groups to add an object (AD:ComputerAD). However, in the AD Browse-Tree there are only 898 elements returned from this OU.

I have invoked the "Configure Active Directory Plug-in Options" workflow, for all configured AD End-Points with the following:

 

searchSizeLimitnumber50000.0
searchSizeLImitPerSerernumber100000.0

 

I have updated to the latest AD-Plugin, details below:

 

 

vRO:

Version: 7.2.0

Build number: 4629841

Build date: Nov 10, 2016

Database version: 1.77

 

Plugins:

AD 3.0.6.5491166

AMQP 1.0.4.4512213

Azure 1.0.0.4635872

Cli 2.0.0.3036461

Configurator 7.2.0.4629841

DataManagement 1.0.0.2504108

DynamicTypes 1.2.0.4542195

Enums 7.0.1.4542193

GEF 2.0.0.4278511

Library 7.0.1.4542193

Mail 7.0.1.4542193

NSX 1.0.4.4233593

Net 7.0.1.4542193

PowerShell 1.0.10.4512207

REST 2.2.1.4512209

RPProvisionVCAC 7.2.0-SNAPSHOT.4644246

RPTestJenkins 7.2.0-SNAPSHOT.4644246

SNMP 1.0.3.4538184

SOAP 2.0.0.4552786

SQL 1.1.4.4009493

SSH 7.0.1.4445953

TeamFoundationServer 7.2.0-SNAPSHOT.4644246

VAPI 7.2.0.4542196

VC 6.5.0.4512205

VCACDevopsRPEngine 7.2.0-SNAPSHOT.4644246

VCO 7.2.0.4629841

VRAServer 7.2.0-SNAPSHOT.4644246

Workflow documentation 7.0.1.4542193

XML 7.0.1.4542193

vCAC 7.2.0.4601797

vCACCAFE 7.2.0.4602407

 

I've set the AD Plugin to debug mode and am seeing the following log entries:

==> /storage/log/vmware/vco/app-server/integration-server.log <==

2017-05-10 10:23:08.280+0000 vco: [component="MSPluginFactory" priority="DEBUG" thread="http-nio-127.0.0.1-8280-exec-2" user="" context="" token="" wfid="" wfname="" anctoken="" wfstack="" instanceid="a7609700-d9ff-4e97-a1d7-c8d27bfb65f0"] Find item. TypeName: OrganizationalUnit

2017-05-10 10:23:08.287+0000 vco: [component="MSPluginFactory" priority="DEBUG" thread="http-nio-127.0.0.1-8280-exec-4" user="" context="" token="" wfid="" wfname="" anctoken="" wfstack="" instanceid="a7609700-d9ff-4e97-a1d7-c8d27bfb65f0"] Find item. TypeName: OrganizationalUnit

2017-05-10 10:23:08.810+0000 vco: [component="Container" priority="WARN" thread="http-nio-127.0.0.1-8280-exec-3" user="" context="" token="" wfid="" wfname="" anctoken="" wfstack="" instanceid="a7609700-d9ff-4e97-a1d7-c8d27bfb65f0"] Error while adding Item to a list in the container [REDACTED_OU_NAME]

2017-05-10 10:23:09.363+0000 vco: [component="Container" priority="WARN" thread="http-nio-127.0.0.1-8280-exec-3" user="" context="" token="" wfid="" wfname="" anctoken="" wfstack="" instanceid="a7609700-d9ff-4e97-a1d7-c8d27bfb65f0"] Error while adding Item to a list in the container [REDACTED_OU_NAME]

2017-05-10 10:23:09.896+0000 vco: [component="Container" priority="WARN" thread="http-nio-127.0.0.1-8280-exec-3" user="" context="" token="" wfid="" wfname="" anctoken="" wfstack="" instanceid="a7609700-d9ff-4e97-a1d7-c8d27bfb65f0"] Error while adding Item to a list in the container [REDACTED_OU_NAME]

2017-05-10 10:23:10.459+0000 vco: [component="Container" priority="WARN" thread="http-nio-127.0.0.1-8280-exec-3" user="" context="" token="" wfid="" wfname="" anctoken="" wfstack="" instanceid="a7609700-d9ff-4e97-a1d7-c8d27bfb65f0"] Error while adding Item to a list in the container [REDACTED_OU_NAME]

2017-05-10 10:23:11.011+0000 vco: [component="Container" priority="WARN" thread="http-nio-127.0.0.1-8280-exec-3" user="" context="" token="" wfid="" wfname="" anctoken="" wfstack="" instanceid="a7609700-d9ff-4e97-a1d7-c8d27bfb65f0"] Error while adding Item to a list in the container [REDACTED_OU_NAME]

 

If anyone has a work-around or a potential fix for this it would be really welcomed.

vSphere Orchestrator Plug-In Input Error

$
0
0

I working on a VM-deployment-automation project. My problem is difference of input screens between vSphere Web Client and vCO Desktop Client. Sorry my English but I have 2 screenshots about this issue:

 

 

     vCenter Orchestrator:

Orch.PNG

    

     vSphere Web Client:

vSphere.PNG

Words are not important (they are Turkish words). First area is operating system area and the second area is os version area.

Example: if first area is "Linux", then second area is dropdown list of Linux distributions,

 

 

My main problem is in vSphere client. Because the version action is not working in vSphere and vSphere presents the version area as a text-box.

Custom properties on a REST host?

$
0
0

Hi.

 

I was playing with vRA and noticed that REST hosts have a "custom properties" tab.

 

What is the purpose of these custom properties?

 

I was thinking about storing a user/pass as a custom property as well as some other data.

 

Is this what that's for? If so, how do i add custom properties?

 

and then how do i retrieve those custom properties in a script?

 

thank you.

function getAttributeWithKey not found for ConfigurationElement()

$
0
0

In an action, i've got a script that connects to a https end point and pull some data to populate into an input field.

 

so i'm trying to read configuration elements and get this error

 

Error in (Dynamic Script Module name : GetListOfGroups#1) TypeError: Cannot find function getAttributeWithKey in object function ConfigurationElement() {

   [native code, arity=0]

 

Here's my code in the action

 

System.log("starting")
var username = ConfigurationElement.getAttributeWithKey("wfconf.username").value
var password = ConfigurationElement.getAttributeWithKey("wfconf.password").value
var vendorkey = ConfigurationElement.getAttributeWithKey("wfconf.vendorkey").value

 

Trying to figure out where i could be going wrong here.

When do action runs that populate input fields?

$
0
0

I have an input field that's a string but is displayed as predefined answers which is dynamically populated using an action.

 

My question is when do these actions run?

 

What i'm trying to do is create a multi step workflow where the choices in the first step determine the drop down values in the second step.

 

As of right now, there's a default value in step 1 that's populated and when i change that to another value, the input in step 2 remains the same.

 

Is there a way to do this?


vRO client/plug-in communication to vRO - Is it SOAP or REST API?

$
0
0

Hi,

 

Though it may sound a dumb question, want to get confirmed with vRO experts in this forum.

As per my understanding, the vRO client(client.jnlp)/plug-in for vCenter Web Client uses vRO REST APIs to communicate with vRO (the legacy SOAP APIs are no longer in use) - this is for vRO 7.2.

 

vROClients.png

how to work with http headers

$
0
0

Hello,

 

is there way to get / set headers and check the response codes from HTTP interactions?  The URL object used in the "HTTP get" and "HTTP put" activities doesn't seem to expose that functionality.

 

Thanks,

Olaf

Are the Arguments used when running the Run Program in Guest workflow encrypted?

$
0
0

I was wondering how secure the parameters used when running the Run Program in Guest were.  Are they encrypted or are they sent in plain text.  Also when you copy a file from VCO to Guest or the reverse is that file encrypted?  Thanks

Clone a VM into Datastore Cluster and host cluster using Workflows in vRealize Orchestrator

$
0
0

Hi there,

 

I'm new to vRA and vRO world.

i am trying to clone a virtual machine and using Clone Virtual machine, no customization workflow which was provided by VMware in Library/Clone.

 

i want it to clone the Virtual machine on datastore cluster and host cluster instead of giving inputs of Host system and Datastore.

 

Is there any way to do that ?

 

Any idea would be really appreciated

 

Thanks a lot in advance

Get name of action within the action?

$
0
0

I've got several workflows that call several actions.

 

In an effort to make the logging a little bit better, I'm wondering if there's a way to know the name of the action from within the action itself.

 

so for example, i have an action

 

com.anoop.library.GetVMUuid

 

within the script, can i do something like

 

System.log($this + ": VM UUID is " + uuid);

 

is that possible? or are there alternatives?

 

thanks.

Viewing all 10285 articles
Browse latest View live


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