🧒
Sunbird ED
new release -7.0.0 (Jun 2024)Askdot
latest
latest
  • Learn
    • Overview
    • Capabilities
      • Learning Apps
      • Asset Sourcing
      • Organised Collections
      • Discover Content - Digital & Phygital
      • User Engagement
      • Rich and diverse content
      • Versatile Question Bank
      • Observability
      • Launch Course
      • Verifiable Credentials
      • Multi-Channel Chatbot
      • Targeted Programs
      • Manage Learn
        • Overview
        • What is an entity?
        • What is a Program?
        • What is a Project?
        • What is Observation?
        • What is a Survey?
        • What is Observation as a task inside a Project?
      • Product and Developer's Guide
        • Learning apps
          • Workflows
            • Onboarding of Users
            • Discovery of Content
            • Play content
            • Track progress and Earn credentials
            • Interacting / Collaborating
        • Asset Sourcing
        • Organised Collections
        • Discover Content - Digital & Phygital
        • User Engagement
        • Rich and Diverse Content
        • Versatile Question Bank
        • Observability
        • Launch Courses
        • Verifiable Credentials
        • Multi-Channel Chatbot
        • Targeted Programs
        • Manage Learn
          • Overview
          • Component Diagram
          • ML Core Service
          • ML Project Service
          • ML Survey Service
          • ML Report Service
          • ML Analytics Service
    • Tech Overview
      • Design Principles
      • Technical Architecture Diagram
      • Tech Stack
    • Adopters
      • DIKSHA
    • Roadmap
      • Plan for 2025-2026
      • Releases and Dates
  • USE
    • Getting Started - Setup
      • Pre-requisites
      • Install
      • Functional Configurations
    • Developer Guide - Overview
      • Architecture - Component Diagram
      • System Requirements
        • Learning Apps
      • Install Locally
        • SunbirdED Mobile
        • SunbirdED Portal
      • Easy Installer
        • Adding Support for a New Cloud Provider
      • Configuration
        • SunbirdEd Portal
        • Sunbird Mobile
      • Portal
        • Component Diagram
        • I18N (Resource Bundles)
        • Branding Name and Logo Configuration Guide
      • Desktop
        • Component Diagram
      • Mobile
        • Component Diagram
        • sunbird-mobile-sdk
        • Sunbird-mobile-app plugins
        • Configurations to setup mobile app
        • I18N (Resource Bundles)
      • Form service
        • Component Diagram
        • Data model
        • API's
      • Manage Learn
        • ML Core Service
          • Overview
          • User Flow Diagram
          • Component Diagram
          • Data Model
          • Folder Structure
          • API's
          • Deployment Overview
          • Local Service Setup Guide
        • ML Project Service
          • Overview
          • User Flow Diagram
          • Component Diagram
          • Data Model
          • Folder Structure
          • API's
          • Deployment Overview
          • Local Service Setup Guide
        • ML Survey Service
          • Overview
          • User Flow Diagram
          • Component Diagram
          • Data Model
          • Folder Structure
          • API's
          • Deployment Overview
          • Local Service Setup Guide
        • ML Report Service
          • Overview
          • User Flow Diagram
          • Component Diagram
          • Data Model
          • Folder Structure
          • API's
          • Deployment Overview
          • Local Service Setup Guide
        • ML Analytics Service
          • Overview
          • Component Diagram
          • Data Model
          • Setup Guide
            • ENV Variables ( Config.ini)
          • Ingestions
          • Folder Structure
          • Report creation and Updation Scripts
          • Deployment Overview
      • UI (User interface)
        • Angular Material
          • Overview
          • Installation
          • Material Icons
          • Components Usage
          • Theming
          • Theme Setup
          • Customazion
            • Palette
            • Theme
            • Accessibility
            • Colors
            • Typography
            • Components
              • Buttons
              • CC Components
        • Component Style Guide Version 1
          • Accordion
          • Buttons
          • Cards
          • Forms
          • Grid & Layout
          • Labels
          • Modals
          • Pagination
          • Rating
          • Search Box
          • Select Box
          • Tables
          • Tabs
          • Toast messages
          • Tooltip
          • Typography
        • SB-Styles: A Comprehensive Design Resource
        • SB-Themes Repository: Unifying Design Across Platforms
          • Classical Theme in Sunbird-Ed portal
          • Joyful Theme in Sunbird-Ed portal:
      • Reference Apps
        • Independent Libraries
          • Common Consumption Components
          • SunbirdEd Forms
          • Sunbird Client Services
          • Sunbird Styles
          • Sunbird Themes
          • Sunbird Tag Manager
      • API's
      • CSP changes
      • Cloud-Store SDK Maven Deployment Guide
      • Other
        • Building Images
        • Minimal forms
        • Telemetry
          • Trackable Collection
        • Platform
        • Learning Apps
    • Learn More
      • Dependencies
      • Specifications
        • SOFIE
        • SOFIE Implementation
  • SB Ed Releases
    • Sunbird v7.6.0 (Latest)
    • Sunbird v7.5.1
    • Release - SB 7.5
    • SB Release - 7.0.0
      • Release notes
      • Updating Sunbird Releases
        • 6.0.1 to 7.0.0
      • Release Calendar 7.0.0
      • Demo of released items
  • Engage
    • Discuss
    • Contribute to Sunbird ED
    • Extend / Contribute to Sunbird
    • Issue tracker/ Create Issue
  • Misc
    • Templates
      • Upgrade Sunbird release document
      • Release Notes
    • Misc Pages
      • Portal - Manage Learn - Reports
      • App - Manage Learn - component diagram
        • Projects
        • Observation & Survey
        • Program
      • Portal - Manage Learn - component diagram
      • Mobile form configurations
      • Content Indexing Flow
      • What are multiple databases used for
      • Course completion, reports and certificate issue
      • How to access Flink UI
      • What are all the flink jobs for
      • How does data flow into Druid
      • Minimal build properties
      • Delete User Functionality
    • Archived
      • High Level Capabilities
      • Workflows
      • Where Sunbird ED helps you
      • ED - Mobile App (going to archive)
        • 4.10.3 to 5.0.0
        • 5.0.0 to 5.1.0
      • Setting up Sunbird ED
      • Developer Documentation
      • API Reference Documentation
      • Detailed Documentation
      • Source Code
      • Actors & Actions
      • Detailed Capabilities
      • Data
      • Terminology
      • 5.1.0-hotfix (OCI )
      • Getting started (v7)
        • Deployment Overview
        • Pre-requisites
        • Install
          • Provision Cloud Infrastructure
          • Setup Jenkins
          • Update Ansible Variables
          • Build, Provision and Deploy
          • Functional Configurations
