diff options
author | root | 2006-04-24 09:03:08 -0500 |
---|---|---|
committer | root | 2006-04-24 09:03:08 -0500 |
commit | 84d8b510ac289af0a43bfa9e110844af27a90196 (patch) | |
tree | d7093929b954dd2f71114bff270755e18f737eb1 /cluster/openmosixview |
initial commit from stable 0.3
Diffstat (limited to 'cluster/openmosixview')
-rwxr-xr-x | cluster/openmosixview/BUILD | 41 | ||||
-rwxr-xr-x | cluster/openmosixview/DEPENDS | 3 | ||||
-rwxr-xr-x | cluster/openmosixview/DETAILS | 24 | ||||
-rw-r--r-- | cluster/openmosixview/HISTORY | 46 | ||||
-rw-r--r-- | cluster/openmosixview/init.d/mosstatd.sh | 11 | ||||
-rw-r--r-- | cluster/openmosixview/init.d/openmosixcollector | 25 | ||||
-rw-r--r-- | cluster/openmosixview/services | 1 | ||||
-rw-r--r-- | cluster/openmosixview/xinetd.d/mosstatd | 12 |
8 files changed, 163 insertions, 0 deletions
diff --git a/cluster/openmosixview/BUILD b/cluster/openmosixview/BUILD new file mode 100755 index 0000000000..5a69724b22 --- /dev/null +++ b/cluster/openmosixview/BUILD @@ -0,0 +1,41 @@ +( +for i in $(grep -rl CFLAGS= .); +do sedit "s/CFLAGS\=-O2 -O0/& $CFLAGS /g" $i +done + prepare_install && +ln -sfn /lib/modules/$(uname -r)/build/include/hpc /usr/include && +export QTDIR=/usr && + ./setup && + cd 3dmon && + ./setup.standalone && +if [ -e /etc/init.d/mosstatd.sh ] +then rm -f /etc/init.d/mosstatd.sh +fi && +if [ -e /etc/init.d/openmosixcollector ] +then rm -f /etc/init.d/openmosixcollector +fi && + +echo "now type openmosixview <ENTER> and have fun!" +echo "(do not forget to copy the openmosixprocs binary to /usr/bin of each" +echo "your cluster-nodes e.g" +echo " rcp /usr/bin/openmosixprocs hostname_of_node:/usr/bin" +echo "or if you use SSH" +echo " scp /usr/bin/openmosixprocs hostname_of_node:/usr/bin" +echo "reply problems during installation to mosixview@t-online.de" +echo "Thanks" + +# /bin/cp -v openmosixcollector/openmosixcollector.init \ +# /etc/init.d/openmosixcollector.sh && +# for RUNLEVEL in 3 4 5 +# do +# ln -svf /etc/init.d/openmosixcollector.sh \ +# /etc/rc${RUNLEVEL}.d/S55openmosixcollector +# done +# +# for RUNLEVEL in 0 1 2 6 +# do +# ln -svf /etc/init.d/openmosixcollector.sh \ +# /etc/rc${RUNLEVEL}.d/K45openmosixcollector +# done + +) > $C_FIFO 2>&1 diff --git a/cluster/openmosixview/DEPENDS b/cluster/openmosixview/DEPENDS new file mode 100755 index 0000000000..ccc5584082 --- /dev/null +++ b/cluster/openmosixview/DEPENDS @@ -0,0 +1,3 @@ +depends GLUT && +depends openmosix-tools && +depends qt-x11 diff --git a/cluster/openmosixview/DETAILS b/cluster/openmosixview/DETAILS new file mode 100755 index 0000000000..d1def8e690 --- /dev/null +++ b/cluster/openmosixview/DETAILS @@ -0,0 +1,24 @@ + SPELL=openmosixview + VERSION=1.5 + SOURCE=${SPELL}-${VERSION}.tar.gz + MD5[0]=afaf21749123b9fd742541c59cd5d78f + LICENSE=GPL +SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION} + SOURCE_URL[0]=http://www.openmosixview.com/download/${SOURCE} + WEB_SITE=http://www.openmosixview.com + ENTERED=20030105 + UPDATED=20031006 + SHORT="GUI applications for monitoring and administrating openMosix" +cat << EOF +The openMosixview-suite contains 7 usefull applications for monitoring and +administrating an openMosix-cluster. + +* openMosixview -> the main monitoring+admistration application +* openMosixprocs -> a process-box for managing processes +* openMosixcollector -> collecting daemon which logs cluster+node informations +* openMosixanalyzer -> for analyzing the data collected by the openMosixcollector +* openMosixhistory -> a process-history for your cluster +* openMosixmigmon -> monitor & control process migrations in the cluster +* 3dmosmon -> a 3d view for monitoring your cluster +EOF + diff --git a/cluster/openmosixview/HISTORY b/cluster/openmosixview/HISTORY new file mode 100644 index 0000000000..0bd4023535 --- /dev/null +++ b/cluster/openmosixview/HISTORY @@ -0,0 +1,46 @@ +2003-12-14 hgg <hgreig@bigpond.net.au> + * BUILD: use /lib/modules/$(uname -r)/build for the kernel dir + +2003-10-27 Eric Sandall <eric@sandall.us> + * DEPENDS: Changed 'glut' to 'GLUT' + * HISTORY: Formatted to Guru Handbook + +2003-07-04 hgg <hgreig@bigpond.net.au> + * init.d/*Update to simpleinit + * BUILD: Fix bugs + * DEPENDS: add glut + +2003-07-04 hgg <hgreig@bigpond.net.au> + * DETAILS: Update to 1.5 disable runlevel install and make + link for openmosix includes + * BUILD: 3dmon is broken with gcc3.3 + +2003-04-08 M.L. <mlubrano@sourcemage.org> + * BUILD: Added $OPTS + +2003-03-31 Eric Sandall <eric@sandall.us> + * BUILD: Updated to use sorcery init.d installer + +2003-02-16 Eric Sandall <eric@sandall.us> + * Added to cluster + +2003-02-14 Richard Johns <johnsr1@lincoln.ac.nz> + * PRE_BUILD: fix to make 'collector' work from OMV GUI + +2003-02-13 Richard Johns <johnsr1@lincoln.ac.nz> + * BUILD ./configure --enable-mt + +2003-02-09 Richard Johns <johnsr1@lincoln.ac.nz> + * DETAILS: Update to openMosixview 1.4 + +2003-01-17 Chris Brien <christopher_brien@hotmail.com> + * Made the spell work better. + Moved the (enormous) patch to my webspace. + +2003-01-03 Richard Johns <johnsr1@lincoln.ac.nz> + * PRE_BUILD: to fix non working configure + * BUILD: if only I knew then what I know now + +2002-12-30 Richard Johns <johnsr1@lincoln.ac.nz> + * Created Spell + diff --git a/cluster/openmosixview/init.d/mosstatd.sh b/cluster/openmosixview/init.d/mosstatd.sh new file mode 100644 index 0000000000..1957f442fb --- /dev/null +++ b/cluster/openmosixview/init.d/mosstatd.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# mosstatd This shell script takes care of starting and stopping \ +# the mosstatd daemon. + + +PROGRAM=/usr/bin/mosstatd +RUNLEVEL=3 +NEEDS="+remote_fs +network +portmap openmosix" + +. /etc/init.d/smgl_init + diff --git a/cluster/openmosixview/init.d/openmosixcollector b/cluster/openmosixview/init.d/openmosixcollector new file mode 100644 index 0000000000..f8f45585c9 --- /dev/null +++ b/cluster/openmosixview/init.d/openmosixcollector @@ -0,0 +1,25 @@ +#!/bin/sh + +PROGRAM=/usr/bin/openmosixcollector +ARGS="" +RUNLEVEL=3 +NEEDS="+remote_fs +network +portmap mosstatd.sh" + +. /etc/init.d/smgl_init + +start() { +/usr/bin/openmosixcollector -d +evaluate_retval +} + +stop() { +/usr/bin/openmosixcollector -k +evaluate_retval +} + +status() { +/usr/bin/openmosixcollector -c +evaluate_retval +} + + diff --git a/cluster/openmosixview/services b/cluster/openmosixview/services new file mode 100644 index 0000000000..0857cb2d20 --- /dev/null +++ b/cluster/openmosixview/services @@ -0,0 +1 @@ +mosstatd 10050/tcp #openMosix/Mosix stat daemon diff --git a/cluster/openmosixview/xinetd.d/mosstatd b/cluster/openmosixview/xinetd.d/mosstatd new file mode 100644 index 0000000000..374eaec247 --- /dev/null +++ b/cluster/openmosixview/xinetd.d/mosstatd @@ -0,0 +1,12 @@ +service mosstatd +{ + socket_type = stream + wait = no + user = nobody + log_on_success += USERID + log_on_failure += USERID + server = /usr/bin/mosstatd +} + + + |