WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Automatically set Cluster Master Settings (https://forum.worldviz.com/showthread.php?t=3396)

pcatalano 01-28-2011 08:22 AM

Automatically set Cluster Master Settings
 
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

Worked, thanks!
 
Of course, that make sense. Thanks, worked like a charm!


All times are GMT -7. The time now is 12:43 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC