Closed maxli1 closed 12 years ago
Hi.
Dear Timurhai, Thank for echoing me such quickly. I am sure postgres database work with afserver well. I used "afcmd db_check" command to test it. I would like to update my config.xml to you here as reference.
[root@cen6 afanasy]# cat config.xml
I confused two lines that both include server name. I think one is to indicate afrender's name. The second one is to inidicate afserver name. Is it right? Afserver IP: 192.168.90.51 Afrender IP : 192.168.90.69.
Dear Timurhai
Thank for echoing me such quickly. I am sure postgres database work with afserver well. I used "afcmd db_check" command to test it. I would like to update my config.xml to you here as reference
root@cen6 afanasy]# cat config.xml
I confused two lines that both include server name. I think one is to indicate afrender's name. The second one is to inidicate afserver name. Is it right? My Afserver IP: 192.168.90.51 Afrender IP : 192.168.90.69.
Best regards
Dennis Ma
Date: Thu, 18 Oct 2012 01:42:28 -0700 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] Can't find render node (#29)
Hi.
Web visor in not designed to monitor render (server). It designed to monitor database and collect statistics. It communicates with SQL database itself. If server can't connect to SQL database it works without it. In this case server will be empty on restart and you will not see anything in webvisor. (but, i think, it is not you case, as you see one render there, but try to see render in afwatch first to exclude sql problems)
¡ª
Reply to this email directly or view it on GitHub.
There is only one servername field in config.xml (other is commented as an example). Sever name (address) should be configured on each client (and only clients should now where is server, on server you can not to config it). Try to see afserver and afrender logs (you can stop services and run then in terminal).
Ok, I will try to correct to config.xml base on your comment. Before do that. I would like to upload my log here, you perhaps find more useful information for me. Thank you in advance.
Afrender 192.168.90.69 log [root@cen6 afanasy]# cat afrender.cen6.log.0 |more Creating folder: /tmp/.afanasy Compilation date = "Sep 3 2012 23:22:03" CGRU version = "1.6.5" Afanasy build revision = "cf83ffe1a81fbdd33953eb3ce60fa4c0de80af88" Python version = "2.6.6" GCC version = "4.4.6" Network Interfaces: eth0: fa:16:3e:4e:a7:2a IPv4 Address:192.168.90.69 IPv6 Address: fe80::::f816:3eff:fe4e:a72a virbr0: 52:54:00:7b:ff:8b IPv4 Address: 192.168.122.1 virbr0-nic: 52:54:00:7b:ff:8b unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'. ON cen6@render[0] v'1.6.5' Empty address Host: OS="Unix: Linux 64bit" Capacity = 0, Max Tasks = 0, Power = 0 Resources: CPU = 2400 MHz x4 0% usr, 0% nice, 0% sys, 100% idle, 0% iow, 0% irq, 0% sirq load average: 0 0 0 Memory: 7871 Mb / 7541 Mb free (cache 207 Mb, buffers 160 Mb) Swap: 1193 Mb / 0 Mb used Network: Recieved 0 Kb/sec, Send 0 Kb/sec IO: Read 0 Kb/sec, Write 0 Kb/sec, Busy = 0% HDD: 28 Gb / 21 Gb free unable to find statistics about 'sda' in '/proc/diskstats'.'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'.
Afserver log :192.168.90.51
[root@moosefs afanasy]# cat afserver.moosefs.log AFERROR: AfContainer::add: node->id = 1 already exists. Compilation date = "Sep 3 2012 23:22:03" CGRU version = "1.6.5" Afanasy build revision = "cf83ffe1a81fbdd33953eb3ce60fa4c0de80af88" Python version = "2.6.6" GCC version = "4.4.6" Getting renders from database... 0 renders founded. 0 renders registered. Getting users from database... 2 users founded. AFERROR: AfContainer::add: nodes table full. 1 permanent users registered. Getting jobs from database... 0 jobs founded. 0 jobs registered. System job constructed. AFINFO: Thread (id = 38856096) is main, creating other threads. Available addresses: IP = '0.0.0.0' IPv6 = '::' Using IPv6 addresses family. IPv4 connections addresses will be mapped to IPv6. Listening 51000 port... Mon 15 Oct 14:58.28: New Render registered: ON moosefs@render[1] v'1.6.5' 192.168.90.51:51001 Mon 15 Oct 14:58.37: Render Offline: off moosefs@render[1] v'1.6.5' 192.168.90.51:51001 Mon 15 Oct 14:58.46: Render: ON moosefs@render[1] v'1.6.5' 127.0.0.1:51001 Tue 16 Oct 17:18.07: Monitor registered: render@moosefs:51002[1] v'' 127.0.0.1:51002 Tue 16 Oct 17:18.35: Deleting monitor: render@moosefs:51002[1] v'' 127.0.0.1:51002 Tue 16 Oct 17:18.41: Monitor registered: render@moosefs:51002[1] v'' 127.0.0.1:51002 Tue 16 Oct 17:18.45: Deleting monitor: render@moosefs:51002[1] v'' 127.0.0.1:51002 Tue 16 Oct 17:23.11: Monitor registered: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:14.22: Deleting monitor: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:15.33: Monitor registered: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:15.51: Deleting monitor: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:16.33: Monitor registered: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:20.56: Deleting monitor: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:20.59: Monitor registered: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:24.10: Deleting monitor: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:24.29: Monitor registered: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 11:26.35: Deleting monitor: render@moosefs:51002[1] v'' 127.0.0.1:51002 Thu 18 Oct 17:18.43: Monitor registered: render@moosefs:51002[1] v'' 127.0.0.1:51002 [root@moosefs afanasy]#
Hi Timurhai After I modified config.xml. It looks work well. but there is one thing that is not correct. Name Prioprity Capacity User State id 1 moosefs 99 -1 render free 1 2 cen6 99 -1 render free 2
Why is Capacity nagtive value therre?
Strange afrender log. Where and how it finishes? It has no sda device? Configure it by <render_iostat_device>sda</render_iostat_device>
If capacity is negative, it takes capacity from farm.xml. Render capacity attribute needed to temporary override farm settings. I just want to say again, webvisor it not for farm monitoring, it is for statistics and database browser. If you need Web GUI for some reasons (not Qt) type 192.168.90.51:51000 in browser (better firefox and not IE). It is not finished, but you can already monitor your farm. Later it will have all afwatch functionality.
I don't have any sda device. Because I built all in the KVM. I think that virtual machine resulted in that you think the log is strange.
Could you tell me how to change capacity value to override farm settng? do this in database directly ?
Best regards
Dennis Ma
Date: Fri, 19 Oct 2012 01:25:28 -0700 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] Can't find render node (#29)
Strange afrender log. Where and how it finishes? It has no sda device? Configure it in sda field
If capacity is negative, it takes capacity from farm.xml. Render capacity attribute needed to temporary override farm settings.
¡ª
Reply to this email directly or view it on GitHub.
Database needed only to store state. Server reads it only on start, later it only writes changes. You can config farm hosts capacity in farm.xml and later override in afwatch if needed. For now, there is only one general method to make changes on server - Qt GUI, and only few commands in afcmd (CLI). Later, when JSON protocol will be fished, you can manipulate anything via JSON.
Dear Timur Hairulin How do you do. I am really intrested in Afanasy software. Though I would like to know what roadmap it is? It will support more opensource render engineers, won't it? It is like Aqsis,Luxrender and Pixie as so on.
Best regards
Dennis Ma Date: Fri, 19 Oct 2012 01:54:08 -0700 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] Can't find render node (#29)
Database needed only to store state. Server reads it only on start, later it only writes changes.
You can config farm hosts capacity in farm.xml and later override in afwatch if needed. For now, there is only one general method to make changes on server - Qt GUI, and only few commands in afcmd (CLI). Later, when JSON protocol will be fished, you can manipulate anything via JSON.
¡ª
Reply to this email directly or view it on GitHub.
Hi. I am fine, thanks ) CGRU is opensource and any software can be supported by users. Afanasy engine does know nothing about Nuke or Blender (and should know nothing about Aqsis,Luxrender and Pixie as so on), it run command only. Commands can be generated any way and submitted to server via JSON. I spend much time with afanasy server engine and gui. Roadmap for the near future is web technologies.
Sir, I have a issue with afanasy in centos 6.2. Release version is 1.6.5. I installed afserver and afrender in a same server. I also installed afrender in the other server. Two servers can see eachother with ping test. However, I moniter all things with webvisor, I can only see one render that is installed with afserver together. Afserver/afrender ip: 192.168.90.51 other afrender IP: 192.168.90. I checked all respect of services. They are running well. Could you tell me what problem is and how to do troubleshooting though.
Thanks