Hands-On Workshop: Set up, Deploy, and Manage Licenses with NI Volume License Manager

Version 15.02

Introduction

The NI Volume License Manager Hands-On addresses many of the responsibilities of a software administrator, such as setup, deployment, and management of software licenses for users throughout an organization that uses National Instruments software, such as LabVIEW, TestStand, and DIAdem. The optimal tool for assigning licenses, creating software distributions, and reporting usage is NI Volume License Manager 3.x.

The following exercises will allow for several PCs to be attached to NI Volume License Manager via a network.

Network Setup Diagram:

Exercise 1: Setup License on NI VLM

Goal: Setup NI Volume License Manager (NI VLM) on the server PC with a pre-configured NI License File.

  1. Launch NI Volume License Manager.
  2. The first time NI VLM is launched, the NI VLM Getting Started Window is presented. Click Next.
  3. Select I have an agreement license file for this computer and click the [...] to select the file NIHandsOn01.lic from the directory C:\Users\Public\Documents\NI VLM Hands-On\Exercises\Exercise 1.
  4. Note: If you did not already have the license file, you would have to first select I do not have an agreement license file for this computer, to be guided through creating an email to agreements@ni.com which contains all the necessary details to build a license.
  5. Select Do not import settings and click Next.
  6. Enter representative data under Administrator Information. Keep the default settings for Ports. Click Next.
  7. Select Allow NI VLM to send my VLA Log to National Instruments automatically. Click Next.
  8. The Configure Email Preferences window can assist in connecting to your local mail server. Leave all fields as default and click Next.
  9. Click Finish. NI VLM now contains the following licenses:
    • Developer Suite, Core, 2 Licenses, Computer-Based
    • DIAdem, Professional, 2 Licenses, Computer-Based
    • Multisim, Power Pro, 2 Licenses, Computer-Based
    • TestStand, Development System, 2 Licenses, Managed Concurrent Computer-Based
  10. The NI VLM service is not running yet. Navigate to Tools>Preferences from the main menu.
  11. In the General tab, set the fields as shown in the figure (referencing the provided image for specific settings).
  12. In the Custom Fields tab, set all to Optional. Read the pop-up message and click OK.
  13. Note: In your organization, select Required for fields required for reporting and billing. The Full Name and Email address are required by NI when reporting software users who require access to the Standard Service Program.
  14. Explore the Notifications tab. During this exercise, leave all fields as default.
  15. In the VLA Policies tab, set the fields as shown in the figure (referencing the provided image for specific settings).
  16. Click Save to close the Preferences window.
  17. Click Apply Changes.
  18. Click Start Volume License Server if it has not already been started.
  19. Continue to Exercise 2.

End of Exercise 1

Exercise 2: Managing Groups with NI VLM

Goal: Manage users and licenses effectively with Groups in NI VLM.

Groups are a collection of licenses and clients. Every client in a given group has permission for each license in that group. You can use groups to define a set of clients that use the same set of software, according to the roles played by engineers in your organization.

  1. Review the Introduction section of this document.
  2. In the main NI VLM window, select the Groups view.
  3. Click Add Computer Group.
  4. Set the Name to Production Test. Set the Description to Machines that run Test Sequences.
  5. Click Add to the right of the Licenses field.
  6. Check TestStand Development System and click Add. Click Save.
  7. Click Add Computer Group.
  8. Set the Name to Test Developer. Set the Description to Machines for Developing Tests.
  9. Click Add to the right of the Licenses field.
  10. Check Developer Suite and TestStand Development System and click Add. Click Save.
  11. Click Apply Changes.
  12. Continue to Exercise 3.

End of Exercise 2

Exercise 3a: Configure Clients for NI VLM

Goal: Inspect the client PCs, prepare them for installing software, and link them to the NI VLM server.

Option I: If you have access to client hardware

  1. Log into Windows on all client PCs.
  2. Navigate to Start»All Programs»National Instruments»NI License Manager.
  3. Click on Display Computer Information or press F7.
  4. Record the Computer Name and Computer ID of every client on a sheet of paper or in Notepad. Decide which machine will be client A through D, as described in the Introduction.
  5. Clients can be added to NI VLM in the following three ways:
    • Manually, as part of a group. (ClientA)
    • Manually, without being assigned to a group. (ClientD)
    • Automatically, via a distributed Volume License Installer (VLI). (ClientsB and C)
  6. Continue to the next part of Exercise 3.

