|
Starting Servers
Updating a Windows Spawner Service
To update an existing Windows service for the spawner (for example, to change the path to your metadata configuration file), you must deinstall the service and create a new one.
If you installed SAS by using the Configuration Wizard, you can use the ObjectSpawner.bat file to simplify this process. You can update your Windows service as follows:
In the Windows Services manager, stop the spawner service. The name of the spawner service should be similar to SAS Lev1 OB - MyDeployment.
Deinstall the spawner service by invoking ObjectSpawner.bat -deinstall .
Edit the ObjectSpawner.bat file. This file is located in the SASMain\ObjectSpawner subdirectory of your SAS Configuration Directory. For example, C:\SAS\MyDeployment\Lev1\SASMain\ObjectSpawner .
Reinstall the spawner service by invoking ObjectSpawner.bat -install .
If you did not install SAS by using the Configuration Wizard, you can update your Windows service as follows:
In the Windows Services manager, stop the spawner service. The default name for the spawner service is SAS Object Spawner Daemon II.
Deinstall the spawner service by invoking objspawn <service-name> -deinstall .
Create a new spawner command and use the -install option to install it as a service.
|