[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring the License Server Location (SRC CLI)

You can use the persistence control configuration to set the root directory, the working directory, and the cache file for the license server.

Use the following configuration statements to configure the license server location:

`

shared license-server persistence-control {
  root-directory-of-the-license-server root-directory-of-the-license-server;
  work-directory-of-the-license-server work-directory-of-the-license-server;
  license-server-state-cache-file license-server-state-cache-file;
}

`

| Note: In most cases, you do not need to change the configuration for the license server. If you change the configuration, do so with care. The software needs to be able to communicate with the license server to operate correctly.

To configure the license server location:

1. From configuration mode, access the configuration statement that configures the license server location.
   `
   [edit]
   user@host# edit shared license-server persistence-control
   `
2. Specify the root directory of the license server.
   `
   [edit shared license-server persistence-control]
   user@host# set root-directory-of-the-license-server root-directory-of-the-license-server
   `
3. Specify the working directory of the license server, in which the license server states are saved.
   `
   [edit shared license-server persistence-control]
   user@host# set work-directory-of-the-license-server work-directory-of-the-license-server
   `
4. Specify the cache file for the license server state information.
   `
   [edit shared license-server persistence-control]
   user@host# set license-server-state-cache-file license-server-state-cache-file
   `

#### Related Topics

- Overview of the SRC License Server
- Configuring the License Server Repository (SRC CLI)
- Configuring License Server Properties (SRC CLI)
- Configuration Statements for SRC License Server Properties

[Contents] [Prev] [Next] [Index] [Report an Error]