Importing Options Files at the Command Line
You can import an options file for a vendor daemon at the command line using the command importoptionsfile. Importing an options file at the command line replaces an existing options file.
Note:To run this command, a user must have a role with the Manage Options for Vendor Daemons permission.
To import an options file at the command line:
1. | Ensure that the FlexNet Manager for Engineering Applications Admin server is running. |
2. | Open a Command Prompt window, and navigate to the installation directory for the FlexNet Manager for Engineering Applications Admin server. |
3. | Type the command importoptionsfile using the syntax shown in the following Syntax section. Refer to the Parameters table for parameter descriptions. |
Syntax
importoptionsfile -u<user> -p<password> -h<license server port@host> -v<vendor daemon name> -f<options file path> [-s<server>]
Parameters
Parameter |
Description |
–uuser |
Specifies the FlexNet Manager for Engineering Applications user to run this command. The user must be assigned a role with the Manage Options for Vendor Daemons permission. Enclose the value in double quotes (“”) if it contains a comma, semicolon, or ampersand (&). |
–ppassword |
Specifies the password for user. Enclose the value in double quotes (“”) if it contains a comma, semicolon, or ampersand (&). |
–f<options file path> |
Specifies the path to the options file. |
–h<license server port@host> |
Specifies the license server port@host—for example: 28033@myhost This needs to match the Port@Host value that is displayed on the Configure and Manage License Server page. If the port is ANY, do not specify a port value—for example: @myhost |
–v<vendor daemon name> |
Specifies the vendor daemon name. |
–s<server> |
Specifies the URL for the FlexNet Manager for Engineering Applications Admin server, which must be an https connection. For example: https://localhost:8445/flexnet This is an optional argument. If no argument is specified, then the server is assumed to be: https://127.0.0.1:<admin server port number>/flexnet |
–r |
Reread licenses after the options-file import is complete. |
Example
flexnet importoptionsfile –uadmin –padmin –h28033myhost –vacmeco –f"c:\files\acmeco.opt"
See Also