Exclude a server from batch processing

Hello,

We started from a single server install and added two batch servers. Now I would like to exclude the single server from processing batch services since this puts the server on extra load.
I tried by stopping kaltura-batch but it continues processing conversion tasks…

How can we do this?

Kind regards,
Johnny

Hello,

No too elegant but go to /opt/kaltura/app/configurations/batch and edit batch.ini on the server you want to exclude.

Change your secret from:
secret = 7c8201d5c1cb65180b9d03edce5ae1ad
for something like this:
secret = 7c8201d5c1cb65180b9d03edce5ae1adxxx

Restart kaltura-batch and the server won’t be able to register.

Regards,

David