g uide for sett ng p rms - autodesk · g uide for sett ng p rms ... powermill-powermill name of the...

29
www.delcam.com 1-877-335-2261 Guide for setting up RMS What is Sentinel RMS? The Sentinel RMS is the software toolkit that we used to license the application you are using. The licensed application uses the RMS license to support the license agreement. It can authorize, monitor, and report the application use. However, these capabilities are provided depending upon the type of application and details of your license agreement. The application first checks with the license to verify if the use is permitted by the license agreement. If the use is authorized, the application is allowed to run. Else, either the application exits or the user is placed into a queue to wait for authorization. What is Stand-alone Licensing? In case of stand-alone licensing, the Sentinel RMS license server is not required. The licensed application looks for the default license file (.PAF) in its local directory. What is Network Licensing? The network licensing model is based on the client/server architecture, where licenses are placed on a centralized system in the subnet. On this computer, the Sentinel RMS license server must be running to serve the license requests from clients. What is RMS License Server or RMS License Manager? The Server The RMS license server is a program that coordinates the use of a licensed application by multiple users and computers. This program usually runs on a computer that is located on the same subnet as any computer that needs to run the application. The license server reads the licenses from the license file or can have them added into its memory. Each license identifies the valid uses of a single application or feature. There may be multiple licenses in a single license file. The Clients The computers that run the application are called clients. When a licensed application is started on the client, it sends a request for a license across the network to the license server. The license server grants the request if possible and returns an authorization message back to the client.

Upload: vanthien

Post on 06-May-2018

242 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Guide for setting up RMS What is Sentinel RMS?

The Sentinel RMS is the software toolkit that we used to license the application you are using. The licensed application uses the RMS license to support the license agreement. It can authorize, monitor, and report the application use. However, these capabilities are provided depending upon the type of application and details of your license agreement.

The application first checks with the license to verify if the use is permitted by the license agreement. If the use is authorized, the application is allowed to run. Else, either the application exits or the user is placed into a queue to wait for authorization.

What is Stand-alone Licensing?

In case of stand-alone licensing, the Sentinel RMS license server is not required. The licensed application looks for the default license file (.PAF) in its local directory.

What is Network Licensing?

The network licensing model is based on the client/server architecture, where licenses are placed on a centralized system in the subnet. On this computer, the Sentinel RMS license server must be running to serve the license requests from clients.

What is RMS License Server or RMS License Manager?

The Server

The RMS license server is a program that coordinates the use of a licensed application by multiple users and computers. This program usually runs on a computer that is located on the same subnet as any computer that needs to run the application.

The license server reads the licenses from the license file or can have them added into its memory. Each license identifies the valid uses of a single application or feature. There may be multiple licenses in a single license file.

The Clients

The computers that run the application are called clients. When a licensed application is started on the client, it sends a request for a license across the network to the license server. The license server grants the request if possible and returns an authorization message back to the client.

Page 2: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Getting Installation Kit All your license files (PAF, Flex and RMS) will be provided to you by your respective Delcam reseller. Following file will be supplied to you.

Example :- ABC0101F_flex_server.zip

ABC01-01F.rms

ABC01-01F.paf

For each RMS license issued a specific "flex kit" will be issued. This is the Sentinel RMS installation file. It contains encrypted information regarding the customer and dongle number for which it was generated. The kit can be used only with that customers dongle.

Note: Flex kit issued for a particular dongle/customer should be used for that dongle/customer and not for other customer as is it not compatible for other customer dongle.

How do you know that you have the correct kit? Sentinel RMS kits have a file size of

16.4Mb. The body and format of the RMS license file is very different to those for FlexLM,

however the head of the file remains very similar.

With recent changes to the license generator, old FlexLM lines at the top of the file are now commented (‘#’) out. These remain within the file as it is possible to start Sentinel RMS in "flex compatibility mode" from the “lmgrd.exe” that is supplied within the installation tree.

# DELCAM RMS LICENSE FILE

# Generated 21/08/10 13:53 for Order REGENERATION #---------------------------------------------------------------- # SERVER isupport DELCAM_ID=119867 1700 # DAEMON delcam delcam_rms.exe # USE_SERVER

Page 3: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Each line within the license file contains a ‘feature’ corresponding to the options that your customer has purchased. Starting with ‘11’ and ending with the encryption string some of the license feature line is man readable

POWERMILL-POWERMILL Name of the feature

2010.12 Maintenance date

3_KEYS Total number of network licenses available i.e. 3

First Date Date license is valid from

Second Date Expiry date for the feature

20_MINS 20_MINS Key Lifetime: How long a license is retained by the server if the application ‘dies’.

DEMONSTRATION_LICENSE Type of license

License File Location and setup

1) Setting for Server

Setting for FLEX license file

• Open the *.rms file in NOTEPAD, as you will need to adjust the file to contain your server name (the computer where the dongle will reside)

• This is shown below as changing the default of ‘flexserver’ to the server name of ‘isupport’. This information can be found by going to the Control Panel and opening up System Properties.

• Note: 'isupport' is server name used here at Delcam. You will need to use the name of your server.

• Once updated, the file will need to be saved into C:\dcam\config\pass as dcam.rms

Page 4: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

2)Setting for Client With both Sentinel RMS and FlexLM you can use a shortened form of the license file on every client machine. This basically tells the software to look at whatever file is on the server and to use that instead. The advantage of this is that you only have to set up the client once. If, at a future date, there is a license update then you will only need to update the server; useful on a large network with many clients.

The client license file consists of a comment line, a server line, a USE_SERVER line and a 4th blank line. There must be a carriage return after the 3rd line. The file will not work without it!

# DELCAM RMS LICENSE FILE # Generated 30/10/12 09:39 for Order REGENERATION # ----------------------------------------------------------------------- SERVER [nodename] DELCAM_ID=[id] [port-number] USE_SERVER <--- 4th Blank line!!!

Page 5: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

➢ Image shows how we can shortened version of the RMS license ➢ Save it as dcam.flx and copy it to client server

Note: There is no Daemon line in the shortened version of a client license file.

However, For any application to run on the server you must have a copy of the RMS license in C:\Program Files\Common Files\Delcam\dcam.flx and/or C:\Program Files (x86)\Common Files\Delcam\dcam.flx. Note that the alternative, historical, location C:\dcam\config\pass\ can also be used. If you are running ArtCAM a special start icon is used with RMS. From the start menu, find ArtCAM, then choose ArtCAM (RMS)

Summing Up:

• Edit the server name into the license file.

• Prepare a shortened version of the RMS license for the client machines. • Copy the shortened file to C:\Program Files\Common Files\Delcam\dcam.flx and/or

C:\Program Files (x86)\Common Files\Delcam\dcam.flx on the client.

• Proceed with installation of the server as detailed in the following pages.

Page 6: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Installing RMS server

Extract the contents of the server kit zip file and run the msi to

install the Sentinel RMS Server

Double click on Delcam Flex4004.msi

Following window will appear.

Page 7: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Page 8: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Select Next

Select to 'I accept the terms in the license agreement'

Page 9: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Select Next

Select Next

Page 10: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Install License server on C:\Program Files\Delcam\ or as per you preference

Select Custom

Page 11: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Select Next

Select to Network License Server , If Sentinel Dongle Driver are not installed select that too.

Select Next

Page 12: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Select Install

Select Finish

Page 13: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Click Yes It is recommended that you restart PC after installing RMS License Manager tool.

Testing License Server

Plug in the Delcam security dongle. It is recommended that you first use the “Test License Server” functionality. This will setup exceptions on any windows firewall that is currently running.

Go to Start Menu

Start → All Programs → Delcam → Flex → Flex4004 → Test License Server Startup

A command window opens which will provide feedback on the current status of the server

Page 14: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Following window will appear as ' Windows Firewall has blocked some features of this program.

Click to 'Allow Access'

Page 15: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Leave the Test License Server open

Go Start Menu

Start → All Programs → Delcam → Flex → Flex4004 → RMS License Manager Tool

Sever will get initialize here 'Please be patient while server gets initialized'. Expand Subnet Server, you will see server listed in Subnet server. In this case 'isupport' is our Subnet server

Page 16: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Suppose if network broadcast messages are blocked by a firewall you may not see the

server listed.

Page 17: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

In this case, define the server explicitly.

Page 18: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

As your Server is listed, next step is to load your license file onto the server

1. Right Click to your server → Add Feature → From a File → To Sever and its File.

2. Window will open browse license file from hard drive. 3. Locate license file and click open

➢ Please be patient as license is added to RMS License Manage Tool.

Page 19: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Following errors may be seen on reading the Sever. Simply hit ‘OK’ and continue. Select OK

Select OK

Select OK

Page 20: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

No errors should be thrown for reading the other lines within the RMS license file. Reading the file may take some time. You will be notified by the server when the license has been successfully read.

Select OK

RMS License Server is successfully loaded. Close the Test License Server window

Install the server as a service

➢ As server kit has been installed and tested

➢ Go to Start Menu for executing Install License server service

➢ Start → All Programs → Delcam → Flex → Flex4004 →Install License server services

Page 21: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

➢ A cmd window opens which will provide feedback on the current status of the server ➢ Hit Enter key to continue

Starting License Server Service

➢ As license service installed to server

➢ Go to Start Menu for executing Start License Server Service

➢ Start → All Programs → Delcam → Flex → Flex4004 → Start License Server

Service

Page 22: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Page 23: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

RMS server reads "lservrc"

RMS license file actually reads copied (minus the redundant FlexLM lines) into the server installation tree - 'lservrc'. This is the license file that is subsequently used and re-read whenever the server is started. From this point you should be able to successfully start licensed products. The ‘full’ RMS license file is no longer read on server startup and it is only the ‘shortened’ version of the license file (pointing to the server) that is then used by our software applications.

➢ Go to My Computer

➢ C:\Program Files\Delcam\Flex4004\sys\exec or path according to your installation.

➢ From file 'Iservrc' you should be able to successfully start licensed products

Page 24: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

➢ Once full RMS has been loaded onto the server it is no longer used, it is the copy of "lservrc" file that is then read by the server.

➢ But Application reads RMS file which we have shortened on client (dcam.flx).

➢ Following below images shows that when we load license file on server

➢ Copy of license gets generated as 'Iservc'

Page 25: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

➢ Once copy is made on license server there is no need of RMS and FLEX license file

on license server

➢ But we need RMS and FlexLM shortened form of the license file on every client machine. So that we can run application directly

➢ Creating shortened form is explained above in topic 'License file Location and topic'.

➢ It’s all done now you can run application

Page 26: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Functionality to check how many users are using licenses?

Within the RMS License Manager you will now notice that your server contains a sub tree which you can expand and navigate.

Page 27: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Within the Server Sub Tree you can see each license contained within the file that was read. Expanding these allows you to monitor the total number of licenses available for each "feature", how many licenses are currently in use, who is using them and where. You can use this functionality to check how many licenses are checked out compared with the number of sessions that have been started on a machine.

Page 28: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Known Issues

Delcam RMS is presently known to be incompatible when running in conjunction with any

other RMS server that may already be running on your machine. Notably early versions of

FeatureCAM have used and CGTech Vericut continues to use RMS licensing. The solution

here is to read the Vericut licence onto our own implementation of the RMS server. This has

been tested at Delcam and found to work.

You must have Sentinel Protection Server installed and running on the server for RMS to

work successfully. You should also ensure that the protection server has access through your

firewall; usually port 6001/2. This can be achieved by making an exception for the

executable - "spnsrvnt.exe". Installing the protection server with a download made from

SafeNET will normally make this exception for you. However, it is not done by default when

installing the RMS kit.

You must also allow an exception on your firewall for ‘delcam_rms.exe’. You will normally

be asked to provide access the first time that you run the server in ‘test mode’; discussed

later in this document. Flex Communication Port The port used for flex communication is defined within the RMS settings file - C:\Program Files\Delcam\Flex4003\sys\exec\delcam.rc. Note that this is for emulation of flex only and not RMS.

If 3rd party applications are using FlexLM then you may need to edit the default port number (1700) to avoid conflicts when RMS emulates flex

communications. Uncomment the lines as required and edit the

port number.

# The port for handling flex requests # LM_LICENSE_FILE 1700@localhost

Log File This is also specified in the delcam.rc file, uncomment the lines as required: # Location of log file

LSERVSTA c:\tmp\rms.log

Page 29: G uide for sett ng p RMS - Autodesk · G uide for sett ng p RMS ... POWERMILL-POWERMILL Name of the feature 2010.12 Maintenance date 3_KEYS Total number of network licenses available

www.delcam.com 1-877-335-2261

Environment Variables The most important environment variables for the server are specified in the delcam.rc file. For applications that are RMS compliant, client machines can use LSFORCEHOST to point to the license file. Recent and future software applications will scan the network with a broadcast message to automatically connect to a license server. In the future there will be no requirement for a license file to exist on a client (However, this would not be recommended on a large network).

Group Reservations FlexLM allowed the definition of user groups to control access of licenses to defined groups of people or machines. This functionality is planned to be supported in the future and Development are presently working on it with some success. Please contact partner support if you require further assistance with this.

Redundant Servers (3 Server setup) This functionality is not presently available but will be covered with future development.

License Borrowing

This functionality is not presently available and is unlikely to be supported because of the

need of additional dongles.