Page 1 of 1

Remove a render host from the list of host into Afanasy server

Posted: Thu Feb 09, 2017 4:08 pm
by gmaxera
Hello,
I'm a newbie of Afanasy and this is my first topic... so first of all I want to congratulate for this amazing tool :-)

I'm playing with Afanasy and I saw that if I run the command /etc/init.d/afrender stop
that host is still visible into the Afanasy Server Web gui and flagged as inactive / not-responding.

I'm wondering how can I remove the server in such a way is not anymore considered by Afanasy server.

Thanks,
Gianluca.

Re: Remove a render host from the list of host into Afanasy server

Posted: Thu Feb 09, 2017 4:28 pm
by timurhai
Hi.
You can delete host from GUI in admin mode.
Default 'god' password is 'iddqd'.

Re: Remove a render host from the list of host into Afanasy server

Posted: Thu Feb 09, 2017 4:29 pm
by gmaxera
Is there a command line to do the same ? or from Python ?

Thanks,
Gianluca.

Re: Remove a render host from the list of host into Afanasy server

Posted: Thu Feb 09, 2017 4:36 pm
by timurhai
In web gui you can do some action and look at network log.
You can run afwatch in terminal and look at process output.
This way you can see JSON protocol.

Also you can run 'afcmd h' to see some commands.
( afcmd will send JSON requests too )

Re: Remove a render host from the list of host into Afanasy server

Posted: Sun Feb 19, 2017 9:19 pm
by brother john
Renderers are also listed in the servers Afanasy temp dir:

/var/tmp/afanasy/renders/0/...
C:\temp\afanasy\renders\0\...

Re: Remove a render host from the list of host into Afanasy server

Posted: Mon Feb 20, 2017 10:13 am
by timurhai
Hi.
Store folder is not designed for server manipulation.
Server just store state in the store folder.
It reads store on startup only.
So if you delete something from store, you should restart server.

Re: Remove a render host from the list of host into Afanasy server

Posted: Mon Feb 20, 2017 10:53 am
by gmaxera
Thank you.

I wasn't on the route of touching internal server folders and files.
I'm going to sniff what request is being sent when I press the delete button from the web admin panel.