CloudKonPlus
-
Google protocol buffers c++ binding, VERSION 2.4.1 http://code.google.com/p/protobuf/downloads/list (or) cd to CloudKonPlus/src/protobuf-2.4.1
-
Google protocol buffers c binding, VERSION 0.15 or later http://code.google.com/p/protobuf-c/downloads/list (or) cd to CloudKonPlus/src/protobuf-c-0.15
-
Install the below:
sudo apt-get install gcc
sudo apt-get install G++
sudo apt-get install openjdk-7-jre
sudo apt-get install libcurl3
sudo apt-get install libcurlpp-dev
sudo apt-get install libcurl-ocaml libcurl-ocaml-dev
sudo apt-get install autoconf
sudo apt-get install libtool
- Install RestClient-CPP
cd to CloudKonPlus/src/restclient-cpp-master
libtoolize
aclocal
autoheader
./autogen.sh
./configure
sudo make install
- Install FUSE
cd to CloudKonPlus/src/fuse-2.9.3
./configure
make
make install
modprobe fuse
- Install Kafka and Zookeeper,
http://czcodezone.blogspot.com/2014/11/setup-kafka-in-single-machine-running.html
Assuming that you installed them to default directory, possibly that is, /usr/local
1. vim/gedit ~/.bashrc
- append the following lines to the end,
export USER_LIB=/usr/local/lib/:$USER_LIB
export USER_INCLUDE=/usr/local/include/:$USER_INCLUDE
export LD_LIBRARY_PATH=/usr/local/lib/:/CloudKonPlus/src/ffsnet/:/CloudKonPlus/src/udt/src:$LD_LIBRARY_PATH
-
source ~/.bashrc
-
Increase “Open Files Limit”: https://rtcamp.com/tutorials/linux/increase-open-files-limit/
-
Increase Local Port Range with net.ipv4.ip_local_port_range Kernel Parameter: http://www.cyberciti.biz/tips/linux-increase-outgoing-network-sockets-range.html
-
ZHT/FaBRiQ:
cd to CloudKonPlus/src/zht
make clean
make
- UDT:
cd to CloudKonPlus/src/udt
make clean
make
- FFSNET:
cd to CloudKonPlus/src/ffsnet
make clean
make
- FusionFS:
cd to CloudKonPlus/src/fusionfs
make clean
make
- Monitoring Client:
cd to CloudKonPlus/src/monitoring-client
make clean
make
- CloudKonPlus:
cd to CloudKonPlus/src/cloudkonplus
make clean
make
- Word Count:
cd to CloudKonPlus/src/wordcount
make clean
make
1. cd to CloudKonPlus/conf
2. Update "neighbor.conf" with IP and Port Number(50000)
###RUN ZHT SERVER
1. cd to CloudKonPlus/script
2. run ./start_service.sh
###RUN Monitoring Server
1. cd to CloudKonPlus/kafkaCode/my-app
2. Follow ReamMe
###RUN CloudKonPlus Worker
1. cd to CloudKonPlus/script
2. run ./start.sh
###RUN CloudKonPlus Client
1. cd to CloudKonPlus/src/cloudkonplus
2. $ ./ckp_client -z ../../conf/zht.conf -n ../../conf/neighbor.conf -w ../../TestCase/Throughput/sleep_0_10k.txt
###RUN WordCount Worker
1. cd to CloudKonPlus/script
2. run ./start_wc.sh
###RUN WordCount Client
1. cd to CloudKonPlus/src/wordcount
2. $ ./wc_client -z ../../conf/zht.conf -n ../../conf/neighbor.conf -w CloudKonPlus/TestCase/wordcount/5mb.txt
###RUN Stop Service
1. cd to CloudKonPlus/script
2. run ./stop.sh
3. run ./stop_service.sh