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

Plugin.AdMachineCleanup.Delete with 2 domains

0
0

Hi All,

 

I am trying to use Plugin.AdMachineCleanup.Delete custom properties with 2 Active Directory Domains. However it seems to be working with only one domain.

I am able to ping 2nd Domain controller from vRA Appliance & IaaS Server. I am not able to find more documentation for logs on this.

 

Any idea how to get this working? 

 

 

Thanks,

Kedar Divate


Remove Machine from VRA 7.2

0
0

Hi , I have a few VM's listed as missing under Managed Machines - Originally these particular VM's didn't build properly and were in progress - however they never proceeded.

 

I've tried a few things to get rid of them ( and even changing them in SQL to be missing ) but constantly get these types of emails every few hours.  In managed machines I can't directly destroy them either - the option is there but doesn't do anything when clicked.

 

I should add that the request is a fail message and has the following subject line - but the request ID keeps increasing.

 

Your Request #99 for "Expire" has failed

 

 

Request Information

 

Resource Action

Expire

Requested by

System User

Request date

12/8/16 7:53 PM (Australian Eastern Standard Time (Victoria))

Description

Resource Lease has expired.

Reason for request

Resource Lease has expired.

 

Resource Information

Name

Windows 10-99832872

Type

Deployment

Created On

12/7/16 7:50 PM (Australian Eastern Standard Time (Victoria))

Lease

1 day

Archive Days

5



 

 


I've had a look here and tried doing the cloud connect force unregister - it shows as successful but doesn't actually remove it.


https://kb.vmware.com/kb/2144269


 

The KB mentions another script to remove them but it's not on the KB to download.

 

To use the stored procedure:

  1. Extract the contents of the attached KB2144269_RemoveVMFromVRA7.zip file.
  2. Follow the instructions located in the readme.

 

 

Any ideas to force remove them ?

 

Message was edited by: Ski473

vra 7.1 - Expired Blueprint - Request to expire a deployment and all constituent resources failed

0
0

