Configuring Multiple Instances
You can create multiple instances of the server software, each with its own port number. This is often used in conjunction with group authorization to assign a group of users to a specific instance. However, multiple instances can be used independently of group authorization. For more information about group authorization, see Group Authorization.
Creating a New Instance
To create a group instance of the server software, you must run a script.
On Windows, run the following script from the server installation directory.
create_group_service <group_name> <port_number>
On UNIX and Linux, run the following script from the bin subdirectory of the installation directory.
create_group_configuration -group <group_name> -port <port_number>
<group_name> is a unique name for the instance, and <port_number> is the available port number that will be used by the instance.
After you run the script, there will be a configuration folder that is specific for the instance. Look for config_<groupname> in server installation direction. The folder contains several configuration files, such as statisticsd.conf and UserSettings.xml. When you want to update the configuration for a specific instance, be sure to update the configuration file in the correct location.
Starting the Server Instance
On Windows, the instance is a separate service that is named IBM® SPSS® Statistics NN.m, where NN is the major version number and m is the minor version number. You can start and stop this service like any other Windows services.
On Linux and UNIX, you need to specify the group name when running the startup script:
./start_statistics_server -d -g <group_name>
where <group_name> is the instance group name.
Deleting a Server Instance
- On Windows, remove the service entry:
- Open a cmd prompt as Administrator.
- Run the following
command:
where NN is the major version number, m is the minor version number, and <group_name> is the instance group.sc delete "IBM SPSS Statistics NN.m Server <group_name>"
- Delete the config_<groupname> subdirectory in the server installation directory.