Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
iconfalse

Log in to the Jenkins and do the following

...

  • Switch to Build folder and run all jobs. Provide the tag as release-1.14.0 in the build job parameter github_release_tag

Provision

  • Download neo4j enterprise version and keep it in your private repo under artifacts directory. The name of the file should be ending with neo4j*.tar.gz
  • Since the file size of neo4j will be larger than 100 MB, you need to use git lfs to store this artifact in your private repo. Refer this link to see for git lfs details - https://git-lfs.github.com/
  • Switch to Provision/<env>/KnowledgePlatform and run jobs in following order
    1. Cassandra
    2. CompositeSearch
    3. Neo4j
    4. Zookeeper
    5. Kafka
    6. Learning
    7. Redis
    8. Search

Deploy

  • Switch to Deploy/dev/KnowledgePlatform and run all jobs in the following order
    1. CassandraDbUpdate
    2. Neo4j
    3. StartNeo4jCluster
    4. Learning
    5. Search
    6. Neo4jDefinitionUpdate
    7. Neo4jElasticSearchSyncTool
    8. KafkaSetup
    9. Yarn

Manual Run - Content retire API

  • Login to the cassandra VM and run the below commands
  • vi /etc/cassandra/cassandra.yaml
  • Update the value as batch_size_fail_threshold_in_kb: 200
  • service cassandra restart
  • cd /tmp
  • wget https://sunbirdpublic.blob.core.windows.net/installation/script_data.csv
  • Run cqlsh
  • COPY dev_script_store.script_data FROM '/tmp/script_data.csv';          (Here dev will be you env name)
  • SELECT COUNT(*) FROM dev_script_store.script_data ;                         (Output should be 324 rows)
  • Login to learning VM and restart tomcat
  • sudo service tomcat restart
  • Now you should be able to delete contents from workspace, drafts, contents which are published etc.