Powered by GitBook
On this page
  1. Misc
  2. Archived
  3. Getting started (v7)
  4. Install

Update Ansible Variables

Ansible is the configuration management system used in Sunbird. Provisioning, deployment of services and other configurations are handled primarily through Ansible.

Updating the Private Repository with Hosts and Variables

Execute the following commands in your local to clone the private repo template and update your private GitHub repository

git clone https://github.com/project-sunbird/sunbird-devops

cd sunbird-devops

git checkout tags/release-7.0.0 -b release-7.0.0

  • Copy the directory sunbird-devops/private_repo/ansible to your private repo local workspace

  • Run the key-generate.sh script located under ansible/inventory/dev folder. The script will ask for the ansible vault password. Enter the same vault password that you used in the Jenkins setup stage. The script will generate many private key files that will be encrypted with the vault password. Deployments will fail if keys are not encrypted.

  • Update common.yml, hosts, and secrets.yml files under the Core, KnowledgePlatform and DataPipeline directories. After updating, push them to your private repo branch

  • Your private repo structure starting from the root path should be as shown below.

ansible
└── inventory
    └── dev
        ├── Core
        │   ├── common.yml
        │   ├── hosts
        │   └── secrets.yml
        ├── DataPipeline
        │   ├── common.yml
        │   ├── hosts
        │   └── secrets.yml
        ├── key-generate.sh
        ├── KnowledgePlatform
        │   ├── common.yml
        │   ├── hosts
        │   └── secrets.yml
        ├── Kubernetes
        │   ├── common.yml -> ../Core/common.yml
        │   ├── hosts -> ../Core/hosts
        │   ├── keys -> ../Core/keys/
        │   └── secrets.yml -> ../Core/secrets.yml
        ├── Lern
        │   ├── common.yml -> ../KnowledgePlatform/common.yml
        │   ├── hosts -> ../KnowledgePlatform/hosts
        │   └── secrets.yml -> ../KnowledgePlatform/secrets.yml
        ├── managed-learn
        │   ├── common.yml -> ../Core/common.yml
        │   ├── hosts -> ../Core/hosts
        │   ├── keys -> ../Core/keys/
        │   └── secrets.yml -> ../Core/secrets.yml
        ├── Sunbird-RC
        │   ├── common.yml -> ../Core/common.yml
        │   ├── hosts -> ../Core/hosts
        │   ├── keys -> ../Core/keys/
        │   └── secrets.yml -> ../Core/secrets.yml
        └── UCI
            ├── common.yml -> ../Core/common.yml
            ├── hosts -> ../Core/hosts
            ├── keys -> ../Core/keys/
            └── secrets.yml -> ../Core/secrets.yml

