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

Allocation requests are taking 18 seconds per machine and single threaded?

$
0
0

Platform: vRA 7.4 with a single appliance and embedded vRO.  Appliance is sized appropriately (physically and jvm heap sizes are fine for all running processes).

Checking to see if this is expected behavior and anyone is seeing this.  When requesting a blueprint for a simple RHEL build, we are seeing that the "Allocate" step is taking 18 seconds per machine requested (see attached pic).  If a customer requests 10 or more machines, vRA times out internally and throws a horrible message about the "Provider not being available" and the REST API user gets a permissions error.  10 or more machines appears to exceeds the global "Extensibility lifecycle message timeout." setting which is 3 minutes by default.  18 seconds per machine and single threaded; how do we know this?  Running tests of 1 through 10 machines always results in 18.3 seconds wait time per machine.  Man, this seems excessive.

Sure, we can raise up the timeout, but where do I start looking to improve this wait time, since it is internal vRA services talking to itself on the same appliance? Does this hgave to be single-threaded and blocking?  Appreciate any feedback.


vRA 7.5 invalid json with Custom Forms & Custom Properties

$
0
0

I am receiving invalid json in my machine properties  from vRA custom forms with both externally sourced values and constant values.

 

example of the invalid json:

{"name":"example_servername","externalReference":"vm-41861","owner":"user@example.com","id":"be372782-c855-4be5-be79-af6b2190138f","type":0,"properties":{"EXAMPLE.environment":""P""}}

 

Note the double double-quotes around the custom property value.

 

Example of externally sourced values via vRO action:

var props = new Properties();

props.put("P", "Production");

props.put("S", "Sandbox");

return props;

 

Example of the same options using constant values:

P|Production,S|Sandbox

 

I am only experiencing this issue when using custom forms.

The json property values are not double double-quoted when using the standard forms and custom properties.

 

Has anyone else experienced this behaviour with the custom forms?

disable VM questions for VMs provisioned by vRA

$
0
0

When disconnecting a CD ISO for a VM deployed via vSphere host client or vCenter, no VM Question is prompted. However when I try to disconnect a CD ISO connected to a VM deployed vRA, the action requires me to answer a VM Question. Example:

 

 

I believe this behavior is due to an advanced configuration parameter part of VMX. I don't recollect this parameter name/value. Can someone help me with this custom advanced configuration to disable a VM Question on a VM?

 

An extension to this question is how can I add such an advanced vmx configuration parameter when deploying a VM via vRA? Maybe define it as part of a blueprint?

 

Thanks.

Regards Shekhar

vRA - Infoblox IPAM - Network profiles

$
0
0

Hi all,

 

currently I have vRA 7.5, embedded vRO, Infoblox IPAM plugin, NSX.

I would like to use 1 Network profile add multiple /24 subnets to it. The idea behind it is:

- dedicate 10 /24 subnets for Windows deployments and assign them to 1 network profile. If I need to extend the address space, just add 1 or more /24 subnets to that network profile.

- do the same for Linux deployments.

I have created logical switches which map to my /24 subnets. 

 

If I try to deploy some VMs with this setup, I can notice that IPs from "Windows Network Profile" get assigned from different /24 subnets using round-robin. But they do not match my logical switches.

So a VM gets connected to a logical switch 192.168.1.x and gets an IP from 192.168.5.x.

 

Is it possible to achieve what I'm trying?

Ideally, I would like to have pool of IPs, where I don't have to worry what is still available and where I have some left, as long as I add enough /24 subnets to my network profile.

 

Thanks

Multiple vcenter os customization file against one blueprint

$
0
0

Hi All,

 

is it possible to use more than 1 customization file against same blueprint because we are having 2 domains and machines need to be deploy in both the environment from same blueprint ?/

vCACCAFEEntitiesFinder errors out on method getReservations and getAllReservations, works on getBusinessGroups

$
0
0

Have been trying to figure this out for a while and can not. The end goal is to get the networks for a reservation to tie into our IPAM. I have found several solutions and they rely on either getReservations or gerAllReservations. Each of these errors out for me. I THINK it may be a permissions issue? I get a 403 on the 3rd example but not alot of information.

