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

Is it possible to get the number of running workflows on an Orchestrator server/cluster via REST?

$
0
0

Is it possible to get the number of currently running workflows on an Orchestrator server/cluster via REST? Ideally without checking the status of all the executions for each workflow!

 

We're running 5.5.2, but I'd be interested to know if it's a feature available in newer versions too.


Revert the plugin version

$
0
0

Hi,

 

We have been using the AD plugin v1.0.6 on all the environments. And we have installed the new AD plugin for vRO v2.0.0 version on one of our Non-prods.

 

some of the actions/modules in the new version have been modified and hence we want to revert the version back to 1.0.6.


Is there a way revert the current plugin back to 1.0.6.

(vRO version in use is 6.0.1)

CloneVm to SDRS Cluster / Storage Pod

$
0
0

Hi there,

 

we try to change our deployment scripts from old cloneVm to new recommendDatastores. We need this to provision VMs to SDRS Clusters. As documented within API reference, old CloneVm was now replaced by VcStorageResourceManager.recommendDatastores:

http://www.vmware.com/support/orchestrator/doc/vco_vsphere51_api/html/VcStorageResourceManager.html#recommendDatastores

 

Now we build the following scriptable task:

var myVcVirtualMachineConfigSpec            = new VcVirtualMachineConfigSpec();
var myVcResourceAllocationInfo                = new VcResourceAllocationInfo();
var myVcStoragePlacementSpec                = new VcStoragePlacementSpec();
var myVcStorageDrsPodSelectionSpec            = new VcStorageDrsPodSelectionSpec();
var myVcStorageResourceManager                = input_Datacenter.sdkConnection.storageResourceManager();
var myVcRessourcePool                        = input_RessourcePool;
var myVcVirtualMachineCustomSpec            = input_VirtualMachineCustomSpec;


myVcStorageDrsPodSelectionSpec.storagePod    = input_StoragePod;


myVcVirtualMachineRelocateSpec                = System.getModule("com.vmware.library.vc.vm.spec").getRelocateSpec(null,null,null,myVcRessourcePool,null) ;
myVcVirtualMachineCloneSpec                    = System.getModule("com.vmware.library.vc.vm.spec").getCloneSpec(null,myVcVirtualMachineCustomSpec,myVcRessourcePool,false,false) ;



myVcStoragePlacementSpec.cloneName            = input_VirtualMachineName;
myVcStoragePlacementSpec.cloneSpec            = myVcVirtualMachineCloneSpec;
myVcStoragePlacementSpec.folder                = input_Folder;
myVcStoragePlacementSpec.podSelectionSpec    = myVcStorageDrsPodSelectionSpec;
myVcStoragePlacementSpec.resourcePool        = myVcRessourcePool;
myVcStoragePlacementSpec.type                = VcStoragePlacementSpecPlacementType.clone;
myVcStoragePlacementSpec.vm                    = input_Template;

x = input_Datacenter.sdkConnection.storageResourceManager.recommendDatastores(myVcStoragePlacementSpec);

System.warn("Recommend Result: " + x);
System.warn("recommendations.key: " + x.recommendations.key);
System.warn("recommendations.reason: " + x.recommendations.reason);
System.warn("recommendations.reasontext: " + x.recommendations.reasonText);
System.warn("recommendations.action: " + x.recommendations.action);
System.warn("recommendations.target: " + x.recommendations.target);
System.warn("recommendations.type: " + x.recommendations.type);
System.warn("recommendations.dynamicProperty: " + x.dynamicProperty);

 

 

We get no error message and no task is starting. But on displaying all our warnings, they are all undefined without the x which is the correct object:

[2012-10-08 15:04:27.854] [W] Recommend Result: DynamicWrapper (Instance) : [VcStoragePlacementResult]-[class com.vmware.vim.vi4.StoragePlacementResult] -- VALUE : com.vmware.vim.vi4.StoragePlacementResult@6465a5b0
[2012-10-08 15:04:27.854] [W] recommendations.key: undefined
[2012-10-08 15:04:27.854] [W] recommendations.reason: undefined
[2012-10-08 15:04:27.870] [W] recommendations.reasontext: undefined
[2012-10-08 15:04:27.870] [W] recommendations.action: undefined
[2012-10-08 15:04:27.870] [W] recommendations.target: undefined
[2012-10-08 15:04:27.870] [W] recommendations.type: undefined
[2012-10-08 15:04:27.870] [W] recommendations.dynamicProperty: null

 

Someone ever tried this or has any idea about get this done?

 

Regards,

Chris

Issue with vCO and Powershell plug-in

$
0
0

