Bright:GUI

From Define Wiki
Revision as of 09:01, 31 October 2014 by Chenhui (talk | contribs) (Created page with "= Cluster Management GUI = This section introduces the basics of the cluster management GUI(''cmgui'').It can be run from the head node or on a login node of the cluster usin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cluster Management GUI

This section introduces the basics of the cluster management GUI(cmgui).It can be run from the head node or on a login node of the cluster using X11-forwarding. E.g.: user@desktop:~> ssh -X root@mycluster cmgui

Installing Cluster Management GUI on Desktop

To install cmgui on a desktop computer a Firefox browser, version 10 or greater, must first be installed onto the operating system. The cmgui installation package corresponding to the CMDaemon version must then be downloaded to the desktop.

Installation packages are available for Linux, for Windows XP/Vista/Windows 7/Windows 8, and for Mac OS.

The installation package can be placed in a convenient and appropriately accessible location on the desktop.

On the Mac OS desktop, cmgui is installed from the Mac OS pkg file by clicking on it and following the installation procedure. The cmgui front end is then run by clicking on the cmgui icon.

On the MS Windows desktop, cmgui is installed from an .exe installer file by running it and following the installation procedure. After the installation, cmgui is started through the Start menu or through the desktop shortcut.

For Linux, the installation of a 64-bit Firefox browser on the desktop, and not a 32-bit version, is mandatory, before cmgui is installed. The version of Firefox on the desktop can be checked and replaced if necessary. The check can be done similarly to the following (some output elided):

root@work: ̃# file /usr/bin/firefox

/usr/bin/firefox: ELF 32-bit LSB executable, Intel 80386,...

root@work: ̃# apt-get install firefox:amd64

...

root@work: ̃# exit

Then for Linux desktop, cmgui could be installed and run by:

  • copying over the .tar.bz2 file
  • untarring the .tar.bz2 file
  • running cmgui from inside the directory that the untar process created

The install and run procedure may look similar to:

me@work: ̃$ scp root@bright70:/cm/shared/apps/cmgui/dist/\

cmgui.7.0.r4557.tar.bz2 .

...

me@work: ̃$ tar -xjf cmgui.7.0.r4557.tar.bz2

...

me@work: ̃/cmgui-7.0-r4557$ ./cmgui

To configure cmgui for connections to a new Bright Cluster Manager cluster, the cluster is added to cmgui by clicking the + button in the welcome screen. More clusters can be added within cmgui as needed.

Advanced cmgui Features

Within cmgui the right mouse button often brings up convenient options. Two of these are labor-saving options that synchronized properties within resource items.

Synchronize Values To Other Items In Current Resource

"Synchronize values to other <items in current resource>" is a menu option that synchronizes the properties of the item that is currently selected to other items within the same resource. Some examples:

  1. Synchronize values to other fsmounts: Within the current category of Node Categories, for a mount point within the FS Mounts tab, synchronize the mount point values for the selected mount point to other mount points under the same FS Mounts tab.
  2. Synchronize values to other network interfaces: Synchronize network interface values of the selected network interface to other network interfaces, within the Network Setup tab.
    1. For a head node, this is done within the selected head node in the Head Nodes resource.
    2. For a regular node, this is done within the selected node in the Nodes resource.
  3. Synchronize values to other physicalnodes: For the selected node in the Nodes resource, synchronize the values of the node to other nodes.

Item 2b can be regarded as a subset of item 3. Item 3 in the list is a good example to elaborate upon, to illustrate what is meant: Within the Nodes resource in the resources menu, right-clicking on a node item brings up a menu (Figure 1),

Error creating thumbnail: File missing
Fig 1: Right Click Menu Options

Selecting Synchronize Values to other physicalnodes brings up a Clone Wizard. The wizard helps the administrator choose the node property values to be synchronized, and also to decide to which of the other nodes in the Nodes resource these property values are to be synchronized to.