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

Decom single VM in multi-VM deployment

$
0
0

In most cases we deploy a single VM per deployment and in that scenario you can run the destroy action on either the VM or the deployment successfully.  But in cases where multiple VMs are part of a single deployment there doesn't appear to be a way to destroy just a single VM in that deployment.  In multi-VM deployments it seems like the destroy action is no available for individual items.  Am I missing something or is there no way to destroy one VM in a deployment?


How to Capture Events after deploying multi-machine through single blue print

$
0
0

Hello Everyone,

 

I have a blueprint to create 2 machines from template, and also i have created a event subscription to capture the properties of both the deployed machines and pass to vRO, since the condtions of the event subscription is as follows:

for which the event is called twice, since there is 2 virtual machines deployed in a single blueprint and in-turn workflow in the vRO is called twice which misleads the entire operation.

 

I need a solution, where i can deploy 2 virtual machines in sinlge Blueprint, further which the event subscription has to pass the properties of both the VM's information at once to vRO, and the workflow is executed once with success results.

 

Kindly, Please do help.

vRA 7.3, vRB 7.3, VIC 1.3.1 - setting up pricing policy for container consumption

$
0
0

Hello,

I've recently started piloting a VIC deployment, with the goal of providing users the means of quickly deploying Container Hosts through the vRA items catalog.

 

I have used a slightly modified Version of the guide and Tools published here:

Using vRealize Automation to Deploy VMware Virtual Container Hosts as a Service - Cloud-Native Apps

 

Users are able to deploy Container Hosts this way and those are neatly presented in vRA (as Dynamic Type objects), however there is one design problem I am facing right now and that is to find a way of setting a pricing policy for the Container resource consumption. Since they use some compute resources, I have to find a way now to construct a custom pricing policy or an expansion of the currect policies, that would allow a price calculation each month.

 

Currently, the pricing policies are based on vRA reservations, that allow for a quick cost calculation of the VM resource consumption for each client (business group). Treating Containers as VM's makes no sense, so I thought about a calculation that is based on the usage of the resource pool, that is created with each Container host. However there is the challenge of associating the resource pool with the vRA reservation, so that the connection is apparent in vRealize Business. Pricing Methodology is set to Allocation.

 

Can someone who has experience in this matter maybe give me a tip on how to efficiently create such a policy?

Launch a Workflow on event via vRA 7.2

$
0
0

Hi all,

 

We use the event brocker service to call vRO workflow for provisionning VM (with different lifeCycleState)

 

When a customer request a new hard drive on his VM, he uses the GUI in vRA and "reconfigure VM" to add disk... It works fine.

 

BUT... The guestOS need to be updated with the new drive, and for this, i would like to launch a Remote Powershell Script to add or extend drive.

SO... I need to catch the event. To achieve this, i read all of the Life Cycle Extensibility.PDF to look for reconfigure event

 

I found this :

 

ReconfigureVM.Complete in the global event

 

But i dont know how to provide these information in the event subscription.

 

Can anyone help me ?

 

EBS.png

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

Possible to use custom properties in property definition dropdown?

$
0
0

We have migrated from vRA 6 to 7.3 and thus lost our XML file for drop down. The new system with its binding and script actions is great, however, I would really like to know if we can do one thing :

 

When defining the value in the input parameters area of a Dropdown (which I can pass to a script action), can I use a property that I have already defined and attached to the blueprint?

 

Normally I would bind another property definition to it, but then that property has to be defined in a text area, drop down, etc. I want it to be defined in a property group that is attached to a blueprint.

 

For example each property group is associated with their own blueprint:

 

------

Property group - AAA Datacenter Environment Prod"

Hard set "VM.Guest.Datacenter.Network.Pulldown" value to AAA-prod.

 

Property group - BBB Datacenter Environment Prod"

Hard set "VM.Guest.Datacenter.Network.Pulldown" value to BBB-prod.

 

Property group - AAA Datacenter Environment Stage"

Hard set "VM.Guest.Datacenter.Network.Pulldown" value to AAA-stage.

 

Property group - BBB Datacenter Environment Stage"

Hard set "VM.Guest.Datacenter.Network.Pulldown" value to BBB-stage

------

 

Property Definition - "VirtualMachine.Network0.NetworkProfileName"

Uses script action with input name "datacenter" and value as X where "X" should be the value of "VM.Guest.Datacenter.Network.Pulldown" . The script action will use JS to create a dropdown with the exact network profile names as "Value" and a friendly name as "Name". For example, if the value provided is "AAA-prod", it will show a dropdown of:

 