I am currently using vRO 6.0 along with the PowerShell plug-in 1.0.5 and am having issues running workflows executing active directory command powershell scripts.  My plug-in and powershell host are set up using kerberos authentication http.  I am able to successfully execute vRO powershell workflows for using the vSphere powercli to connect to ESXi hosts to do certain things and that works fine.  I need to create powershell scripts though so I can connect to multiple different domain controllers to create objects on specific servers to overcome replication times.  My scripts work fine, if I execute them locally on the host then everything is successful.  If I try and execute the same script calling it through vRO I get the error stack below from the logs window on the workflow and it fails within seconds.  I have seen some posts about using CredSSP but supposedly that is just if you can't use kerberos.  The host I am using is just a domain member not a DC but has the AD powershell modules loaded on it and as I said the script executes perfectly fine as long as it is not executed through vRO.  Any ideas would be greatly appreciated.

 

PowerShellInvocationError: Errors found while executing script

Microsoft.ActiveDirectory.Management.ADServerDownException: Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running. ---> System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:59.9970000'. ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:59.9970000'. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

   at System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)

   --- End of inner exception stack trace ---

   at System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)

   at System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)

   at System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)

   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)

   at System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.NegotiateStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   --- End of inner exception stack trace ---

   at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)

   at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)

   --- End of inner exception stack trace ---

 

 

Server stack trace:

   at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)

   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)

   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)

   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)

   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)

   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)

   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

   at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)

   at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)

   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

vRealize Orchestrator Actions Adapter for vCops

$
0
0

I wanted to reach out and see if any of you all are utilizing the vRealize Orchestrator Actions Adapter in vCops for vRO and vCops intergration.  vRO 6.0.3 is working out of the box with this solution but I am struggling to get vRO7 to work and get passed the "cant find getvcuuid workflow, full authentication required.

 

Anyone using this solution with vRO7 and if so how did you get it to work?

 

 

Thanks

 

 

Steve

Configure vCOIN with vRO 6.0.x and later in HA mode with Load Balancer

VRA Shutting itself down

$
0
0

Now before you say "What an idiot!" let me say that I would totally agree with you!! 

 

