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

Reset internal database or purge endpointconfiguration service items

$
0
0

Hi,

I have been experimenting with creating a plugin and using the IEndpointConfigurationService to persist information like username, password and objects. But I think I have now saved data that will not deserialize properly and thus gives error when I use the api. Is there any way to reset the database in VRO or remove the data in the VRO storage where the endpointconfigurationservice saves it stuff?

 

thanks


Passing the VM IP from vRA to vRO

$
0
0
I have been looking for a way to pass multiple parameters from vRA to vRO and the IP address keeps causing frustration.  Has anyone had success doing this?

Failure in Registering vCO to SSO server

$
0
0

Hello,

 

I have Downloaded VCO VA 5.1 and installed it , now i am trying to register VCO to SSO  server for SSO authentication, i am getting below error

"Server returned 'request expired' less than 0 seconds after request was issued, but it shouldn't have expired for at least 600 seconds."

 

I am following http://communities.vmware.com/docs/DOC-20368 and so far all went as decribed in this guide but now an stuck while SSO registration. Does any one have any idea or have come accross this error.

 

i had checked communication between SSO server and VCO server is perfect and also Certificate are also valid.

 

i would really appriciate your help and guideline to fix this issue.

 

Regards,

MG

Storage Migrating VMs with vRO

$
0
0