I had some blueprints that were stuck "in progress" so I did some research and found an article (http://open902.com/vra7-delete-stuck-in-progress-deployments/) to delete the entries. The procedure worked perfectly except for the fact that the deployments I deleted had leases on them. Now that the lease has expired, vRA is issuing requests to expire the deployments but keep failing b/c the deployments do not exist. This happens every three hours.

 

Request - Expire - <deployment name>

Status: Failed

Request initialization failed: Rejecting blueprint request [ID]. There are other active requests on the corresponding deployment.

 

Any suggestions before I contact Support?

SQL 2014 blueprint

0
0

I'm using the sample blueprint available on the exchange website as reference. One change I made is that the guest machine uses a vsphere customization spec to join a domain. Everything works as designed in the sample, but as soon as try to specify a domain account for the SQL service account or a domain account for the SQL sys admin account the deployment fails. I suspect that the guest machine is not a member of the domain when the software component kicks in.

 

Is there a way to ensure the machine has completed any vsphere specific customization (join the domain) before the software component kicks in?

vRealize Automation 7.0 Email Template using wrong time zone

0
0

I've changed the time zone to US - Pacifc as part of the deployment of VRA 7 and double checked that it's correct on the VRA appliance console.   However, emails are getting sent out that use Coordinated Universal Time and I can't find where that needs to be changed. 

Need to add description field while creating AD user using vRO

0
0

hi All,

 

I am trying to modify the "Create a user with a password in an organizational unit" workflow to add the extra attributes to the user account.

 

System.getModule("com.vmware.library.microsoft.activeDirectory").createUserWithPassword(accountName,password,confirmPassword,domainName,displayName,container) ;

 

In the above command, how to add decription field to the user account.

 

kindly help.

 

Regards,

Vasanth Vignesh M R

vRA 7.2 - Error and Warning messages in Infrastructure/Log

0
0

Environment:

vRA 7.2 (upgraded from 7.1), embedded vCO 7.2, simple install (1 vRA, 1 IaaS).

 

Seing messages:

 

 

Error:

Resource not found for the segment 'VirtualMachineExts'.

 

 

Warning:

Null child found in collectedObject ID XXX

 

There must be a KB or some easy fix to get it synced without messing in the IaaS db?

 

Any ideas? Purge vCO db? Inv collection dont help. Do something in vCenter?

 

 

I've seen similar in our 6.2 env in the past. Everything works fine tho, just spamming the log a lot.

Import Advanced Designer Services in vRealize7.0

0
0

How do I import asd.zip file into vRa 7? I was unable to find the content management tab under administration.

 

Thanks.


Business Group and Reservation Best Practices

0
0

All, I'm running into some concerns with our current layout of Reservations and Business Groups and want to know how others in IT are doing this.  Currently, our Business Groups are aligned with teams in our organization.  Let's call that team Engineering for the sake of discussion. The "Engineering" Business Group would use the "Engineering" Reservation.  There are also a few other BG's and respective Reservations.  The big reason for this layout was that some teams need to only see some Services, whereas other teams only see one for example.  As I understand it, the only way to enforce that line of security is via Business Groups and what Services they're entitled to see and use.

 

Is anyone using a separate model where you have one Reservation/Business Group per datacenter (or cluster)?  I like the idea of managing fewer Reservations, but the side effect is there would be one Business Group that all the teams would be a part of therefor limiting what I can do with security and with who sees what.

 

Would love your thoughts on this, thanks!

Custom Hostnames from DailyHyperviser

0
0

I have vRA 7.1 and vRO 7.1

 

I installed the Custom Hostnaming package for vRA7 from https://dailyhypervisor.com/vrealize-automation-custom-hostnaming-extension/

 

But the problem is, it installed the special VMPSMasterWorkflow32.Requested under the default tenant which doesn't appear to be available to the subtenant.  Even lower in the comments, someone stated:

Thanks for updating this to work with 7! I did notice a small item regarding multi-tenancy. It looks like you can only run the install for a single tenant. When I deployed this I deployed it to the default tenant which worked great, but when I ran the install workflow for a subtenant the workflow skipped creating the EBS. Once I deleted the EBS from the default tenant and then ran the install again against the subtenant it correctly created the EBS for the subtenant. I haven’t dug into it yet but I suspect it might be something to do with the switch script in the workflow. Thanks again for all of your hard work!

 

But the question is, how do you delete the "EBS" from the default tenant, and run the install against the subtenant?

 

Thanks in advance

Custom Xaas Blueprint - "Entitled Actions" "Connect to Remote Console"

0
0

I have created a custom Xaas Blueprint that executes a workflow in Orchestrator to spin up a VM.  I have this blueprint mapped to a custom "Provisioned Resource" (in this case [Hosted - SMS]). 

The only Entitlement Actions that seem to be allowed are those that I create in "Resource Actions" under Design (where you create an Xaas Blueprint).

Is there anyway to tie into the default "Machine" actions like "Connect to Remote Console (Machine)" or will I have to somehow create those on my own?  You can see in the screenshot I have added the entitlements but they do not show up under Actions.

Can anyone help provide some clarification.

REST call error found inside VRASNRequestUtil.getTemplateViaRest: Method failed: with code: 403 - Forbidden username/password combo

0
0

Trying to get ServiceNow integration to work with vRA. It's able to pull in catalog items, services, and other things, but requests always fail with the above message citing the correct ID of the catalog item. SR is open for this (16318323512) but we're looking for engineering assistance here since the configuration steps in the document were followed multiple times, and a test SNOW instance cloned and rebuilt multiple times.

Referencing Property Group Properties when they are included at the Blueprint level.

0
0

I have a set of properties that I wish to use on several blueprint definitions, so I went in to the Administration > Property Groups section of vRealize 7.2 and entered in the properties.

I then went into the Design section and created a new blueprint.

I opened up the blueprint options > Properties > Property Groups and included the group I created.

I have a software component designed that has a property exposed and I want to bind that to a value from the blueprint property group I created, but it doesn't show up as an option for binding when I click edit on the property. I get the name of the container (MachineBase), the name of the software component (MapNeworkDrive_1) as well as _resource, but nothing that points to the blueprint properties or property group.

photon sample blueprints

0
0

messing around with vra 7.2 and inside the vSphere.local tenant, I see a couple sample blueprints.   Where would one get the templates that goes with them??

40weeks-over-due.PNG

vRA 7.2 and NSX Security Group Assignment

0
0

Hello,

we are currently evaluation vRA and NSX for our datacenter. Yesterday i updated our vRA installation from 7.0.1 to 7.2.0 and also enabled NSX.

Within NSX i created two security groups. Within the vRA Blueprint Designer i assinged one security group to one machine.

According to this picture i expect that the WebServer VM will be assigned to the "S4M_App_Tier" Security Group and the DatabaseVM to the "S4M_DB_Tier" VM.

01.PNG

But then i deploy this blueprint, both VMs are assigned to both Security Groups.

 

When i check the vRO i see 6 workflows runs of "Add VMs to security group" within some seconds.

 

This is the result in the vRA portal:

06.PNG

And this is the property of the DatabaseVM.

05.PNG

 

Why is vRA/vRO assigning all security groups to all vms?

 

Btw:

I also did a second test. One Machine in the Blueprint, with to Security Groups but only on assigned.

02.PNG

Result: Both Security Groups are assigned to the Virtual Machine.


vRA 7.1/7.2 On-Demand LB / NSX integration

0
0

Hey all,

 

a couple of questions here any help would be appreciated

 

a) i can deploy OnDemandLB no problem. But I cannot find any second day operations at all.

for example: upload and user certificate. modify algorithm (switch from Round-Robin to other). modify monitoring rules ... nothing?

 

b) Scale-in/OUT using Rest API. I can scale in/out using UI. Works perfectly fine. But I can't do it using cloudclient -- not supported (VMware vRealize CloudClient 4.3 Release Notes)

and i have not found a way to do it per vRA RestAPI (i tried with request action) etc. I come to the same problem. "no data". anyone did this successfully? any documentation?

I don't see the point of using scaling if it can't be triggered from outside the UI (for automation -> automated scaling)

I can easily create my own XaaS action to add or remove machines to pool. but the whole point of that scalein/out feature is so that everythign is held in the same deployment (I know what belongs together)

 

c) the NSX workflows in orchestrator seem to be wrapped in a plugin. Since NSX is added as RestHost I was hoping to find RestAPI scripts that I can copy etc. But it rather seems its all wrapped. Which makes it nice and easy. But I cannot know what functionality is supported. If a functionality is not suppoorted with this plugin, I need to write it in RestAPI again?!

 

thanks for any help!

 

Kalli

VRA 7.2 - No Fabric Computing Resources / The request failed with HTTP status 400: Bad Reques

0
0

Hi All,..

 

I have just installed vRA 7.2 for my company. but no resource has shown up in the fabric group resource.

the logs show Errors like:

(This exception was caught: The request failed with HTTP status 400: Bad Request.) from vRM.

and

the Error (This is an invalid script resource request.) from (GUI Administration WebAdmin).

 

Please I need your help urgently.

 

Thanks in advanced

 

Taq

Blueprint Dropdown with vCO Questin and dynamic/internal input-parameters

0
0

Hi,

 

I try to display a dropdown Box in a Blueprint request - using an vco external Value which is working fine so far.

But the vCO action needs to get a input parameter for tenant and subtenant/business group. Is it possible to pass this internal variables to the vCO Action ?

I tested everything but I can only pass a custom property that is defined in the blueprint - which is not dynamic.

 

Thanks

Jens

Need Sample Java Code to use VRA 7.x/6.x Java SDK

0
0

Hi,

 

I am planning to use VRA 7.x/6.x Java SDK to do following operations for environment provisioning:

 

  1. Create/Update VM from template.
  2. Create load balancer and attached VMs.
  3. Connect VM using SSH via java code.

 

I am referring VRA 7.x Java SDK and java API documentation from below URL:

 

https://developercenter.vmware.com/web/sdk/7.0.0/vrealize-automation

 

There are 1000 of classes created under package "com.vmware.vcac.*". I am unable to find out sample java code which will give me an idea about, How to use Java SDK classes for environment provisioning using VRA?

 

Can anyone provide me any reference document which will help me to do so?

 

Thanks,

Mitul Shah

VRA 7 - Finding Directory User via "custom" synced user attributes in VRO

0
0

Has anybody found a mechanism to find/filter by criteria on custom synced properties for Cafe Users? (or anything other than account name and given name for that matter)

See specifically getPrincipalsByPrincipalSearchCriteria(...).  It does not appear that the string criteria allows for search strings that provide attribute based look-ups. 

We can get user objects based off of account name or givenName, but the criteria object doesn't appear to be able to hold something along the lines of...

 

MyDirectorySyncedCustomAttribute == "FINDME"

 

Example...

var principalSearch = new vCACCAFEPrincipalSearchCriteria(tenantName);
principalSearch.setDomain(domain);
principalSearch.setLocalUsersOnly(false);
principalSearch.setCriteria(searchTerm);

var client = cafeHost.createAuthenticationClient();
var service = client.getAuthenticationPrincipalService();
var users = service.getPrincipalsByPrincipalSearchCriteria(principalSearch);

 

userlookup1.jpg

 

 

userlookup2.jpg

Viewing all 9859 articles
Browse latest View live




Latest Images