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
Steps
-
Run the
dsconfigcommand-line tool. -
Select License from the Topology section of the menu.
-
Select View and edit the license from the menu.
-
Enter
1to edit thedirectory-platform-license-keyproperty.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
dsconfigtool with the contents of the new license. -
Save your changes.
In non-interactive mode
Steps
-
Enter the following command, providing the absolute path to the new license file and making sure to preserve the double quotes:
dsconfig set-license-prop \ --set "directory-platform-license-key<{absolute_path_to_license.lic}" -
Confirm that the command completed successfully.