I created a shutdown workflow to shutdown my lab and forgot to exclude the orchestrator engine that I am using (it's an embedded orchestrator inside of a VRA). So the workflow got to the VRA appliance and did the task to shut it down. This of course stopped the workflow as the appliance shutdown. Now when I start up the appliance it resumes the workflow and of course the first thing it does is shuts down the appliance. Did I tell you I know that I'm an idiot?

 

Is there a way to start VRA but tell it to cancel any outstanding workflows?

405 Request method 'POST' not supported

$
0
0

HI guys

 

I was wondering, I can do GET and DELETE with application/json and application/xml

 

But CANT do POST, its like im blocked, anyone knows a work around?

 

I'm using latest VRO 6.0.1

 

Pedro


Active Directory and vRA/Orchestrator

$
0
0

Hi.

 

Is it possible to let an orchestrator workflow(using the AD plugin) to create an computer object in two diffrent domains? aka server.ad1.local and server.ad2.local?

How to get the Status of requested Catalog Item of the same request from vRO 7 workflow periodically ?

$
0
0

Hello all,

 

I am designing a WF in vRO7.

In this WF I am requested for a Catalog item (to execute a predefined a published BP) in vRA 7.0.

Below is the sample code snippet. Here item is of type VCACCAFE:Catalogitem

//********************************************

var form = vCACCAFERequestsHelper.getRequestFormForCatalogItem(item);

var request = vCACCAFERequestsHelper.requestCatalogItem(item, form);

 

//******************************************

 

I am able to process this request successfully. But now I would like to check the status of this request periodically from same WF and depending upon the status of the request I would like to update some field in VRO.

 

Now my question is that, how can I retrieve the status of the catalog item request after periodically (say 5 mins interval) ?

I can use the below method but thing is that how can I get the same request after 5 mins ?

 

request.getExecutionStatus().value() ;

 

Can you please help me out is there any way to get the details of the same request with the request id after 5/x mins ?

 

Thanks,

Koushik

memorydump.sar

VCO permissions problem

$
0
0

Hey,

 

In our environment there is multiple VCO servers all of them are VCO 5.5.3.

 

In our organization we have team that suppose to support our cloud environment and one of the things they should do is to check workflow runs that fail and to see in live the workflow run log.

 

In the past they have permissions on the workflows that they need to watch, the permissions they had in the past are: read, inspect, execute. at that situation they could see workflow runs and give the support to the cloud users.

 

In one of our vco version upgrades this support team lost the possibility to track workflow runs, now only admin permission allow them to see the workflow runs.

 

 

i found this vmware kb: VMware KB: Non-admin users cannot see workflow tokens in VMware vRealize Orchestrator but the KB is not for our vco version.

want to ask you if someone know if that kb is relevant also to VCO 5.5.3 or any other workaround.

 

 

Thanks ahead,

Liron br

Communicating with BMC BSA from VRO

$
0
0


Hi,

 

I'm trying to communicate with BMC bladelogic from VRO(6.0.1). BSA is installed in a Linux machine.I'm trying to execute a NSH script Job on BSA. Is there any option to communicate with BSA from VRO other than using webservice?

 

Thanks,

Mano

Connecting to BSA from VRO

$
0
0


Hi,

 

I'm trying to connect BMC Bladelogic server automation tool from VRO(6.0.1). I need to execute a NSH script job on BSA triggering it from VRO. BSA is installed in a LINUX machine. is there any option to connect it from VRO other than using web services? what are all the available options?

 

Thanks,

Mano

vRealize Orchestrator 7 WebService EndPoint

$
0
0

Hi,

 

I was using orchestrator 6. I was using the webservice from the orchestrator to call the workflows. The endpoint of the webservice was https://orchestrator_server:8281/vco/vmware-vmo-webcontrol/webservice

 

Now I have installed the orchestrator 7, but when I try to access the endpoint of the webservice I receive this:

 

type Status report

message/vco/vmware-vmo-webcontrol/webservice

descriptionThe requested resource is not available.


 

What is the new endpoint to access the webservice? or is there some configuration that I must do? I'm using the appliance version of orchestrator



thanks.


Dynamically-created form values

$
0
0

This may not be possible at all, but thought I'd ask.

 

I'm creating a workflow that will allow the user to change the memory and/or CPU count for a VM.  The VM can reside on one of two vCenters under predefined folders.  The first thing the user does is selects which vCenter the VM resides.  Based on this selection, the form calls an action that retrieves all of the VMs on the vCenter from the predefined folder on that vCenter.  It then populates a drop-down on the form with a list of the VMs.  Next thing the user will do is select the new memory and/or CPU count for the VM.  What I want to do is make the default values for the memory and CPU count dynamic based on the VM that is currently selected in the drop-down list.  However, this value comes from the action call earlier - IOW, the values are dynamically updated themselves.  Is there a way this can be achieved?

Throttle a specific workflow to only execute so many in parallel

$
0
0

I have a requirement to only allow a specific workflow when executed to only run in parallel up to a specific number.  Does anyone have any advice on the logic I should use? An external system is calling this workflow 100 times and I only want my workflow to run 7 of those requests at a time etc.

 

Thank you

 

 

-Stephen

Anyone working on a HTML5 Web UI for VRO workflows and wiling to share?

$
0
0

I have a need for very simple Web UI for launching VRO workflows from PC and mobile. I have been studying AngularJS as it seems to be convenient way to access VRO REST API over Web but HTML, CSS and this level JavaScript aren't really my strongest skills so progress has been slow .

 

Has anyone already done any simple Web UI which would allow executing workflows over VRO REST API?

If yes would you be willing to share your project?

 

Or should we launch a Kickstarter and hire bunch of devs from Freelancer.com

Several issues with VRO 7

$
0
0

Just a quick poll here if anyone else have seen same issues I have been experiencing with VRO 7, or is my installation just hosed somehow

 

- Copy & Paste of workflow elements no longer works in Workflow Designer, this was working fine on VCO 5.x and I think 6.x also

- VRO 7 won't register into vSphere Web Client 6.0 u1, at least when using vSphere authentication mechanism at VRO side. User error, see answer below.

- Workflow Designer seems to be awfully chatty over network, much more so than previous releases. I am having severe sluggishness and even complete hangs of Workflow Designer when I am accessing remote VRO server. Remote connection is IPsec VPN over 100/10 mbit/s internet connection, with 4ms latency from client to server.

 

At least these issues have been annoying me on VRO 7, anyone else have similar experiences?

vRA 7 and Java Heap

$
0
0

Good day all,

 

Since moving to vRA 7, lately I am seeing the java heap dump file filling up /storage/log/core so I have been playing with the java memory settings in setenv.sh and I hoping some of you out there might have done some playing around with these values and might have found a setting that is working well for them.

 

A little back ground I have a 4 node vRA 7 Cluster and have a good size environment with 10K+ virtual machines

 

Each vRA node had 4 CPU's and 8GB of RAM with 6GB configured for the head in setenv.sh and it appears that was not enough because I found the dump file on multiple nodes.  I have bumped the memory to 12GB and 10GB for the head value to see how that works out after the nightly workflows complete.

 

Anyone seeing this or have already addressed?

 

Thanks

 

 

Steve

Viewing all 10285 articles
Browse latest View live


Latest Images

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