433 lines
8.8 KiB
HTML
433 lines
8.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>using openMosixview</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="The openMosix HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="openMosixview"
|
|
HREF="openmosixview.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Installation"
|
|
HREF="x946.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="openMosixprocs"
|
|
HREF="x1060.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>The openMosix HOWTO: </TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x946.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 10. openMosixview</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x1060.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN982"
|
|
></A
|
|
>10.4. using openMosixview</H1
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN984"
|
|
></A
|
|
>10.4.1. main application</H2
|
|
><P
|
|
> Here is a picture of the main application-window.
|
|
The functionality is explained in the following. </P
|
|
><DIV
|
|
CLASS="MEDIAOBJECT"
|
|
><P
|
|
><IMG
|
|
SRC="omview1.gif"></P
|
|
></DIV
|
|
><P
|
|
> openMosixview displays a row with a lamp, a button, a slider, a lcd-number,
|
|
two progress-bars and some labels for each cluster-member.
|
|
The lights at the left are displaying the openMosix-Id and the status
|
|
of the cluster-node. Red if down, green for available. </P
|
|
><P
|
|
> If you click on a button displaying the ip-address of one node a configuration-dialog
|
|
will pop up. It shows buttons to execute the most common used "mosctl"-commands.
|
|
(described later in this HOWTO)
|
|
With the "speed-sliders" you can set the openMosix-speed for each host. The current speed
|
|
is displayed by the lcd-number. </P
|
|
><P
|
|
> You can influence the load-balancing of the whole cluster by changing these values.
|
|
Processes in a openMosix-Cluster are migrating easier to a node with more openMosix-speed
|
|
than to nodes with less speed. Sure it is not the physically speed you can set but it is the
|
|
speed openMosix "thinks" a node has.
|
|
e.g. a cpu-intensive job on a cluster-node which speed is set to the lowest value of the
|
|
whole cluster will search for a better processor for running on and migrate
|
|
away easily. </P
|
|
><P
|
|
> The progress bars in the middle gives an overview of the load on each cluster-member.
|
|
It displays in percent so it does not represent exactly the load written to the
|
|
file /proc/hpc/nodes/x/load (by openMosix), but it should give an overview. </P
|
|
><P
|
|
> The next progressbar is for the used memory the nodes.
|
|
It shows the currently used memory in percent from the available memory on the hosts
|
|
(the label to the right displays the available mem).
|
|
How many CPUs your cluster have is written in the box to the right.
|
|
The first line of the main windows contains a configuration button for "all-nodes".
|
|
You can configure all nodes in your cluster similar by this option. </P
|
|
><P
|
|
> How good the load-balancing works is displayed by the progressbar in the top left.
|
|
100% is very good and means that all nodes nearly have the same load. </P
|
|
><P
|
|
> Use the collector- and analyzer-menu to manage the openMosixcollector and
|
|
open the openMosixanalyzer. This two parts of the openMosixview-application suite
|
|
are useful for getting an overview of your cluster during a longer period. </P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN999"
|
|
></A
|
|
>10.4.2. the configuration-window</H2
|
|
><P
|
|
> This dialog will
|
|
pop up if
|
|
an "cluster-node"-button is clicked. </P
|
|
><DIV
|
|
CLASS="MEDIAOBJECT"
|
|
><P
|
|
><IMG
|
|
SRC="omview2.gif"></P
|
|
></DIV
|
|
><P
|
|
> The openMosix-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). </P
|
|
><P
|
|
>
|
|
|
|
|
|
|
|
The commands are:
|
|
<TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
> automigration on/off
|
|
quiet yes/no
|
|
bring/lstay yes/no
|
|
exspel yes/no
|
|
openMosix start/stop </PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
|
|
If openMosixprocs is properly installed on the remote cluster-nodes
|
|
click the "remote proc-box"-button to open openMosixprocs (proc-box) from remote.
|
|
xhost +hostname will be set and the display will point to your localhost.
|
|
The client is executed on the remote also per "rsh" or "ssh".
|
|
(the binary openmosixprocs must be copied to e.g. /usr/bin on each host of the cluster)
|
|
openMosixprocs is a process-box for managing your programs.
|
|
It is useful to manage programs started and running local on the remote nodes
|
|
and is described later in this HOWTO. </P
|
|
><P
|
|
> If you are logged on your cluster from a remote workstation insert your local hostname
|
|
in the edit-box below the "remote proc-box". Then openMosixprocs will be displayed
|
|
on your workstation and not on the cluster-member you are logged on.
|
|
(maybe you have to set "xhost +clusternode" on your workstation).
|
|
There is a history in the combo-box so you have to write the hostname only once. </P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1011"
|
|
></A
|
|
>10.4.3. advanced-execution</H2
|
|
><P
|
|
> If you want to start jobs on your
|
|
cluster the "advanced execution"-dialog may help you. </P
|
|
><DIV
|
|
CLASS="MEDIAOBJECT"
|
|
><P
|
|
><IMG
|
|
SRC="omview3.gif"></P
|
|
></DIV
|
|
><P
|
|
> Choose a program to start with the "run-prog" button (file-open-icon) and you can specify
|
|
how and where the job is started by this execution-dialog. There are several options to explain. </P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1020"
|
|
></A
|
|
>10.4.4. the command-line</H2
|
|
><P
|
|
> You can specify additional commandline-arguments in the lineedit-widget on top of the window. </P
|
|
><DIV
|
|
CLASS="TABLE"
|
|
><A
|
|
NAME="AEN1023"
|
|
></A
|
|
><P
|
|
><B
|
|
>Table 10-1. how to start</B
|
|
></P
|
|
><TABLE
|
|
BORDER="1"
|
|
CLASS="CALSTABLE"
|
|
><TBODY
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
>-no migration</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a local job which won't migrate </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> -run home </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a local job </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> -run on</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a job on the node you can choose with the
|
|
"host-chooser" </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
>-cpu job </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a computation intensive job on a node
|
|
(host-chooser) </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
>-io job </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a io intensive job on a node
|
|
(host-chooser) </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
>-no decay </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a job with no decay (host-chooser) </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
>-slow decay </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a job with slow decay (host-chooser) </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
>-fast decay </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a job with fast decay (host-chooser) </TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
>-parallel </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
> start a job parallel on some or all node
|
|
(special host-chooser) </TD
|
|
></TR
|
|
></TBODY
|
|
></TABLE
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1054"
|
|
></A
|
|
>10.4.5. the host-chooser</H2
|
|
><P
|
|
>For all jobs you start non-local simple choose a host with the dial-widget.
|
|
The openMosix-id of the node is also displayed by a lcd-number. Then click execute to start the job. </P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1057"
|
|
></A
|
|
>10.4.6. the parallel host-chooser</H2
|
|
><P
|
|
>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. </P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x946.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x1060.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Installation</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="openmosixview.html"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>openMosixprocs</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |