Assign a job to a client.

16 views
Skip to first unread message

Pierre Payet

unread,
Nov 27, 2014, 5:40:23 AM11/27/14
to rrKn...@googlegroups.com
Hello,

Is it possible to know from command line if a job is not assigned to a certain client and if it is not the case, assign the job to the said client ? 

Regards,

Pierre

RR support, Schoenberger

unread,
Nov 27, 2014, 1:55:17 PM11/27/14
to rrKn...@googlegroups.com
Hi

I am sorry, but a command to change client assignments are not yet
available via python.
You can get all job information, send commands and change job
settings, but the assignment is missing.

It is logged for the next Python update early 2015.

Holger Schönberger

Please use the rrKnights Tavern or
our support system for new questions
> --
> If you reply, the message is send to the user group which is sufficient.
> ("Reply All" just sends the message twice to the last author which
> is not required)
> ---
> You received this message because you are subscribed to the Google
> Groups "Royal Render Knights Tavern" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to rrKnights+...@googlegroups.com.
> Visit this group at http://groups.google.com/group/rrKnights.
> For more options, visit https://groups.google.com/d/optout.
>

Vincent Biaux

unread,
Nov 7, 2018, 9:57:39 AM11/7/18
to Royal Render Knights Tavern
Hello !

I'm trying to do the same thing so I post my message here.
I'm using RR Ver 7.0.34b

I have my _JobSend object and a list of clients. I'm trying to assign my _JobSend object to a client using the _JobSend function clientAssigned_Set(clientID, True) but nothing seems to happen.
Is there something I'm doing wrong ?

Thanks in advance for your help.

Regards.

Vincent

RR, Schoenberger

unread,
Nov 7, 2018, 10:35:53 AM11/7/18
to rrKn...@googlegroups.com

Hi

 

It seems the command to send the client assignment to the rrServer is missing or undocumented.

I have logged a dev ticket to add this function.

 

regards,
Holger Schönberger

 

Please use the rrKnights Tavern

or our support system for new questions.

Vincent Biaux

unread,
Nov 7, 2018, 10:56:35 AM11/7/18
to Royal Render Knights Tavern
Indeed, it's strange because it is documented here: http://www.royalrender.de/help7/index.html?class_JobSend.html
But the function doesn't seems to have any effect when using it

Robin Dürhager

unread,
Dec 6, 2018, 12:32:04 PM12/6/18
to Royal Render Knights Tavern
Hey, did you already fix that problem? I'm about to create a system for an automated RR farm, so i have to send jobs via code to that. However i'm not really sure about how to use it. I thought the JobSend class would be a good thing to use for that, but after reading that i'm not sure.

RR, Schoenberger

unread,
Dec 6, 2018, 1:19:38 PM12/6/18
to rrKn...@googlegroups.com

Hi

 

The original question was about sending a command to a client.

 

You are asking about sending jobs.

You can create one big .xml file with all jobs that you want to submit.

Then test it with the rrSubmitter if everything is as you like.

Just call the rrSubmitter with the xml as commandline parameter.

 

Once it works, you can switch to the rrSubmitterconsole.

 

There is a job python class in e.g. the Nuke submission script:

e:\programmierung\RoyalRenderGit_75\project\resource_deliver\render_apps\_submitplugins\rrSubmit_Nuke_5.py

You can use that as a base.

 

Please see this example xml file:

http://www.royalrender.de/help8/index.html?ExamplerrJob_submitFilewithoptio.html

Robin Dürhager

unread,
Dec 6, 2018, 1:26:45 PM12/6/18
to Royal Render Knights Tavern
Hey,

after sending my question i actually reread JobSend. Thank you for giving me that detailed explanation though!
That definitely gives me a starting point for my project :).

regards,
Robin Dürhager

Vincent Biaux

unread,
Feb 18, 2026, 9:11:34 AM (2 days ago) Feb 18
to Royal Render Knights Tavern
Hello RR team,

I’m bringing up an old discussion again because I need to assign a job to a client via the Python SDK once more.
I’m able to retrieve my job of type rrJob._JobInfo, and I also have the index of the client I want to assign it to.
However, when I use the method job.clientAssigned_Set(my_client_index), nothing seems to happen and there’s no error.

Am I doing something wrong?
We are currently on RRv9.1.20

Thanks in advance for your help.  

Vincent Biaux

unread,
Feb 18, 2026, 9:20:49 AM (2 days ago) Feb 18
to Royal Render Knights Tavern
And as a follow-up to my previous question, I saw that it’s possible to increase the number of threads per client in rrConfig. Is it possible to assign an RR job to a specific thread on a particular client?  

RR, Schoenberger

unread,
Feb 18, 2026, 10:27:18 AM (2 days ago) Feb 18
to rrKn...@googlegroups.com

Hi

 

I can reproduce the issue.
It has to be investigated.
It might be that we have to create a new function to assign/deassign clients for a job.

 

 

> I saw that it’s possible to increase the number of threads per client in rrConfig. Is it possible to assign an RR job to a specific thread on a particular client?  

Yes and no.

You can only define which jobs a job thread takes in rrConfig.
You cannot set this directly on a per job base.

BUT you can set either a Division name or Job Type name in the job.

And then enter those name into job thread settings in rrConfig.

 

Note that you can also use for example RequiredMemory, RequiredGPUMemory or RequiredCores for all jobs.
Then RR can “decide” if two or more jobs fit on a client.

Small Disadvantage:
You would have to set it for all jobs (Or set a default value for all new jobs based on render app).
Otherwise you have your jobs that require 30 Cores and all others require “0” cores, which means the other ones always fit as second job.

 

 

regards,
Holger Schönberger

Craftsman and Keeper of the Royal Render Flame

Vincent Biaux

unread,
Feb 19, 2026, 9:14:11 AM (16 hours ago) Feb 19
to Royal Render Knights Tavern
Thanks for the answer, using the Division attribute worked.
And for the assign/deassign function, it would be very useful !

regards,

Vincent Biaux

Reply all
Reply to author
Forward
0 new messages