I've recently upgraded to 3.1.1 from 2.3.1 and discovered that farm.json is no longer a thing.
It took a bit of head scratching to figure out how to use the new ticket system via the python api -- addTicket does not appear in the docs.
After looking at the provided submit script, I was able to decipher it, but it might be useful to document since this appears to be the only way to throttle resource use currently.
Best,
G
sug: document aj.block.addTicket
sug: document aj.block.addTicket
--
centOS 8.1, cgru 3.1.1
centOS 8.1, cgru 3.1.1
Re: sug: document aj.block.addTicket
On this topic, would I be correct in assuming that 'multi license' tasks (such as hbatch process of rsproxy files) would get two tickets '1 x hbatch' and '1 x redshift'?
G
G
--
centOS 8.1, cgru 3.1.1
centOS 8.1, cgru 3.1.1
Re: sug: document aj.block.addTicket
You can use tickets to measure and limit anything, licences, RAM, network i/o of a pool, and so on.
You can define any custom tickets for any custom resource.
https://cgru.readthedocs.io/en/latest/a ... ckets.html
Yes, it is always the lack of documentation, is it always some new feature needed instead to document existing one.
https://github.com/CGRU/cgru/blob/maste ... af.py#L290
You can define any custom tickets for any custom resource.
https://cgru.readthedocs.io/en/latest/a ... ckets.html
Yes, it is always the lack of documentation, is it always some new feature needed instead to document existing one.
https://github.com/CGRU/cgru/blob/maste ... af.py#L290
Timur Hairulin
CGRU 3.1.1, Ubuntu 20.04 LTS, MS Windows 10 (clients only).
CGRU 3.1.1, Ubuntu 20.04 LTS, MS Windows 10 (clients only).