License modifications

After the installation finishes, you can modify the software licenses that you loaded with the AddLicenseSet command.

The AddLicenseSet command is in the bin directory of your UNIX or Windows installation. After the initial installation, the license files are in the following directories:

  • UNIX - /install_dir/install/properties/licensefiles
  • Windows - \install_dir\install\properties\licensefiles
  • iSeries - /install_dir/properties/licensefiles

You can add licenses or review the license list from the UI. On the Administration Menu, click System > B2B Console > Operations > System > Licenses.

AddLicenseSet Command Parameters

Use the AddLicenseSet command to modify a single license file or the entire license file directory.

To use the AddLicenseSet command, you must do the following:
  • Open the bin directory
  • Include the absolute path to the license file directory or to a license file
The AddLicenseSet command has the following parameters:
AddLicenseSet Parameter Description
-reload Use this parameter to reload the license files.

This parameter deletes all of the license files from the database before the new files are loaded. The old license files are saved to the following locations:

  • UNIX - /install_dir/install/logs/security/old_licenses
  • Windows - \install_dir\install\logs\security\old_licenses
  • iSeries - /install_dir/logs/security/old_licenses
-upgrade Use this parameter during an upgrade only.

This parameter deletes all of the old license files from the database and installs the new license files. The old license files are saved to the following locations:

  • UNIX - /install_dir/install/logs/security/upgrade
  • Windows -\install_dir\install\logs\security\upgrade
  • iSeries -/install_dir/logs/security/old_licenses

The AddLicenseSet command will check if Sterling B2B Integrator is running. If it is running, the commond will call the Ops server to refresh the license from the database. If you have any problems with your licenses after running the AddLicenseSet command, stop and restart Sterling B2B Integrator.