Page 1 of 1

List services status

Posted: Mon Feb 17, 2020 8:59 am
by hotfloppy
Hi,

Is there a way to list services status using afcmd?
For example, which services are enabled, and which services were disabled.

Thanks. :)

p/s: Would really appreciate if afwatch GUI can filter nodes based on services enabled/disabled. :D

Re: List services status

Posted: Mon Feb 17, 2020 9:47 am
by timurhai
Hi.

Versions that are less than 2.4.x, using farm.json to setup services.
You can read/edit this file.

2.4.0 was not released, yet.
If you compile Afanasy from GitHub, there will be 2.4.0 (not finished) version.
Since 2.4.x pools appeared, and services are configured within pool settings.
You can configure pool from a GUI, or using JSON protocol directly.

There is only one JSON protocol to query/edit anything on afserver.
Any GUI, afcmd using the same JSON protocol.
If afcmd can't do something, it means that this action was not compiled in it.
But you can send any *.json file with any action by afcmd to afserver.

Also since 2.4.0 afwatch GUI will be changed much, services will be painted on pool/render items.

Re: List services status

Posted: Thu Mar 05, 2020 2:47 am
by hotfloppy
timurhai wrote: Mon Feb 17, 2020 9:47 am Versions that are less than 2.4.x, using farm.json to setup services.
You can read/edit this file.
Yes, this is what we do at the moment. But we have more than 100 render nodes, it's quite tedious to check the farm.json one by one.
I guess we'll have to wait for 2.4.0 :)

Thanks and sorry for the delay in response. Cheers!