Using RLM Activation Pro

Now your activation system is set up and ready to use. In this section, you will:

  • Set up a user

  • Populate the activation database

  • Activate a license from your activation server


Step 1. Set up a user

In this first step, we will log in to the activation server as the admin user, then create a second user who can make changes to the activation database. Perform the following steps:

  1. Click on the “Done – start RLC” button that appeared at the bottom of the screen after setup completed, or point your browser to: http://localhost/actpro

  2. On the left-hand side of the screen, near the bottom, type “admin” in the Username box, and “admin” in the password box. Press “login”.

  3. Select “Administer Users” from the lower-left menu.

  4. Press “Create New User” in the view area, below the list of users.

  5. Select a username, password, and “Edit” access in the “Create New User” page, then press the “Create User” button. Go back to the admin page by clicking on the “Admin Page” link. You should now see your new user, with Edit access.

  6. Log out (at the bottom left).

Step 2. Populate your activation database

Now we will populate the activation database enough to be able to create a license with the actpro_demo example program.

  1. Log in with the new username and password you created in step 1. Notice that your new user does not have the “administer users” menu on the left.

  2. Press “Create Product Definition” on the top of the left-hand menu. This will display the Product Definition entry/edit screen.

  3. Enter “test” in the first box (Name of this product definition), and “actdemo” in the second box (Product Name). Leave the rest of the boxes as they are. Press “Create Product Definition”. Press “Back to List” on the confirmation screen. You can now see your product definition in the list. (Hint: you can edit any product definition by clicking on the pencil on the right-hand side of the list).

  4. Press “Create Activation Key” on the left-hand menu.

  5. Since all the defaults are OK, you can press “Generate Activation Key” now. Alternately, you can enter the activation key string in the last text box, and Activation Pro will create the exact key string you enter. Click “Back to List” and note the activation key you created for the next step.

Step 3. Activate a license from your activation server

In this last step, you will activate a license from your freshly-set-up activation server by using the actpro_demo example program.

  1. Go back to the window (command window on Windows) where your Activation Pro kit is installed. You will notice the actpro_demo (actpro_demo.exe on Windows) file in this directory. Run it now.

  2. If this is the first time you have run actpro_demo, it will say:

    Error checking out actdemo license
    No license for product (-1)
    
    Would you like to activate this license now?
    
  3. Answer “y” to this question. actpro_demo will indicate the URL and ISV name from which it is attempting to activate the license. (You can change these values by editing the #defines in the actpro_demo.c source). Enter your activation key from the last step at the prompt:

    Activation will be attempted for ISV demo at http://localhost
    Enter Activation key for "actdemo":
    
  4. When you enter the activation key, actpro_demo will go to your activation server and retrieve a license. You should see this message:

    Activation successful, license file "a0.lic" written
    Checkout of actdemo license OK.
    Enter <CR> to continue:
    

Congratulations! You have now set up your Activation Pro server and checked out a license from the server. You can now go back to the GUI and see the fulfillment data from this license fulfillment by clicking on the “View Fulfillments” button.