PDA

View Full Version : Automatically set Cluster Master Settings


pcatalano
01-28-2011, 08:22 AM
Hello,

We are using Vizard in a small cluster/cave setup. Is it possible to set the Vizard Cluster Master settings in code or in a config? It can be tedious to have to enable the clients from the list (or change other options like port, synchronize, etc.) every time I log in. It looks like there are some options to do this using setoption but they don't seem to work for me.

farshizzo
01-28-2011, 08:51 AM
You can use the viz.cluster.master.* settings to setup a cluster without using the cluster master application. However, you must specify these settings in you vizcore.cfg file. Since clustering needs to be initialized before your script is executed, using viz.setOption will not work with these settings.

The vizcore.cfg file can either be placed in the Vizard/bin folder, where it will be used by all scripts that are executed on your machine. Alternatively, you can place it in the same directory as your script, but it will only be used by scripts that are executed from that same directory.

pcatalano
01-28-2011, 01:09 PM
Of course, that make sense. Thanks, worked like a charm!