Neo4j download and upload to object storage

  • Upload downloaded artifact to cloud_storage_artifacts_bucketname

  • Update neo4j_zip variable in KnowledgePlatform/common.ymlwith artifact name Eg: neo4j-community-3.3.9-unix.tar.gz

Note:

  • The ansible inventory setup is a must before we can run jobs from the Provision, ArtifactUpload and Deploy directory in Jenkins. The Build directory on Jenkins does not depend on the ansible variables.

  • It is highly recommended that you complete the ansible inventory updates before proceeding.

List of Servers with their Ansible Group Names

Module
Servers
Service
Ansible Group Names

Build and Deploy

Server-1

Jenkins Master

​

Databases

Server-2

Cassandra

cassandra-1, lp-cassandra, dp-cassandra, core-cassandra, report-cassandra, cassandra-node-1, cassandra

​

​

Postgres

postgresql-master-1, postgresql-master, postgres

​

​

Application Elasticsearch

es-1, composite-search-cluster, core-es-1, core-es, es-backup, es

​

​

Neo4j

learning-neo4j-node1, learning-neo4j-cluster

​

​

Mongo

mongo_master, mongo

Knowledge Platform

Server-3

Redis

redis1, redis, redis-ps, redisall, lp-redis, lp-redis-ps, dp-redis, lms-redis, redis-exporter-targets

​

​

Zookeeper

processing-cluster-zookeepers, ingestion-cluster-zookeeper, raw-zookeeper, zookeeper

​

​

Kafka

processing-cluster-kafka, ingestion-cluster-kafka, kafka-1, kafka

Data Pipeline

Server-4

Spark

spark

​

​

Kafka Indexer (Logstash)

kafka-indexer

​

​

Keycloak

keycloak-1, keycloak

Learning

Server-5

Learning

learning1, learning, learningall

​

​

Graylog

graylog-1, graylog

Druid

Server-6

Druid

druid-postgres, raw-coordinator, raw-overlord, raw-broker, raw-historical, raw-middlemanager, raw-graphite, rollup-coordinator, dp-druid-broker, broker, coordinator, druid-raw

​

​

Logs Elasticsearch

log-es-1, log-es-backup, log-es

Last updated 11 months ago

Neo4j community artifact needs to be downloaded from neo4j official website (only Neo4j 3.4 and below is supported)

http://dist.neo4j.org/neo4j-community-3.3.9-unix.tar.gz