Comments (11)
Looks like comments in this ticket contain some answers to my question.
from imunes.
Hello!
First of all: sorry for answering so late. It's best to ask any questions here so it's publicly available. I guess we will need to expand our wiki with some commonly asked questions, or make a FAQ.
If #51 did not answer any of your questions, feel free to ask here.
To answer your other questions:
- I don't quite understand your question: you want a machine running a topology, but you want one node from this topology to be on another machine? If this is what you mean, that's not possible. What is the reason you want it that way, maybe I can help you achieve the same thing in another fashion?
- Yes,
duplicate
duplicates packages usingnetem
command line tooltc
. Thewidth
parameter is just the width of the line in the GUI. :)
from imunes.
Ok, I'll try to edit dockerfile and add this or that mpi application.
A FAQ or some kind of brief documentation would be really good. :)
The reason for running one node on another machine can be the following: my laptop may not be able to handle all the nodes and I want to move some load to another machine.
Btw, I remember there is UML (user-mode linux) in dependencies, is it really used? After looking at the wiki I thought it is more or less outdated technology.
from imunes.
IMUNES is not distributed (yet), but you can try running two experiments on different computers and try to connect them with the help of External interface
and/or External connection
nodes and some bridging with your physical interface?
from imunes.
If I have time I'll try this, but it's not high priority.
from imunes.
Ok, finally I managed to run two nodes and launch an mpi benckmark on them. However, I had several problems with mpich and switched to openmpi. Moreover, I had to set ip and aliases in /etc/hosts and generate ssh keys for passwordless ssh. (Don't know how to generate these things during container's creation)
Other things I noticed: when BER is set an application (NAS Parallel Benchmark) doesn't work. When delay is set, it is multiplied by two. (I had delay set to 100 ms and ping was showing 200ms exactly, with 200ms delay ping was 400ms exactly). Another thing I noticed is that Wireshark doesn't see any connection between nodes and I cannot analyse traffic.
from imunes.
Glad to hear it's up and running!
Care to explain what needs to be done with ip and aliases so I can maybe help you setup the configuration? You can create ssh keys on the host machine and then copy them to the containers with a shell script by using hcp
.
BER is set to what?
Delay is on the link, and ping measures request time + response time on the same link, so it's natural it's double.
What do you mean, Wireshark doesn't see connections? How exactly are you trying to analyze traffic?
from imunes.
First of all, I just found a nice image I should have found much earlier : NPB image
If I want to use several nodes with mpirun
command, I have to write down nodes' ip and their aliases in /etc/hosts, for example
127.0.0.1 localhost pc1
10.0.0.20 node2 pc2
and so on.
Regarding ssh-keygen: I'm not sure but it seems like I have to do passwordless ssh on both sides so that nodes will be able to communicate with each other.
Don't remember what was with BER, will recheck and write here. You're absolutely right about delays, my stupid fault. :)
Thanks a lot for your tips, I'll recheck those questions related to BER and Wireshark.
from imunes.
To fix problem with ssh connection, I added this not secure solution to dockerfile:
RUN mkdir /root/.ssh && ssh-keygen -t rsa -f /root/.ssh/id_rsa -N '' &&
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys && echo "StrictHostKeyChecking no"
>> /etc/ssh/ssh_config
It worked perfectly. Still haven't looked at BER issue, will investigate it later as it's not top priority. Anyway, I think this ticket can be closed.
from imunes.
In case you're interested, IMUNES was used whilst writing this article: Distributed computing infrastructure based on dynamic container clusters
that was presented on ICCSA'16 several days ago.
Moreover, another work related to IMUNES was presented yesterday on GRID'16, topic Virtual clusters as a way to experiment software
. ;)
from imunes.
Wow, that's great! :D
We'll definitely check them out.
from imunes.
Related Issues (20)
- Impossible to create a "Custom Configuration" HOT 2
- iperf missing from v2.3.0 HOT 2
- Link bandwidth has unexpected impact on latency HOT 4
- External connection IPv4 and IPv6 not needed?
- FreeBSD 12.1 "Prepare" Issue HOT 2
- Revisit prepare_vroot
- L2 switch VLANs HOT 4
- Traducir IMUNES a multiples idiomas HOT 7
- Imunes
- Connecting virtual network to the internet HOT 1
- Quagga FIB route issues in Freebsd 13.0 HOT 1
- Experiment > Execute not working in Ubuntu 20.04.5 LTS (WSL 2) HOT 7
- Error in interface lo0 of Node router imunes does not assign IP to loopback lo0 HOT 10
- Create new msgs directory inside /imunes/gui/ HOT 5
- Support for custom jail VROOTs HOT 1
- Firecracker support HOT 1
- bhyve support HOT 4
- Error install IMUNES in FreeBSD 14.0 64 Bits HOT 3
- [Alpine linux] Can't run experiment: `ip: can't find device 'veth0pn3327'` HOT 1
- How can i interact with a lan switch like before with ovs commands? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imunes.