|Controlling Your Cluster|
|Written by Administrator|
|Thursday, 21 July 2011 01:05|
The openMosix team have provided a number of ways of controlling your cluster, both from the command line, as well as through GUI based tools in X.
From the command line, the main monitoring and control tools are:
From the GUI, you can just start 'openmosixview'. This allows you to view and manage all the nodes in your cluster. It also shows you the load balancing efficiency of the cluster in near-real-time. You can also see what is the total speed and RAM that your cluster is providing you:
We should note that all cluster nodes that are online are represented with the green colour, while all offline cluster with the red colour.
One of the neatest things about 'openmosixview' is the GUI for controlling process migration.
It depicts your current node at the center, and other nodes in the cluster around it. The ring around your node represents the processes running on your local box. If you hover over any of them you can see the process name and PID. Whenever one of your processes migrates to another node, you will see it detach and appear on a new node with a line linking it to your system!
You can also manually control the migration. You can drag and drop your processes onto other nodes, even selecting multiple processes and then dragging them to another node is easy. If you double click on a process running on a remote node, it will come back home and execute locally.
You can also open the openMosix process monitor which shows you which process is running on which node.
There is also a history analyzer to show you the load over a period of time. This allows you to see how your cluster was being used at any given point in time:
As you can see, the GUI tools are very powerful, they provide you with a large amount of the functionality that the command line tools do. If, however, you want to make your own scripts, the command line tools are much more versatile. Managing a cluster can be a lot of fun, modify the options and play around with the GUI to tweak and optimize your raw processing power!!
|Last Updated on Thursday, 26 April 2012 00:27|