The JobScheduler ID is a unique identifier for an instance of JobScheduler within a network. The JobScheduler ID is specified during set-up of JobScheduler.
If it were neccessary to modify the JobScheduler ID later on then there are two options:
Update JobScheduler configuration
Windows
- Stop the JobScheduler service
- Open a shell
- Navigate to $SCHEDULER_HOME/bin
- Execute: jobscheduler.cmd remove
- For JobScheduler releases up to 1.10: Open $SCHEDULER_DATA/config/web.xml and modify the elements
<param-value>
for the servlet - For JobScheduler releases starting from 1.11: Use the action menu for the JobScheduler instance with the JOC Cockpit dashboard view and perform the operation "remove from inventory"
- Open $SCHEDULER_HOME/bin/jobscheduler_environment_variables.cmd and modify SCHEDULER_HOME, SCHEDULER_DATA, SCHEDULER_ID
- Rename the folders $SCHEDULER_DATA and $SCHEDULER_HOME
- Open a shell
- Navigate to $SCHEDULER_HOME//bin
- Execute: jobscheduler.cmd install
Unix
- Stop the JobScheduler daemon
- For JobScheduler releases up to 1.10: Open $SCHEDULER_DATA/config/web.xml and modify the elements
<param-value>
of servlet JOC - For JobScheduler releases starting from 1.11: Use the action menu for the JobScheduler instance with the JOC Cockpit dashboard view and perform the operation "remove from inventory"
- Open $SCHEDULER_HOME/bin/jobscheduler_environment_variables.sh and modify SCHEDULER_HOME, SCHEDULER_DATA, SCHEDULER_ID
- Rename the folders $SCHEDULER_DATA and $SCHEDULER_HOME
- Open a shell
- Navigate to $SCHEDULER_HOME/bin
- Start the JobScheduler daemon
Re-install JobScheduler
- Copy $SCHEDULER_DATA/config live to a temporary folder
- Uninstall JobScheduler
- Install JobScheduler with another scheduler_id. Do not use the hash sign (#) but underscore (_) or dot (.) in scheduler_id.
- Copy the $SCHEDULER_DATA/config/live folder from the temporary folder to the new installation.