SAFR Support Tools and Scripts

The SAFR Platform installation includes several scripts to manage and monitor your server. They are located in the bin folder under the SAFR Platform installation location.

Note: Some of the scripts below may not work if you’re accessing the SAFR Platform through the NVIDIA Metropolis Application Framework (MAF).

Tools

check

Use the check command to check the status of SAFR Server services.

configure-ports

Use the configure-ports command to customize the ports SAFR services listen on. This is typically done only if there is a conflict with existing software on the same server.

If port conflicts are detected during SAFR Platform installation, the following occurs:

  1. The ports in conflict are reported.
  2. Notepad is launched to edit safrports.conf
  3. The SAFR Platform installer is automatically relaunched after new non-conflicting ports are chosen.

This command is executed as part of the installation when appropriate, so it does not need to be executed manually unless you are changing the port settings after installation.

This command takes no arguments but relies on the safrports.conf file to determine what ports are to be used.

safrports.conf is located at the following locations:

reconfigure

Use the reconfigure command to configure the hostname used by the SAFR Server. Run this command when configuring the server to use a DNS hostname with an SSL certificate.

This command can be run with arguments specifying the hostname and whether an SSL certificate chain is used by your SSL certificate. If no arguments are passed, you will be prompted for those values.

This command requires administrator privileges. It automatically asks for admin privileges on Windows and requires sudo on macOS and Linux.

Examples:

macOS:

Linux:

Windows:

start

Use the start command to start up the SAFR Server. It starts all server services on the current machine.

stop

Use the stop command to shut down the SAFR Server. It stops all server services on the current machine.

uninstall

Use the uninstall command to remove the SAFR Platform entirely. This closes all SAFR applications, stops all SAFR services, and then removes all SAFR services and data.

On Windows, you must select the optional ProgramData component to remove the config files, logs, and database files.

See Also