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

"Add a NIC" to an existing VM action is missing?

$
0
0

Hello VMC,

 

I have just joined the community after a few days of searching for Orchestrator answer to my questions. I am a new guy to VMWare and have started to learn VCO (vRealize). I have been doing a few mock setup here and there and so far so good.

 

I stumbled upon an issue, where I can easily clone a VM using the Orchestrator. However, I realized, it was a bit hard to add a network card to that cloned VM through Orchestrator. I need to add that new NIC to a distributed switch. So I searched for days on google. Most of the hits point me to this community Here are the things that I found:

 

===================================

createVirtualEthernetCardDvNetworkConfigSpec

createVirtualEthernetCardNetworkConfigSpec

===================================

 

I can easily find those 2 in my Orchestrator, but I can't seem to make it work. I am thrown with error:

Cannot convert com.vmware.vim.vi4.VirtualDeviceConfigSpec@94f5aa3e to com.vmware.vim.vi4.VirtualMachineConfigSpec (Workflow:Add VNIC to VM / Add VNIC (item1)#1)

 

===================================

Add a NIC

===================================

 

I have seen some topic here in the community about this action, but I can't seem to find it anywhere in my Orchestrator. I am running version 5.5.1.

 

So I guess my questions are:
1. Where can I download the "Add a NIC" action? I guess this is the easiest way for me to add a nic to a VM without tinkering on scripts. I have yet to learn scripting.

2. Are DvNetworkConfigSpec and NetworkConfigSpec actions pre-requisite to one another? How can I use these successfully for adding a new nic for an existing VM?

 

Apologies for the questions don't make sense. I am not used to speaking the language of a vmware person. But I do hope these make sense.

 

Thanks!

 

Message was edited by: Geoffrey Yumul I added information about putting the NIC into a distributed switch.


vRealize Orchestrator and vSphere Web Client Integration Troubleshooting

execute reconfigureDvs_Task(spec) repeatedly on the same spec Version failed

$
0
0

var spec = new VcVMwareDVSConfigSpec();
spec.configVersion = dvs.config.configVersion;

...

dvs.reconfigureDvs_Task(spec);
...
dvs.reconfigureDvs_Task(spec);
 

it failed as the spec version has not changed.

error:can not complete operation due to concurrent modification by another operation.

 

if I get the new spec version before execute dvs.reconfigureDvs_Task(spec) it can work.

namely it can work with the following scripts:

var spec = new VcVMwareDVSConfigSpec();
spec.configVersion = dvs.config.configVersion;

...

dvs.reconfigureDvs_Task(spec);
...

spec.configVersion = dvs.config.configVersion;
dvs.reconfigureDvs_Task(spec);

 

But the issue it that I must do some operation in the old spec. So must recofigueDvs in the same spec version twice.

Is anyone familiar with it? Waiting for your help.

Workflow in a package without Edit contents permission cannot be deleted

$
0
0

Hi,

 

I'm using vCO 5.5 on windows. I created a package and add some workflow into it. I tried to export this package for others to use. I deselected the Edit contents permission when exporting.

 

But after others import my package, they cannot delete the workflow directly. If I deleted package with content, the workflow could not be deleted, either.

 

Is it by design? Is there a way to solve this problem? Thanks.

 

Vicky

Query vCloud Director for vApp or VM

$
0
0

Hello,

can anyone help me in writing orchestrator scriptable task that checks if a given string is a name of vCloud virtual machine or vCloud vApp?

The vCloud api seems to be very not intuitive for me.

SRM Plugin for vRO 6.0

$
0
0

Hi all,

 

I'm having trouble getting the plugin to pick up the SRM sites. I have tried the SRM 6.0 plugin with vRO 6.0.1 and 6.0.2 and neither work. vRO is using SSO and every other plugin works as expected. The platform is:

 

  • Two vCenter 6 with embedded PSCs (both joined to Orchestrator);
  • vSphere Replication 6 (plugin works fine);
  • SRM 6.0 (all works in the Web Client, not reported issues).

 

I have reinstalled the plugin and there are no errors in vRO Configuration portal.

 

Does anyone know what could be the issue?

 

thanks

Failed to authenticate with the guest operating system using the supplied credentials - Guest Operations

$
0
0

I am using the guest operations workflows to move some files to Windows guest and running some commands as part of post cloning of an machine. The credentials works on the VM before cloning and it doesn't work on the cloned VMs. It throws this "Failed to authenticate with the guest operating system using the supplied credentials". Anyone run into this issue before ?

Orchestrator REST API Output

$
0
0

How do you get the output of a workflow using the REST API?

 

In the below example I ran the Invoke an external script workflow to call an external powershell script that connects to a vCenter and gets a listing of all hosts. The output is visible in the Orchestrator client, but what format does the object need to be converted into to be seen in the output in the API?

 

I would like to be able to execute a workflow through the API to retrieve data in JSON, and display that in an external web page. Does anyone have any example workflows that would do this?

Output.JPG


Mapping a catalog resource back to its vCACCAFE:host or hosts

$
0
0

I'm wondering if there is a way to map a catalog resource back to the vCACCAFE host or hosts that manage it?  I might have vRO instances where I am interacting with more than one vRA instance and I'd like to be able to easily map back to the top level host that manages the resource.  I'm still stumbling around in these vRA api's and I don't see where the link is.  I see a parentResourceRef attribute but it seems to be null so I guess that isn't it.

 

Paul

Programmatically retrieve the vRA version.

$
0
0

I'm curious if there is an easy way to snag the vRA version and build information.  I'm not really seeing it in the plugin or the vCACCAFE host anywhere.

New line / carriage return in vco email

$
0
0

Hi Guys,

 

I have a workflow that sends an email to an end user after a system has been deployed. This is working great except the text in the email is all bunched up together. I have tried to used various methods to address this such as trying to use "\n" or <br> but no joy. See my screenshot below.

 

vOrchestrator.jpg

 

Any ideas?

 

Thanks

 

Gordon

Get Allowed VRA Catalog Items, Blueprint, Reservations for a specified user.

$
0
0

From VCO is there a way to determine what VRA catalog items a user has permissions to?  Once selected I need to select blueprint AND reservation.  Examples are good.  Thanks!

 

-Justin

add disk to vm workflow

$
0
0

I am trying to use the add disk to vm workflow but keep getting this errorScreen Shot 2015-07-10 at 8.54.53 AM.png

 

any idea?

vRealize Automatio-Reservation API Unathorized

$
0
0

Have been working on some vRA APIs for Reservation creation. I am trying to see all business groups and compute resources using these urls

 

https://$host/identity/api/tenants/qe/subtenants

https://$host/reservation-service/api/data-service/schema/Infrastructure.Reservation.Virtual.vSphere/default/computeResource/values

 

Keep running into issues with output

 

{

    "errors": [

        {

            "code": 10108,

            "message": "Invalid data access API use.",

            "systemMessage": "HTTP/1.1 401 Unauthorized : ",

            "moreInfoUrl": null

        }

    ]

}

 

I have all Tenant Admin, Infra Admin, and Fabric Admin access. Anyone using Reservation API ?

vRO inventroy filter retrun 20 objects only

$
0
0

Hello,

I am running vRO 6.0.2 and it is impossible for me to filter workflow when i am trying to map them to another since the Workflow filter returns only 20 Elements

 

vro issue.png

Is there any way to expand the filter to complete set of workflow which is definatly more than 20 workflows

 

 

Please help!!

 

BR,

 

MG


extend vm disk and extend disk in windows workflow

$
0
0

any idea or any tip on how to create this in vco?

 

I frequently have to enlarge disks due to out of space and have to do enlarge the disk via vcenter and then go to windows to extend the disk

 

how to create a workflow to do both?

Windows Command Execution

$
0
0

Hello,

 

I am running into some issues attempting to run command line executable from my VCO server.

 

I am running the application on windows 2012 R2 Server and when attempting to run functions leveraging the "Command" scripting class.

 

Executables that are fully functional from the actual server command line such as "rd /Q /S C:/test/" error out with

 

Wrapped java.io.IOException: Cannot run program "rd": CreateProcess error=2, The system cannot find the file specified (Workflow:File Write Testing / Scriptable task (item1)#5)

 

Any help resolving this would be greatly appreciated.

 

Thanks,

Installing vRO v6.01 but not showing in web client

$
0
0

I'm having difficulty with a clean install not showing up in the Web Client and I'm hoping someone here can help.

 

I've been building my home lab with vSphere 6 now it's GA, and after getting vCenter up and running I thought I'd have a look at the latest and greatest Orchestrator (v6.0.1). I deployed the OVF fine (I used the GUI client as the web client and their 'integration' tools are anything but) and went into the web configuration portal. I completed the 'vSphere infrastucture' tab (SSL, SSO Auth, licencing, vCenter registration) which completed successfully (according to the onscreen messages).

 

However when I go into the WebClient under the Orchestrator tab there's no server listed and no workflows are available. I've checked that the vCenter client plug-in is enabled (under Administration > Solutions > Client Plug-ins) and I've also tried registering via the Orchestrator GUI client and running the 'Add a vCenter Server' and 'Register a vCenter Server' workflows, both of which completed succesfully. Still no luck.

 

Any ideas how I can get Orchestrator registered with vCenter (I'm using the VCSA) or where I can start troubleshooting? Any good log files to check?

 

Thanks,

 

Ed.

vCOPS Remediation (SNMP)

$
0
0

I'm running vRO 6.0.0 and installed the prerequisite packages as described here => SNMP | VMware vCenter Orchestrator Blog - VMware Blogs

 

However, after setting everything up on both the vROPS machine and vRO, I cannot get it to trigger any SNMP traps.  I've tried the default port (161) as well as other ports, but no luck.  Has anyone gotten this to work?  If so, how?  Thanks.

ASD External Values / Labels

$
0
0

This is a combo vCAC / vRO question. Lets say  I want to have a field on my ASD form, with a type string, and a presentation of Radio Button Group.

 

I can define manually a list of elements (value AND label):

 

question1.png

 

What i want to do, is create this same behavior but use an external vRO action to define the list of values AND labels. So if i set my action to:

 

question3.png

 

I can get the list to populate correctly, by returning a Array/String from the action:

 

 

question2.png,

 

 

The problem is, it sets the value and the label to the same thing. I want to have a value set to X and a label set to Y. What should my return type be in order to achieve this?

 

Is there documentation somewhere listing what each ASD form type (checkbox list, date & time, list, dual list, radio button group, search, tree, map) expects for a return type, when set to an external action, in order to properly populate the item on the form?

 

Thanks as always,

 

-James

Viewing all 10285 articles
Browse latest View live


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