Silent configuration - Intergraph Smart API Manager - Installation & Upgrade - Intergraph

Smart API Manager Installation and Configuration

PPMProduct
Intergraph Smart API Manager
PPMCategory_custom
Installation & Upgrade

The Smart API Manager Configuration Utility can be run from the command line in unattended mode, allowing you to configure additional instances of Smart API Manager unattended. When coupled with the silent mode provided by the installer, it is possible to install and configure the Smart API Manager wholly unattended.

Unattended configuration requires an encrypted configuration file. This file is created during an interactive configuration, as explained in Save current configuration to a file and Step 6: Review configuration.

If you want to configure an instance of Smart API Manager in unattended mode but need to use different parameters than those saved in the configuration file, you can modify the configuration file. To do so, decrypt the file, use a text editor to make your changes, and then re-encrypt the file.

Command-line parameters

The complete list of command-line parameters supported by the Configuration Utility are provided from the command line executable. To access it, run the command prompt as an administrator and enter the path to the Configuration Utility executable, followed by the Help parameter /?, for example:

“C:\Program Files\Intergraph\Smart API Management Server\Tools\ Intergraph.WebApi.Management.ConfigurationTool.exe” /?

For reference, the following parameters are commonly used to run the Configuration Utility from the command line:

Parameter

Description

/d

Decrypt a configuration file

/e

Encrypt a configuration file

/f

Path to a configuration file

/p

Password to decrypt or encrypt a configuration file

/r

Run in command-line mode

/u

Unattended mode

Examples

Action

Example

Configure Smart API Manager in unattended mode

".\Intergraph.WebApi.Management.ConfigurationTool.exe"

/r /u /f c:\temp\SAMConfig.txt /p MyPassword

Run health diagnostics

".\Intergraph.WebApi.Management.ConfigurationTool.exe"

/r /h /f c:\temp\SAMConfig.txt /p MyPassword

Decrypt a configuration file

".\Intergraph.WebApi.Management.ConfigurationTool.exe"

/d /f c:\temp\SAMConfig.txt /p MyPassword

Encrypt a configuration file

".\Intergraph.WebApi.Management.ConfigurationTool.exe"

/e /f c:\temp\SAMConfig.txt /p MyPassword

Next steps

Continue based on your environment: