Hi,
is there a way for a workflow between vCenter and infoblox with out vRA ?
Hi,
is there a way for a workflow between vCenter and infoblox with out vRA ?
Hello,
We developed custom workflows in vRealize Orchestrator for our product and packaged them. Can we share or distribute this package with our customers?
Any VMware link that gives the proof that we can redistribute the custom workflows that we developed will be of more help.
Many Thanks.
This is not really related to VRO itself. But in my case, VRO is used to launch a Workflow that will do a bunch of stuff first, then upon the different results, will launch a PowerShell script. That script is sentitive and will do Delete/Create/Move stuff in AD.
Since its related to AD, the security team asked us to do a mecanic, to hash the Second script. That hash is stored in the first script. And the hash of the first script is stored in a Vault, more specifically CyberArk. So if the first script is changed, CyberArk will validate it and I won't be able to retrieve a password for the second script, so the script will fail. If the first script is good, and the second one the hash found in the first script and if it fit with the second one the script is allowed to be run.
So anyway, I was wondering what mecanic does people uses to monitor/protect their script ?
If I have to change something in the scripts I must change the hash in the scripts and must contact the Security team to change the hash value. And only me and another collegue is allowed to call them.
I know I could use Tripwire to monitor the file, but the current method used is not very pratical and I have to contact the other them frequently. I was trying to find something that makes more sense.
Thanks,
I am trying to use "Request a resource action" library workflow to change lease on a vRA resource. Having trouble with input (I believe) and getting "400 BAD_REQUEST (Dynamic Script Module name : requestResourceAction#14)".
Catalog resource and Resource operation are populated with proper selections but in input values array I have the following:
provider-ExpirationDate | 2017-05-04T16:44:13.846Z |
And it inevitably fails to generate the request. Are there any other additional properties that need to be provided to complete built-in change lease action on vRA resource? Perhaps format is incorrect?
Hi,
I have a workflow which I have import and export from an Orchestrator version 7.2 to version 7.3.
One of the inner workflows is "Start workflow in parallel"
When I run it manually, it works fine, without errors.
When I schedule this workflow, it starts and then fails when starting the "Start workflow in Parallel" with the following error:
From the main workflow I receive:
stating workflow 'test' (0)
Workflow 'test' terminated with status 'failed'
stating workflow 'test' (1)
Workflow 'test' terminated with status 'failed'
From the inner workflow named 'test':
Unable to initialize a workflow handler
If I schedule the workflow 'test' - it works!
any idea?
I have a VM running Windows 10. I would like to have a workflow that gathers and outputs the running processes and PIDs. This output could simply be System.log("Process Name"). This will need to be an array and be able to reference the process name (assign to a variable). Any help would be appreciated. Thanks Tom
Hi,
I'm new to prototype js, actually my question is, how to write script in VRO using Prototype javascript framework.
as of now i have done like this, but i'm not sure if it is correct or not?
function RestHostWrapper(){
}
RestHostWrapper.prototype.getTransientHostById = function(hostId){
//logic to create transient rest host
}
//Some other methods.....
RestHostWrapper.prototype.getConfigurationElement = function(elementName){
//logic to getting configuration elements details.
}
RestHostWrapper.prototype.setConfigurationElementValue = function(attributeName){
//logic to setting configuration elements attribute values.
}
...and so on....
Now, how to use this wrapper class in actions/workflows ?
Please help me on this.
Thank you very much.
Laxminarsaiah Ragi
Hi,
I have two vRO 7.3 node clustered. Both look the same SQL database. I don't have any problem with this.
Node1 Name : VRO01.x.local - 192.168.1.1
Node2 Name : VRO02.x.local - 192.168.1.2
Cluster Name : VRO.x.local - 192.168.1.1 ( created on DNS and redirected to VRO01.x.local )
I redirected the all request to VRO.x.local. So naturally, all requests are going to VRO01.x.local. If i have any problem on VRO01, I'm changing VRO.x.local dns record ip with VRO02.x.local Ip.
My question is ;
Should I need to add any Load Balancer to top of these vROs or, is that enough to use DNS Round Robin ? What is your general use case advice about this ? I have a lot of workflows on VROs nodes and many workflow is running simultaneously. I want to learn best scenario for this.
Thanks.
I couldn't find an action for this and it doesn't seem to be a property of the vCAC vm. It sure would be nice if it were. I snagged this code from one of the workflows in the vCAC plugin that does what I would like so I figured I would repost here. I also attached an action. Takes a vCAC:VirtualMachine input and returns a VC:VirtualMachine out.
var sdkConnections = VcPlugin.allSdkConnections;
System.log(sdkConnections.length + " sdk Connections found...");
for each (var sdkConnection in sdkConnections) {
try {
vCenterVm = sdkConnection.searchIndex.findByUuid(null, vCACVm.vmUniqueID, true, false);
} catch(e) {System.log("Error for SDK connection " + sdkConnection.name + " : " + e);}
if (vCenterVm != null) {
System.log("Resolved vCenter VM " + vCenterVm.name);
return vCenterVm;
break;
}
}
I have the need to run multiple SSH commands from a single session. The reason for this is that I'm logging into a Cisco device and need to be in the 'configure terminal' context before executing the second command. I cannot have the SSH session run the first command, disconnect, then reconnect to run the second.
I don't believe this is possible with the default 'Run SSH Command' workflow, so I've tried to build my own.
When I use two lines such as:
session.executeCommand("conf t",true) ;
session.executeCommand("do sh run int vlan " + vlan_id,true) ;
I get the following error:
Unable to execute command InternalError: session is down (Workflow:Cisco-CreateVLAN / Create_VLAN_On_Switch (item2)#20) (Workflow:Cisco-CreateVLAN / Create_VLAN_On_Switch (item2)#33)
The executeCommand method specifies the following:
Execute a single command and wait until completed, return the stdout result if synchronous. This command will connect the session, request an execution channel, execute the command and close the execution channel.
From the above, it appears that trying to execute multiple commands via SSH is not possible. Is anyone able to offer any insight into this?
Thanks
Hello,
Help please solve the problem.
I'm not familiar with vRO, but I need to solve the problem.
It is necessary to pause replication on schedule.
There are default actions for this task. But the problem is that if the replication is performed at the time the schedule starts, then an error occurs.
It is necessary to check somehow the current replication status of each VM before starting a pause.
Or you can just repeat the action in the next 10 minutes if there is an error.
Can anyone know how to do this?
Hi
I have previously used the vAPI Plugin to do vCenter tags (properly against a vCenter 6.0) at one of my customers.
Now at another customer I am having issues with the vAPI Plugin and authentication.
I am running:
vRO 7.3.0.5481809 (Embedded in vRA 7.3)
vCenter Server 6.5.0.5973321
vAPI Plugin 7.4.0.5546687 (from here: Technical Preview version of VMware vRealize Orchestrator plug-in for vAPI))
I have added the vAPI Endpoint and vAPI Metamodel, and the objects are shown in the Inventory.
I can see all the scripting classes and methods related to vAPI in the API Explorer"List all tagging categories" I get the following error:
com.vmware.vapi.std.errors.unauthenticated => {data=<unset>, messages=[com.vmware.vapi.std.localizable_message => {args=[], default_message=This method requires authentication., id=vapi.method.authentication.required}]} (Workflow:List all tagging categories / Scriptable task (item1)#7)
If I duplicate the "List all tagging categories" workflow, and modify it, so that the line:
var client = endpoint.client();
Becomes:
var client = endpoint.client(myUsername, myPassowrd);
The workflow works.
So it seems as if the "session" created when adding the vAPI Endpoint / vAPI Metamodel, is not stored or at least not used.
Any way to get this to work properly, so I don't have to pass the username and password, to every workflow that needs to use the vAPI Plugin?
Hi guys,
I'm trying to execute the workflow that list all tags (vapi/examples/vsphere folder), but I have a lot of questions...
How should I configure de vAPI? What is the vAPI endpoint? I run the add vAPI endpoint workflow with the url https://[vcenterServer]/rest but when I try to run the List all tags workflow I receive the error: 'ReferenceError: "com_vmware_cis_tagging_tag" is not defined'.
Is there another configuration that I should do? Is the vAPI url https://[vcenterServer]/rest? Do you have some example/tutorial about using the vAPI in orchestrator?
Thank you..
Got a question of CDRom management with vRO. I have a workflow that prompts the user to select and Month. Based on that month, it is to modify the CDROM to be a DATASTORE ISO and mounts a specific ISO to the CDROM (the CD ROM should be mapped as D:). However, I have a few instances where it will not modify the exisiting CDROM, but ADD another CDROM and it utilizes E: as the drive letter. Now, while the appropriate ISO is mounted, it is mounted as a second CDrom and usually mapped at this time as E:. The manual fix for this is to go into the VM settings. Remove both CDROMS and manually add one back, taking the defaults. I then have to go into the OS and change the letter to D: (again, this is usually E:). The workflow works with no issue. I can then select any month and the appropriate ISO is mounted as D:. My questions is why (and this appears to be random, as I do not see any consistency why a second CDROM is added, instead of modifying the current CDROM. My preference is to not touch the VM settings manually, but have everything scripted via the workflow. My questions, is what would cause certain VMS to add a new CDROM and not modify the current. Now, if it is just as easier, I can have the workflow simply delete the CDROM each time. Then re-add a new one. But if I did this, how could I script the OS to ensure that the CDROM is D:? Thanks
We have a process that promotes a VM from dev to operating by "stamping" a project code into a custom property. Each project code allows for a specific number of VM's to be promoted. I am trying to get a list every VM under management, verify if it has this custom property, then evaluate the value. There are several thousand VM's under management. My thought was to read all of the VM's into an array and loop through it. As a result I have a question. How can I pull all of the vm's and their custom properties in an array? I know how to dig around on VM's during provisioning however I can't seem to find a way to get this list on VM's that have already been provisioned.
Hi,
We have used the kerberos authentication to add the powershell host.
Hosts are added successfully, but after some time host snappin shows below error:
Because of this error when i try to execute the powershell script from vRO, i get the below error:
If anybody find the answer for the same please share.
As per the release notes for vRO auto-deploy plugin 6.0.3 requires requires vCenter Server 6.0.0a
VMware vCenter Orchestrator Plug-In for vSphere Auto Deploy Release Notes
We have our infrastructre having vCenter version 6.0.0 Build 3634794 / vCenter version 6.0.0 Build 3634793. Does the vRO auto-deploy plugin will work for these vCenter builds?
Also what is the difference between vCenter 6.0.0 and vCenter 6.0.0a?
Regards
Sandeep
Hi All,
Do we have any API or function which helps to modify the EVC settings by using vRO? Was unable to find any functions in vRO API explorer.
Regards
Sandeep
We use MS Outlook as our mail client (exchange / office360) on the backend. I get a report emailed to me daily with the report attached as a file. How can I retrieve this message (based on unique subject line) thru vRO and save the attachment to a network share? Thanks
In looking at the integration with vRO and VIPR and few questions:
I'm using vrealize automation, so that pretty much defines vRO as the orchestration engine in terms of Vm provisioning and vCloud. When Should I take the EMC storage related aspects I need to orchestrate and use VRO for them directly, and when should I stand up VIPR and have vRO make calls to VIPR?