CLUSIM: A Fast and Scalable Trace-Driven Computer Cluster Simulator
Authors: Cheng-Yueh Liu, Po-Yao Huang, Yuan-Di Li
sudo apt-get install docker.io
wget https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm
sudo yum install docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm
sudo systemctl enable docker
sudo systemctl start docker
cd clusim
./tools/empower-tcpdump.sh username
tcpdump -i docker0 -w justForTest.pcap
cd clusim/vcluster
docker build -t vcluster .
./start-vcluster.sh 4 0
Then, we will log in to master node (node0)
cd ~ && ./demo-npb.sh bt A 4
exit
Download the prebuilt ubuntu 16.04 image (url:"https://drive.google.com/open?id=1-xM6ZJ-q4Y9OxPwe6NDh9Yv6aKlJ7b-n"), and place it at /image/ as /image/ubuntu1604.img
cd clusim/vmcluster
./vmcluster update-image
./start-vcluster.sh 4 0
Then, we will log in to clusim0 whose ip is 172.17.0.2
./demo-npb.sh bt A 4
exit
cd clusim/ns3
./build.py
Modify the path to the logged pcap file in simple.cfg
cd clusim
make
cp config/default.cfg .
./clusim default.cfg
