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

Approval Policy not being created when using vRA API

$
0
0

I've been trying to create an Approval Policy using the REST API but I'm having a bit of trouble. I'm using the correct request + method and am even getting a response status code of 201 from the server but I can't see the newly created policy under Administration > Approval Policies.

 

I've used sources such as vRealize Automation - Approval Service - Samples - VMware {code} or the vRealize Automation API documentation that comes with vRA but those lead me to where I'm at currently.

 

Any ideas why this might be happening?

 

Thanks


vRO 7.3 Powershell module. can't connect host

$
0
0

Hello guys.

Have a strange bug with powershell module. When i try to attach powershell host workflow runs for a long time and nothing happens. Not any errors both on vro and powershell host

It looks like it wait for something.

WinRM works fine and have only info message "Creating WSMan shell on server with ResourceUri: %1"

It can run for a days until i cancel workflow.

Any suggestions ?

vRA 7.3 Appliance Missing Host and Cluster Information

$
0
0

Hello,

 

We have a newly deployed distributed vRA 7.3 environment spanning across two DCs, main DC contains the core vRA components with two DEMS and two Proxy Agents (vSphere) and the second DC hosts two DEMs and two Proxy Agents (vSphere). There is a resource vCenter in each DCs.

 

Perhaps there are missing firewall flows but I believe we have them all them in place as we were able to successfully deploy the DEMs and Proxy agents to our remote Datacenter. We have F5 load balancers for the vRA appliances, the Web servers and Manager servers.   

 

I have noticed that on the main vRA node under the Host Settings tab we see partial and missing information and on the Cluster tab we do not see any info at all.

 

Anyone else experienced this?

 

Thanks,

Luc

 

Unique String in vRA 7.2

$
0
0

OK, this is starting to get me perturbed... I'm trying to use _resource~SystemIdentifier~MachineName of a system as a unique identifier so I can build a CSV file with which to configure a Sharepoint farm. Her is what I am getting as an error:

Checking if CSV exists...

Creating Temp Directory \\osfi-dml-01.devosfi.ca\Transient-Files\T2GrrTstDV0178

New-Item : The path is not of a legal form.

At C:\Users\darwin\AppData\Local\Temp\eca0aa7f-e761-4fc4-812c-029311dc8d04\task

.ps1:18 char:4

+    New-Item -ItemType Directory -Force -Path $TempPath -Name $RefDir

+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidArgument: (\\osfi-dml-01.d...ransient-Files\:String) [New-Item], ArgumentException

    + FullyQualifiedErrorId : CreateDirectoryArgumentError,Microsoft.PowerShell.Commands.NewItemCommand

 

---- SNIP ----

 

ABORT. Encountered error in Powershell.

Error while executing script: Process exited with an error: 1 (Exit value: 1)

 

I've tried using the variable directly ($ReferenceNost),

I've tried using the first item in the array (if it sees it): if ($ReferenceHost.count -gt 1) { $refHost = $ReferenceHost[0] } else { $refHost = $ReferenceHost }

I've tried taking the CR out of the string...

if I use Write-Output "--$ReferenceHost--" I get this:

--T2TstSQLBI0038

--

or sometimes this:

--T2TstSQLBI0038--

 

This is starting to drive me CRAZY... All I want to do is have a unique identifier with which to create a folder to house a god damn CSV file...

 

Suggestions??

Documentation?

$
0
0

New to the vRA Plugin for ITSM and wondering if there is any documentation out there I am missing.  I have the Configuring-the-vRealize-Automation-Plug-in-3.0-for-ServiceNow PDF and wanted to make sure that is all that is out there.

CloudClient 4.4.0 Bulk Change Reservations

$
0
0

We recently split out our vCenter clusters and need to migrate all the Windows VMs from the shared cluster reservation to a new reservation. As we have ~200 VMs to move, I'd prefer to do this in some sort of batch job. I'd prefer PowerShell, but from what I understand CloudClient should be able to do the job.

 

