Server connection arguments

The -server flag tells IBM® SPSS® Modeler that it should connect to a public server, and the flags -hostname, -use_ssl, -port, -username, -password, and -domain are used to tell IBM SPSS Modeler how to connect to the public server. If no -server argument is specified, the default or local server is used.

Examples

To connect to a public server:

modelerclient -server -hostname myserver -port 80 -username dminer 
-password 1234 -stream mystream.str -execute

To connect to a server cluster:

modelerclient -server -cluster "QA Machines" \
-spsscr_hostname pes_host -spsscr_port 8080 \
-spsscr_username asmith -spsscr_epassword xyz

Note that connecting to a server cluster requires the Coordinator of Processes through IBM SPSS Collaboration and Deployment Services, so the -cluster argument must be used in combination with the repository connection options (spsscr_*). See the topic IBM SPSS Collaboration and Deployment Services Repository Connection Arguments for more information.

Table 1. Server connection arguments
Argument Behavior/Description
-server Runs IBM SPSS Modeler in server mode, connecting to a public server using the flags -hostname, -port, -username, -password, and -domain.
-hostname <name> The hostname of the server machine. Available in server mode only.
-use_ssl Specifies that the connection should use SSL (secure socket layer). This flag is optional; the default setting is not to use SSL.
-port <number> The port number of the specified server. Available in server mode only.
-cluster <name> Specifies a connection to a server cluster rather than a named server; this argument is an alternative to the hostname, port and use_ssl arguments. The name is the cluster name, or a unique URI which identifies the cluster in the IBM SPSS Collaboration and Deployment Services Repository. The server cluster is managed by the Coordinator of Processes through IBM SPSS Collaboration and Deployment Services. See the topic IBM SPSS Collaboration and Deployment Services Repository Connection Arguments for more information.
-username <name> The user name with which to log on to the server. Available in server mode only.
-password <password> The password with which to log on to the server. Available in server mode only.
Note: If the -password argument is not used, you will be prompted for a password.
-epassword <encodedpasswordstring> The encoded password with which to log on to the server. Available in server mode only.
Note: An encoded password can be generated from the Tools menu of the IBM SPSS Modeler application.
-domain <name> The domain used to log on to the server. Available in server mode only.
-P <name>=<value> Used to set a startup parameter. Can also be used to set node properties (slot parameters).