Option II: If you do not have access to client hardware

  1. Review the client PC information that has already been collected using the method in Option I.

Client PC Information:

Computer Name Computer ID
ClientA JKBL-Y54Q-PD7Z-2CBP
ClientB R8PD-NKC7-GLW8-Q2VX
ClientC Y2VB-YY7S-9VCR-B8DB
ClientD Y2V5-7S7M-TH6M-X6BD
  1. Clients can be added to NI VLM in the following three ways:
    • Manually, as part of a group. (ClientA)
    • Manually, without being assigned to a group. (ClientD)
    • Automatically, via a distributed Volume License Installer (VLI). (ClientsB and C)
  2. Continue to the next part of Exercise 3.

Exercise 3b: Manually adding Clients to NI VLM

Goal: Use NI VLM to add two of the client machines manually.

For networks with a small number of machines, it may be faster to manually add machines to NI VLM. For larger networks, Exercise 3c explores automating the addition of clients to NI VLM.

  1. On the NI VLM server, navigate to the Computers view of the main NI VLM window.
  2. Click Add Computer.
  3. Set the Computer Name and Computer ID to the values logged in Step 4 for ClientA.
  4. Click Add to the right of the Groups field.
  5. Check Production Test and click Add. Click Save.
  6. On the NI VLM server, navigate to the Computers view of the main NI VLM window.
  7. Click Add Computer.
  8. Set the Computer Name and Computer ID to the value logged in Step 4 for ClientD.
  9. Click Add to the right of the Explicit Licenses field.
  10. Check Multisim Power Pro Edition and click Add. Click Save.
  11. Click Apply Changes.
  12. Option I: If you have access to client hardware
  13. Log into Windows onto the ClientA and ClientD PCs.
  14. Navigate to Start»All Programs»National Instruments»NI License Manager.
  15. In the main menu, navigate to Options»Preferences.
  16. Check the box for Use Volume License Servers and enter the Server Name or IP Address.
  17. Click OK. Expand the [+] next to the server name to inspect whether the server and clients are communicating. ClientA should have a green box next to the Product Test group and the TestStand volume license. ClientD should only have a green box next the Multisim volume license.
  18. Close the NI License Manager.
  19. Run TestStand on ClientA or Multisim on ClientD. If licensing has been negotiated correctly with NI VLM, then the application should start immediately. If a licensing error has occurred with NI VLM, you should see a message similar to the figure. Click more details... to learn more about the error.
  20. Continue to the next part of Exercise 3.

Exercise 3c: Automatically adding Clients to NI VLM with a silent VLI

Goal: Automate the process of installing NI software on multiple machines and distributing licenses with a Volume License Installer (VLI).

A VLI automates the process of ensuring several clients install the same NI software, link to the correct license server, and request a license from the appropriate group. Several command line switches exist for the VLI to assist the administrator in reducing human error among clients.

  1. On the NI VLM server, navigate to Tools»Create Volume License Installer....
  2. Click Next.
  3. Set the Source to C:\Users\Public\Documents\NI VLM Hands-On\Exercises\TestStand 201#.
  4. Set the Destination to C:\Users\Public\Documents\NI VLM Hands-On\Exercises\VLI.
  5. Enter TestStand_VLI as the Installer Name. Click Next.
  6. Select Configure Clients to connect to volume license server to check out licenses and allow the default server name. Click Next.
  7. Select Do not allow clients to request permission to join any groups and check Collect client information and send it to NI Volume License Manager.
  8. Click Next and Build. Wait for the build to complete and click Finish.
  9. In Windows, navigate to C:\Users\Public\Documents\NI VLM Hands-On\Exercises\VLI\TestStand VLI.
  10. Note: The folder now has the TestStand DVD contents in _Src. A special utility, called vlmclient.exe, is stored inside Client. Setup.exe in the top-level folder would install TestStand on the client and then configure NI License Manager to communicate with the NI VLM server. If software is already installed on the client, it is advised you only run vlmclient.exe to configure the NI License Manager.
  11. Navigate to C:\Users\Public\Documents\NI VLM Hands-On\Exercises\Batch Files to find a pre-made batch file. For a completely silent client experience, vlmclient.exe must be run in a Batch file (.bat) with command line switches /q for quiet and /groups to add ClientB and ClientC to the Test Developer group.
  12. Right-click on VLMclientwithGroups.bat and select Edit.
  13. Above the text Pause, type the command Client\vlmclient.exe /q /groups {GUID}. The Group Unique ID (GUID) can only be found through NI VLM by following the next three steps.
  14. Note: Do not use /q if you would like users to enter their Full name and email address for NI Technical Support through the Standard Service Program.
  15. In NI VLM, navigate to the Groups view.
  16. Click on the Test Developer group and click Edit.
  17. Right-click on the icon in the top left corner and select Copy Group Unique ID.
  18. In the batch file, double-click on {GUID}, right-click and select Paste.
  19. Navigate to File»Save and Close the batch file.
  20. Close all open NI VLM windows.
  21. Copy the Batch file to C:\Users\Public\Documents\NI VLM Hands-On\Exercises\VLI\Installer for Clients. Copy the folder Client from C:\Users\Public\Documents\NI VLM Hands-On\Exercises\VLI\TestStand VLI to the same location.
  22. Option I: If you have access to client hardware
  23. Distribute the folder, Installer for Clients, via USB stick or the network to ClientB and ClientC. Paste the folder in the location of your choice on both client PCs.
  24. Verify that the NI VLM window is closed on the volume license server.
  25. Double-click VLMclientwithGroups.bat on the clients and follow the instructions.
  26. Navigate to Start»All Programs»National Instruments»NI License Manager.
  27. Expand the [+] next to the server name to inspect whether the server and clients are communicating. ClientB and ClientC should have a green box next to the Test Developer group and both the Developer Suite and TestStand Volume License.
  28. Close the NI License Manager.
  29. Continue to Exercise 4.

Exercise 4: Disconnecting licenses from NI VLM

Goal: Disconnect licenses from NI VLM to permanently reserve a license for a client or to allow a client to use software without network access.

Option I: If you have access to client hardware

  1. Run the TestStand Sequence Editor on ClientA, B, and C. NI VLM contains two concurrent licenses, however three machines are trying to access the licenses. One of the three clients will be denied a license until an existing user stops running TestStand.
  2. In your organization, ClientA represents a piece of Automated Test Equipment that must never be denied a license when it performs a production run. In response to your client's request, as an Administrator, you can investigate which machines are using the concurrent licenses. In NI VLM, navigate to Licenses.
  3. Expand the [+] next to Development System, under the category TestStand 201#. Click the In Use tab to view the current usage of this license. You have decided that the best way to assist your client is to permanently reserve a single license from the concurrent pool for ClientA. ClientA will also be able to use software without a network connection.
  4. Navigate to the Computers view in NI VLM on the server.
  5. Click once on ClientA under Computer Name and select Disconnect.
  6. Click Next.
  7. Select Save disconnected license file and click on the [...] to navigate Windows Explorer to C:\Users\Public\Documents\NI VLM Hands-On\Exercises\Disconnected Licenses and click OK.
  8. Click Next.
  9. Select Never Expire. Click Disconnect.
  10. Click Apply Changes.
  11. Note: When the disconnected license file is applied to ClientA, it will be able to always use TestStand without the chance of its license being borrowed by another computer on the network.
  12. Optional: Test the configuration by copying the disconnected license file to ClientA via a USB stick. Install the license file by pressing F8 in NI License Manager.
  13. ClientD represents a contractor who will be joining your organization for 3 months as a temporary circuit designer. ClientD will not be allowed access to the network and also cannot be given serial numbers for a standalone software seat of Multisim. ClientD will be given a three-month license from the Computers view of NI VLM.
  14. Click once on ClientD under Computer Name and select Disconnect.
  15. Click Next.
  16. Select Save disconnected license file and click on the [...] to navigate Windows Explorer to C:\Users\Public\Documents\NI VLM Hands-On\Exercises\Disconnected Licenses and click OK.
  17. Click Next.
  18. Select Expire on a specific date and select a day 3 months from today. Click Disconnect. Click Finish.
  19. Click Apply Changes.
  20. Note: When the disconnected license is applied to ClientD, it will be able to run Multisim for the period of time the contractor is working with your organization. When the license expires, the risk of abuse of your organization's licenses is reduced. The license is automatically reconnected to NI VLM on the same date.
  21. Continue to Exercise 5.

End of Exercise 4

Exercise 5: Generate report with NI VLM usage data

Goal: Create a visual representation of the check-out and check-in operations on the NI VLM server in order to improve license management.

  1. The latest version of NI VLM includes built-in report generation based on the usage data logged over the volume license period. Due to the fact that there has not been enough client activity during the exercises, NI VLM's configuration will be reset, and a file of simulated data will be loaded.
  2. In NI VLM, in Status, click Stop Volume License Server.
  3. Close the NI VLM window.
  4. In Windows Explorer, navigate to C:\Users\Public\Documents\NI VLM Hands-On\Exercises\CleanUp and run the batch file Run this to Clean VLM 3.1 by right-clicking and selecting Run as Administrator.
  5. Click OK on the Windows UAC dialog box. Answer Y for every question in the NI VLM cleaner tool to delete all configuration files.
  6. Launch NI Volume License Manager.
  7. Click Next.
  8. Select I have an agreement license file for this computer and click the [...] to select the file NIHandsOn01.lic from the directory C:\Users\Public\Documents\NI VLM Hands-On\Exercises\Exercise 1.
  9. Select Import settings from a previous NI VLM 3.x installation and click Next.
  10. Load the file ReportingTesting.vlmbak from C:\Users\Public\Documents\NI VLM Hands-On\Exercises\Reporting and click Import.
  11. Click Next, Next, and Finish.
  12. In the main NI VLM window, select the Reports view.

NI VLM Reports view can be used to create the following reports:

  1. Select Seat Utilization. Configure the dates of interest, the license to inspect, and click Generate Report.
  2. Review the report. The solid line represents the number of licenses available. The report shows that between January and March, more licenses were used than expected, via the overdraft system. This could indicate an unplanned trend in your organization, which implies that more licenses are needed that time of year.
  3. Select Seat Utilization (Concurrent). Configure the dates of interest, the license to inspect, and click Generate Report.
  4. Review the report. The top graph indicates the Seats in Use per day. The bottom graph indicates when more seats than available were requested. The clients requesting above the inclusive amount were denied, and logged. If the list is long, that could indicate that the organization should acquire more licenses.
  5. Select License Allocation. Choose any parameters and click Generate Report. This report can help classify usage in your organization. This tool can help when allocating cost to different Cost Centers, Projects, or Departments.
  6. Continue to explore additional reporting features.

End of Exercise 5

PDF preview unavailable. Download the PDF instead.

VLM Online Training Course Manual Adobe PDF Library 11.0

Related Documents

Preview CompactRIO 和 LabVIEW 入门指南:嵌入式系统开发
本指南由 National Instruments 提供,介绍如何使用 LabVIEW 和 CompactRIO 开发嵌入式系统。涵盖硬件/软件设置、扫描接口、FPGA 接口和 VI 创建,适用于工业自动化。
Preview NI High-Speed Digitizers Getting Started Guide
A guide to installing, configuring, and testing NI high-speed digitizers and accessories, including programming with NI-SCOPE software. Covers models NI 5105, 5114, 5122, 5124, 5132, 5133, 5142, 5152, 5153, 5154, 5160, 5162, 5185, 5186, 5620, 5621, 5622, 5900, and 5922.
Preview NI 62xx/63xx Pinout Labels for SCB-68A
Provides pinout labels for National Instruments (NI) 62xx and 63xx series multifunction I/O modules and devices when used with the SCB-68A shielded connector block, detailing connections for various connectors and configurations.
Preview Sound & Vibration Training Course - National Instruments
Explore the principles and applications of sound and vibration measurement with this comprehensive training course from National Instruments. Learn about system components, sensors, data acquisition, and analysis techniques.
Preview Getting Started with Your PCI-FBUS and NI-FBUS Software
This guide provides instructions for installing and configuring the National Instruments PCI-FBUS board and NI-FBUS software, covering hardware setup, software installation, interface configuration, and troubleshooting for Fieldbus systems.
Preview NI Calibration Executive: Automated Calibration Software for Measurement Hardware
National Instruments Calibration Executive software automates the verification and adjustment of NI measurement hardware. This document outlines supported products, system requirements, and additional resources for using the software.
Preview National Instruments NI 66xx SCB-68A Pinout Labels and Connection Guide
Comprehensive pinout labels and connection reference for National Instruments NI 66xx counter/timer devices (NI 6601, 6602, 6608, 6612, 6614) when used with the SCB-68A shielded connector block. Includes detailed pin assignments for each model.
Preview NI-9218 Getting Started Guide - National Instruments
A comprehensive guide for the National Instruments NI-9218 module, covering connector types, pinouts, supported measurement types (±16 V, ±65 mV, Full-Bridge, IEPE, ±20 mA, ±60 V, Half-Bridge, Quarter-Bridge), signal conditioning, TEDS support, and filtering.