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

Automating VM-level Trend Reports by Cluster, Host

0
0

Let's assume I have the need to run a set of basic trend reports for all VMs in a given cluster.  I would love to automate this report and distribution.

 

In my hypothetical example, Cluster ABC has eight (8) Hosts and twenty (20) VMs.  I need to run monthly reports and the "customer" wants the "Virtual Machine CPU Diagnose" format.  I'd like to be able to select the Cluster or an individual Host and have the report generate charts on all VMs.  I can do this with List-style reports; but seemingly not with Trend-style reports.

 

Currently, I can either (1) manually generate this on each VM from the "Details tab", after resetting the date range, or (2) I can create a new report for each VM (which unfortunately only displays the standard 24-hour view).  Each view is only a single VM.

 

Given my relative newness to vRealize report generation, I might well be missing the simple answer.  I hope I can learn from you.


Connector not found

0
0

I'm getting the error Connector with id 98d89669-f911-4410-b4a6-f1b349900c43 not found when I am attempting to join a domain in the default tenant in an existing vRA 7.2 install. This is using the Integrated Windows Authentication method. It was pointed out to me that we need the directory source for products like vROps, vRNI and vRLI since they all query the back end infrastructure as opposed to the Tenant workloads.

 

Lets call the back end domain server.local which includes all the vRealize appliances, vCenter and ESXi nodes as well as NSX, SQL and IaaS servers, and refer to all the VMs being deployed to the various Business groups dev.local. I've setup a connection to dev.local using Active Directory over LDAP, but have no connection to server.local. The instructions I'm following for the overall configuration is based off the VVD 4.0 which has the default tenant (vsphere.local) connect to a domain. The error above is what I get when I attempt to connect to the domain server.local with a domain admin account.

 

