Chapter 15: Installing Harmony Cloud on Linux

Before installing Harmony Cloud, add the following to the options list:

Option

Default Value

Details

-cloudserver

-c

 

Inactive

Installs Harmony Cloud as a service. This parameter is required if this machine is the Harmony Cloud web server.

Configuring the Licensing

Setting Up in a Non-Gui Environment

Configuring Toon Boom Harmony Cloud

Running Harmony Cloud as a Service

After installing Harmony Cloud, you will need to start the service.

Customizing the Harmony Cloud Service

You have the ability to customize the Harmony Cloud service. This can be done using your favorite text editor. 

Running Harmony Cloud Manually

If you do not want to run Harmony Cloud as a service, you can manually start the Harmony Cloud server.

1. Using the Terminal, navigate to:

/usr/local/ToonBoomAnimation/harmony_11.2/lnx86_64/bin

2. Run the following:

./HarmonyCloud.sh

You can change the default port used by Harmony Cloud by modifying the HarmonyCloud.sh. Open the file using a text editor and update the value of the parameter –http-port to the desired value. See the following text:

./HarmonyCloud --docroot ../../resources/cloud --http-address 0.0.0.0 --http-port 8080 --config ../../resources/cloud/wt_config.xml

The above parameters can be customized—see Customizing the Harmony Cloud Service .

Managing the Harmony Cloud Service

If at any point, you need to start/stop or restart the Harmony Cloud server. You can do so through the /sbin/service in Linux.

To start the service

/sbin/service USAnimation_harmony_cloud start

To stop the service

/sbin/service USAnimation_harmony_cloud stop

To restart the service

/sbin/service USAnimation_harmony_cloud restart

Alternatively, you can start or stop all Harmony Services with the following commands:

To start all services

/usr/local/ToonBoomAnimation/harmony_11.2/lnx86_64/bin/Startus

To stop all services

/usr/local/ToonBoomAnimation/harmony_11.2/lnx86_64/bin/Stopus

Network Setup

Setting Up a Static IP

How to set up a static IP for Red Hat, Fedora or CentOS

1. Edit the file /etc/sysconfig/network:

/etc/sysconfig/network

2. Configure the file as follows; replacing the bolded text with your values:

NETWORKING=yes

HOSTNAME=cloud.toonboom.com

3. Depending on your network card, open the configuration file. For example, if you are using eth0, then you would edit the file /etc/sysconfig/network-scripts/ifcfg-eth0.

/etc/sysconfig/network-scripts/ifcfg-eth0

4. Configure the file as follows, replacing the bolded text with your values:

DEVICE=eth0

BOOTPROTO=static

IPADDR=174.142.76.72

NETMASK=255.255.240.0

GATEWAY=10.120.0.254

ONBOOT=yes

 
5. Edit the following file:

/etc/resolv.conf

6. Configure the file as follows, replacing the bolded text with your values:

search toonboom.com

nameserver 10.120.0.1

7. Restart the network service:

/etc/init.d/network restart

Opening a Port for External Connection

It is necessary to open a port in your firewall to allow other computers to access your Harmony Cloud server. Harmony Cloud is using port 8080 by default.