For the sake of completeness, we're running the following:

  • vRA 7.2
  • CloudClient 4.4.0
  • vSphere 6.5

 

The old reservation is "Windows - 01", we need to move the Windows VMs to "Windows - 02" (super descriptive names, I know).

 

I was able to successfully log in interactively to vRA and the IaaS service, then change the reservation for a single vm (and back again):


CloudClient>vra machines change reservation --ids restest01 --reservationName "Windows - 02"

Successfully sent request to register machine restest01

CloudClient>vra machines change reservation --ids restest01 --reservationName "Windows - 01"

Successfully sent request to register machine restest01

 

I'd like to source the list of machines somehow (manually grab, use PowerShell, cloud client.. something), then provide that list of machines that need to move to cloud client. The first step will be try the change above from command line, but I'm getting auth errors:

 

C:\temp\cloudclient\4.4.0\VMware_vRealize_CloudClient-4.4.0-5511232> .\bin\cloudclient.bat vra machines change reservation --ids restest --reservationName "Windows - 02"

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true

JRE Version: 1.8.0_121

Dec 07, 2017 3:45:45 PM org.springframework.shell.core.SimpleParser parse

WARNING: com.vmware.cloudclient.exception.CloudClientException: Failed to convert 'restest01' to type CloudMachineView[] for option 'ids'

Dec 07, 2017 3:45:45 PM org.springframework.shell.core.SimpleParser parse

WARNING: Authentication Error : Login required.

 

I've tried generating a CloudClient.properties file, and an encoded credential, but it doesn't seem to want to work.

 

Thoughts?

Bulk import not collecting all unmanaged machines

$
0
0

I have installed vRA 72, I have my blueprints done, configured vCO, created custom properties.  It is now time to import my existing VMs from vCenter 6.0 U3.

 

When I run the Generate CSV to find all my unmanaged machines it does not collect all the machines.  I have about 20 machines that the csv generation does not find.  I am OK with creating a csv from scratch but I do not know where to find the virtual machine ID or the Deployment Name.  Do I even need these?

 

I have an open case with support but they are dragging their feet.  I was hoping there was someone out there that can help me or point me and support in the correct direction.

 

thanks,

vRA 7.3 - Ansible Integration

$
0
0

I'm fairly new to vRealize Automation Platform. I'm curious If any community members have done this vRA/vRO -> Ansible - HTTPS REST API to invoke a playbook after a successful VM creation. Need some guidance on how to achieve this goal. Appreciate any feedback. I do know there's a third party plugin for ansible but I'm looking to perform this without third party plugin. Thanks


vRA migration from 6.2.5 to 7.3 - All provisioning Advanced Service Blueprints and Actions are broken

$
0
0

I have experienced an issue after migration from vRA 6.2.5 to 7.3, all Custom Resources and related Advanced Service Blueprints and Actions are broken. And when you try to fix it, you make more problems.

 

Suppose the following scenario:

In order to let your users do some stuff with their AD Users, you provision an AD:User as a custom object in vRA and create some related actions.

So, you create:

. Custom Resource: AD:User

. An Advanced Service Blueprint: Create User Object. This workflow takes the "requestedBy" and returns the corresponding AD:User. This object now appears in the "Items" tab.

. 4 Advanced Service Actions: with some actions for your custom resource (for example: change password)

(when you create and ADS Blueprint or Action, a Catalog Item or Action is created as well)

 

After you migrate from vRA 6.2.5 to 7.3, despite you can see the Custom Resource and Blueprints in XaaS Blueprints tab, nothing works. If you use Cloud Client, none of this content appears using "vra content list".

 

If you edit and save the AD:User custom resource (without touching anything) the object is updated and now appears in Cloud Client vra content list.

 

The same happens with ADS Blueprint and Actions but, instead to update the Catalog Items and Actions, new ones are created with the same names. All new AD:Users provisioned are related to the new Catalog Items and Actions, but all the Users provisioned before the upgrade, remain orphaned (no related actions are shown).

 

