Installation > Installing on Linux > Configuring Harmony to Share Scene Data

Configuring Harmony to Share Scene Data

This section shows you how to share the Harmony scene data for different network configurations.

Exporting Harmony Directories for Mac OS X and Linux Clients
Configuring the Link Server
Configuring Samba

Exporting Harmony Directories for Mac OS X and Linux Clients

Before you can install Harmony on Linux clients, you must export the Toon Boom Harmony directories from the server. The NFS and NFS locking services must be running so that all machines can access the data directories you export.

Configuring the Link Server

If you are running Harmony in a mixed environment where the server is on CentOS Linux and some of the clients are running Windows, you must start the Link Server.This server makes it possible for Windows machines to communicate with the database.

Configuring Samba

Finally, modify the /etc/samba/smb.conf file. To do this, add entries for each database directory you want to share with Mac clients using Unicode or Windows clients in the /etc/samba/smb.conf file. Then, add options to the [global] section of the file.

Configuring the Samba Service to Start at Boot Time
Configuring the server.ini File
Rebooting
Configuring Harmony to Share Scene Data
Configuring Harmony to Share Scene Data

The following is an example of entries in the smb.conf file. You can add these to the end of the file.

[USA_DB]

comment = Toon Boom Harmony Database

browseable = yes

read only = no

guest ok = no

create mask = 0777

directory mask = 0777

path = /USA_DB

[usa]

comment = Toon Boom Harmony binaries & stuff

browseable = yes

read only = no

guest ok = no

create mask = 0777

directory mask = 0777

path = /usr/local/ToonBoomAnimation/harmony[edition]_12

[usadata000]

comment = Toon Boom Harmony data 000

browseable = yes

read only = no

guest ok = no

create mask = 0777

directory mask = 0777

path = /usadata000

[usadata001]

comment = Toon Boom Harmony data 001

browseable = yes

read only = no

guest ok = no

create mask = 0777

directory mask = 0777

path = /usadata001/

You must also add or modify the following entries to the [global] section of smb.conf:

[global]

encrypt passwords = yes

 

blocking locks = no

oplocks = no

level2 oplocks = no

 

follow symlinks = yes

unix extensions = no

wide links = yes

Once you have made all the changes and saved the smb.conf file, validate the file for internal correctness:

testparm

Configuring the Samba Service to Start at Boot Time

By default, Samba is not set up to run automatically.

Configuring the server.ini File

Before you install Harmony on Windows clients, you must create the
/usr/local/ToonBoomAnimation/harmony[edition]_12/etc/server.ini file on the database server. The server.ini file provides information necessary for the Windows Configuration Wizard to set up a Windows client.

When creating the server.ini file, pay attention to the spelling, character spacing and case.

The following is an example of the/usr/local/ToonBoomAnimation/harmony[edition]_12/etc/server.ini file. In this example, the database server name is harmonyserver and there are two usadata directories: usadata000 and usadata001.

[WizardConfig]

ServerName=harmonyserver

InstallationDrive=C

UsaShare=usa

UsadbDrive=C

UsadbShare=USA_DB

FileSystem0=C usadata000 harmonyserver

FileSystem1=C usadata001 harmonyserver

Do not worry about the references to Drive = C. They are necessary for Windows clients and will be ignored by Linux.

NOTE: You can find the example of server.ini under /usr/local/ToonBoomAnimation/harmony[edition]_12/resources/samples. You can copy and paste it from there and change it accordingly. Any sharing folder name should be case sensitive.
Rebooting

At this point, you should reboot the Toon Boom Harmony server to verify that all the Harmony services are properly configured to start automatically.