Client-Side Online Activation

In this exercise, you perform a client-side online activation of the PhotoPrint-client product license.

Prerequisites

Log in to the FlexNet Operations Producer Portal to:

Create a transaction key called TS-DemoTransKey:
a. Click Administer > Transaction Keys
b. Click Add a Transaction Key
c. Under Create a Transaction Key, enter these attributes:
Name: Type TS-DemoTransKey
Description: Type Demo trans key for trusted storage licensing exercises
Publisher ID: Select 256-demo
Transaction Key Seeds: Type eight sets of eight hexadecimal digits each:

00000000 aaaaaaaa 11111111 bbbbbbbb

22222222 cccccccc 33333333 dddddddd

Binding Type: Select Default Fingerprint
Do you want to use Anchoring? Select Yes
d. Click Save

If necessary, refer to the section Getting Started with Entitlement Management to:

Deploy the Retail Activation license model (Deploying a License Technology and Model)
Copy product PhotoPrint and save it as PhotoPrint-client (Creating a Product)
a. Click Products > Products
b. Search for and select the PhotoPrint check box, then click Copy
c. Under Create a Product, in the Product Name field, type PhotoPrint-client and click Save
Link PhotoPrint-client to the Retail Activation license model and select Transaction Key TS-DemoTransKey from the Default menu (Linking a License Model to a Product). Remove (unlink) the Nodelocked Uncounted license model and save PhotoPrint-client.
Deploy the PhotoPrint-client product (Deploying a Product)
Create and configure an entitlement called ENT-PhotoPrint-client (Creating and Configuring an Entitlement):
for end customer Lisa Barry of BarryPhoto
with a product PhotoPrint-client line item for a quantity of 1 copy and a license that starts at the first activation date and has a duration of 1 year
Save and deploy the ENT-PhotoPrint-client entitlement (Deploying an Entitlement)
If this is not your first time through the trusted storage license exercises, perform the steps in Resetting Trusted Storage to remove any client-side and server-side trusted storage files that might exist from previous exercises.

To activate a license using appcomptranutil

1. In the FlexNet Operations Producer Portal, click Entitlements > List Entitlements. The List Entitlements page appears.
2. On the Activatable Line Items list, search for entitlement ID ENT-PhotoPrint-client and review the line item details. Note that available quantity and total quantity are 1 for product PhotoPrint-client. Expiration is in 1 year.
3. At a command prompt in the <platform_dir>, enter the following, where <hostname:port> is localhost:8888 and <act_ID> is the FlexNet Operations PhotoPrint-client activation ID:

Important:Exercises are based on the assumption that FlexNet Operations and the activation utilities are running on the same system. If not, replace localhost:8888 in the appcomptranutil command with the appropriate host and port values.

appcomptranutil -t http://<hostname:port>/flexnet/services/ActivationService -a <act_ID>

Output is similar to

Server http://localhost:8888/flexnet/services/ActivationService, comms type SOAP

Status: 4, Creating request

Status: 5, Request created

Status: 6, Context created

Status: 7, Connected to remote server

Status: 8, Request Sent

Status: 9, Polling for response

Status: 10, Waiting for response

Status: 9, Polling for response

Status: 11, Done

Response processed successfully. Actions were:

ConfigurationTrustedId “13”

Create fulfillment “FID_d7a83787_46d6_43b1_a65b_ad85e135aa60”

4. At a command prompt in the <platform_dir>, to view the new license rights in client-side trusted storage, enter

appactutil -view

Output is similar to

--------------------------------------------------------------------

Trust Flags: FULLY TRUSTED

Fulfillment Type: PUBLISHER ACTIVATION

Status: ENABLED

Fulfillment ID: FID_d7a83787_46d6_43b1_a65b_ad85e135aa60

Entitlement ID: ff6a-cf25-7c72-4b15-9d49-945e-4b2f-519f

Product ID: NAME=PhotoPrint-client;VERSION=12.0

Suite ID: NONE

Expiration date: 29-Nov-2016

Feature line(s):

 

INCREMENT PrintToPDF demo 12.3 29-nov-2016 1 ISSUER="My Corporation" \

ISSUED=29-nov-2015 START=28-nov-2015 SIGN="003F 469C FAA0 F579 \

2035 9632 BDAB B500 67F2 72CE 68BA FF86 4FC8 4123 FF47"

INCREMENT Print demo 12.3 29-nov-2016 1 ISSUER="My Corporation" \

ISSUED=29-nov-2015 START=28-nov-2015 SIGN="0072 6DC3 2310 9577 \

9B9D 781E 36BC 0900 0E73 A2B7 C4A3 99FF BCA0 F23F 1D94"

INCREMENT PrintHighQualityColor demo 12.3 29-nov-2016 1 ISSUER="My \

Corporation" ISSUED=29-nov-2015 START=28-nov-2015 SIGN="0080 \

7DCA A76B 32CD 539C D4D2 F8C5 E900 8A05 0830 DEC5 8686 FB52 \

2E64 B961"

--------------------------------------------------------------------

Review the license rights output, noting the information on these lines: Trust Flags, Fulfillment Type, Status, Product ID, Expiration date, and Feature line(s).

5. In FlexNet Operations, click Licenses > Licenses. The Support Licenses And Maintenance page appears.
6. On the list, search for product PhotoPrint-client and review the license details. Note that count is 1 because 1 PhotoPrint-client license is activated. Note the fulfillment date and expiration.