-
-
Save zhangcheng/dbc878fb94860da02995 to your computer and use it in GitHub Desktop.
Revisions
-
zhangcheng revised this gist
May 21, 2014 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,9 +15,8 @@ $ apt-get install gnuplot-nox libtemplate-perl libhtml-template-perl libhtml-tem $ tar -xvf tsung-1.3.3.tar.gz $ cd tsung-1.3.3 # You need erlang-dev, erlang-nox and erlang-src to compile tsung on ubuntu $ apt-get install erlang-dev erlang-nox erlang-src $./configure && make && sudo make install -
huberflores revised this gist
Feb 21, 2013 . 1 changed file with 10 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,20 +2,20 @@ * author Huber Flores */ # Install on each Node $ su # Perl Templating-Toolkit and the Gnu plotting utility to create HTML and graphical reports with the result data set. $ apt-get install gnuplot-nox libtemplate-perl libhtml-template-perl libhtml-template-expr-perl # download Tsung #http://tsung.erlang-projects.org/dist/ $ tar -xvf tsung-1.3.3.tar.gz $ cd tsung-1.3.3 # You need erlang-dev and erlang-src to compile tsung on ubuntu $ apt-get install erlang-dev $ apt-get install erlang-src @@ -24,19 +24,19 @@ $./configure && make && sudo make install #directory /usr/local/share/tsung/ # create the .tsung/ directory in ~/.tsung (/home/huber/.tsung) $ mkdir ./tsung # create the configuration file and executed $ tsung -f huberflores_example.xml start #Configuration file is below this script $ cd .tsung/log/20110614-21:58/ # Configure Each Node Communication Change name to the host $ nano /etc/hosts @@ -46,7 +46,7 @@ $ nano /etc/hosts 172.17.x.x tsung3 # alternative $ nano /etc/hostname $ nano /etc/resolv.conf @@ -68,9 +68,9 @@ $ ssh tsung1 $ ssh tsung2 $ ssh tsung3 # Each connection must be perfomed without password # If this error emerged, then repeat "#Configure Each Node Communication" section. Host key verification failed Host key verification failed Host key verification failed -
huberflores revised this gist
Feb 8, 2013 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ /* * author Huber Flores */ #Install on each Node $ su -
huberflores renamed this gist
Feb 8, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
huberflores created this gist
May 29, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,75 @@ #Install on each Node $ su #Perl Templating-Toolkit and the Gnu plotting utility to create HTML and graphical reports with the result data set. $ apt-get install gnuplot-nox libtemplate-perl libhtml-template-perl libhtml-template-expr-perl #download Tsung #http://tsung.erlang-projects.org/dist/ $ tar -xvf tsung-1.3.3.tar.gz $ cd tsung-1.3.3 #You need erlang-dev and erlang-src to compile tsung on ubuntu $ apt-get install erlang-dev $ apt-get install erlang-src $./configure && make && sudo make install #directory /usr/local/share/tsung/ #create the .tsung/ directory in ~/.tsung (/home/huber/.tsung) $ mkdir ./tsung #create the configuration file and executed $ tsung -f huberflores_example.xml start #Configuration file is below this script $ cd .tsung/log/20110614-21:58/ #Configure Each Node Communication Change name to the host $ nano /etc/hosts 172.17.x.x tsung1 172.17.x.x tsung2 172.17.x.x tsung3 #alternative $ nano /etc/hostname $ nano /etc/resolv.conf local node $ cd /root/.ssh Create keys in each node $ ssh-keygen -t dsa $ chmod 600 .ssh/id_dsa install the key in the remote node $ cat id_dsa.pub >> /root/.ssh/authorized_keys connecting ssh without a password $ ssh-agent sh -c 'ssh-add < /dev/null && bash' #try each node $ ssh tsung1 $ ssh tsung2 $ ssh tsung3 #Each connection must be perfomed without password #If this error emerged, then repeat "#Configure Each Node Communication" section. Host key verification failed Host key verification failed Host key verification failed This is because tsung search by host name (not ip address).