My question (since I've already strayed from the VVD) is, must I define the Identity source for server.local in the default tenant before attempting to configure either the LDAP or IWA methodology?

 

Question 2 would be, do I have to use IWA if I am only trying to verify authenticating with specific service accounts in a specific OU in server.local or is LDAP more than adequate? (My AD admin is kinda freaking over joining the domain)...

 

Thanks in advance,

 

Roger

Unable to View Item Details of Provisioned Azure Deployments

0
0

Hi all,

 

I'm using the out of the box Azure blueprints to deploy devices. They provision as expected but when I try to view the Item Details for them the loading mask spins for awhile and eventually errors out with something like:

 

 

This behavior is seen on two instances I have, one a 7.2, and another a 7.3. Opening up catalina.out on the vRealize Automation appliance I see this peppered in the log:

 

2018-01-25 14:52:52,384 vcac: [component="cafe:shell" priority="ERROR" thread="tomcat-http--1" tenant="azure" context="k9OI17bf" parent="" token="k9OI17bf"] com.vmware.vcac.shell.service.ErrorServiceImpl.logToApacheCommons:59 - <a28f4ddb> Unexpected exception was caught

com.google.gwt.core.shared.SerializableThrowable: The connection to vCenter Orchestrator server timed out.

        at Unknown.xf(item-0.js) ~[?:?]

        at Unknown.Cf(item-0.js) ~[?:?]

        at Unknown.Kf(item-0.js) ~[?:?]

        at Unknown.new RId(item-0.js) ~[?:?]

        at Unknown.pQc(item-0.js) ~[?:?]

        at Unknown.nQc(item-0.js) ~[?:?]

        at Unknown.w9d(item-0.js) ~[?:?]

        at Unknown.z9d(item-0.js) ~[?:?]

        at Unknown.Mae(item-0.js) ~[?:?]

        at Unknown.Pae(item-0.js) ~[?:?]

        at Unknown.eval(item-0.js) ~[?:?]

        at Unknown.xg(item-0.js) ~[?:?]

        at Unknown.Ag(item-0.js) ~[?:?]

        at Unknown.eval(item-0.js) ~[?:?]

 

Only KB I can find around this is a 6.2 fix. Since my instances are 7.x I'm a little worried about applying this.

 

I have noticed that when I try to load a type Azure:VirtualMachine from a workflow run it takes forever to pull (might be the way the get logic was implemented, or the API call behind the scenes used), so I can see why this occurs.

 

Anyone run into this before?

Scroll bar is missing in actions tab in VRO 7.3 version. Is there a fix for it?

Bulk Import Problem

0
0

Hi guys.

 

I´m trying to import a VM but I have several errors. I attach the screenshot.

 

 

Thanks a lot in advanced.

How to get to Deployment ID from Request ID with CloudClient?

0
0

I'm trying to do some basic automation by using the CloudClient.  I've pretty much resolved this issue using a Python wrapper around the REST interface, but I'd rather not support that path if I can do the same with the supported tooling.

 

I'm able to login, fetch a request template, and submit the request.  I obviously can retrieve the request ID.  But I get pretty solidly stuck here, not knowing how to get the associated deployment ID.  From what I can tell, the request information never has the deployment info.  Is there a simply query to get the deployed details via the request ID, or other ID in the request details?

 

TIA.

VRA 7.3 VRO 7.3 How to get VirtualMachine.NetworkN.Address in DHCP environment

0
0

I am using VRA 7.3 and built VRO for VM provisioning in DHCP environment. When sending a paylod value of VirtualMachine.NetworkN.Address property is set to null since the DHCP involvement. Kindly help me to get the IP address of the first NIC.

 

Thanks,

Partha

Missing Infrastructure tab when logging using tenant and iaas admin. I only see administration and container tabs.

0
0

Missing Infrastructure tab when logging using tenant and iaas admin. I only see administration and container tabs.

 

Setup:

vRA 7.3

IaaS : Win 2012 R2

DB : SQL EXP 2012

 

 

 

Thanks in advance!


Dynamic fields not populating

0
0

We have several dynamic fields in vRA blueprints that have been imported into ServiceNow using the ITSM plugin. However, the fields themselves never seem to populate. The properties themselves transfer over in the ServiceNow catalog request, but the values of those properties aren't making it. I am looking for some assistance as in troubleshooting why these dynamic fields aren't populating as they should. We are running release 3 of the ITSM plugin which states that it supports dynamic fields.

 

The ServiceNow plugin seems to be making the calls into vRA to grab the values, it just seems nothing is ever making it back into ServiceNow.

 

Any help or direction would be greatly appreciated.

vRA Dropdown Default Value

0
0

Does anyone know of a way to set the default value in a dropdown in vRA 7?

Understanding Software Component Communication in VRA 7.3

0
0

My team is working to move to using the Software Component capabilities in VRA 7.3.  Currently everything we do for provisioning is done using stub workflows we developed in VRO when we were on VRA 6.2.  I need to get a better understanding of how the communication works, because our Information Security is concerned that we have tenant VM's initiating communication to our cloud management platform.  We obviously need to prevent bad actors from having the ability to have any type of communication to this platform.

 

From what I understand, this is how Software Components work in general.  I'd appreciate it if anyone can correct me on how this work.

 

  1. VRA initiates the provisioning of a tenant VM
  2. VRA assigns a unique ID for the gugent
  3. The tenant VM is stood up and turns on
  4. The tenant VM then contacts VRA identifying itself with the unique ID for the gugent over SSL
  5. VRA confirms identification and identifies the software components that need to be installed
  6. VRA tells the tenant VM what to install/configure

 

I need to know how VRA prevents just any server from providing the unique ID (which I believe is the gugent ID that is readily available in files in the gugent folder on each VM) so that VRA then starts working with that VM.

 

Any help would be greatly appreciated.

Adding Computer to Specific OU upon Provisioning.

0
0

I am trying to create a custom property that will allow me to choose which OU to place my newly created VM upon provisioning. I added a custom property named domainOU and added a value of OU=TEST,DC=mydomain,DC=local. Will this work and place the VM into the OU named TEST when it creates the VM?

Cloud Client exception with "vra deployment list --requestId" when the total number of requests is above 5000

0
0

Hi,

I'm using vra 7.3 and cloud client 4.4.

 

A couple of days ago I started getting this weird error message all of a sudden in my automation pipe I have using Cloud Client.

 

Flow:
1. I do a successful request of a blueprint/deployment through cloud client.


2. I get the requestId back from the successful request I made. I also verified the requestId in the GUI under Requests.

 

3. I then use

   CloudClient>vra deployment list --requestId <the id I got from above here>

4. But I then got

 

com.vmware.cloudclient.exception.CloudClientException: Failed to convert '<id from above>' to type Request for option 'requestId'
Error: Unable to find a Request by the name or id '<id from above>'.


5. The above message is the same as if I wrote a requestId that does not exist, but it did.

 

---

I started to dig deeper...


1. This Business Group has 5000+ requests (5197 something), I could verify this in the GUI

 

2. I then used the same command but instead of writing the requestId I pressed the Tab key, twice.

 

   CloudClient>vra deployment list --requestId

   Display all 5000 possibilites? (y or n)

 

3. Wait a minute... I have more than 5000 requests.

 

4. I compared and tested the following

   CloudClient>vra request list --pagesize 5000
   CloudClient>vra request list --pagesize 5200

 

But still only saw up to 5000 requests.

 

5. I tested to set default pagesize in cloudclient.config above 5000, to like 5200 but then I had to use --page 2 to see the request entries above 5000.

vra request list --page 1 (showed 5000 entrys)
vra request list --page 2 (showed 197 more)

 


---

So my conclusion is that:

1. Cloud Client "vra request list" can only show 5000 entries even when using --pagesize larger than 5000

 

CloudClient>vra request list --pagesize 5200 <-- only shows 5000 entries

 

2. I can see beyond 5000 if I use --page (even if I use default pagesize of 25 and then use like --page 206 or something)

 

CloudClient>vra request list --page X

 

3. The problem is that

CloudClient>vra deployment list --requestId <requestId here>

 

Can only see 5000 request entries, not more, the only respons is the "com.vmware.cloudclient.exception.CloudClientException..." if I enter entries that is above 5000.

 

If I choose a request entry that is above 5000 I get the error message, same as if the requestId does not exist.


If I choose a request entry that is 5000 or below I get a response as usual and its working as it should.

 


---

Can anyone confirm this?
And how can I fix this?


1. How can I remove/delete old requests for a Business Group? Can I clear it some how? There is a "delete" button in the GUI but that only works for "Unsubmitted" requests.
   Is the only option to rebuild the Business Group or hack the database?
2. Is there some setting in Cloud Client that can be modified so vra deployment list --requestId can see beyond 5000 requests?
3. Any other ideas? or SR next :/

How to answer mandatory values for each AWS EC2 VM when destroying a deployment via REST API

0
0

We have a Blueprint made up of 5 AWS EC2 VM's.  When destroying a deployment via UI you have to modify the "Delete Volume" option for each VM because it's set to NULL.  I can't find a way to change the default value within the Blueprint but it's not a terrible hassle when using the UI for one or two destroys.

When trying to destroy a deployment via API, though, the destroy action request template for the deployment doesn't have the "provider-DeleteVolumes" option listed so the destroy fails.  I have to destroy all 5 VM's individually, which adds a lot of load to the system as is it processes 5 times the workflows.

Deployment destroy action request template:

{
    "type": "com.vmware.vcac.catalog.domain.request.CatalogResourceRequest",
    "resourceId": "7b888b98-e4d8-4e23-a382-71c24692b9ea",
    "actionId": "91d8ab6e-46ff-4573-b730-e7948b7af616",
    "description": null,
    "data": {
        "ForceDestroy": false
    }
}

Machine destroy action request template:

{
    "type": "com.vmware.vcac.catalog.domain.request.CatalogResourceRequest",
    "resourceId": "5b802189-4498-469e-939d-530043b8514c",
    "actionId": "5f51c11d-395f-4e08-82b5-d7e09f33f246",
    "description": null,
    "data": {
        "provider-DeleteVolumes": null
    }
}

Anyone know how to either change default provider-DeleteVolumes option on the Blueprint OR somehow set this option when destroying the deployment?

plugin for VRA and Service now integration kingston release

0
0

Hi All,

 

We are trying to integrate VRA version 7.3 with Service now. Our service now is on kingston release rightnow. I checked the vmware official sites but didn't find any plugin for kingston release. Can anyone tell me when this plugin will be released and who will provide this plugin VMware or Servicenow?


Necessary permissions to use Cloud Client

0
0

What are the necessary permissions which a user must have in order to log in on a tenant with Cloud Client using the command vra login userpass. Can I use certain comands in Cloud Clients, if I only have limited permissions, say I am a business group admin of a tenant?

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

Viewing all 9859 articles
Browse latest View live




Latest Images