Hi, I have been using WebODM on my laptop for some time and I wanted to try using ClusterODM to take advantage of the laptop and the desktop PC at the same time. Both are connected to the local network via the home modem-router. I installed NodeODM and also ClusterODM on both computers, following the instructions on GitHub. At this point I tried to start NodeODM on the desktop PC and to open ClusterODM on the laptop, giving the command:
node index.js
and immediately after:
telnet localhost 8080
HELP
NODE ADD nodeodm-host 3001
NODE LIST
and connecting to http://localhost:3000, exactly as indicated on GitHub; later I opened a browser window at http://localhost:10000, but no nodes were listed. I tried to start NodeODM also on the laptop, but the one among the available nodes did not appear either.
I’m afraid I didn’t understand how ClusterODM works, I tried to search a bit on this forum but there isn’t much information. In addition, reading the introductory page of WebODM it says that it is possible to connect it to ClusterODM to manage the various nodes, but it is not clear to me how to do it.
Anyone more experienced than me could kindly help me and give me some more detailed and simple indications on how to use ClusterODM? I really thank you for your availability and dedicated time.
PS: I apologize for the language errors, I am Italian and I don’t speak English very well.
Thank you very much.
Is there a command to see the IP address of the NodeODM instance? because I want to add two NodeODM instances (the one on the laptop and the one on the desktop) and I guess they don’t both have the same IP address (or I’m wrong, my computer skills are a bit limited )
The operating system is Ubuntu 18.04.4 LTS on both computers, and I run my nodes through docker. On the laptop I use WebODM, while on the desktop I use NodeODM because for some strange reason I can’t install WebODM (I tried to ask for a solution on the forum)
~/WebODM$ ./webodm.sh start
Checking for docker… OK
Checking for git… OK
Checking for docker-compose… OK
Starting WebODM…
Using the following environment:
Host: localhost
Port: 8000
Media directory: appmedia
SSL: NO
SSL key:
SSL certificate:
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1
Make sure to issue a ./webodm.sh down if you decide to change the environment.
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml start || docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up --scale node-odm=1
ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?
If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?
If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
I made progress on my own: from the management page of my router I found the IP address of my desktop computer (on which NodeODM runs) and I used it to add it between the WebODM processing nodes on my laptop, by clicking on the “add new” in the “processing nodes” section.
Now I can, from my laptop, to process a process on the desktop computer, selecting it from the available nodes.
What I still can’t do, and I would like to do instead, is to divide the workload over several nodes. From the WebODM interface, only one node can be selected for each project
I’m in a similar situation but I’m running on native Windows 10.
I have nodeODM running on two desktops and WebODM running on my laptop. On my laptop I am able to run jobs on each of the two desktops (I added them as processing nodes). On my laptop, i start up ClusterODM and start a browser at localhost:10000 but no nodes show up. What step(s) am I missing. I see on Github there is a request to automatically add nodes to ClusterODM and that sounds great.
However, for now it appears I need to manually add my nodes to some file but I don’t know what that file name is (nodes.json doesn’t exist in the data folder under ClusterODM). Or do I need to add a processing node to WebODM which is the ClusterODM?
thanks
PS. there is no “Add Node” button on my browser screen for ClusterODM 1.5.3, just the enable refresh button.
Telnet into localhost 8080 gave the same errors on every key press that others have reported. Using Putty just gives me a black screen where others reported that it worked. Not sure what else to try.
It’s odd that you do’t have an add node option in ClusterODM, but glad you can make the changes in telnet. For reference, this is what I see when I launch ClusterODM:
What a pain in the neck setting this up was. It’s easy, really, but I had to read 20 some different posts and multiple github pages to piece the information together. Now my next challenge will be how to split up the images in a job to spread them out to my nodes. Everything I’ve read shows command line commands from within Docker and nothing for us Windows folks.
You will need to set the split and split-overlap parameters and remove the sm-cluster text that precedes the ClusterODM URL from the sm-cluster text field, as it is only expecting a url and port