Hi Dominik,
unless your computer is extremely short on resources, there's not really a need to switch off a single jobserver.
In order to start up a jobserver you'll need something that can execute programs on the system.
This is a bit like a chicken-egg problem.
If your jobservers run on a system remote to the scheduling server, you could start a jobserver on the system that runs the scheduling server and let it start the remote jobserver via ssh.
If one of the "production" jobservers happens to run as root or as the user that runs the "manual" jobserver, you could start the "manual" jobserver using that production jobserver.
Yesterday I've restarted the jobservers on our production server.
If I do a "ps" now, the system shows:
[root@lion lib]# ps -ef | grep jobserver
ronald 37851 1 0 Jul29 ? 00:00:00 /opt/schedulix/schedulix/bin/scrolllog /home/ronald/log/DEFAULT.out -e /bin/java de.independit.scheduler.jobserver.JobServer /home/ronald/etc/DEFAULT.conf jobserver[someone]
ronald 37852 37851 0 Jul29 ? 00:02:04 /bin/java de.independit.scheduler.jobserver.JobServer /home/ronald/etc/DEFAULT.conf jobserver[someone]
root 37887 1 0 Jul29 ? 00:00:00 /opt/schedulix/schedulix/bin/scrolllog /root/log/DEFAULT.out -e /bin/java de.independit.scheduler.jobserver.JobServer /root/etc/DEFAULT.conf jobserver[someone]
root 37888 37887 0 Jul29 ? 00:01:58 /bin/java de.independit.scheduler.jobserver.JobServer /root/etc/DEFAULT.conf jobserver[someone]
A "list sessions" shows the connect time of the two jobservers:
[SYSTEM@localhost:2506] SDMS> list sessions;
List of Sessions
THIS SESSIONID PORT START TYPE USER UID IP TXID IDLE STATE TIMEOUT INFORMATION STATEMENT WAIT
---- --------- ---- ----------------------------- --------- -------------------------- ---- --------- -------- ---- ------ ------- ------------------------------------ -------------- ----
1001 2506 Mon Jul 29 15:55:29 CEST 2019 JOBSERVER GLOBAL.LION.RONALD.DEFAULT 1194 127.0.0.1 10234750 3 IDLE 300 jobserver[someone]
1002 2506 Mon Jul 29 15:55:29 CEST 2019 JOBSERVER GLOBAL.LION.ROOT.DEFAULT 1029 127.0.0.1 10234747 4 IDLE 300 jobserver[someone]
(I've shortened the output of the ps command and the list sessions output a bit).
The jobservers were idle most of the time.
Now the cumulated CPU usage is about 2 minutes per jobserver. It is safe to assume that the CPU usage after 24h runtime won't exceed 4 minutes.
(That means a single core has been occupied for at most 4 minutes within 24h. That's a usage of 0.3%. Since the system has 14 cores, it's a system use of 0.3%/14 ≈ 0.02%. I think that's neglectable).
On my development system the situation is comparable. The jobservers (the 3 example ones) run since 10 days and have a cumulated CPU usage of 20 minutes each.
Do you really want to invest all that effort for that little gain?
Best regards,
Ronald
PS. The picture would change if you were talking about hundreds of jobservers.
In that case I'd start a single jobserver as root that can start (and stop) the required jobservers on demand.
That would be possible in your situation too, but it would in fact increase the system usage instead of reducing it.