Menu

new release 1.1.0

It is now possible to connect to the already running cluster, without having to go through the wizards using only command line options. As you will see later it allows applets to be configured on the server or cloud if you wish, instead of locally on every computer. This new feature is really worth it. But first the options:

lcmc -h 192.168.122.2 192.168.122.3

would quickly connect you to the cluster with the specified hosts.

lcmc --cluster alice-bob --host alice --host bob

would define a cluster with name alice-bob and hosts alice and bob. Now
careful, alice and bob would have to be resolvable. You may want to use
ips:

lcmc --cluster alice-bob --host 192.168.122.2 --host 192.168.122.3

You can also just say
lcmc --host 192.168.122.2 --host 192.168.122.3

or in the most minimalistic form:

lcmc -h 192.168.122.2 192.168.122.3

and cluster name would be "default", with one cluster it doesn't matter.

Of course you can have as many hosts and clusters as you wish.
lcmc --cluster .. --host .. --host .. --host .. --cluster .. --host ...

Or just one one node "cluster" for using KVM gui without a cluster.

lcmc --host localhost

If you are sudo fan, you can use the sudo option:
lcmc --cluster alice-bob --host 192.168.122.2 --sudo \ --host 192.168.122.3 --sudo

which is equivalent to:
lcmc -c alice-bob -h 192.168.122.2 192.168.122.3 --sudo

the user would be your system user, unless overridden with --user option
for example ... --sudo --user rasto ...

There's also --port option for ssh on irregular port, I think that's
about it.

And now the best part, all this options can be passed as applet
parameters, so you can define it in HTML file, and all applet users will
have this configuration, without having to go through the wizard, or
copying the config file.

Example snippet:

<html>
<applet archive="LCMC-applet.jar"
code="lcmc.LCMCApplet"
name=LCMCApplet
height="100%"
width="100%"
vspace=0
hspace=0>
<param name="params" value="-c cluster-name -h 192.168.1.2 192.168.1.3"/>
</applet>
</html>

Other than that there's new shiny Windows installer to bring Linux
clustering to your Windows workstation, all you have to do is mount the
image with daemon tools copy the content of the crack directory and
reboot, oh wait no, you just run the setup program and follow the
instructions. :) If you ask yourself if it works with Wine, yes it does.

Posted by Rasto Levrinc 2011-11-21

Log in to post a comment.