Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
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 is were neccessary to change the scheduler_id after installation modify the JobScheduler ID later on then there are two options.:
Update JobScheduler configuration
Windows
- stop Stop the JobScheduler service
- open Open a shell
- navigate Navigate to $scheduler$SCHEDULER_homeHOME/bin
- execute 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_HOMEopen $scheduler_home/bin/jobscheduler_environment_variables.cmd and change 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_DATAopen $scheduler_data/config/web.xml and change modify the elements
<param-value>
of servlet JOC - rename folder name $scheduler_data and $scheduler_home http://download.sos-berlin.com/JobScheduler.1.6/jobscheduler_linux-x64.1.6.4043.tar.gz
- open a shell
- navigate to $scheduler_home/bin
- execute jobscheduler.cmd install
Linux
- 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
- stop JobScheduler service
- open $scheduler_home/bin/jobscheduler_environment_variables.sh and change and modify SCHEDULER_HOME, SCHEDULER_DATA, SCHEDULER_ID
- open $scheduler_data/config/web.xml and change <param-value> of servlet JOC
- rename folder name $scheduler_data and $scheduler_home
- open a shell
- navigate to $scheduler_home/bin
Or
- 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_DATAcopy $scheduler_data/config live to a temp temporary folder
- uninstall Uninstall JobScheduler
- install Install JobScheduler with another scheduler_id. Do not use the hash sign (# sign ) but underscore (_ instead ) or dot (or .) in scheduler_id.
- Copy the $SCHEDULER_DATA/config/copy live folder from temp the temporary folder to $scheduler_data/configthe new installation.