Automate Application Set Creation in vRealize Network Insight (vRNI) for Application dependency Mapping and Analysis

 

This blog is intended towards the audience to help automating the application set creation in vRNI. If the customer already has existing CMDB of their application landscape, it would be easy for us to map the VM to application. This PowerShell script is developed by Martijn Smit – Sr. Technical Marketing Architect, Network Insight, NL VMware.

Basically, applications sets are logical constructs which can contain the structure of applications (including tiering). You can use these application containers to better visualize what network flows are going between specific applications or even application tiers.


  1. Installation of PowervRNI:

There are 2 ways of installing PowervRNI.

  • PowerShell Gallery


  • Download the PowervRNI module and install manually


  • Connection to the vRNI Platform VM

     


     

    Below is the command to see list of cmdlets PowervRNI offers and what information we can get out of vRNI with it:

     


     

  1. Creating Bulk Applications with PowervRNI:

To automate the creation of application sets, we need to be able to create applications, and then the tier and rules that will place VMs into the specific tiers.


The application bulk import script uses a CSV file as input. This CSV file has the applications, tiers, and security groups and/or VM names in it. Here’s an example of how it should be formatted.


 

If there is no security group needed to be defined in the application sets, leave it blank. Below is an example as how I created in one of our customer environments.


 

Below is an example of connecting to vRNI server and executing the script.



 

Once the script is successfully executed, a new application will be created in vRNI console, enable the threshold analysis manually and save the application.

 


 

I hope this blog helps you to do some automation and play around with PowervRNI.

 

Happy Learning!

 

 

 

 


 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.