Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all 9859 articles
Browse latest View live

Can VRA be considered as IPAM?

$
0
0

Hello.

 

I am trying to deploy an Edge using IP addresses from a given network profile. Instead of manually entering the IP address, I want to find out (programmatically - VRO) the next available IP address for a given Network Profile of VRA. Is there any query/API to do this? The network profile isn't created with an external IPAM server. So, can I query VRA like I do any IPAM server?

 

Short of iterating through the range and checking its existence in VM/DNS, are there any other method? This is VRA 7.3, BTW. Thanks


TypeError: Cannot call method "get" of null

$
0
0

Hi,

 

This question should maybe be posted in the Orchestrator forum, but I´ll try here first. I´m running a workflow as a post machinebuilding event and in the the script I have defined payload as a input. The first line of the script is "var machine = payload.get("machine");" and it generates the following error "TypeError: Cannot call method "get" of null".

 

I´m using the exact same line in a pre machinebuilding event and it works fine. My first thought was that "machine" is not available but it does seems to be available since I see this in the logs "'attribute': name=machine type=string" with the correct values.

 

I am hoping someone can help me with this problem. If more information is needed, please let me know.

 

Thanks in advance.

Any simple way to pull the current date and time and apply it to a Property in vRA?

$
0
0

Hello and thanks for taking the time to help me out.

 

Basically, I’m trying to make it so when a blueprint is request, it creates a folder in vSphere that creates a tree that goes <name>/<project>/<date-time> based mostly on user inputs, and then dumps the provisioned vm's in there.

 

The blueprint prompts for the username and the project they are working on, and then creates that folder tree in vSphere but also creates another sub folder of <date-time>.

 

I've created a Property Group, that says to put the VM in a folder tree in vSphere with the structure of  <name>/<project>/<date-time>.

 

I’ve then been able to create Property Definitions for <name> and <project>, and when a user enters them during the blueprint request, it does go to vSphere and it does create that folder structure and dumps the VM's in there. This is as expected.

 

The problem is getting a Property Definition for <date/time>.

 

When setting up a Property Definition, It does a have a Date/Time picker in there but I don't want the user to be able to pick the date/time, i just want it to be the current date/time that the blueprint was provisioned.

 

Is there any way to easily extract the current date time and then apply it to a 'Date/Time' Property Definition? or some other way to apply the current date time to the folder structure?

 

Hope that makes sense.

Thanks for your time.

AWS Default Blueprint - VRA 7.3 how can I place limitations - is there a configuration file?

$
0
0

Hi there

 

My team is using the AWS Default blueprint to provisioning EC2 machines in AWS. VRA v7.3. We want to find out a method of how to limit certain aspects. I'll give you examples:

 

1. Storage tab - The customer wants us to limit the max size of each storage volume to 100 GB. However, the input field of Storage allows me to type unlimited values. Is there a way to put in limitation using a configuration file or javascript code?

2. Subnet selection - We have only one subnet created in the VPC. However, in the subnet drop-down we see the one subnet and the default subnet. We don't want to display the default subnet. Is there a way to to limit the drop-down values displayed?

 

These are just examples of what we want to achieve. Any help will be appreciated.

 

Thank you.

Nikhil Gonsalves

[vRA 7.3] - Automate Reservation creation

$
0
0

Hi all,

 

when we want to create from vRO a new reservation it's necessary (not mandatory) to push a ResourcePool ID....

 

{

"key" : "resourcePool",

"value" : {

"type" : "entityRef",

"componentId" : null,

"classId" : "ResourcePools",

"id" : "79e1f291-1001-4ec3-b0b2-c094f8fc865e",

"label" : "Resources

}

 

This ID is available in a IaaS DB :

 

 

 

 

 

We try to retrieve this ID from vRO VCPlugIn but without success. We can only find the ResourcePoolUniqueID from vRO VCPlugIn.......

 

How we can FIND this ResourcePoolID linked to a vCenter Cluster from vRO ?

 

 

Where vRA stores this information :

 

  • This ID matches to the ResourcePool on this Esxi cluster.

 

 

 

Thx for your help.

Any way to populate the Tree input field dynamically based on the other input selected by user?

$
0
0

I have a requirement to show the virtual machine files to the user in form of tree structure.

I could see we have a way to use External values in form of actions to populate the tree but I have question on the below,

 

1. What Entity Type do we map if the input field is tree type? Is there a mapping list that I can use?

2. The external value had no option to use the other input field value selected, in this case I need to have the VM to show the files to user.

create file in guest

$
0
0

Hi all,

I have vRO 7.0.1

I want to copy file to VM guest.

I saw 2 built-in workflows:

 

1. “Copy file from vCO to guest”

2. "Create temporary file in guest"

 

both of them not suits me, because:

1. “Copy file from vCO to guest” - error "No permissions on the file for the attempted operation...", and yes I walked through the article below:

vRealize Orchestrator Appliance - Guest File Operations Part 1 - (Copying a file to guest VM) - 2ninjas1blog.com

 

2. "Create temporary file in guest" - Creates file with customized name and without extension.

 

I guess if there were an option to use the workflow of "Create temporary file in guest" but with an option that I can choose exat filename and extension, that would be great.

did someone had this case that I have?

 

Regards,

Boris

How to pass externalAction value in creating a property definition using createPropertyDefinition method?

$
0
0

Hi All,

 

I am trying to create a property definition using the method createPropertyDefinition(). The property definition will be populated by an external action and there is a parameter externalAction with type Action in the method.

Does anyone know the format it expects for the parameter externalAction

 

I tried giving it the way we see in my property definition, com.vratest.utils/getStorageList

It fails in reading externalAction.module.name from it. I am sure its a small mistake or a particular way it expects the input value to be passed

 

Appreciate your time and help.

 

Thanks!


Unable to build from blueprint "No reservation available to allocate the requested resources.."

$
0
0

Good morning


using vRA 6.2.1 for a number of months now but when trying to build a machine i am getting


A server error was encountered Error requesting machine. Machine xxx: Allocate reservation operation failed for business group yyy. No reservation available to allocate the requested resources..


However I have a reservation which has enough RAM and Storage allocated but it still refuses to build not matter what i try


What can I check / try next?

Migrate VM's from one vRA deployment to another

$
0
0

If I have an existing vSphere environment running 100's of VM's which have been deployed using vRA and wish to migrate them all to an entirely new platform managed by a different vRA instance, what are the steps I'd need to take and can this be achieved non-disruptively?

 

All the VM's will be connected to an NSX network and running on vSAN if this adds additional complexity.

 

Imagine a situation where the current environment is running vSphere 6.5 with vRA 7.3 but my new world is actually running ESX 6.7 with vRA 7.4

Hide Blueprint options and set defaults for AWS Instance

$
0
0

Hi,

 

We are trying to set defaults for the AWS instance Blueprint deployment. Is there any way to hide items such as the provision into , location and setting defaults.  I understand we can create a XAAS blueprint and do a workflow that does a catalog request, but that seems like such a roundabout way to do something to help simplify the provisioning workflow and make it useable for business users.

 

29-11-2017 9-59-14 PM.jpgHi

vra7.3 registerSystemWorkflowSubscription fails in converting the criteria JSON string during createWorkflowSubscription phase but the same JSON string works in using function createWorkflowSubscription independently

$
0
0

Hi,

 

I am trying to create a workflow subscription and publish it.

 

This is what I am seeing,

 

1. Register A workflow subscription is unable to create the subscription as it fails in setting the criteria using the JSON string,

     Error:   (com.vmware.library.vcaccafe.workflow.subscription/createWorkflowSubscription) Error in (Dynamic Script Module name : createWorkflowSubscription#14) Unable to convert target json string to clause object

 

I had obtained the criteria using another subscription and then called JSON.stringify on the response and passed it to the function.

 

2. I used the same JSON string and tried creating a workflow subscription, surprisingly that works.

 

3. I want to publish the subscription and looks like if we just create the workflow subscription, it does not publish it even when the status is PUBLISHED. And just creating the subscription does not register it with vCACHost so I had to go with the route

A. register workflow subscription

B. publish workflow subscription

 

Can someone please suggest what is wrong in this or if the method has some bug in 7.3 version.

 

Thanks for your time and help!

how to download the vra7 product on trial version?

$
0
0

I have to try to download the vra7 product from my VMWare account but I'm not a superuser that's why I have faced the problem.

 

 

Could anyone please share the link?

 

 

Basically showed the bellow message...

 

 

You either are not entitled or do not have permissions to download this product.

Check with your My VMware Super User, Procurement Contact or Administrator.

If you recently purchased this product through VMware Store or through a third-party, try downloading later.

 

 

Overall I need the vra 7 ovf file if anyone help

how to download the vra7 product on trial version?

$
0
0

I have to try to download the vra7 product from my VMWare account but I'm not a superuser that's why I have faced the problem.

Could anyone please share the link?

Basically showed the bellow message...

 

 

You either are not entitled or do not have permissions to download this product.

Check with your My VMware Super User, Procurement Contact or Administrator.

 

If you recently purchased this product through VMware Store or through a third-party, try downloading later.

 

 

Overall I need this ovf.......

How to create a new reservation in vRO

$
0
0

Basically what the title says. We've been trying to find documentation for how to create a new reservation in vRealize Automation with a Orchestrator workflow, but the documentation and examples one can find online seem to be woefully lacking. Anyone have any basic code/workflow examples to help out?


Requests are stuck - invalid credentials

$
0
0

Hi Team,

 

I just integrated my vRA 7.3 with Istanbul SNOW instance using plug-in 3.0. I am able to request (and approve) services from the vRA catalog, however requests are stuck. See screenshot below.

Screen Shot 2018-02-20 at 12.15.45.png

 

In the plugin log I can see the following error message, however I am not able to identify what are the invalid credentials.

 

REST call error found inside VRASNRequestUtil.getTemplateViaRest: Method failed: (/catalog-service/api/consumer/entitledCatalogItems/94748c1b-40fa-4ec0-a239-6ef0807b73c6/requests/template) with code: 401 - Invalid username/password combo

 

Thanks

Paolo

vROPS VM monitoring

$
0
0

Hello all,

 

Is there a way in vROPS to make a report that should contain VM monitoring(CPU, memory, etc) charts(trend) at vm level.

For example: on a host with 3 vm's If we want to monitor the CPU Usage and Memory Usage, the report should have 6 graphs, the first graph with the CPU Usage of vm1, the seccond graph with memory Usage of vm1, and so on.

 

I have tried to create a view for this but the problem is that the CPU Usage graph contains all 3 vm's on the same graph.

 

Best Regards,

Daniel

fieldValues

$
0
0

Hi,

 

After a Xass request is submitted, I configured an event broker.

 

When I try to print the following lines, I receive null:

var fieldValues = input.get("fieldValues");

System.log(fieldValues);

(input is the properties which was received from the request)

 

If I try to print sourceInfo, fieldNames, requestInfo - there are a lot of information.

 

I suppose that  filedValues should contains the values the the user filled in his request, am I right? Why there is no information in it?

 

Thanks!

Adding Property Definitions to an XaaS Blueprint

$
0
0

Adding Property Definitions to an XaaS Blueprint

Is there a way to add property definitions/groups to an XaaS Blueprint?

Thanks.

Approval Policy Based on a Datacenter Selection

$
0
0

Approval Policy Based on a Datacenter Selection

I have two datacenters selection in vRA and I would like to prevent VMs reconfiguring in one of those two datacenters such as using an XaaS action (change network) which is entitled to all VMs in both datacenters.

Thanks.

Viewing all 9859 articles
Browse latest View live




Latest Images