Upgrading a license using the dsconfig command
Follow these instructions to upgrade your license using the dsconfig
command in interactive or non-interactive mode. The dsconfig
command is located in <server-root>/bin
.
-
In interactive mode
-
In non-interactive mode
In interactive mode
Steps
-
Run the
dsconfig
command-line tool. -
Select License from the Topology section of the menu.
-
Select View and edit the license from the menu.
-
Enter
1
to edit thedirectory-platform-license-key
property.You should see a message like the following:
The value of 'directory-platform-license-key' has been written to the file below. You can edit and save the file, return here, and choose 'finish' to import the changes: /Users/<your_id>/PingDirectory/tmp/dsconfig-5614232350526437974-license-directory-platform-license-key.lic
-
Open the new license file in a text editor.
-
Overwrite the contents of the temporary file specified by the
dsconfig
tool with the contents of the new license. -
Save your changes.
In non-interactive mode
Steps
-
Enter the following command, providing the path to the new license and making sure to preserve the "<" angle bracket and the double-quotes:
dsconfig set-license-prop \ --set "directory-platform-license-key<<path_to_new_file.lic>"
-
Confirm that the command completed successfully.