Configuration examples for distributed mode installation on Linux
Overview
The following section provides some examples of how to configure each variable in the configuration.conf file for different distributed installation scenarios and which installation command to run on a particular machine:
Scenario A
imaging-services, imaging-viewer, dashboards and analysis-node components each on dedicated machines (machines 1, 2, 3 and 4) and an additional analysis-node component to load balance (machine 5):

Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=machine2.corp.domain.com
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=machine3.corp.domain.com
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=machine4.corp.domain.com
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/cast (note that /opt/cast/shared must be shared with and accessible to all other analysis-node components)Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=machine5.corp.domain.com
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/cast (note that /opt/cast/shared must be shared with and accessible to all other analysis-node components)Scenario B
imaging-services, imaging-viewer and dashboards components on machine 1 and two analysis-node components to load balance, each on dedicated machines (machine 2 and machine 3):

Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=machine1.corp.domain.com
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=machine1.corp.domain.com
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=machine2.corp.domain.com
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/cast (note that /opt/cast/shared must be shared with and accessible to all other analysis-node components)Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=machine3.corp.domain.com
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/cast (note that /opt/cast/shared must be shared with and accessible to all other analysis-node components)Scenario C
imaging-services and imaging-viewer components on machine 1, dashboards component on machine 2 and one analysis-node component on machine 3:

Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=machine1.corp.domain.com
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=machine2.corp.domain.com
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=machine3.corp.domain.com
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/cast (/opt/cast/shared DOES NOT need to be shared)Scenario D
imaging-services and dashboards components on machine 1 and the imaging-viewer component and one analysis-node component on machine 2:

Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=machine1.corp.domain.com
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=machine2.corp.domain.com
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=machine2.corp.domain.com
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/cast (/opt/cast/shared DOES NOT need to be shared)Scenario E
imaging-services, analysis-node and dashboards components on machine 1 and the imaging-viewer component on machine 2:

Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=machine1.corp.domain.com
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/cast (/opt/cast/shared DOES NOT need to be shared)Install command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=machine1.corp.domain.com
INSTALL_DIR=/opt/cast (/opt/cast/shared DOES NOT need to be shared)Install command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=machine2-viewer.corp.domain.com
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castScenario F - read only mode (viewer)
imaging-services on machine 1 and the imaging-viewer component on machine 2:

Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=machine2-viewer.corp.domain.com
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castScenario G - read only mode (dashboards)
imaging-services on machine 1 and the dashboards component on machine 2:

Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=
INSTALL_DIR=/opt/castInstall command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGING_SERVICES_HOSTNAME=machine1.corp.domain.com
IMAGING_VIEWER_HOSTNAME=
IMAGING_NODE_HOSTNAME=
IMAGING_DASHBOARDS_HOSTNAME=machine2-dashboards.corp.domain.com
INSTALL_DIR=/opt/cast