Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
MAXON CINEMA 4D:Cinema 4D ForumCinema 4D TutorialsCinema 4D TagAdobe After Effects Forum

C4D Net Render Client on remote workstation

COW Forums : Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
cow
Dave 'The Brave' WiffolaC4D Net Render Client on remote workstation
by on May 8, 2009 at 10:53:40 am

Hi Everyone,

For a few years now we have been running a robust c4d net render farm across 6 macs/pcs in our office. We need to keep increasing the amount of workstations and we'd like to use our home machines.

I've set this up and we have a PC Client remotely connected to the PC net render server, using the remote IP address. This is all great, it shows up in the net render interface and chooses the frames it's going to render.

Problem is, the remote client just wont actually render any frames! It just says 'connection to server established' and never starts to render the job. The local clients render fine as usual.

I've tried disabling the windows firewalls at client and server end, set read & write permissons for the 'administrator' folder where the results save and also opened up the necessary ports on the router. I've opened FTP Port 20 as 8080 wouldnt connect.

Can anyone possibly help me with this? Many many thanks in advance - I'm sure I'm not the only one with this issue.

Thanks everyone.


Return to posts index
Reply   Like  
-1

David CoiffierRe: C4D Net Render Client on remote workstation
by on May 18, 2009 at 1:05:54 am

Hey Dave, it's all about ports & routing.
The key is that you have to get clients connect to the server but ALSO server to clients.
So make sure that server can connect to your client.
If at home, you're behind a NAT, then you need a port forward rule that says "incoming TCP on 1080 goes to this particular local IP" (1080 is default port)

Next refinement is to connect several clients from one IP (I know you have more that one at home!) :
All you have to do is get a different port for each client behind the router, by specifying in the client prefs dialog other ones :1081, 1082, etc…
Of course, you also need port forwarding rules for each machine...



Return to posts index
Reply   Like  

Steve BellRe: C4D Net Render Client on remote workstation
by on Jun 7, 2009 at 10:41:01 am

This may be a long shot, but we have had similar problems within the office. Firstly, it sounds like you have your port mapping in hand or it wouldn't connect in the first place, but if you dont then I think you need ports 8080 and 1800 going to your server.

We occasionally and randomly get the same problem happening inside and outside the office. It came down to permissions on the Mac client. Sometimes repairing or resetting the permissions on all of the C4D installation worked. It's very weird....

Steve Bell
http://www.archiform3d.com


Return to posts index
Reply   Like  


David WiffenRe: C4D Net Render Client on remote workstation
by on Sep 5, 2012 at 3:40:22 pm

I'm reviving my thread from the dead here...

I am trying to get this to work again.

I have a connection between server at work and client at home.

I have had success in rendering a very basic scene (cube in an empty scene) across the computers remotely but when it comes to a more complex scene it just never starts rendering the job.

Is it possible the files just cant be passed across the internet between server and client fast enough?

Any more help here would be amazing. My port fowarding seems to be all in shape as everything connects.



Return to posts index
Reply   Like  

David CoiffierRe: C4D Net Render Client on remote workstation
by on Sep 5, 2012 at 4:10:33 pm

How big is your tex folder ? How fast is your connection from server to client, how many clients have to be delivered, and how long did you wait before giving up ?



Return to posts index
Reply   Like  

David CoiffierRe: C4D Net Render Client on remote workstation
by on Sep 5, 2012 at 4:11:36 pm

Do you have any net monitoring on your client(s) to see if something is coming in when starting render ?



Return to posts index
Reply   Like  


David CoiffierRe: C4D Net Render Client on remote workstation
by on Sep 5, 2012 at 4:15:30 pm

From my point of view, if scene file is correctly uploaded to your client, then tex folder should also be...



Return to posts index
Reply   Like  

David WiffenRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 8:50:02 am

When you say scene file is successfully uploaded to client...how do you mean?

My current setup is scene file and tex are only on the server computer in the administrator > user folder etc

Are you suggesting the tex files have to be on the client machines?



Return to posts index
Reply   Like  

David CoiffierRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 10:22:00 am

You're correct when placing scene file and tex folder to your admin folder, for netrender server to see them.
When starting render from web interface, server distributes scene file and tex folder to every single client. Normally you don't have to worry about that transfer, because it's automatically done behind your back.
What I'm saying is that if you can read in your client window "starting xxx render" then "rendering image #yyy" it does mean that transfer occurs correctly, and so port mappings are correct, even with the simpliest scene file.
With heavier scene+tex files, client will quickly say "starting xxx render", but you'll have to wait that scene and tex folder are totally transferred to client before reading "rendering image #yyy".
So depending on total files size, and bandwidth, it can take quite a long time to deliver them to every client.

Renders never starting are usually symptom of incorrect port mappings on client side. But as you said a really small scene file is effectively rendered by your client, I understand that port mappings are ok, otherwise render would not even start (meaning you wouldn't read "rendering image #yyy")

Hope this is clear to you...

Have another try with a netmonitor on client machine (I do love menumeters, that is totally free, but there is also an Apple app named Activity Monitor.app, that resides in your utility folder). At the moment you start netrender on web interface, server should send files to client(s), and so you should see incoming traffic on client side... This will just eliminates long waiting for nothing in case nothing is transfered...



Return to posts index
Reply   Like  


David WiffenRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 8:47:10 am

Thanks for the response:

tex folder is about 250mb

Server internet connection is 1.5mb download and 0.35mb upload

Client connection is 20mb download and 1mb upload

I haven't got any net monitoring on the client mac - any recommendations on an app for this?



Return to posts index
Reply   Like  

David CoiffierRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 10:30:12 am

Given your bandwiths, upload from server is the bottleneck.
In case mb means megabits, 0,35 mb/sec is only 0,043 megabytes, and transferring 250 megabytes would nearly take 2 hours to complete.
In case of 0,35 megabytes, 250 MB would take roughly 12 minutes to complete.

How long did you wait before giving up ?



Return to posts index
Reply   Like  

David WiffenRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 11:17:27 am

Thanks so much for your help.

I totally understand what you are saying.

I think I must have a port forwarding issue somewhere as the project never says "start rendering" it only says "Connection established".

So what would I need to do from the client side in terms of port mapping on the router? I havent set anything up there - it's default.

On the server end I have 8080 mapped to my computer's mac address. This allows me to check the net render interface using my external IP and is allowing the net client to connect.

Thaks foe your help.



Return to posts index
Reply   Like  


David CoiffierRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 11:39:32 am

Well, if you have port forwarding issue, you can refer to my 3 years old answer, at the beginning of this thread. Here is a copy :

If at home, you're behind a NAT, then you need a port forward rule that says "incoming TCP on 1080 goes to this particular local IP" (1080 is default port)

Next refinement is to connect several clients from one IP :
All you have to do is get a different port for each client behind the router, by specifying in the client prefs dialog other ones :1081, 1082, etc…
Of course, you also need port forwarding rules for each machine...


Let me know if something is unclear...



Return to posts index
Reply   Like  

David WiffenRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 12:06:18 pm

Ok I've got port forwarding set up on client side router now. It's forwarding 1080 (default port) forwarded to the relevant ip address for that client.

I start net client and it says connected. Strangley now though in the net server console it's not showing a new client connected - it's saying 'maximum amount of net clients exceeded' which it keeps posting every few seconds.

Before I did the port forwarding on client it would connect in client and server console but not see the job or start rendering anything.

Any ideas on that one?



Return to posts index
Reply   Like  

David WiffenRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 12:13:36 pm

sorry should have read more before replying - i dont think i have put my serial in net server bit on personalise.

Awesome now it's started the job...let see if it does a frame!

Quick question regarding tex folder size...does it have to pass the whole contents of the tex to the client of the web, or just the files used at that moment in the scene?

Also does it have to pass the tex files once at the beginning or for every frame?



Return to posts index
Reply   Like  


David WiffenRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 12:24:38 pm

"over the web" i mean



Return to posts index
Reply   Like  

David CoiffierRe: C4D Net Render Client on remote workstation
by on Sep 6, 2012 at 1:43:11 pm

From my understanding, the whole tex folder is uploaded to the clients, whatever file is used or not.
Than means you have to manage more or less manually this folder. One easy way is to save project from C4D to your admin folder, once you have removed all unused textures within C4D. This way you should only copy used files.
Once scene and tex files are uploaded to your client(s), they're used until the end of the render.
But if you stop and relaunch a netrender, server will push again all files to the client(s). Sounds a bit rude, but it's a good idea anyway to avoid versioning problems in your files.

So does it render now ??



Return to posts index
Reply   Like  

David WiffenRe: C4D Net Render Client on remote workstation
by on Sep 7, 2012 at 8:23:32 am

Thanks for the response.

It hasnt rendered as i stopped it after taking another look at the tex folder which was actually 2gb! I have xrefs turning on and off in the scene so saving project with assets only pulls the tex and xref references for the xrefs currently turned on - annoyingly. So I'm left with having to copy the whole tex folder in the admin folder and all xrefs just to be safe. Anyway thats another point.

I'm sure it will render a smaller scene (this one is a beast) as I could see the data was being sent from server to client in both activity monitors.

I'll do a test when things calm down and post back here.

Thanks for all your help :)



Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]