Skip to content

add-server

Allows a server to be added to the S-Filer Portal solution. There can only be one server for the entire S-Filer Portal solution.

Syntax:

shell
sfiler-cli [options] add-server [command options]
Command optionsRequired / OptionalDescription
-nRequiredServer name.
-hRequiredHost name or IP address of the server.
-pOptionalThe port used by the server (default is 8088).
-lOptionalThe license, in the form of a character string, used by the solution (this option can be replaced by the -lf option).
-lfOptionalThe license, in the form of a path to a file, used by the solution (this option can be replaced by the -l option).
-eOptionalThe solution administrator's e-mail address.
-dOptionalThe default language used by the solution when this is not available (possible values are: en,fr,es,de,it and the default value is en).
-iOptionalThe name of the default internal authentication domain (default value: "Business Partners").
-sOptionalThe certificate alias if the server uses the SSL protocol.
--ignore-if-existsOptionalThis option allows you to ignore the error when adding the server if it already exists.

Licence:

The S-Filer Portal user license is mandatory when adding a server. It can be supplied in two different ways with the -l and -lf options. You must contact Okiok to obtain a valid license.

Example:

shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" add-server -n my-sfiler-server -h sfiler.okiok.com -p 8088 -l "license-string" -e admin-sfiler@okiok.com -d en -i "Business Partners" -s "my-certificate-alias"

Execution of this command will add a server named my-sfiler-server to the address sfiler.okiok.com on port 8088. As there can only be one server in the solution, this command is usually run only once when creating the solution runtime environment.