Okay so I've spent a few days and nights going through and learning
fossology as much as possible. Trust me I've spent all last weekend going
through docs, newsgroups, mailing list archives... and can't find best
practice for my scenario =/
I believe I'm on the right track, this is what I got so far.
Cluster-
- (6) PCs running Ubuntu v9.10 - installed Fossology with 'sudo apt-get
install fossology'
- Host file setup to use ssh to host1, 2, 3, 4, 5, 6 and I tested SSH
auto-login.
- Currently have DB on each machine with Apache web server (since apt-get
install).
Question anyone can answer:
1.) I think I would have to copy the Hosts.conf file to every PC as
distributed repo model. Correct?
(host 1 * 00 2a, host2 * 2b 54, host3 * ff 7f, etc, etc,)
2.) I was thinking I need to have one central DB in this config so I figured
I could shut down the postgres DB on each agent and apache as well, but my
machine I want DB/ApacheUI has FATAL errors. Do I need to keep the DB
running on each PC?
3.) If so, I should modify Db.conf to all point to DB/Apache server
"host=host5;" ?
4.) Do I put this on all machine's DB.CONF file?
5.) Lastly, how would I configure the Scheduler.conf for this, just One or
on ALL PCs (I would think just one)???
Currently my Scheduler.conf has a line like this for EACH host/agent (host1,
host2, host3, host4, host5, host6):
=========================================
%Host host1 2 1
agent=wget host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/wget_agent -d
/var/lib/fossology/agents"
agent=unpack host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/engine-shell unpack
'/usr/lib/fossology/agents/ununpack -d
/srv/fossology/repository/ununpack/%{U} -qRCQx'"
agent=adj2nest host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/adj2nest"
agent=filter_license host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/Filter_License"
agent=filter_license host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/Filter_License"
agent=license host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/bsam-engine -L 20 -A 0 -B 60 -G
15 -M 10 -E -T
license -O n -- - /var/lib/fossology/agents/License.bsam"
agent=licinspect host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/licinspect"
agent=mimetype host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/mimetype"
agent=mimetype host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/mimetype"
agent=specagent host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/specagent"
agent=filter_clean host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/filter_clean -s"
agent=delagent host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/delagent -s"
agent=sqlagent host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/sqlagent"
agent=sqlagenthost host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/sqlagent -a sql"
agent=pkgmetagetta host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/pkgmetagetta"
agent=pkgmetagetta host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/pkgmetagetta"
agent=fosscp_agent host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/engine-shell fosscp_agent
'/usr/bin/cp2foss
%{*}'"
agent=fo_notify host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/engine-shell fo_notify
'/usr/bin/fo_notify %{*}'"
agent=selftest host=host1 | /usr/bin/ssh
fo...@clear6"/usr/lib/fossology/agents/selftest -s"
============================================
Matt Taggart sent me a good link to get me started - Thanks!, now I'm a bit
stuck to complete this...
-Regards,
FuRoSh...
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology