Attempting to automate some SRM stuff, and I need SRMSite objects in order to grab the deploymentId, to be used later in other calls to get a list of unassigned replicated VMs . I don't see any methods within SRM Plugin that will give me this info. Any suggestions?
Not sure how to generate a list of SRMSite objects programmatically (without Inventory Browser)
How do I read the replication config for a VM actively being replicated?
So, there's a call to configure replication (and an action in the examples), and there's VRReplicationSettings object for passing along the flags, like RPO.
How do I read the replication config of an assigned VM?
I'm still stumbling around the API and VR Plugin doc (and doing google searches, hoping to find an example).
Can you do this: Server.findAllForType("VR:VcToVcSourceGroup", "") ?
Trying to do lookup by name against a list of VcToVcSourceGroup candidates. Server.findAllForType() has worked with other objects, but I must doing something wrong.
I've looked through the VRPlugin via the API Explorer and Dr Ruud's and Flores' site, nothing obvious. (But, I'm a noob).
Finding a VM via a VcSdkConnection sometimes does not carry over to other elements
We are having an issue where I find a VM using a VcSdkConnection returned from VcPlugin.allSdkConnections, but the VM object that gets returned is null in another element. This code works fine most of the time, but intermittently the returned VcVirtualMachine object does not survive and becomes null in subsequent workflow elements. This continues for a while (about 30 or so minutes) before it starts behaving again. I am at a loss for what is happening, any assistance to track down the issue is greatly appreciated.
Unable to set myVcHostMultipathInfoLogicalUnitPolicy.policy to "VMW_PSP_FIXED";
Hi All,
We are facing some issues with setting up mulltipath policy as 'FIXED' (VMW_PSP_FIXED), getting the below error in vRO Logs.
[2018-03-07 08:11:20.332] [E] Error in (Workflow:Esxi / Multipath Policy (item1)#10) A specified parameter was not correct: vim.host.MultipathInfo.LogicalUnitPolicy
[2018-03-07 08:11:20.354] [E] Workfow execution stack:
***
item: 'Esxi/item1', state: 'failed', business state: 'null', exception: 'A specified parameter was not correct: vim.host.MultipathInfo.LogicalUnitPolicy (Workflow:Esxi / Multipath Policy (item1)#10)'
workflow: 'Esxi' (3ec786e5-755d-4907-80db-2b466b6a2c45)
| 'no inputs'
| 'no outputs'
| 'no attributes'
*** End of execution stack.
But the policy VMW_PSP_RR and VMW_PSP_MRU works without any issues. Has anyone faced this similar issues?
Thanks
Sandeep
Methods of updating a property
I have a bit of a newbie question here, and I was wondering if someone can help clear it up for me. I noticed that there are two methods of updating a vRA property within vRO:
1. System.getModule("com.vmware.library.vcac").addUpdatePropertyFromVirtualMachineEntity(host,virtualMachineEntity,propertyName,propertyValue,propertyIsHidden,propertyIsRuntime,propertyIsEncrypted,doNotUpdate) and
2. VirtualMachineAddOrUpdateProperties = new Properties();
VirtualMachineAddOrUpdateProperties.put(propertyName, value);
What is the difference between the two? Is one better than the other? Is it an old vs new way of doing things? Which method should I get myself into the habit of using most?
Thank you,
Workflow not available to recover replicating VM from VC to VC in vSphere Replication plugin
Hi,
There is no Workflow available to recover replicating VM from VC to VC in vSphere Replication plugin workflows.
Workflows are there for recovering from Cloud to VC and from VC to Cloud
The below link says there is no recover method.
vRO API Explorer by Dr Ruurd and Flores of ITQ
How can I achieve it? Any workarounds to create custom workflow?
Thanks
Shivaraj
System.isHostReachable not always returning true when hosts are pingable
I am trying to use the System.isHostReachable method and it seems to be working for some ip addreses and hostnames but others it is failing. I have connected to the vco host and I am able to ping the failing addresses successfully from the command prompt. Is there some limitation to what the System call can see or do I need to tweak something in the configuration?
Control Center Unresponsive
Hey all,
I'm running into an issue with a standalone vRO appliance where controlcenter seems to have randomly become unresponsive. The vRO client seems to run without issues and the vCenter extension seems to run fine as well.
I have rebooted the appliance and I've restarted the configurator serivce, but still controlcenter doesn't come online. Any thoughts?
Upload File to Datastore
I am calling the canned workflow Upload File to Datastore. The destination file path is the /var/run/vco/ path on the vRO appliacne. I specify that filepath and specify the destination on the datastore. It works fine. I have a need to change the destination file path from the VRO appliance to a Windows share. I change the destination from /var/run/vco/filename.iso to \\Servername\isoshare\filename.iso I now get a Provided souorce path is not a valid file. Any suggestions on how to resolve this?
Create an array of VMS from a Predefinied array of VMs
I am not even sure if that makes sense. Hope that it is clear. What I would like to accomplish is have a predefined array of VMs. I am assuming that this can be an attribute that I create as Name - vmsList with a type of ArrayVC:VirtualMachine. I would then populate the array with the VMs I would like to select from. I would also think I would create another attribute called selectedVMs. This would also be an ArrayVC:VirtualMachine. I would like to be able to be presented with the vmsList array and select the VMs I want and it be populated to selectedVMs array. I am guessing that I am just missing the middle part. Any help would be appreciated. Thanks
Create an array of paths from files within a datastore folder
I am looking to create a workflow where a user can select a ISO that is currently in a folder in a datastore. For instance the Datastore is [MyDatastore] and the folder is isos. There is iso1.iso, iso2.iso, iso3.iso inside this folder. How can I pull those filenames/paths into an array. I am assuming it will be in a configuration item? Thanks for your help.
VRO 7.3 scalability
Hi All,
I have a customer who is running standalone instance of vRO 7.3.
Now the storage which is 17 GB has been filled.
Question : Can i increase the storage on appliance ? Is there a document which provide details how to do it.
Question - If I have to add additional node than i have to configure LB for this. As I am not using vRA in environment, is there a issue with SSO of vsphere ?
Question - I am also not able to login into Control center of vRO in 7.3 . Is this a know bug as I faced this issue for couple of customers where I am using vRO standalone appliance for development.
Update custom property
I was wondering if there is a way to update a custom property that is not exposed to the end user on the blueprint. I've googled for a few days now and haven't found anything.
I'm wanting to hide the network selection dropdown and just have the propery set via hidden custom property prior to submitting because of IPAM running before the request.
Figured i would ask here since i know there are a lot of folks smarter than me that might know something i don't.
Thanks!
dynamic inputs in the web client
Hi!
I have a workflow I am working on that uses some dynamically changing inputs.
I.e..
Selecting a host from drop-down causes two other drop-down selectors to populate with information relevant to that host.
This works great in the Orchestrator workflow designer.
However, in the vSphere web-client the fields are not updated when a host is selected. They seem to just get populated with default values for the data type (StoragePod, and ResourcePool)
I know not everything that works in the workflow designer translates in the web client. Am I just running into that issue, or do you think there is a way I can work around this?
My main goal is speeding up the interface by presenting only the relevant selections to the user, without them having to dig through a slow tree-view for the item they want to select.
Thanks for any insight you can offer
Jason
Flow of Workflow - Parameters, Presentation, Predefined List of Elements.
This is an amazing group. My questions have been answered for the most part and have been very helpful. I have just started using Orchestrator since Dec. Knowledge I have gotten has all been trial and error and this group. I have been able to figure most things out, more importantly I have been able to figure out HOW and WHY the solutions I have gotten from here work. One area I am having trouble with is with Presentation. Maybe because I have only used Presentation limited basis. What I have used is creating drop down boxes or check boxes a few times. Those have been using the Predefined list of elements, calling an action and there I am lost. Not sure what the flow is. I see what I was told to do - I am just not grasping the HOW or WHY it works. I see the components of the action and the Presentation calling the action, but it is just not clear.
An example that I am working with is I have an input parameter called ISO (it is a string). I know that I need to configure the Presentation components. Just not sure how (more importantly the why). The goal is that I want a dropdown list of ISO filenames. Those files will be contained in an array. That array is created by compiling a list of filenames on [DatastoreName]ISOFILES\
I think I am close, but the structure of the flow in how Predefined List of Elements works. I have created one (with this groups help) and it works great. I am just not sure why it works. The one I created in the past allows me to select multiple VMs. The predefined list of element for Select Virtual Machines (my Input parameter) the value is GetAction("com.test.vmudate","getDynamicVMS").call(#VMs)
My limited knowledge states that it is calling action getDynamicVMS from the com.test.vmupdate module. As far as what call(#VMs) is, I have no idea. Again, thanks so much for the help.
vRealize Automation vs. Windows System Center Orchestrator
Does "Windows System Center Orchestrator" have a similar functionality to that of "vRealize Automation" in terms of a platform for automation of VMware, AWS, Azure, ...?
Is there any official document to lay out the major differences?
Many thanks!
Install software after server build?
This is my first day with Orchestrator. I have been able to build a VM from out template with the built-in clone script. I am now trying to install several software applications that are required that do not already exist in the template and cannot be added to the template.
Our current NON Orchestrator process is to Deploy VM from a template, login and run a powershell script that copies software from various network locations to c:\temp and then runs them.
I would like to automate this into a single VRO process, but for now, I would be pretty happy to figure out how to install the software after we have built the VM. I read how to connect a VM to powershell, using the Add a powershell host, but that does not seem like it can be automated everytime we build a machine.
Any ideas where to go?
hide/show input parameters if a substring is found on another input parameter
Hello
I know there is a way to hide/show input parameters to the user depending on another value by using the following, which it's pretty useful and i use it a lot.
we enter someting like this in the pencil field : #input_variable == "expected value"
But now i need to find also when when a substring is found!
something like :
#input_variable == "*substring*"
#input_variable == ".*substring.*"
#input_variable.indexOf("substring")
Tried all that, but nothing works
Does this really can be done in some way??
Oscar