Hi i found this code in the forums. Im new with vRO, how do you specify whch VMs are to be moved? And how do you move both storage and hosts?

 

  1. for(var i in vmsToRelocate){ 
  2.   var vm = vmsToRelocate[i]; 
  3.   task = vm.relocateVM_Task(relocateSpec); 
  4.   var actionResult = System.getModule("com.vmware.library.vc.basic").vim3WaitTaskEnd(task,progress,pollRate) ; 
  5.   System.log("Storage vMotion performed for VM : " + vm.name); 

**This code loops through all the VMs you select to migrate one at a time, it waits for the storage vMotion to complete for each VM before it executes the loop again for the next VM.

If you do want to do the storage vMotion in parallel for some VMs you can duplicate the code and just remove the line

 

 

  1. var actionResult = System.getModule("com.vmware.library.vc.basic").vim3WaitTaskEnd(task,progress,pollRate); 

 

**and vRO will just execute the loop for each VM in parallel.

 

Thanks

How to unlink a relation in the entity model?

$
0
0

Hi,

 

I the entity management model in vRO I can "link" a child entity to its parent, however I can't get the "unlink" to work.


For example: if I want to link a VM to a parent VM object, I do:

 

:
:
// Attach the parentEntity
var updateLinks = new Properties;
updateLinks.put('ParentVirtualMachine', parentEntity);

var vcacEntity = System.getModule("com.vmware.library.vcac").updateVCACEntity(nodeEntity.hostId, nodeEntity.modelName, nodeEntity.entitySetName, nodeEntity.keyString, nodeProperties, updateLinks, headers);

 

and v.v. for the "unlink" action:

 

:
:
// Detach the parent
var updateLinks = new Properties;
updateLinks.put('ParentVirtualMachine', null);


var vcacEntity = System.getModule("com.vmware.library.vcac").updateVCACEntity(nodeEntity.hostId, nodeEntity.modelName, nodeEntity.entitySetName, nodeEntity.keyString, nodeProperties, updateLinks, headers);

 

I am using LINQPad so I can see the results of each test. The "link" as shown above does populate the releationships (ParentVirtualMachine, ChildVirtualMachines), but the "unlink" does not seem to have any effect?

 

Tx,

Ed

Create Fabric Group with VRA Rest APIs

$
0
0

I am trying to create a Fabric group having compute resource. But i coudnt find any Rest api reference for the same. Since i am not able to create the fabric group with compute resource i cannot create reservation with the compute resource.

Any idea how can i automate this with rest api?

Workflow picker in vRO client is sometimes off screen

$
0
0

Hello,

 

I've just gotten into a situation where, when I'm editing a workflow in the vRO client, if I drop a workflow element on the screen, the picker, which lets me find the actual workflow I want to use, is either fully or partially off screen. This only recently started happening and I can't figure out what I did to cause it. The only thing I did was move my window from one monitor to another which changed resolutions slightly. I've moved things back, restarted, everything I can think of but it doesn't "reset".

 

When the picker is partially visible, I could use it if I could move the darn thing but it can't be dragged into a different position. This is maddening. Is anyone else seeing this or know how to fix it?

 

The picture below shows an example. I went to 25% zoom and dropped a workflow on one of the lower connectors. The picker popped up down in the lower right corner and extends below the window. I can't see the rest of the scroll window and I can't move the picker up.

 

Capture.PNG

 

Thanks

NSX Plugin Tag Management

$
0
0

Hi All,

 

I recently installed the NSX Plugin to vCO and I added my NSX manager. In the NSX workflows I can see the "Apply security tags on VM" but I cannot see a workflow that would let me remove a security tag from VM. Does anyone have any idea to do this?

 

Thanks,

Haluk


workflow présentation does not work on vCenter

$
0
0

Hello

when I want to start a workflow with a presentation linked to actions filters

the workflow does not work

can some one help me to figure-out this issue?

 

Regards

 

more informations

the présentation filter uses an action that uses the currentldapuser and compares it's groups to groups in configuration and export a Parent folder associated to this group

 

here is the code I use in the action  and it works when using it directly in a scriptable task

it does not work when used as a presentation filter

specify a root object to be shown in the chooser. getaction("ingenierie",getParentFolderFromConnectedUser").call(#Prod)

 

var currentLdapUser = System.getModule("com.vmware.library.ldap").getCurrentLdapUser() ;
var groups = currentLdapUser.groups;
var category = Server.getConfigurationElementCategoryWithPath("groupesFTV");
Server.log(currentLdapUser.groups);
var elements = category.configurationElements;

for (i= 0; i < elements.length; i++) {  var currentElement = elements[i];  for (x=0; x < groups.length; x++) {  if( currentElement.getAttributeWithKey("groupe").value == groups[x]) {  if(!Prod) {  var attribute = currentElement.getAttributeWithKey("folderNonProduction");  }  else var attribute = currentElement.getAttributeWithKey("folderProduction");  Server.log(attribute.value);  return attribute.value;  }  }
}

context actions does not work

$
0
0

hello

I am using vcenter 5.5 with vro 5.5.3

when I launch a  context action: right clic on an object then select  all  orchestrator workflow actions,  then select the workflow

 

the workflow starts but the field is not automaticaly feeled with the object

 

can some one help to figure-out the issue?

Install Windows Feature from vRO

$
0
0

Hi

 

I'm pretty new to vRealize Orchestrator.

I planed to clone a windows server and then install a windows feature to this cloned Windows VM.

 

Do I have to do this with a powershell host or how it works?

 

Thanks for your help.

 

Andi

Get Statistics by Orchestrator

$
0
0

I want to get ESXi and VMs performance data by the Orchestrator. It is Get-Stat in the PowerCLI.

Please give me the sample code.

vCloud plugin finder timeout

$
0
0

In my workflow presentation I'd like to have user type in a VM name and select it from a drop down list into array. I am using Array/vCloud:VM as input. However, vCO presentation search list is timing out with this error:

 

lookup error.png

vCenter plugin seems to be producing results but at this time I need to work with vCD objects.

Has anyone seen anything like this? (vCO 7.1/vCDplugin 5.5.1.2).

Using Guest Script Manager Package

$
0
0

Hi All,

 

I have some issues while retrieving variables specified in a script, using the Guest Script Manager Package.

 

Example of my script:

Bash:

myVar = "Hello World"

echo $myVar

 

 

When I execute the "Run in Script VM Guest", I noticed that the $myVar is empty/null

 

Any idea how can I retrieve this variable in the script?

Technical preview of vRO vCenter plug-in for vSphere 6.5

$
0
0

Summary

 

This is not a patch release, but drop-in replacement of  the implementation of  the vCenter plug-in 6.5 for vRealize Orchestrator

Although the plugin version is 6.5, the plugin implementation is completely redesigned, by keeping the existing content

The release is planned with vRealize Orchestrator 7.3

The new plug-in offers:

  • Optimization of the communication with vSphere servers and reducing of the load on these
  • Hassle-free update of Scripting API, when Vsphere API changes, thanks to new approach for auto-generated integration
  • Removing of security vulnerabilities
  • Preserve maximum Scripting API compatibility, respectively content compatibility

 

For 7.3 release following integrations were delivered:

  • All PBM API types are exposed as vRO scripting types
  • All SMS API types are exposed as vRO scripting types
  • Exposing of the Storage Policies and Policy Components  as vRO inventory items

 

Plugin versioning and interoperaility with vSphere servers

  • The  plugin version is 6.5
  • The plugin core functionality (connectivity, inventory) is compatible with vSphere products with version 5.5 and above.
  • vSphere API version exposed in the scripting API is 6.5
    • This means that all the  API methods, properties and types introduced in Vsphere 6.5 (Which currently is in beta) are made available for vRo scripting content developers and will work if supported by the vSphere server product. For convenience in this new version of the plugin all the methods and properties are annotated in their description (visible in vso.xml and API explorer ) with version tag, e.g '@since vSphere API 5.5'


Interoperability with vRO

The plugin is compatible with vRO version is compatible with version 7.2 and 7.3

Install procedure

 

Few of the workflows are changed to reflect the minor incompatible changes in the API, so these will be overwritten during install.
The plugin can be installed in the standard way



Intermittent java.net.SocketTimeoutException in workflow after upgrade of vRO from version 7.0.1 to 7.2

$
0
0

After a vRO upgrade from 7.0.1 to 7.2, some of our workflows have been failing intermittently.  Our workflows are designed to make multiple use of the canned VMware workflow:  Get virtual machines by name

 

I would estimate that less than 1% of time we get a failure on that workflow, and this is the type of error we see in the logs when it happens.

 

 

 

[2017-02-27 18:09:53.462] [E] Error in (Workflow:Get vCenter entities by properties / pc.retrievePropertiesEx (item1)#10) java.net.SocketTimeoutException: Read timed out

 

I am working around the issue, by having our workflow retry the problematic workflow when it errors out, but wondering if anyone else has noticed this in their environments.

Understanding vAPI?

$
0
0

I am just starting to work with vRO and so far have been just going through some training to get the fundamentals down. In one of my training sections it started to discuss vAPI, so I did some research and found an article about it.

 

https://cto.vmware.com/vmwares-solution-to-api-challenges/

 

I am just trying to make sure I understand this correctly, but is vAPI (looks like it was vCloud Suite SDK and now vRealize Automation SDK) a new set of APIs that will become standardized across all VMware platforms? And if I understand that correctly, my main question is vAPI going to end up taking over the current VMware APIs we use in vRO now?

 

Since I am just starting to get into this I might as well learn the features available in vAPI now if this is going to become the standardized API across everything in the future. I may be understanding this entirely wrong too, which is why I am here to try and clarify.

 

Thanks!

C.

vRO Client Workflow Execution

$
0
0

Hey guys,

 

We seem to have hit a bug with vRO web plugin that causes an error 1009 when you select certain things in the web interface. We are running the latest version of vCenter 6.5 and vRO. Since we have hit an issue i had to remove the plugin in the web interface and start directing users to use the vRO java client itself to execute things, but i am finding that there is alot of wait time just running the workflow presentation. Does anyone know if there is a way to speed the loading of a workflow in java much like the plugin does? Sometimes it seems it attempts to grab the last cache of data while its loading to prefill object? When it does load sometimes the dynamic data takes a little longer to pull vs the plugin.

 

Thanks for the help!

Pulling a users email address into vRO

$
0
0

I am customizing my email notifications and need some help with one area.  Pulling the owner information, bill@me.local for example, works fine.  However, the owner's email address is different, bill@me.com for example.  Is there a property that contains the owner's email address? 

 

Thanks

Find VM by Name RegEx - How to ignore case

$
0
0

Hi,

 

In vCO there is a standard Action that looks like this:

 

----------

// Get all Virtual Machines for all vCenter connections defined for this plugin

var allVms = VcPlugin.getAllVirtualMachines();

var vms = new Array();

// Check if the VM match the regexp

for (var i in allVms) {

  if (allVms[i].name.match(regexp)) {

  vms.push(allVms[i]);

  }

}

VMList = vms;

----------

 

How can I make this actions ignore the case. I searched for this in Java script, and found that I should add "/i" to the regexp, but I cannot get it to work.

  if (allVms[i].name.match(regexp/i)) {

 

Does anyone know how to get this working?

 

/Brian

Viewing all 10285 articles
Browse latest View live


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