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):

{{< tabpane >}} {{< tab "imaging-services (machine 1)" >}} Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "imaging-viewer (machine 2)" >}} Install command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME=machine2.corp.domain.com IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "dashboards (machine 3)" >}} Install command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME=machine3.corp.domain.com INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "analysis-node (machine 4)" >}} Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME=machine4.corp.domain.com IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast (note that /opt/cast/shared must be shared with and accessible to all other analysis-node components) {{< /tab >}} {{< tab "analysis-node (machine 5)" >}} Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME=machine5.corp.domain.com IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast (note that /opt/cast/shared must be shared with and accessible to all other analysis-node components) {{< /tab >}} {{< /tabpane >}}
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):

{{< tabpane >}} {{< tab "imaging-services (machine 1)" >}} Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "imaging-viewer (machine 1)" >}} Install command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME=machine1.corp.domain.com IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "dashboards (machine 1)" >}} Install command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME=machine1.corp.domain.com INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "analysis-node (machine 2)" >}} Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME=machine2.corp.domain.com IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast (note that /opt/cast/shared must be shared with and accessible to all other analysis-node components) {{< /tab >}} {{< tab "analysis-node (machine 3)" >}} Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME=machine3.corp.domain.com IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast (note that /opt/cast/shared must be shared with and accessible to all other analysis-node components) {{< /tab >}} {{< /tabpane >}}
Scenario C
imaging-services and imaging-viewer components on machine 1, dashboards component on machine 2 and one analysis-node component on machine 3:

{{< tabpane >}} {{< tab "imaging-services machine 1" >}} Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "imaging-viewer machine 1" >}} Install command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME=machine1.corp.domain.com IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "dashboards (machine 2)" >}} Install command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME=machine2.corp.domain.com INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "analysis-node (machine 3)" >}} Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME=machine3.corp.domain.com IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast (/opt/cast/shared DOES NOT need to be shared) {{< /tab >}} {{< /tabpane >}}
Scenario D
imaging-services and dashboards components on machine 1 and the imaging-viewer component and one analysis-node component on machine 2:

{{< tabpane >}} {{< tab "imaging-services (machine 1) " >}} Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "dashboards (machine 1) " >}} Install command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME=machine1.corp.domain.com INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "imaging-viewer (machine 2)" >}} Install command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME=machine2.corp.domain.com IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "analysis-node (machine 2)" >}} Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME=machine2.corp.domain.com IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast (/opt/cast/shared DOES NOT need to be shared) {{< /tab >}} {{< /tabpane >}}
Scenario E
imaging-services, analysis-node and dashboards components on machine 1 and the imaging-viewer component on machine 2:

{{< tabpane >}} {{< tab "imaging-services (machine 1) " >}} Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "analysis-node (machine 1)" >}} Install command:
./cast-imaging-install.sh analysis-node
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME=machine1.corp.domain.com IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast (/opt/cast/shared DOES NOT need to be shared) {{< /tab >}} {{< tab "dashboards (machine 1)" >}} Install command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME=machine1.corp.domain.com INSTALL_DIR=/opt/cast (/opt/cast/shared DOES NOT need to be shared) {{< /tab >}} {{< tab "imaging-viewer (machine 2)" >}} Install command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME=machine2-viewer.corp.domain.com IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< /tabpane >}}
Scenario F - read only mode (viewer)
imaging-services on machine 1 and the imaging-viewer component on machine 2:

{{< tabpane >}} {{< tab "imaging-services (machine 1) " >}} Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "imaging-viewer (machine 2)" >}} Install command:
./cast-imaging-install.sh imaging-viewer
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME=machine2-viewer.corp.domain.com IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< /tabpane >}}
Scenario G - read only mode (dashboards)
imaging-services on machine 1 and the dashboards component on machine 2:

{{< tabpane >}} {{< tab "imaging-services (machine 1) " >}} Install command:
./cast-imaging-install.sh imaging-services
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME= INSTALL_DIR=/opt/cast {{< /tab >}} {{< tab "imaging-viewer (machine 2)" >}} Install command:
./cast-imaging-install.sh dashboards
configuration.conf:
IMAGINGSERVICESHOSTNAME=machine1.corp.domain.com IMAGINGVIEWERHOSTNAME= IMAGINGNODEHOSTNAME= IMAGINGDASHBOARDSHOSTNAME=machine2-dashboards.corp.domain.com INSTALL_DIR=/opt/cast {{< /tab >}} {{< /tabpane >}}
Comments