List services status

General discussions and questions.
Post Reply
hotfloppy
Posts: 4
Joined: Mon Feb 17, 2020 8:46 am

List services status

Post 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
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: List services status

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
hotfloppy
Posts: 4
Joined: Mon Feb 17, 2020 8:46 am

Re: List services status

Post 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!
Post Reply