Borrowing a license to work offline

Use the lmborrow option to check out licenses from the network license server, if you will be disconnected from the network for extended period of time.

Replication Server periodically executes a “heartbeat” on the network license server to update license status. If the machine running Replication Server is disconnected from the network, these heartbeats fail and eventually the software becomes unavailable. Borrowing a license before disconnecting from the network suspends the heartbeat checks and provides full use of the software while disconnected.

Specify the end time when you perform the borrow operation. At the end of the lease, you can obtain a new lease by connecting back to the network. You can also return a license earlier than the lease end time.

NoteYou cannot borrow a license when you are use local license files.

StepsBorrowing a license using lmborrow

  1. Before disconnecting from the network, shut down Replication Server.

  2. Go to %SYBASE%\SYSAM-2_0\bin.

  3. Enter:

    lmutil lmborrow SYBASE enddate [ time ]
    

    where endate [time] is the desired borrow end date.

    Note Run lmborrow from the same machine on which licenses are being borrowed, and from the same user that starts Replication Server.

    For example, the following command sets the end date at 1 p.m. on August 20th, 2005:

    lmutil lmborrow SYBASE 20-aug-2005 13:00
    

    The maximum borrow time is 30 days. Your license administrator can reduce the maximum borrow time following the instructions in “Returning a borrowed license early”.

  4. Start Replication Server. The checked out license is borrowed.

  5. Disconnect from the network.

StepsDisplaying status on a borrowed license

  1. In a Command Prompt window, go to %SYBASE%\SYSAM-2_0\bin.

  2. Enter:

    lmutil lmborrow -status
    

StepsReturning a borrowed license early

  1. Connect to the network.

  2. Shut down Replication Server.

  3. In a Command Prompt window, go to %SYBASE%\SYSAM-2_0\bin.

  4. Return each borrowed license by entering:

    lmutil lmborrow -return [-c licfile] 
    [-d display_name] feature
    

    For example, the following command returns the REP_SERVER license:

    lmutil lmborrow  -return -c 
    
    %SYBASE%\SYSAM-2_0\licenses -d  myhost REP_SERVER
    

StepsRenewing a borrowed license

  1. Connect to the network.

  2. Shut down Replication Server.

  3. Return the currently borrowed license if the lease has not expired.

  4. Execute the steps to borrow licenses with a new lease end date.

See Chapter 8, “Mobile Licensing,” and Chapter 7, “License Administration Tools,” in the FLEXnet Licensing End User Guide for more details.