Now, in my actual scenario I have 5 Custom Resources with (almost) 4 Actions each, across multiple tenants.

 

Is there any workaround, fix, procedure I can do to prevent this before the upgrade (of fix after)?

Thanks a lot.

D.

XaaS Input field with 'Default value' set to vRO Action does not accept user override value [vRA 7.3]

$
0
0

I have a XaaS blueprint that does some sizing calculations based on user input. The "Default value" attribute is configured to call a vRO Action that returns a recommended value. The user is supposed to be able to enter an override value. The "Value" attribute is set to "Not set".

 

The problem is that whenever the user enters a new value it does not stick, the field value reverts back to the recommended value.

Swapping new VM template for current one by renaming new template to production name (without updating blueprints etc)?

$
0
0

Is it possible to swap a new VM template for the current one without updating blueprints etc.?

 

Goal:  Update and test new machine, convert to template, swap by renaming during CRQ window (off hours) without muss or fuss.

 

Currently:  Our team is taking the current templates offline to update and convert back because they apparently had problem with swapping.

[My guess was that vRA is using some ID number and not the name which prevented our folks from doing it by swapping (renaming).]

 

I know little of vRA but wanted to prep the new template and just swap them over quickly on a Saturday or late night.

 

Actually, I know so little of vRA that likely the above wording is mangled so feel free to correct but basically, I want to avoid having to do all the "changes", updating and testing during the CRQ window.  Pre-build the replacement, test it, then swap it in simply and only test that vRA can still build (not that the OS image stuff is right.)

 

Please try to answer as asked but if there is a better way to think about that please ALSO include that.

 

And also if you can point me to where to RTFM I don't necessarily need a step by step, just enough to figure it out....

 

--

HerbM

Can I design a vSphere Metro Stretched Cluster(vMSC) to achieve high availability across data centers in an environment managed by vRealize?

$
0
0

Hello,

 

Say I have implemented vRealize Suite as my provide cloud. To achieve high availability (for both vRealize components themselves and user VMs managed by vRealize ) across two metro data centers, can I implement vMSC in such an environment?

 

if yes, any guideline?

 

If not, how can I achieve high availability for environment managed by vRealize suite?

 

thanks a lot!

 

 

Mike

Passing data from fields in a vRA 7.3 request to vRO wf (event subscription)

$
0
0

Hello everyone.

I’m looking for a way to get data from fields in a vRA request inside a vRO wf called by event subscription.

I didn’t find a way to get the data from the schema of the event subscription but after looking at the request under vRA plugin in the inventory tab, I found out that l can get it from requestData inside of items In the requests folder.

I’m looking for help in getting The data from requestData.

vRealize Automation Managed VMs Protected by Zerto

$
0
0

Hey all

 

I have recently taken on some work which involves using Zerto to provide Disaster Recovery protection for vRA managed VMs for customers. I guess I am not totally 'satisfied' with how this has been implemented and thought that I'd consult with the community and see if anyone else is using Zerto with vRA in the same vein. I am looking for the most optimal method to fail over a machine to another site. Currently, if a machine is failed over, a new VM is recovered at the recovery site and all the configuration of the protected VM is replayed. This involves capturing all the protected VM config such as Custom Properties, vSphere tags, Custom Attributes, Annotations, NSX security groups / tags, etc.. When the machine is recovered, it is treated as a brand new machine and is imported back into vRA (to the same tenant/reservation) and the stored configuration is replayed.

 

So I'm wondering if anyone else is doing something similar but in a more efficient manner than simply importing and replaying all the VMs config from all sources?

 

Thanks,

 

Gavin

vCenter Migration from Windows-based vCenter to Appliance

$
0
0

Hi,

 

We are currently planning to upgrade our vSphere environment from 6.0 to 6.5 Update 1. During this phase we'd also like to migrate the existing vCenter to the appliance.

We need to change the hostname of the vCenter (due to other, non-VMware services, which are currently running on this server).

As we are also running a vRA environment (which is indeed connected to the existing vCenter Server), I would like to know what changes / tasks have to be done inside vRA in this case to ensure infrastructure vitality after the migration of vCenter.


vRealize+SRM: Is array-based replication supported?

$
0
0

Hello,

 

SRM supports both vSphere replication and array-based replication. Is that still true for case vRealize + SRM?

 

 

Thanks a lot!

Mike

vRA -> Infoblox IPAM - Error

$
0
0

Greatly appreciate this forum for the support and knowledge sharing! I have got another question around this vRA / vRO 7.3 Integration of Infoblox IPAM.

 

If I try with below properties, "Update" workflow fails with "Unable to update host record".

 

  1. Infoblox.IPAM.createFixedAddress = FALSE
  2. Infoblox.IPAM.createAddressAndPtrRecord = FALSE
  3. Infoblox.IPAM.Network0.enableDhcp = FALSE
  4. Infoblox.IPAM.createReservation = FALSE
  5. Infoblox.IPAM.createAddressRecord = FALSE
  6. Infoblox.IPAM.Network0.enableDns = TRUE
  7. Infoblox.IPAM.createHostRecord = TRUE

 

Error Message: [E] (com.infoblox.ipam.vcac.util/throwIpamError) Error in (Dynamic Script Module name : throwIpamError#28) IPAM Provider Error: {"code":3000,"message":"Unable to update host record: no host records were found in IPAM. (Workflow:Update vNIC / Get unique record (item10)#1)"}

[E] Workflow execution stack:

***

item: 'Update/item7', state: 'failed', business state: 'null', exception: 'IPAM Provider Error: {"code":3000,"message":"Unable to update host record: no host records were found in IPAM. (Workflow:Update vNIC / Get unique record (item10)#1)"} (Dynamic Script Module name : throwIpamError#28)'

workflow: 'Update' (712f2f72-701d-459a-84f5-4bbec0cbd5cc)

|  'attribute': name=attrErrorMessage type=string value=Unable to update host record: no host records were found in IPAM. (Workflow:Update vNIC / Get unique record (item10)#1)

|  'attribute': name=attrIpamConnection type=InfobloxIPAM:IpamConnection value=dunes://service.dunes.ch/CustomSDKObject?id='InfobloxETLab'&dunesName='InfobloxIPAM:IpamConnection')

 

Please share any thoughts and experiences you had with this integration and any helpful insight on how to successfully integrate/ recommendations/ suggestions are appreciated!

Is vSAN Stretched Cluster supported with vRealize Automation?

$
0
0

Hello,

 

If I use vSAN as the underlining storage, is vSAN Stretched Cluster supported with vRealize Automation?

 

If yes, for all of the three clusters (management, edge, workload)?

 

 

Thanks

Mike

Approval policy(S) for deployment

$
0
0

Hi all,

 

Is it possible to set up two approval policy's ?

For example:

  • user request Vm from catalog
  • approval policy is triggered and it is send to Technical department for approval
  • after Technical department approves deployment it does not trigger deployment, instead it goes to Financial department for approval
  • After Financial department approves deployment - deployment can be executed.

Any ideas?

I tried to put those two departments under approval groups with option "all must approve", but that means that Financial can approve before Technical, and they want to be in order. first Tech then Financial.

Can that be solved by defining pre and post approval rules?

 

Thanks for your help.

Support Matrix

$
0
0

Hello Guys,

 

After reading the vrealize-automation-6x7x-support-matrix document on page 4 regarding the Host Database Support (vCAC Java/VA Components) table.

In my understand from vRA7.3.x vPostgres Appliance and Postgres database are no longer supported.

 

Could you please give me more explanation about this case ?

 

Best regard

 

Loic

Viewing all 9859 articles
Browse latest View live




Latest Images