Tuesday, June 16, 2015

List of Reserved (vRA) vCAC VM Prperties be used during the BuildingMachine Workflow

Welcome: To stay updated with all my Blog posts follow me on Twitter @arunpande !
In multiple vRealize Automation (vRA) design & implementation engagements, I have often come across customer requirements where OOB functionality and features do not meet their requirements. These requirements may vary from intial provisioning to certain day 2 operation. In this blog post I will discuss about the reserved vCAC VM properties that can be used in the initial provisioning state. For example, I have received following customization requests in one of the engagements:
  • Change the Name of the VM provisioned dynamically using vCAC [VirtualMachine.LeaseDays]
The requirement was to assign the name of the VM dynamically based on the user inputs. To achieve this we created  a vCO workflow to dynamically update the value of VirtualMachine.LeaseDays.

  • Allow users to choose a specifc or unlimited lease for a VM provisioned from the same blueprint [VirtualMachine.LeaseDays]
Here, a vCO workflow was used to let the user select if he wants Unlimtied or specific Lease duration, the same value was updated to the VirtualMachine.LeaseDays. Note that when the value of this property is set to 0 the lease duration is unlimited.
I would like to thank Sonal Jain, for his expertise in designing the above workflows.
There are other workflows available which allows user to change the CPU & Memory values using the below properties.
  • VirtualMachine.CPU.Count
  • VirtualMachine.Memory.Size
In this blog post, I have also tried to capture the key properties used in the ExternalWFStubs.BuildingMachine workflow.
Next time when you receive any customization request from the customer that is applicable to the building machine stub, search for the custom property from the below list. Next, create a vCO workflow using the custom property and assign it to the Blueprint.
VirtualMachine.Admin.TotalDiskUsage : 61440
VirtualMachine.CPU.Count : 1
VirtualMachine.Disk0.IsClone : true
VirtualMachine.Disk0.Size : 60
VirtualMachine.Disk0.Storage : EMC-VNX5600-2TB-01
VirtualMachine.Disk0.Storage.Cluster.ExternalReferenceId : group-p129
VirtualMachine.Disk0.Storage.Cluster.Name : EMC-DS-CLS-VNX5600-01
VirtualMachine.LeaseDays : 0
VirtualMachine.Memory.Size : 4096
VirtualMachine.Network0.Address : 10.X.X.X
VirtualMachine.Network0.DnsSearchSuffixes : apd.com
VirtualMachine.Network0.DnsSuffix : apd.com
VirtualMachine.Network0.Gateway : 10.X.X.X
VirtualMachine.Network0.Name : eth-9
VirtualMachine.Network0.NetworkProfileName : VLAN-916
VirtualMachine.Network0.PrimaryDns : 10.X.XX
VirtualMachine.Network0.PrimaryWins :
VirtualMachine.Network0.SecondaryDns : 10.X.XX
VirtualMachine.Network0.SecondaryWins :
VirtualMachine.Network0.SubnetMask : 255.255.255.0
VirtualMachine.Network1.Address : 10.X.XX
VirtualMachine.Network1.DnsSearchSuffixes : apd.com
VirtualMachine.Network1.DnsSuffix : apd.com
VirtualMachine.Network1.Gateway :
VirtualMachine.Network1.Name : eth-8
VirtualMachine.Network1.NetworkProfileName : Backup
VirtualMachine.Network1.PrimaryDns : 10.X.XX
VirtualMachine.Network1.PrimaryWins :
VirtualMachine.Network1.SecondaryDns : 10.X.XX
VirtualMachine.Network1.SecondaryWins :
VirtualMachine.Network1.SubnetMask : 255.255.255.0
VirtualMachine.Request.Layout : vcacvm.customname.os.dmz
VirtualMachine.Storage.Cluster.ExternalReferenceId : group-p129
VirtualMachine.Storage.Cluster.Name : EMC-DS-CLS-VNX5600-01
VirtualMachine.Storage.Name : EMC-VNX5600-2TB-01
Vrm.ProxyAgent.Uri : https://iaas-mgr.apd.com/VMPS2Proxy
__Legacy.Workflow.ImpersonatingUser :
__Legacy.Workflow.User : vcac@apd.com
__Notes : This is test VM.
__api.request.id : 5d14685b-22f8-4b22-b2ec-8377922f0a3e
__clonefrom : windows-2008-R2-template
__clonefromid : def1171a-7fd7-4b69-a623-bbfd7e0d34a0
__clonespec : windows-join-ad
__displayLocationToUser : False
__menusecurity_connect : true
__menusecurity_connectVdi : true
__menusecurity_connectVmrc : false
__menusecurity_destroy : true
__menusecurity_expire : true
__menusecurity_reprovision : true
__menusecurity_snapshotmanagement : true
__menusecurity_turnoff : true
__menusecurity_turnon : true
__request_reason :
If you need more information about the methods and functions for these properties you can use API explorer to search the property name and will also list most commonly used property name for your reference.
  • Use API Explorer
  • When you login to the vRO Client, click Tools > API Explorer


  • Enter the name of the element and view the results

