vrealize 7 (optional) create approval policy TAB missing
vRA 7.4 - Querying Active Directory and returning values
I'm very new to vRA (7.4) and have been tasked with creating a custom form that mimics the Powershell form we had been using previously. One element eludes me, and I'm not sure where to begin:
We use custom attributes in vCenter as a way to keep metadata about our various (~3,000) virtual machines. This includes tracking the owner(s) of the VM - in this case up to 3 different owners.
Preferably it would function as such:
Enter an active directory samaccountname into a text field, which queries Active Directory and returns a string, which is then set as an annotation on the corresponding custom attribute on the VM. The string is generally formatted as "samaccountname;Full Name;email address;telephone number" - for example:
Entering "publ01" would return "publ01;Joe Public;joe.public@email.com;310-123-4567"
I imagine this can be done via vRO action, but I'm at a loss as to how to create this and push the returned string into a custom attribute after the VM is deployed. Ideally there would be 3 such fields on the form denoting Owner1, Owner2, Owner3. We do have an established Active Directory endpoint. TIA for any assistance in pointing me in the right direction!
VMware vRealize Automation ITSM Application V5.1.0 (ServiceNow Certified)
Please find attached link for VMware vRealize Automation ITSM Application 5.1
This file is certified by ServiceNow and available on ServiceNow store for download-ServiceNow store Link for ITSM V5.1
Application XML will be available on VMware solution exchange as well.
(As a best practice suggested by ServiceNow, you must use an application available on ServiceNow store for download on production instances for smoother auto upgrade to future release of an application.)
Also find attached user guide for ITSM 5.1
If you are using V3.0, V4.0 or V5.0 of an application, it must be removed before installing ITSM 5.1 to avoid conflicts.
Details on how to remove older applications is narrated in user guide for V5.1
Key Features
- This integration enables ServiceNow to integrate vRealize Automation(vRA) Suite with ServiceNow platform and provide the ability for ServiceNow users to access the vRA catalogs, resources within ServiceNow.
- Multi-vRA instance support
- The integration will allow end users to Request vRA catalog items from ServiceNow portal.
- The application will fetch categories, catalog items and resource data from vRA platform.
- The application will extend ServiceNow functionality to be able to render vRA catalog items into ServiceNow dynamically and manage vRA resources.
- Day2 operation actions performed in ServiceNow CMDB will be updated back to vRA platform by giving API calls to vRA.
Fixes provide in ITSM V5.1 Over ITSM V5.0
- Dynamic dependent dropdown fixes
- Size, Image profile fixes
- Disk fixes for null error
- Token Encryption
- Improved Entitlement Module
- Access control fixes(ACL)
- Duplicate catalog item form section fixes
VmWare Orchestrator and VirtualBox
Hi
I need to run VmWare Orchestrator for a uni project in order to create a couple of workflows.Now, I was looking for a free virtualisation platform to run the .ova on and chose VirtualBox for my Mac (Mojave). Then i imported the .ova file as described online and tried to start the Orchestrator.
Everything seemed to be working fine until it repeatedly said: "sleeping 10 second for vro to start fully..." again and again.
Unfortunately, I did not find anything online on this issue. The Base Memory and Processor amount should be enough according to the VMWare homepage.
Do I need to complete some additional configuration before running VmWare Orchestrator? I am just looking for a simple setup in order to complete the workflows.
Really appreciating any kind of help, thank you guys!
vRA 7.5 Change Owner of XaaS Item
A long time ago i worked through the process of changing the owner of an XaaS item How to change owner of custom resource . It looks like the process has changed in 7.5. Does anyone have a working method to change the owner of an XaaS provisioned item?
When VM deployment check the reservation
If we need to create a event broker for reservation,What stage VM provision check the reservation and confirm there is enough resources?
Refreshing VM CPU/Memory values in GUI as part of ASD action
I have a custom vRO worfklow publsihed as an ASD resource action that allows the user to resize their provisioned VM based on a set of preconfigured sizes, which the user can select from as part of the ASD request form. This is to replace the built in reconfigure option so that users can't select random sizes for their VMs, all catalog items are configured with predefined sizes as well.
The end result is that whatever the user selects corresponds to a set of CPU and RAM values e.g. Small = 2vCPU 2GB RAM, and these values are then used to change the vCPU and RAM values on the underlying vCenter VM, before the vCAC VM entity properties for CPU.Count and Memory.Size are updated using the line System.getModule ("com.vmware.library.vcac").addUpdatePropertyFromVirtualMachineEntity(host,virtualMachineEntity,"VirtualMachine.CPU.Count",cpuCount,propertyIsHidden,propertyIsRuntime,propertyIsEncrypted,doNotUpdate); for example for the CPU.
This works fine, the VM is reconfigured in vCenter and the CPU.Count and Memory.Size values are updated on the VM in vRA, but when you look at the VM under Items it's CPU and RAM boxes still display the old values. These are updated to reflect the new values when the inventory jobs in vRA next run but at this could be up to an hour later in my system.
I was wondering if there is a way to update these GUI items as part of my workflow, I can think of three possiblities:
- Add a force data collection workflow at the end (would be ok while I'm working in a small environment, but don't think this would scale to larger environments)
- Rework my workflow so that it uses the inbuilt reconfigure option to resize the VM based on the users selected value (this would probably work but I would have to redesign most of my worflow and test again)
- I've missed a property or attribute somewhere which controls the values displayed in the gui and these just need to be included in the workflow
Is anyone else providing a custom action to do something which affects the values displayed in the GUI , if so how do you currently do the update part or does anyone have alternative options which might require less effort to implement?
This is on vRA 6.2.1 with external vRO appliance running 6.0.1, screenshots showing the situation...
Get payload or properties from Xaas blueprint to Orchestrator ? (in vRA7 / vRO 7)
It's possible get the payload of a VM in vro when i use XaaS Blueprint ?
I have an scripteable taks whith: "var machine = payload.get("machine") ;" but the log show machine=null .
When i use the scriptable task on a subscription the payload.get work perfectly .
Thanks!
Unable to import catalogs vRA 7.5
Hi guys
I have installed and configured vRA7.5, and installed the ITSM 5.0 plugin for SNOW.
After I have registered the vRA and try to import the catalogs I get the below error:
Exception caught inside VRASNRegisterVRA.updateAuthToken: ConversionError: The undefined value has no properties.
PLEASE can anyone assist?
thank you
LogInsight 4.7.1 - I cannot use custom SSL certificate.
Hallo
I have installed a LogInsight Version 4.7.1-10752772
I get an error message when a try to save my own SSL certificate.
Apache-Tomcat error is:
Failed to update certificate: ["Importing keystore /usr/lib/loginsight/application/3rd_party/apache-tomcat-8.5.32/conf/keystore.pkcs12 to /usr/lib/loginsight/application/3rd_party/apache-tomcat-8.5.32/conf/keystore..."]
I have created a PEM file including the private key and chain.
I have used the following format:
-----BEGIN RSA PRIVATE KEY-----
(Your Private Key: server.key)
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: server.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: DigiCertCA.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Root certificate: TrustedRoot.crt)
-----END CERTIFICATE-----
On a test Linux/Apache/Tomcat I have verified the installation of this PEM file.
Further I have checked the certificates with https://www.sslshopper.com/
This seems to be all right.
I am not sure where the problem is coming from.
The certificate authority is two level MS Windows 2016 CA.
The template is based on the WebServer-template.
I have done this on other Loginsight systems succesful.
The differences are the version of the CA and version of the Loginsight.
If any one would like to help with these, I would be greatly appreciated.
Filter applicable networks for a reservation policy during requesting new VM
Hello,
currently I am trying to deploy a VM from one blueprint on vRA 7.3 where I am able to select applicable networks during request.
Made up easy, my setup looks like this:
- I have two independent vCenters that are not linked
- I have a Windows template in both vCenters that are exactly the same and also have the same name
- I have several networks within each vCenter with different names
- In vRA I configured network profiles for each network
- In vRA I configured a reservation policy for each vCenter
- In vRA I configured a reservation for each vCenter and applied the network profile to each available network and applied each vCenter its own reservation policy
- In vRA I configured just one Blueprint and left the reservation policy empty
- In vRA I created the custom property VirtualMachine.Network0.Name linked to the script action com.vmware.vra.networks/getApplicableNetworks as external value and attached it to my blueprint
- In vRA I created a custom property __ReservationPolicyID linked to the script action com.vmware.vra.reservations/getApplicableReservationPolicies and attached it to my blueprint
So far so good,
now during a new request I am able to select by dropdown a reservation policy to place the new VM either in vCenter A or B. But on the network selection dropdown I am getting displayed all networks from all reservations within the user's current business group. So I checked the code of the script action com.vmware.vra.networks/getApplicableNetworks and it does exactly that :)
What I want to do is modify this script action, so it does only return the networks from the reservation policy currently selected in the request. As I have a reservation policy for each vCenter and each reservation is bound to one of those policies, I would end up with only the networks from one vCenter getting displayed.
The problem is, that I do not know how to modify the code to achieve this :/ I couldnt figure out what the objects/variables look like in the code or which methods are availabe and what they actually do :( I am also looking for some kind of API or Documentation.
//For example: what is returned in to the variable and what does it look like? How can I filter the reservations to only get the one matching the selected one in the request?
var reservations = System.getModule("com.vmware.vra.reservations").getReservationsForUserAndComponent(user, tenant, host, blueprint, component);
Add host docker
Author : pgilday
Topic Name : Managing Container Hosts and Clusters
Publication Name : Preparing and Using Service Blueprints in vRealize Automation
Product/Version : vRealize Automation/7.4
Question :
Where is procedure how to add Photon host. The doc. is low levele details.
VRA 7.3 Certificate Authentication Issue
I have a VRA 7.3 Appliance configured to use Certificate authentication. When I try to login I get an error. I have imported all the correct certs in the Authentication Adapter under the certificateAuthAdapter. I noticed that when I try to login I don't get prompted for my smart card certificate. It just instantly goes to a page that says error and that's it. Any help or suggestions on what to try or where to look would be greatly appreciated. Thanks
Azure vRA 7.5 Static IP
When creating a Azure machine it does not apply the setting of static IP, it always defaults to dynamic. Digging through the workflows there is a "Create VM NIC" which is used to create the Azure NIC. In this 7.5 version it is calling "AzureNetworkInterfaceManager.createWithoutPublicIp(destinationRG, region, virtualNetwork, subnetAttr, nicProperties.nicName, null)" to create the NIC. Looking at the parameters, the last one is for "staticPrivateIPAddress" but is set to null. I have been playing around with this and the only valid input for it is an IP address within the subnet you as using, then it will set the NIC to static. Looking through all the Azure scripting objects i can not find any that would allow me to update the NIC to static or one that will give me an available IP within a subnet to then take and use to create the NIC. Has anyone come across this and if so how did you get around this?
Thanks
Apply modified blueprint parameters to deployed virtual machines. How to?
I am trying to determine if there is a way to reapply the parameters for a component in a blueprint to apply to previously deployed virtual machines from that same blueprint. We have decided for a blueprint to change the total storage size allowed for a vm to be a couple of hundred gb more than when we had originally set in the blueprint. New deployments of course get this set correctly but the previously deployed don't inherit this and I can't see a property I can set to allow for it. I can modify in vCenter but I want to allow for the owners in vRA to expand this as needed. Am i missing something obvious? I could swear this was easy to do in 6.x world but maybe I am confused. We are currently running 7.3.1.
Paul
Custom Action on NSX LBaaS
vRA/vRO lab question
Hello guys, I need some expert opinion on the below.
I have just started my career in vRA/vRO which I find really hard coming from a non dev background, so I decided to build a lab to do my learning and work towards a cert..
I have a ryzen 7 1700, 16gb ddr4 ram and I am running vsphere, esxi 6.7 host and trying to install vRA appliance on workstation pro. As it is obvious, 16gb is not enough ram. I need some advise that will it be enough if I buy another 16gb ram for AUD230 or would it be a better option to buy a HP proliant 360p G8 with 64 gb RAM for $650 or $900 with 128gb RAM and run esxi 6.5 on it, which a acquaintance is trying to sell me? obviously it is cheaper to buy just the RAM, but I am not sure what the right option is in the long run. Many thanks
Null child found in collectedObject error during vRA Data collection
Please i get the error "Null child found in collectedObject" during data collection on vra 7.4.
The vCenter endpoint was added successfully and i could see all vCenter's compute resources when creating a fabric but for some reason, the data collection was not successful.
Any ideas?
Thanks in advance,
vro code for create a nsx Load Balancer
Anybody have a vro/vco code for creating nsx load balancer ?
Is there a way to configure locale-specific text in the forms for Service Blueprints?
Is there a way to configure locale-specific text in the forms for Service Blueprints? E.g, if the user has their browser set to German, they see German labels; if they have it set to English, they see English labels.
In vRO, I tried doing the Localization > Create localization resources from the right-click menu of the workflow. Then I updated the resources (export, edit the .properties files, import), but it doesn't seem to use them when I run the workflow from within the vRO client or from VRA.