Setting Up the Database Server on Linux
After installation, set up the database configuration for computers running Harmony.
The Dbserver controls all interactions with the contents of the Toon Boom Harmony database. It processes all requests to open, read or update files, keeping track of locked files so they cannot be edited by anyone.
When installing Harmony on the server for the first time, the Harmony database folder is created automatically. Verify that the folder was created correctly. Look for the USA_DB
folder in the root folder /USA_DB
. If you do not see the folder, then create it using the create_usa_db
script:
/usr/local/ToonBoomAnimation/harmony[edition]_14/lnx86_64/bin/create_usa_db /USA_DB
Next, create and edit the Dbserver.conf
file to set up the Dbserver. Then run a script to start it.
- Using a text editor, create the
Dbserver.conf
file in/USA_DB/
.
- Type the following in the
Dbserver.conf
file:
Assuming the machine name of the Dbserver is harmonyserver
, the lines in Dbserver.conf
would look like this:
hostname harmonyserver
port 5678
debug_port 5680
Dbserver.conf
in /usr/local/ToonBoomAnimation/harmony[edition]_14/resources/samples
. You can copy and paste it from there and change it accordingly.- Save and close the
Dbserver.conf
file.
- Change the permissions on the
Dbserver.conf
file to 644.
chmod 644 Dbserver.conf
- Start the Dbserver service.
/sbin/service USAnimation_dbserver start
A message appears in the shell indicating that the script was successful. A log file is generated in /tmp/tbdbserver.log
.
- Verify the log file to ensure there are no errors written to the log.