Hope This Helps!!

20 comments:

  1. Nice article Pandey Sir.Please keep on posting such articles.

    thanks
    Balbir Singh
    +919811372071

    ReplyDelete
  2. Good post. I learn something totally new and challenging on blogs I stumbleupon on a daily basis. It will always be interesting to read articles from other authors and practice something from their websites...

    Android Training in Chennai

    ReplyDelete
  3. Thanks for the good words! Really appreciated. Great post. I’ve been commenting a lot on a few blogs recently, but I hadn’t thought about my approach until you brought it up.
    ROI Services in Chennai

    ReplyDelete

  4. What an awesome post, I just read it from start to end. Learned something new after a long time.

    datawarehousing training in Chennai

    ReplyDelete
  5. Wonderful blog.. Thanks for sharing informative blog.. its very useful to me..

    iOS Training in Chennai

    ReplyDelete
  6. Wonderful blog.. Thanks for sharing informative blog.. its very useful to me.. Android App Development Company in Chennai

    ReplyDelete
  7. This post is really nice and informative. The explanation given is really comprehensive and informative... Security Mobile alerts Chennai

    ReplyDelete
  8. Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
    Germany Education Consultants in Chennai

    ReplyDelete
  9. This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.

    Oracle Training in Chennai

    ReplyDelete
  10. This article is very much helpful and i hope this will be an useful information for the needed one. Keep on updating these kinds of informative things...

    Android App Development Company

    ReplyDelete
  11. It is very useful information at my studies time, i really very impressed very well articles and worth information, i can remember more days that articles.
    Office Interior Designers in Coimbatore
    Office Interior Designers in Bangalore
    Office Interior Designers in Hyderabad

    ReplyDelete
  12. This article is very much helpful and i hope this will be an useful information for the needed one.Keep on updating these kinds of informative things...
    iOS App Development Company
    iOS App Development Company

    ReplyDelete
  13. you are posting a good information for people and keep maintain and give more updates too.

    seo company india

    ReplyDelete
  14. great and nice blog thanks sharing..I just want to say that all the information you have given here is awesome...Thank you very much for this one.
    web design Company
    web development Company
    web design Company in chennai
    web development Company in chennai
    web design Company in India
    web development Company in India

    ReplyDelete
  15. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  16. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Mobile Marketing Service
    Mobile Marketing Companies
    Sms API
    Texting API
    sms marketing

    ReplyDelete
  17. Really i like this blog and i got lot of information's from your blog.And thanks for sharing!!!!
    Iperidigi
    SEO Company in Chennai
    SEO Company in India

    ReplyDelete
  18. Hi, your article really nice. That is so logical and clearly explained. Keep it up! I will follow up your blog for the future post.
    It was a wonderful chance to visit this kind of site and I am happy to know. thank you so much.
    Isoft Innovations Company Address
    Isoft Innovations Adyar
    Isoft Innovations Chennai
    Isoft Innovations

    ReplyDelete