I used vRealize Suite Lifecycle Manager (vRSLCM) to deploy this FWIW.


This works:
var vcaccafeHost = vCACCAFEHostManager.getDefaultHostForTenant("vsphere.local", true);

var businessGroups = vCACCAFEEntitiesFinder.getBusinessGroups(vcaccafeHost);

for each(var bus in businessGroups){

     System.log(bus.getName());

}

LOG:

[2018-12-18 14:15:02.513] [I] ISSS

[2018-12-18 14:15:02.516] [I] Configuration Administrators

 

This does not work:

var vcaccafeHost = vCACCAFEHostManager.getDefaultHostForTenant("vsphere.local", true);

var reservations = vCACCAFEEntitiesFinder.getReservations(vcaccafeHost);

for each(var res in reservations){

     System.log(res.getName());

}

LOG:

[2018-12-18 14:16:14.500] [E] Error in (Workflow:Get Networks for Reservation / Scriptable task (item1)#17) java.lang.reflect.InvocationTargetException

[2018-12-18 14:16:14.515] [E] Workflow execution stack:

***

item: 'Get Networks for Reservation/item1', state: 'failed', business state: 'null', exception: 'java.lang.reflect.InvocationTargetException (Workflow:Get Networks for Reservation / Scriptable task (item1)#17)'

workflow: 'Get Networks for Reservation' (2719ea9c-f8db-46a9-827f-d70e67b6a79c)

|  'no inputs'

|  'no outputs'

|  'no attributes'

*** End of execution stack.

 

This does not work:

var vcaccafeHost = vCACCAFEHostManager.getDefaultHostForTenant("vsphere.local", true);

var reservationClient = vcaccafeHost.createReservationClient();

var reservationService = reservationClient.getReservationReservationService();

System.log(reservationService);

var tenantReservationPagedResources = reservationService.getAllReservations();

LOG:

[2018-12-18 14:18:37.035] [I] DynamicWrapper (Instance) : [vCACCAFEReservationReservationService]-[class com.vmware.o11n.plugin.vcac.model.cafe.service.ReservationReservationService] -- VALUE : com.vmware.o11n.plugin.vcac.model.cafe.service.ReservationReservationService@708603fa

[2018-12-18 14:18:37.056] [E] Error in (Workflow:Get Networks for Reservation / Scriptable task (item1)#6) 403

[2018-12-18 14:18:37.077] [E] Workflow execution stack:

***

item: 'Get Networks for Reservation/item1', state: 'failed', business state: 'null', exception: '403  (Workflow:Get Networks for Reservation / Scriptable task (item1)#6)'

workflow: 'Get Networks for Reservation' (2719ea9c-f8db-46a9-827f-d70e67b6a79c)

|  'no inputs'

|  'no outputs'

|  'no attributes'

*** End of execution stack.

vRA 7.5 Upgrade PreCheck fails IIS Server Not Responding

$
0
0

I am running the PreCheck to upgrade from vRA 7.4 to vRA 7.5 from vRSLCM.  It fails on only one item:  IISServer: IIS Server Not Responding on the IaaS Windows server.

 

I love the Error Recommendation:  "The IIS Server is installed and running, but does not respond.  See if prerequisite checker has other errors."  But, as I said, there are no other errors, just this one.

 

I have rechecked all of the pre-reqs in the installation manual https://docs.vmware.com/en/vRealize-Automation/7.5/com.vmware.vra.install.upgrade.doc/GUID-624C4494-6FC5-4446-88B4-61D7897FEE66.html.  I have also verified and followed the instructions in KB 2138781 and KB 59658  (which are virtually identical).  Still no love.

 

Any help would be appreciated.  I would like to know just what this check is checking?

VRA 7.4 Making Storage Cluster Selection During Request

$
0
0

Hello,

I'm trying to allow for the individual storage clusters in a reservation to be chosen during catalog request, for example have a drop down where the requester can choose either tier1 or tier2.

 

I've done similar things with network and IPAM where I create a custom property definition and map it to the built in property.

 

I've tried these two properties but either recieve errors or the default algorithm takes over and places the VMs disks on the wrong storage.

VirtualMachine.Storage.Cluster.Name

VirtualMachine.Storage.Name

 

Does anyone have any experience with allowing the selection of a storage tier from a catalog request form either with a custom property definition or storage reservation?


What are the Features Included in vRealize Automation Standard Edition

$
0
0

Hi All,

 

Can you please let me know what all the features supported by vRA Standard Edition.

 

Background of this question.

Problem Reported : -  Unable to Create approval Policy , Event Subscriptions.

 

Tried below steps:

- Under the Administration Tab, there is no Approval Policy option, Also Administration tab >> Events >> no subscriptions option.

 

- Checked the Roles assigned to the user ( Approval administrator / Tenant Administrator / etc).

 

- The user was having all the roles assigned.

 

- Checked the vRA License details from the Management Appliance console.

 

- Found that the License applied is  " vRealize Suite Standard " and the corresponding to this vRA got the vRealize Automation Standard License.

 

When I checked VMware websites, found that vRealize Suite Standard doesn't contain vRA at all. But I found some old blogs in which it was mentioned that vRealize Suite Standard contains vRA Standard. But nowhere it is mentioned what all features it include.

 

So I am suspecting vRA standard has some limitations / restricted functions.

 

Please let me know if you come across this issue anytime ?

 

is it License issue or any other actions to be performed so that the Approval policy / Event subscriptions will be visible.

 

Thanks in Advance.

 

Regards,

Praveen

Windows machine name when using event broker - is it possible?

$
0
0

Hey, I have some issue when using the event broker to name and create my VMs.

 

I have a custom form, where the user can specify X names of their machines they wanna create. When the dispatch the request, X machines with my machine prefix, e.g. 2016-xxx are created.

I have created a workflow, which catch this my the event broker as a blocking event, which allows me to modify the vCAC entity before the machine is build.. E.g. I set the VirtualMachineName to fit the name request the user made. Its working well. The machine gets right name in both VC, vCAC and the actually Windows names as well..

 

I do the following:

 

var virtualMachineEntity = System.getModule("com.vmware.library.vcac").getVirtualMachineEntityFromId(null,virtualMachineId) ;

var vmEntityProps = virtualMachineEntity.getProperties();

vmEntityProps.remove('VirtualMachineName');

vmEntityProps.put('VirtualMachineName', hostname);

var hostId = virtualMachineEntity.hostId;

var modelName = virtualMachineEntity.modelName;

var entitySetName = virtualMachineEntity.entitySetName;

var entityIdString = virtualMachineEntity.keyString;

var actionResult = System.getModule("com.vmware.library.vcac").updateVCACEntity(hostId,modelName,entitySetName,entityIdString,vmEntityProps,null,null);

 

The actual name change happens in

 

vmEntityProps.remove('VirtualMachineName');

vmEntityProps.put('VirtualMachineName', hostname);

 

So far, so good.

 

My issue - and frustration - is, that in Active Directory I have to machines created for the request. One object for the 2016-xxx and one with the new name.

If I destroy the machine again, only the object 2016-xxx will be removed.

 

This is odd!!

 

It seems that the AD account (2016-xxx) is actually created prior to reaching the PRE - BuildMachine state in the event broker..

 

I have tried to update the property "ext.policy.activedirectory.machineName" in the blocking PRE buildmachine, but it is too late.. It has no affect.  It only works, if it is set directly on my custom form.

 

Do you manually create the AD object with an earlier event broker state, or rename the pre-created to the actually new name or something completely different?

I would be nice to have the object created as early as possible to it is being "reserved" in AD..

 

How do you deal with this?

 

Regards, Kjeld 

vRA 7.4 - trigger vRO workflow on VM Reprovision, but not on Destroy action

$
0
0

I want to build a service, that is triggered after a vSphere VM is destroyed. When VM Destroy is executed, I need a vRO workflow to run. The parameter values are passed using the Extensibility.Lifecycle.Properties.VMPSMasterWorklow32.Disposing property and an event subscription. However, this event subscription is triggered also, when a server is reprovisioned, since both the Disposing and Provisioning events take place. I could not find a Workflow Subscription Condition that references a reprovision action.

What I want to achieve:

- User executes VM Destroy action: trigger vRO Workflow

- User executes VM Reprovision action: vRO Workflow is not triggered

How can this be done, if at all?

Unable to import the VM in vRA 7.4

$
0
0

Hi ALL,

 

We are unable to import 1 or bulk Unmanaged VM from vRA , facing following issue

 

Error :

There was an error deserializing the object of type System.ServiceModel.ExceptionDetail.

The maximum string content length quota (8192) has been exceeded while reading XML data.

This quota may be increased by changing the MaxStringContentLength property

 

another point after Import fail is we can see VMs only in Network profile with there respective IPs

 

 

we tried to figure it out the reason but vmware support also unabl to find the solution until now , if any one having same issue please suggest

Same Name with two IPs in vRA Network Profile

$
0
0

Hi All,

 

We are having issue with, in network profile it's showing same name with two different IPs.

 

How to remove Machine Name from Network Profile?

 

Kindly find attachment for your reference.

How to active [Include memory] by default in vRA 7.3 when we take a snapshot

$
0
0

Hi all,

I want to include memory by default when a user want to take a sanpshot in vRA 7.3

There is any method to force [Include memory] when we take a snaphsot.

Thanks

 

Screenshot - 2018-12-20 , 14_13_34.png

How I set VMware + Nvidia vGPU on Desktop Computer?

$
0
0

Hello guys,

 

I'm still beginner to know servers, including virtualization, and I need to use the NVIDIA Virtual GPU license on my desktop (Windows 10), which in turn needs VMware, but I do not know how to set it on my device.

 

Please Help. Thank you in advance,

 

Tamer,


Username in Domain\Username format with the vRA REST API

$
0
0

Does anybody know if it is possible to authenticate with the vRA REST API using a username in the Domain\Username format?  The format username@domain works fine, but Domain\Username generates this as a response:

 

{

    "errors": [

        {

            "code": 90135,

            "source": null,

            "message": "Unable to authenticate user Domain\\username in tenant Tenant01.",

            "systemMessage": "90135-Unable to authenticate user Domain\\username in tenant Tenant01.",

            "moreInfoUrl": null

        }

    ]

}

 

URL: https://vRAServer/identity/api/tokens

Method: POST

JSON Body:

 

{

    "username": "Domain\\username",

    "password": "Password",

    "tenant": "Tenant01"

}

 

Note: had to make it a double backslash in the JSON body, to escape the \ character.

Change Blueprint of Managed Machine

$
0
0

Hello,

 

Is there any way to change the blueprint associated with a managed machine? We have some old blueprints we want to get rid of as we are reorganizing vRA, but there are still active machines tied to them. I have tried using the bulk import method and changed the blueprint and component values, but after importing those values did not change. I suppose we could unregister them from vRA first and then try Bulk import, but I was hoping there was an easier solution.

 

Regards,

Darren

vcenter endpoint cannot be found in Vra 7.5

$
0
0

Hello Expert,

 

I am unable to add vsphere endpoint inside Vra 7.5. Please find below vSphereAgent error log . Please help me resolve this issue

 

vcac: [component="iaas:VRMAgent.exe" priority="Debug" thread="5968"] [sub-thread-Id="5"  context=""  token=""] Ping Sent Successfully : [<?xml version="1.0" encoding="utf-16"?><pingReport agentName="Vcenter agentVersion="7.5.0.0" agentLocation="Vraagn01" WorkitemsProcessed="0"><Endpoint /><ErrorCode>ENDPOINT_NOT_FOUND</ErrorCode><ManagementEndpoint Name="Vcsa.vralab.com" /><Nodes /><AgentTypes><AgentType name="Hypervisor" /><AgentType name="vSphereHypervisor" /></AgentTypes></pingReport>]

When will Ubuntu 18.04 be supported?

$
0
0

When will Ubuntu 18.04 be supported?

Amazon Echo automation with Vsphere (no Vcenter)

$
0
0

Hi, I have a small home lab with no Vcenter, but wanted to integrate Amazon Echo voice automation for simple tasks, ie, start / stop / restart certain VM's, etc. I have seen many tutorials online but they all seem to involve Vcenter. Can someone point me in the right direction to integrate with just Vsphere 7.6 please?

 

Regards.

Viewing all 9859 articles
Browse latest View live




Latest Images