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.
- To share files with other Linux machines, start the NFS service:
/etc/init.d/nfs restart
/sbin/chkconfig nfs on
- The NFS lock manager must run on all Linux stations on your network. Without this service, users cannot access the database without receiving numerous "read lock" error messages.
/etc/init.d/nfslock restart
/sbin/chkconfig nfslock on
Now you are ready to export the Toon Boom Harmony directory.
- Use a text editor to edit the
/etc/exports
file. Add the names/USA_DB
,/usadata000
and/usr/local/ToonBoomAnimation/harmony[edition]_12
directories to the file:
/USA_DB *(rw,sync)
/usadata000 *(rw,sync)
/usr/local/ToonBoomAnimation/harmony[edition]_12 *(rw,sync)
- Run the export command to finalize the exports:
/usr/sbin/exportfs -r
- Verify what is being exported from the server:
/usr/sbin/showmount --exports
A report appears listing all the shares exported from the server.
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.
- Use a text editor to create the
Link_srv.conf
file in the/USA_DB
directory. This file must contain the following:
hostname harmonyserver
port 5679
Replace harmonyserver with the name of the database server. You can find the name of a computer by using the uname -n
command.
Link_srv.conf
under /usr/local/ToonBoomAnimation/harmony[edition]_12/resources/samples/
. Copy and paste it from there and change it accordingly.- Change the permissions on the
Dbserver.conf
file to644
.
chmod 644 Link_srv.conf
- Start the Link Server.
/etc/init.d/USAnimation_link_srv start
A message appears in the shell indicating that the script was successful. A log file is generated in /tmp/Link_srv.log
.
- Verify this log to ensure there are no errors written to it.
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.
- Configure Samba to run as a service at boot time:
/sbin/chkconfig smb on
- Start the Samba service:
/sbin/service smb start
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.
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.