The Dispatcher can be installed as a network service, which is automatically started at the computer boot time and available to remote users over the network. This configuration is suitable for environments where the nodes are shared by more than one user and jobs are submitted remotely to the Dispatcher.
EnFuzion provides two programs for a straightforward network service installation and management on Windows computers. The enfstartup program installs, uninstalls, starts and stops the EnFuzion network service on the system. The enfboot.bat is the batch file that is executed by the system at the boot time to start the Dispatcher, which provides the network service.
This section first provides installation instructions and then describes the enfstartup and enfboot.bat programs in more details.
To install EnFuzion network service, perform the following steps:
Install EnFuzion on the system as described in the Section called Installing EnFuzion Software on Windows NT/2000/XP.
Install the service with the following command:
enfstartup install
This command registers the batch file enfboot.bat to execute at the system boot time. This will make the EnFuzion Dispatcher available for job submission on port 10102 and the Eye on port 10101 after the system is rebooted.
(optional) Start the Dispatcher manually with the command:
enfstartup start
This command starts the Dispatcher immediately, which avoids the need to reboot the system.
The EnFuzion enfstartup program simplifies service installation on a Windows computer. It provides service installation, uninstallation, start and stop.
By default, it uses the EnFuzion provided batch file, which is located in config\enfboot.bat. Although the Dispatcher provides a network service, it is executing as a regular program, and not as a Windows service program. The Dispatcher is running under the System account.
The enfstartup program takes the following command line arguments:
enfstartup \
install [<startup_script>]
uninstall [<startup_script>]
start [<startup_script>]
stop
install [<startup_script>]
The batch file in <startup_script> is registered with Windows to execute at the boot time. If <startup_script> is omitted, the default value is file config\enfboot.bat in the EnFuzion directory.
uninstall [<startup_script>]
The batch file in <startup_script> is removed from files to execute at the Windows boot time. If <startup_script> is omitted, the default value is file config\enfboot.bat in the EnFuzion directory.
start [<startup_script>]
The batch file in <startup_script> is executed immediately. If <startup_script> is omitted, the default value is file config\enfboot.bat in the EnFuzion directory.
stop
The EnFuzion root processes on the system are terminated.
The enfboot.bat batch file starts the EnFuzion service on the system. The file is located in the config EnFuzion directory.
Default values are 10102 for the service port and C:\enfuzion\work for the Dispatcher main directory. The Dispatcher will restart any uncompleted runs from a previous Dispatcher instance.
Modify the enfboot.bat file to change any default values.