Pages

Showing posts with label Self-Service. Show all posts
Showing posts with label Self-Service. Show all posts

Tuesday, January 27, 2015

What is the vRealize CloudClient

Do you have the need for performing multiple tasks in an efficient manner, tired of using the web-based GUI interface to perform common tasks in vRealize Automation? Help is at hand in the shape of the vRealize CloudClient.

vRealize CloudClient is a command–line utility that provides simplified command line access to vRealize Automation, vRealize Orchestrator and vCenter Site Recovery Manager functions.  Essentially its an easy to use command-line wrapper for performing API functions across VMware's products and can easily be expanded to extend to further products in the future. It can be downloaded from here and is shipped independently from the vRealize Automation Release.

A number of my colleagues have written some great blog posts over the last few months (see below) and I plan to add some very specific use cases of my own on this site in the coming months based on my day-to-day job.
 _________________________________________________________________________________________

Andrea Sivero, a Senior Solutions Architect from VMware’s Professional Service Organization put together a great blog post that will jump start your CloudClient use.
Omer Kushmaro an Integration Engineering Architect at VMware  discusses common use cases and provides examples on how to get started.

Looking for additional use case examples?  Tom O’Rourke’s one of the founders of vRealize Automation (formally Dynamic Ops) has some sample scripts on his Clear as a Cloud Blogs.

Tuesday, December 10, 2013

Limiting VMs per request within the vCAC 5.2 Self-Service portal

Ever wanted to limit the number of VMs being requested via the Self Service portal per request.  I had a customer who wanted to do this recently, their use case was to prevent user input mistakes when requesting services. The default value in vCAC 5.x is 999.

Just to be clear this is not limiting the number of VMs a user can request based on a blueprint as a total or setting the number of VMs on a reservation.

NOTE: This procedure needs to be performed on all Web Servers if you have multiple deployed.

1.       Browse to the folder D:\Program Files (x86)\VMware\vCAC\Self-Service Portal\Views\Shared
2.       Make a copy of the ‘SpinEditRow.cshtml’ file and call it ‘SpinEditRow - vCAC 5.2 Original’
3.       Edit the ‘SpinEditRow.cshtml’ file and amend the following line located on line 7:

From:             var spinnerMaxValue = this.Model.MaxValue.HasValue ? this.Model.MaxValue.Value : 999;
To:                 var spinnerMaxValue = this.Model.MaxValue.HasValue ? this.Model.MaxValue.Value : 5;

Then test the process of making a new request from the Self-Service portal, the ‘# of machines:’should now be restricted to a maximum of 5

NOTE: This is not officially support by VMware and carful consideration should be given before making this alteration. An upgrade of vCAC 5.2 would alter this change back to its default value.