Welcome, Guest. Please Login or Register
Home Help Search Login Register
Page Index Toggle Pages: 1
Send Topic Print
sIBL in a Network Environment (Read 2101 times)
Wolfgang Haak
Ex Member


sIBL in a Network Environment
02/06/14 at 12:51:45
 
Hi,
I'm looking for a way to rool out my PC installed sIBL collection across my company.
So what I'm wondering is what are the options regarding distributing my db to multiple computers, as so far I'm the only one using it.

What is the db file(s) for the sIBL application, and can I move the location to a network drive and point other installations to it?

Or do I need to copy my file somewhere from where "clean/empty" installs can copy/replace theirs with?

regards,
Wolfgang
Back to top
 
 
IP Logged
 
Blochi
Administrator
*****
Offline



Posts: 1726
Hollywood
Re: sIBL in a Network Environment
Reply #1 - 02/09/14 at 09:18:48
 
Hi Wolfgang,

Yes, that is possible. We have such a setup in our company. Shared network database, with me as the lord of the library and artists in read-only mode.

From the sibl-GUI documentation (http://www.hdrlabs.com/sibl/docs/sibl-gui_manual.php)


Shared Database Configuration
If you want to share the same Database between multiple installed versions of sIBL_GUI there are 2 solutions:

Dirty Method

Copy the Database file sIBL_Database.sqlite on every machine that have sIBL_GUI installed.

The file is located in one of those directory depending your OS:

Code:
C:\Users\$USER\AppData\Roaming\HDRLabs\sIBL_GUI\$MAJOR_VERSION.$MINOR_VERSION\database\ on Windows 7
C:\Documents and Settings\$USER\Application Data\HDRLabs\sIBL_GUI\$MAJOR_VERSION.$MINOR_VERSION\database\ on Windows XP
/Users/$USER/Library/Preferences/HDRLabs/sIBL_GUI/$MAJOR_VERSION.$MINOR_VERSION/database/ on Mac Os X
/home/$USER/.HDRLabs/sIBL_GUI/$MAJOR_VERSION.$MINOR_VERSION/database/ on Linux 



Recommended Method


It’s possible to share one Database file between multiple sIBL_GUI install. In order to do that you need to start sIBL_GUI with some command line parameters:

-d DATABASEDIRECTORY, —databaseDirectory=DATABASEDIRECTORY: This one is mandatory for what you want to do, it will tell sIBL_GUI to store / use the database on the provided path.
-r, —databaseReadOnly: This one is optional, but HIGHLY recommended: It will hide / unexpose from the UI all methods that can write to the Database. That’s something important because the last thing you want is someone screwing the whole database by doing a mistake.

Example Command Line:


Code:
C:\\HDRLabs\\sIBL_GUI\\sIBL_GUI.exe -d “Z:/sIBL_Database/” -r
 



When the Database is read only, the automatic scanner adding new IBL Sets is deactivated meaning that newly IBL Sets dropped into your library directory won’t be added automatically.

It’s a good idea to put the Database with a real file system write lock in case someone launch a sIBL_GUI instance without the command line arguments.

That way you can have artists using the Database a supervisor has defined, and even using different Databases depending on their current production.
Back to top
 
WWW  
IP Logged
 
Rork
Ex Member


Re: sIBL in a Network Environment
Reply #2 - 02/10/14 at 16:27:16
 
Another one:

Have the whole install moved to the network, and create/add the database.

You can make the app and database folders read-only, so no-one can tinker with the files.

On all pc's a shortcut is enough to run.
If you run Softimage, you can add the server plugin into a workgroup, so every Softimage install will 'see' the sIBL_GUI menu options.
For Maya just add the plugin files.

rob
Back to top
 
 
IP Logged
 
Wolfgang Haak
Ex Member


Re: sIBL in a Network Environment
Reply #3 - 02/12/14 at 16:11:48
 
Blochi, Rork,

Thanks for the solution! It's always the hidden command line tools, isn't it?
Even in the 21st century we ought to say:

Quote:
"The command line is mightier than the GUI."


I'll have a read of the link and start playing around!

Great work, Thanks,
Wolfgang
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print