Name                    Value

"DMZ"               -> "AAA Prod DMZ"

"Protected"       ->  "AAA Prod Protected"

 

Hope that made sense.

 

-Alex

Synchronization issue between vRA and vRO

$
0
0

I developed a plugin in which I am creating few custom objects and couple of workflows. Once the plugin is installed using vRO control center, service is restarted and all checks are found green under validation screen, I go to vRA and under custom resources try to access the custom object. But I am not able to find my newly installed custom object. I waited for few hours but still no success.

 

I am using vRA 7.3 with embedded vRO

 

When I restart vRA appliance then I am able to find my custom object.

 

Can anyone please let me know how to debug this as this is creating lot of problems for me?

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] - BMC EPIagent Custom Properties to Make Software Jobs Available

$
0
0

Hi team,

 

we have create "Properties Groups" for BMC EPIagent.

 

In the documentation here, page 55 is said :

 

Specifies a software job or policy to be applied to all machines provisioned from the blueprint. Set the value to job_type=job_path, where job_type  is the numeral that represents the BMC BladeLogic job type and job_path is the location of the job in BMC BladeLogic, for example 4=/Utility/putty. NNNN is a number from 1000 to 1999. The first property must start with 1000 and increment in numerical order for each additional property

 

Ok this is done with the "Properties Group" :

 

"Vrm.Software.Id1000" = "2=/ASSET/DEV/Windows/EMEA_Baseline/ASSET-Win_Finalization_DC4";

"Vrm.Software.Id1001" = "4=/ASSET/DEV/Windows/EMEA_Baseline/Office/2016/Office_2016_64_bits";

Now we want to deploy Vrm.Software.Id1000 in FIRST and after the software Vrm.Software.Id1001, etc.......

 

Actually Vrm.Software.Id1001 is always deployed in FIRST.

Of course we have tried to invert the numbers but the Office Package is always the first to be installed

Do you know how we can force the installation order of BMC Bladelogic Packages with the EPIPowershell agent ?

 

Thx for your help ...Have a Nice Week

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.

vRA API - Assigning Storage Reservation Policies

$
0
0

Has anyone managed to use the API to allocate Storage Reservation Policies to a Storage Path via the vRA API? I can't seem to figure out where to set this.

 

The UI version of what I'm trying to do:

 

Infrastructure -> Edit Compute Resource -> Configuration -> Storage Path -> Drop-down to select Storage Reservation Policy.

 

The closest I've got is:


/reservation-service/api/data-service/schema/Infrastructure.Reservation.Virtual.vSphere/default/reservationStorages/values - gets me the datastores

/reservation-service/api/data-service/schema/Infrastructure.Reservation.Virtual.vSphere/default/computeResource/values - gets me the compute resources I need to edit


Any help appreciated.



Failure on Customize virtual machine guest OS

$
0
0

While building a VM I am running into the following error during Customize virtual machine guest OS stage:

"A specified parameter was not correct: spec.nicSettingMap.adapter.ip.ipAddress"

My environment is composed of vRA 7.3, vRO 7.3 and vCenter 6.5. Does anyone know a solution to this issue?

Thanks.

Parse Curl output

$
0
0

Hello Everyone,

I am using below Curl command (output of VRA programing Guide) to get list of all the request

curl --insecure -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $token" https://$vRa/catalog-service/api/consumer/requests/

I want to parse the output so I can get it in a table format and the required fields only. Please let me know how I can parse the output.

Thanks,

Milind MK.

VMware vRealize Automation 7.3.1 is now available

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.


Single Resource Inventory Update (Data Collection)

$
0
0

It has been a while since I looked at this, but has anyone discovered a way to do targeted data collection?  (e.g.  vm updated cpu/mem/disk in vsphere reflected in VRA without Reconfigure D2 operation)

 

daphnissov

 

 

Thanks,

~Sean

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.

VRO workflow execution does not load or takes a lot of time to load.

$
0
0

Hi,

 

I am using VRA version 7.3 and sometimes the workflows presentation screen does not load when I click on execute workflow or when we try to run the workflow again.

Does anyone know the reason and a fix for it. I have tried refreshing the workflows and also modified the file again and saved it. Nothing seems to work.

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?

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

Viewing all 9859 articles
Browse latest View live




Latest Images