QT > 2.3.0 root rights ! rlogin and rsh (or ssh) to all cluster-nodes without password the MOSIX-tools mosctl, migrate, runon, iojob, cpujob ... (included in every MOSIX distribution)
There is a full HTML-documentation on MOSIXVIEW included in every package (>=0.9). You find the startpage of the documentation in your MOSIXVIEW installation directory in the following path: mosixview/mosixview/docs/en/index.html The RPM-packages have their installation directories in /usr/local/mosixview
Download the latest version of MOSIXVIEW rpm-package for your linux-distribution Then just execute e.g.:
rpm -i mosixview-1.0.suse72.rpmThis will install the all binaries in /usr/bin To uninstall:
rpm -e mosixviewInstallation of the source-distribution Download the latest version of MOSIXVIEW and unzip+untar the sources and copy the tarball to e.g. /usr/local/.
gunzip mosixview-1.0.tar.gz tar -xvf mosixview-1.0.tarAutomatic setup-script Just cd to the mosixview-directory and execute
./setup [your_qt_2.3.x_installation_directory]Manual compiling Set the QTDIR-Variable to your actual QT-Distribution, e.g.
export QTDIR=/usr/lib/qt-2.3.0 (for bash) or setenv QTDIR /usr/lib/qt-2.3.0 (for csh)Hints : (from the testers of mosixview who compiled it on different linux-distributions, thanks again) Create the link /usr/lib/qt pointing to your QT-2.3.x installation e.g. if QT-2.3.x is installed in /usr/local/qt-2.3.0
ln -s /usr/local/qt-2.3.0 /usr/lib/qtThen you have to set the QTDIR environment variable to
export QTDIR=/usr/lib/qt (for bash) or setenv QTDIR /usr/lib/qt (for csh)There is no need to "make clean" and delete config.cache and Makefile because all versions >= 0.6 are already contains "cleaned" source-code. That means there are no precompiled binaries any more and (maybe) less problems to compile by yourself! // (If compiling fails because of not finding qwidget.h, qobject.h or any other header files you have to delete the files config.cache and Makefile and then configure+make. (happens on my Red Hat-Cluster)) // After that the rest should work fine:
./configure makethen do the same in the subdirectory mosixcollector, mosixload and mosixview_client.
cd mosixcollector ./configure make cd .. cd mosixload ./configure make cd .. cd mosixmem ./configure make cd .. cd mosixhistory ./configure make cd .. cd mosixview_client ./configure make cd ..Copy all binaries to /usr/bin
cp mosixview/mosixview /usr/bin cp mosixview_client/mosixview_client/mosixview_client /usr/bin cp mosixcollector/mosixcollector_daily_restart /usr/bin cp mosixcollector/mosixcollector/mosixcollector /usr/bin cp mosixload/mosixload/mosixload /usr/bin cp mosixload/mosixload/mosixmem /usr/bin cp mosixload/mosixload/mosixhistory /usr/binAnd the mosixcollector init-script to your init-directory e.g.
cp mosixcollector/mosixcollector.init /etc/init.d/mosixcollector or cp mosixcollector/mosixcollector.init /etc/rc.d/init.d/mosixcollectorNow copy the mosixview_client binary on each of your cluster-nodes to /usr/bin/mosixview_client
rcp mosixview_client/mosixview_client your_node:/usr/bin/mosixview_clientYou can now execute mosixview (cd .. to quit the subdirectory mosixview_client)
./mosixview/mosixview(do not use the & to force mosixview in the background!) If the "make install" fails just copy the mosixview binary wherever you want or create a symbolic link from /usr/bin/install (or wherever install is) to /usr/bin/ginstall and "make install" again.
This picture shows the main application-window of MOSIXVIEW. The function will be explained in the following HOWTO. (Click to enlarge)

This dialog will pop-up if an "cluster-node"-button is clicked. If your all cluster-members have DNS-hostnames the "nslookup"-option in the main-window can set to "enabled". The hostname and the ip-address will be shown, otherwise only the MOSIX-name will be displayed. The MOSIX-configuration of each host can be changed easily now. All commands will be executed per "rsh" or "ssh" on the remote hosts (even on the local node) so "root" has to "rsh" (or "ssh") to each host in the cluster without prompting for a password (it is well described in a Beowulf documentation or on the HOWTO on this page how to configure it). The commands are:
automigration on/off quiet yes/no bring/lstay yes/no exspel yes/no mosix start/stop

This dialog will pop-up if process from the process-box is clicked.

This dialog will pop-up if the "manage procs from remote"-button beneath the process-box is clicked This Tab-View displays processes that are migrated to the local host. The procs are coming from other nodes in your cluster and currently computed on the host mosixview is started on. Similar to the two buttons in the migrator-window the process is send home by the "goto home node"-button and send to the best available node by the "goto best node"-button.

If you want to start jobs on your cluster the "advanced execution"-dialog may help you.

-no migrationstart a local job which won't migrate -run homestart a local job -run onstart a job on the node you can choose with the "host-chooser" -cpu jobstart a computation intensive job on a node (host-chooser) -io jobstart a io intensive job on a node (host-chooser) -no decaystart a job with no decay (host-chooser) -slow decaystart a job with slow decay (host-chooser) -fast decaystart a job with fast decay (host-chooser) -parallelstart a job parallel on some or all node (special host-chooser)
For all jobs you start non-local simple choose a host with the dial-widget. The MOSIX-id of the node is also displayed by a lcd-number. Then click execute to start the job. the parallel host-chooser You can set the first and last node with 2 spinboxes. Then the command will be executed an all nodes from the first node to the last node. You can also inverse this option.
This process-box is really useful for managing the processes running on your cluster. (MOSIXVIEW-client and the "local proc-box" are the same; you should install it on every cluster-node)

The MOSIXCOLLECTOR is a daemon which should/could be started on one cluster-member. It logs the MOSIX-load of each node to the directory /tmp/mosixview/* These history log-files analyzed by MOSIXLOAD, MOSIXMEM and MOSIXHISTORY (as described later) gives an nonstop overview of the load, memory and processes in your cluster. There is one main log-file called /tmp/mosixview/mosix.load. Additional to this there are additional files in this directory to which the data is written. At startup MOSIXCOLLECTOR writes its PID (process id) to /tmp/mosixcollector.pid. It won't start if this file exist! The MOSIXCOLLECTOR-daemon restarts once a day (depending on when started) and saves the current history to /tmp/mosixview[date]/* These backups are done automatically but you can also trigger this manual. There is an option to write a checkpoint to the history. These checkpoints are graphically marked as a blue vertical line if you analyze the history log-files with MOSIXLOAD or MOSIXMEM. For example you can set a checkpoint when you start a job on your cluster and another one at the end.. Here is the explanation of the possible commandline-arguments:
mosixcollector -d//starts the collector as a daemon mosixcollector -k//stops the collector mosixcollector -c//stops the collector and deletes the history-files mosixcollector -n//writes a checkpoint to the history mosixcollector -r//saves the current history and starts a new one mosixcollector -help//print out a short help mosixcollector -h//print out a short helpYou can start this daemon with its init-script in /etc/init.d or /etc/rc.d/init.d. You just have to create a symbolic link to one of the runlevels for automatic startup. How to analyze the created logfiles is described in the following MOSIXLOAD-section.
This picture shows the graphical Log-Analyzer MOSIXLOAD

This picture shows the graphical Log-Analyzer MOSIXMEM

/proc/mosix/nodes/[mosix ID]/mem. /proc/mosix/nodes/[mosix ID]/rmem. /proc/mosix/nodes/[mosix ID]/tmem.The X-button of each nodes calculates the nodes average MOSIX-mem. Clicking it will open a small new window in which you get the average mem-value. If there are checkpoints written to the load-history by the MOSIXCOLLECTOR they are displayed as a vertical blue line. You now can compare the load values at a certain moment much easier.
MOSIXHISTORY displays the processlist from the past MOSIXHISTORY gives a detailed overview which process was running on which node. The MOSIXCOLLECTOR saves the processlist from the host the collector was started on every minute and you can browse this log-data with MOSIXHISTORY. You can easy change the browsing time in MOSIXHISTORY by the time-slider. The rest is nearly similar to MOSIXLOAD and MOSIXMEM. MOSIXHISTORY can analyze the current "online" logfiles but you can also open older backups of your MOSIXCOLLECTOR history logs by the filemenu. The logfiles are placed in /tmp/mosixview/* (the backups in /tmp/mosixview[date]/*) and you have to open only the main history file "mosix.load" to take a look at older load-informations. (the [date] in the backup directories for the log-files is the date the history is saved) The start time is displayed on the top/left and you have a full-day view in MOSIXHISTORY (24 h).
