Pathsmap
Pathsmap
Hi!
How to proper set pathmaps? I have some questions:
1. What side (server/client/node)?
2. What directions(first from or first to)?
3. OS-style is *nix for windows network paths or native with "\\"?
Please help me to set up this very useful option for mixed environment.
How to proper set pathmaps? I have some questions:
1. What side (server/client/node)?
2. What directions(first from or first to)?
3. OS-style is *nix for windows network paths or native with "\\"?
Please help me to set up this very useful option for mixed environment.
Re: Pathsmap
There is a good example in docs:
http://cgru.info/afanasy/render#paths_map
and an explanation.
Have you read it?
http://cgru.info/afanasy/render#paths_map
and an explanation.
Have you read it?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Pathsmap
O, i forgot to mention that it is a CLIENT <-> SERVER pairs.
Just added it do docs.
Just added it do docs.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Pathsmap
Missed this part of the doc, sorry.
Many thanks!
Many thanks!
-
- Posts: 16
- Joined: Sun Feb 19, 2017 9:06 pm
Re: Pathsmap
OOI, for anyone else interested, here is my working config.json. We work on Windows machines, the CGRU Server is Linux and the blades are Linux:
{"cgru_config":{
"":"copied here by me",
"af_servername":"xxx.xxx.xxx.xxx",
"OS_windows":{
"pathsmap":[
["L:/", "//mnt/l/"],
["M:/", "//mnt/m/"],
["O:/", "//mnt/o/"],
["P:/", "//mnt/p/"],
["U:/", "//mnt/u/"]
]},
"previewcmds":["P:/z_render/cgru-windows/utilities/djv/bin/djv_view.exe \"@ARG@\"","P:/z_render/cgru-windows/start/AFANASY/vrimg2exrFrame.cmd \"@ARG@\"","P:/z_render/cgru-windows/start/AFANASY/vrimg2exrAll.cmd \"@ARG@\""]
}}
{"cgru_config":{
"":"copied here by me",
"af_servername":"xxx.xxx.xxx.xxx",
"OS_windows":{
"pathsmap":[
["L:/", "//mnt/l/"],
["M:/", "//mnt/m/"],
["O:/", "//mnt/o/"],
["P:/", "//mnt/p/"],
["U:/", "//mnt/u/"]
]},
"previewcmds":["P:/z_render/cgru-windows/utilities/djv/bin/djv_view.exe \"@ARG@\"","P:/z_render/cgru-windows/start/AFANASY/vrimg2exrFrame.cmd \"@ARG@\"","P:/z_render/cgru-windows/start/AFANASY/vrimg2exrAll.cmd \"@ARG@\""]
}}
Re: Pathsmap
It works when win-workstation have this part of config and every render-blade are linux machine. Because paths translates on workstation side and comes to render translated. I have linux-renders and some free windows-workstations, that becomes renders for a time. Back translation on windows-render doesn't work...
Re: Pathsmap
We have the same situation at work.
And paths map works fine in both directions.
You should dig this issue deeper.
See render logs for example.
Afrenders on windows has the same config as sibmission scripts?
And paths map works fine in both directions.
You should dig this issue deeper.
See render logs for example.
Afrenders on windows has the same config as sibmission scripts?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Pathsmap
One config for keeper and render on windows. CGRU installed on every workstation and blade locally.
Timur, can you show example of proper pathmaps configuration for ours situation?
Timur, can you show example of proper pathmaps configuration for ours situation?
Re: Pathsmap
On any Windows (render,workstation) config.json in CGRU root folder:
On any Linux (render,workstation) config.json in CGRU root folder:
A part of config.json in that shared location:
Code: Select all
{"cgru_config":{
"include":["/cg/share/config.json"],
"":""
}}
Code: Select all
{"cgru_config":{
"include":["T:/config.json"]
}}
Code: Select all
...
"OS_windows":{
...
"pathsmap":[
["P:/", "/cg/prj1/"],
["T:/", "/cg/share/"],
["c:/cg/", "/cg/"],
["c:/temp/", "/tmp/"]
],
...
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Pathsmap
Also on in the docs there is a real paths map config too:
http://cgru.info/afanasy/render#paths_map
( from another studio )
http://cgru.info/afanasy/render#paths_map
( from another studio )
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).