Configure the Service Node

Follow these steps to configure the Arcadia Services on the service node. In the interest of simplicity, we can call it the service node, and its address service_node_ip is where both ArcadiaStateStore and ArcadiaCatalog reside.

  1. Install files for the Warden process manager that lets you to start, stop, and restart a service, and manages memory allocation.

    sudo /opt/arcadia/build/install-arcadia.sh -m /opt/mapr -i /opt/arcadia -h [service_node_ip|host_name]

    Note the following options:

    • -m

      used for the MapR path

    • -i

      used for Arcadia path

    • -h

      used for Service node (host_name or service_node_ip)

    Example:

    sudo /opt/arcadia/build/install-arcadia.sh -m /opt/mapr  -i /opt/arcadia -h ip-10-14-1-70.qa.arcadiadata.com
  2. Verify that the state store is correctly set to the address specified in the previous step, as either host_name or service_node_ip, by examining the contents of the /opt/arcadia/conf/env.sh file. It should contain the following parameters:

    ARCADIA_STATE_STORE_HOST=service_node_ip
    CATALOG_SERVICE_HOST=service_node_ip

    In our example, it is

    ARCADIA_STATE_STORE_HOST=ip-10-14-1-70.qa.arcadiadata.com
    CATALOG_SERVICE_HOST=ip-10-14-1-70.qa.arcadiadata.com
  3. During upgrades, if you saved custom configuration information for this node, as described in Upgrading Arcadia Enterprise on MapR, add it back into the /opt/arcadia/conf/env.sh file.

  4. Install the ArcadiaStateStore service:

    sudo /opt/arcadia/build/install-arcadiastatestore.sh
  5. Install the ArcadiaCatalog service:

    sudo /opt/arcadia/build/install-arcadiacatalog.sh
  6. Install the ArcEngine service:

    sudo /opt/arcadia/build/install-arcengine.sh
  7. Install the ArcViz service:

    To install the default and sample connections, use the -h option to connect to a node that hosts the ArcEngine; this could be the service node, or another node in the cluster.

    sudo /opt/arcadia/build/install-arcviz.sh -h arcengine_node_ip
    Developer Note. When upgrading, this step may generate a false error, noting that "Data connection with name 'default' already exists". You can ignore it, because the upgrade still succeeds.

    To install without default connections and samples, use the following command:

    sudo /opt/arcadia/build/install-arcviz.sh