Deploying the Director Component on a Standalone Node
This documentation provides the steps needed to deploy as a standalone add-on.ad-director
Prerequisites
Ensure the following criteria are met:
- You are using “Pulse 3.5.0 or higher” or “Pulse 3.4.3 or higher”.
- You have not deployed the
(Agents must be configured). If it’s already deployed, uninstall it usingad-directorand unselectaccelo deploy add-ons(Agents MUST be configured).Director - You have already configured the standalone node. If not, run
after the initial prompt to runaccelo set standalone.accelo init
Deploy ad-director as a Standalone add-on
Follow the steps listed below to successfully deploy as a standalone add-on.ad-director
- On the standalone node, run the following command to generate
if it doesn’t exist. Ifad-director.yml(Agents MUST be configured) is already deployed andDirectordoes exist underad-director.ymlon the node where it was previously deployed, copy it over to the same location i.e.$AcceloHome/config/docker/addonson the standalone node.$AcceloHome/config/docker/addons
accelo admin makeconfig ad-director
Open the file in a text editor and make changes to the value of the following fields:
: Set it to the value of the environment variableACTIONS_DB_URI, which by default, is encrypted.MONGO_URI: Replace the value of localhost with the hostname of the core node.ACTIONS_EXTERNAL_URL: Set it to the node's hostname whereNOTIFICATIONS_HOSTis deployed. If done correctly, the following details appear on the screen.ad-notifications
[root@plat03:addons (ad-default)]$ diff -y --suppress-common-lines ad-director.yml.orig ad-director.yml
- NOTIFICATIONS_HOST=ad-notifications | - NOTIFICATIONS_HOST=plat03.acceldata.dvl
- ACTIONS_EXTERNAL_URL=http://localhost:4000 | - ACTIONS_EXTERNAL_URL=http://plat01.acceldata.dvl:4000
- ACTIONS_DB_URI=ZN4v8cuUTXYvdnDJIDp+R8Z+ZsVXXjv8zDOvh8Uw | - ACTIONS_DB_URI=ZN4v8cuUTXYvdnDJIDp+R8Z+ZsVXXjv8zDOvh8Uw
- On the core node, backup
. Open the file in a text editor and navigate to the following section.$AcceloHome/config/acceldata_<cluster_name>.conf
# General dependencies are expressed as accessible service url's. Spark, Yarn,
# ATS, Hive Metastore, Spark and Webhdfs urls are required.
# At this point in time, AccelData does not support compression by default.
group {
name = "odp_zoro"
displayName = "odp_zoro"
originalName = "ODP_Zoro"
distroType = "HWX"
onprem = true
active = true
priority = 1000
connections = {
mongo = [
........
Make changes to the value of the following fields using a text editor:
: Change its value to the value of ACTIONS_DB_URI, which you have done in the previous step.uri: Change its value fromhostto the host/hosts wheread-elasticis deployed.Logsearch
Info
For the connection named , it's the host where fsanalytics is deployed.FS Elastic
- readURL: In this field, replace the following details:
with a hostname of the node where the core services are deployed.ad-vmselect- 8481 with 19042.
Save your changes. If done correctly, the following details appear on the screen.
[root@plat01:config (ad-default)]$ diff -y --suppress-common-lines acceldata_odp_zoro.conf.orig acceldata_odp_zoro.conf
uri = "ZN4v8cuUTXYvdnDJIDp+R8Z+ZsVXXjv8zDOvh8UwQXosC8 | uri = "ZN4v8cuUTXYvdnDJIDp+R8Z+ZsVXXjv8zDOvh8UwQXrMzw
uri = "ZN4v8cuUTXYvdnDJIDp+R8Z+ZsVXXjv8zDOvh8UwQXosC8 | uri = "ZN4v8cuUTXYvdnDJIDp+R8Z+ZsVXXjv8zDOvh8UwQXrMzw
host = "ad-elastic" | host = "plat01.acceldata.dvl"
port = 9200 | port = 19013
host = "ad-elastic" | host = "plat01.acceldata.dvl"
port = 9200 | port = 19013
host = "ad-elastic" | host = "plat01.acceldata.dvl"
port = 9200 | port = 19013
readURL = "http://ad-vmselect:8481/select/1385609323/ | readURL = "http://plat01.acceldata.dvl:19042/select/1
Important
Repeat the above steps for all the cluster configuration files.
- Run the following command to push the configuration.
accelo admin database push-config -a
- On the core node, run the following command to generate
if it doesn’t exist already.ad-core.yml
accelo admin makeconfig ad-core
Open the file in a text editor and navigate to the following section.
ad-graphql:
image: ad-graphql
container_name: ""
environment:
....................
Add the following environment variables under the section environment:
: Set its value to the hostname of the node where you’ll deployACTIONS_IP.ad-director: Set its value to 19016.ACTIONS_PORT
Save your changes. If done correctly, the following details appear on the screen.
[root@plat01:docker (ad-default)]$ diff -y --suppress-common-lines ad-core.yml.orig ad-core.yml
> - ACTIONS_IP=plat03.acceldata.dvl
> - ACTIONS_PORT=19016
- On the standalone node where
is deployed, run the following command to generatead-notificationsif it doesn’t exist.ad-notifications.yml
accelo admin makeconfig ad-notifications
Open the file in a text editor and make changes to the value of the following fields.
: Set it to the hostname of the node where the ad-director will be deployed.DIRECTOR_HOST: Set it to 19016.DIRECTOR_PORT
If done correctly, the following details appear on the screen.
[root@plat03:addons (ad-default)]$ diff -y --suppress-common-lines ad-notifications.yml.orig ad-notifications.yml
- DIRECTOR_HOST=ad-director | - DIRECTOR_HOST=plat03.acceldata.dvl
- DIRECTOR_PORT=8000 | - DIRECTOR_PORT=19016
- On the core node, navigate to
and run the following command.$AcceloHome
tar -cvf work_dir2.tar.gz $(ls -d work/*/director) config/krb/security/krb5.conf
It generates a tar file in which needs to be copied over to $AcceloHome named work_dir2.tar.gz on the standalone node. One way to copy would be using scp or an NFS export.$AcceloHome
- On the standalone node, navigate to
and run the following command.$AcceloHome
tar -xvf work_dir2.tar.gz
- On the standalone node, run the following command and select
(Agents MUST be configured).Director
accelo deploy addons
- On the standalone node, deploy Playbooks. For details, see Deploy Playbooks.
- On the core node, run the following command.
accelo restart ad-graphql
Info
When you run or accelo reconfig cluster to perform the following steps:accelo reconfig cluster -a
- On the core node, update the value of readURL in
$AcceloHome/config/acceldata_<cluster_name>.conf. - On the core node, run
.accelo admin database push-config -a - On the core node, navigate to
and run the following command.$AcceloHome
tar -cvf work_dir2.tar.gz $(ls -d work/*/director) config/krb/security/krb5.conf
- Copy
over to the standalone node.work_dir.tar.gz - On the standalone node, navigate to
and run the following command.$AcceloHometar -xvf work_dir2.tar.gz - On the standalone node, run
accelo restart ad-director.
Ensure that you do not run on the standalone node.accelo config actions notifications
Info
When you run , need to perform the following steps:accelo config actions notifications
- On the core node, navigate to
and run the following command.$AcceloHome
tar -cvf work_dir2.tar.gz $(ls -d work/*/director) config/krb/security/krb5.conf
- Copy
over to the standalone node.work_dir.tar.gz - On the standalone node, navigate to
and run the following command.$AcceloHometar -xvf work_dir2.tar.gz. - On the standalone node, run
.accelo restart ad-director

Have a suggestion?