/
Updating Variables
Updating Variables
Note:
If you want to run only Core services which will connect to Ekstep backend for other dependent services like Knowledge Platform and Data Pipeline, follow the below steps for Core module only
Once you complete the below steps, go to this page to get details on extra variables that need to be added for Core service only to work - Additional variables to run Core services only
Updating private repo with hosts and variables
https://github.com/project-sunbird/sunbird-devopsgit
clonecd sunbird-devops && git checkout tags/release-1.14.0 -b release-1.14.0
cp -rf sunbird-devops/private_repo .
cd private_repo
Folder Structure for the private directory which contains ansible hosts secrets and variables.
Folder Structure~/Documents/projects/subird-devops/private_repo(DO-470 ✗) tree ansible ansible └── inventory └── dev ├── Core │ ├── common.yml │ ├── hosts │ └── secrets.yml ├── DataPipeline │ ├── common.yml │ ├── hosts │ └── secrets.yml └── KnowledgePlatform ├── common.yml ├── hosts └── secrets.yml 5 directories, 9 files
git init
git add .
git commit -m"Creating private files"
git remote add origin <private repo url>
git branch --set-upstream-to=origin/master master && git push --set-upstream origin master
update the variables and push it to upstream.
Updating variables and hosts
cd private_repo/ansible/inventory/dev/<module>/
update hosts common.yml secrets.yml
S.NO | Service | Server | IP Address of the machine | Ansible Group Name | Module |
1 | jenkins-master | Core | |||
2 | manager | Server-1 (swarm) | swarm-manager-1,swarm-agent-for-prometheus-1 swarm-agent-for-grafana-1, swarm-agent-for-alertmanager-1, | ||
3 | log-es | log-es-1 | |||
4 | |||||
5 | keycloak | Server-2 (core-db) | keycloak-1 | ||
6 | cassandra-lms (core) | cassandra-1 | |||
8 | Postgress | postgresql-master-1, postgresql-slave-1 | |||
9 | es-lms-1 | es-1 | |||
10 | |||||
11 | cassandra-lp-dp | Server-3 (lp-db) | lp-cassandra, dp-cassandra | KnowledgePlatform | |
12 | kp-dp-es-1 | composite-search-cluster,es-ps | |||
13 | Postgress | ||||
14 | neo4j | learning-neo4j-node1 | |||
15 | learning-1 | Server-4 (lp-services) | learning1,logstash-ps | ||
16 | redis | redis1 | |||
17 | search | search1 | |||
18 | spark | Server 5 (spark) | spark | Data Pipeline | |
19 | yarn-rm | Server 6 (yarn-RM) | yarn-master,yarn-ps | ||
20 | yarn-slave | Server 7 (yarn-slave) | yarn-slave,yarn-ps | ||
21 | |||||
22 | analytics-api | Server 8 (dp-services) | analytics-api, analytics-ps, | ||
23 | kafka-indexer | kafka-indexer | |||
24 | secor | secor, secor-ps | |||
25 | InfluxDB | ||||
26 | |||||
27 | kafka (Kp, Dp. Core) | Server 9 (kafka) | processing-cluster-kafka, processing-cluster-zookeepers, kafka-ps kafka-1 | Common |
, multiple selections available,
Related content
Ansible Variables
Ansible Variables
More like this
Sunbird - Ansible variables
Sunbird - Ansible variables
More like this
Test Release Installation of Sunbird
Test Release Installation of Sunbird
More like this
Additional variables to run Core services only
Additional variables to run Core services only
More like this
Additional variables for Core service only
Additional variables for Core service only
More like this
Ansible Variables Updates
Ansible Variables Updates
More like this