FEVI
From MAGGIE
Contents |
[edit] Visualization of IEPM-DATA
I am currently working on getting an IEPM-BW node up and ready from niit. the following sub tasks have been done or are underway as described.
- installed my sql and configuration process is underway
- made an account iepm.
- installed apache server
[edit] perl !!!
perl -MCPAN -e "install Date::Calc; install Date::Manip; install Date::Parse; install Time::localtime; install Time::Local; install Time::ParseDate; install Proc::ProcessTable; install Bundle::DBD::mysql; install Getopt::Std; install strictIO::Handle; install File::Temp; install IO-Stringy;install Test::Pod; install Math::Trig; install Mail::Field; install MIME::Tools; install SOAP::Lite; install CGI; install Bit::Vector;" this query should basically solve the perl dependencies for rest:
Sys::Hostname was not found so what i did was: i installed Sys::Hostname::Long using yast and then i simply took the source code of Hostname.pm from CPAN and placed it in the folder created for Hostname::Long.
One thing to be noted is that i have spent a lot of time on getting perl right so, just a comment some one should make its installers more user friendly and there should be some way of resolving all dependencies, like package managers do..
[edit] GD
this is how i configured gd with png support === install zlib
[[[1]]] zlib-1.2.3.tar.bz2
zlib-1.2.3$ curl -0(*this is a zero however i feel this option can easily be replaced by -O(this is the alphabet)) http://www.zlib.net/zlib-1.2.3.tar.bz2 -o(this is alphabet o) zlib-1.2.3$ ./configure zlib-1.2.3$ make test zlib-1.2.3$ sudo make install
=== install libpng
[[[2]]] libpng-1.2.18.tar.bz2 libpng-1.2.8$ curl -0 "http://www.sourceforge.net/project/downloading.php?groupname=libpng&filename=libpng-1.2.18.tar.gz" -o tar vzfx libpng-1.2.18.tar.gz cd libpng-1.2.18 make make test make install ranlib /usr/local/lib/libpng.a
=== install gd
[[[3]]]
gd-2.0.35.tar.gz
curl -0 http://www.libgd.org/releases/gd-2.0.35.tar.gz -o tar vzfx gd-2.0.35.tar.gz cd gd-2.0.35.tar.gz ./configure make make install
[edit] Progress
July 14 2007
PLOTSPECS table is populated using this basic query:
insert into PLOTSPECS (srcNode,destNode,datatype,plottype,xtitle,ytitle,title,plotspec,insubdir,outsubdir,f_time_stamp) VALUES ("all","all","tlaytcp","scatplot","mbps","ms","Thrulay(TCP) vs Thrulay RTTs","tlaytcp:tlayrcp;rttmin=w p lt 4;rttmax=w p lt 10;rttavg=w p lt 15","combinedata","scatterplots",NOW());
the NOW() function is used to get timestamp this query is modified to enter data about all plots(graphs). these graphs are used to display relationship between different test results like results from thrulay tcp, ping, pathload and pathchirp e.t.c.
May 28 2007 iepm installation and post configuration achieved upto 90%. Most probelms were because of missing perl modules which were installed after a lot of work. then the report scripts were run and they executed quite well. now i m going to run the load scripts as soon as the database gets populated. Most of my work in last month has been on low end because of the papers and now class projects. i will come back on track to get the database populated soon.
April 20 2007
- done step 6 almost
* i have given the java path as /home/iepm/fahad/java,but there is no need to install
it as is given in iepm installation guide. * i have not removed the owamp configuration settings although we seriously doubt we will be
installing it in near future. * no owamp configuration has been changed or made. * Step 7 has got me somewhat confused as is i have to install geoplot and get the tables. i
will try to figure out the exact steps that need to be performed but i feel this area needs
improvement. there is some what inconsistency in installation guide or might be it is because
i m not using redhat enterprise edition but i doubt it.
April 12 2007
- downloaded and installed files from slac
- Configuration part will be done soon
April 06 2007
- mysql configured and running
- i have completed up to step 13 of iepm pre-configuration
- making the my.cnf file makes me a little nervous. this is mainly because the format of my.cnf that is to be made according to iepm installation guidelines is very different from the one i am using in SuSE10.2. Hopefully it should run on startup too. i haven't restarted the system yet but lets hope.
as i expected the problem is back again but this time the primary problem seems to be the mysql.sock file which i tried to change path of
- this problem comes up because either the mysql.sock file is not created, which i created giving it rwx permissions. then it also occurs if mysqld is not running. however i found in my case it was running . a simple restart of the whole system solved the problem. As much i know the socket was perhaps taken up by mysqld which was causing it to disable any connection. this part i m not sure why? perhaps socket was ocupied. but now i m running mysqld_safe and i can connect with mysql locally. i will shortly test if it is possible in case of eternal connections but i think it will work.
- other directories have been made with privilages granted almost and i am working on it....
- chown -R iepm:<account> /home/iepm/public_html [[ what is account here? the description is: ]] Where <account> is the account your unix id is under. For example, mine is 'cal:sf' (i.e. <account> would be replaced by sf) and our iepm group account was 'iepm:sf'. Depending upon how the /home/iepm/public_html directory was created...for example if I created it via sudo from my cal account, then owner must be set to the 'iepm:<account>' where in SLAC's case <account> is 'sf', but in other cases it mught not be. :::::: but this goes way over my head. i presume this account is iepm and so i have replaced but i really need to test it.
- I have completed configuration on my part, what is required is a tar file that is made from slac the procedure is :
Currently loading of the monitoring host is done from iepm-bw.slac.stanford.edu
1 Enter the node into the 'NODES' data base.
2 Enter the node into the 'MONHOST' data base.
3 On iepm-bw.slac.stanford.edu, make a tar file including all the code.
cd /afs/slac/package/netmon/bandwidth-tests/v3src
tar -cvf dist.tar -T dist.scripts.list
scp dist.tar iepm@<fully qualified monitoring host name>:/home/iepm/dist.tar
this has been taken as it is from Installation Guide of iepm-bw
[edit] References
During the processes the following websites proved to be of great help:
