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 options | Required / Optional | Description |
---|---|---|
-n | Required | Server name. |
-h | Required | Host name or IP address of the server. |
-p | Optional | The port used by the server (default is 8088). |
-l | Optional | The license, in the form of a character string, used by the solution (this option can be replaced by the -lf option). |
-lf | Optional | The license, in the form of a path to a file, used by the solution (this option can be replaced by the -l option). |
-e | Optional | The solution administrator's e-mail address. |
-d | Optional | The 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). |
-i | Optional | The name of the default internal authentication domain (default value: "Business Partners"). |
-s | Optional | The certificate alias if the server uses the SSL protocol. |
--ignore-if-exists | Optional | This 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.