- IMPORTANT: Take a backup of all your databases by running backup jobs located under OpsAdministration → Core / KnowledgePlatform / DataPipeline → BackupJobs OR You can use VM Disk Snapshots from your cloud provider
- Once all the variables and Jenkins configurations are complete, you can start to build and deploy services.
- Build all the services mentioned in the table below.
- Ensure you provide the github_release_tag for Build jobs as per the tags mentioned in this sheet - Current Release Tags and Jenkins Jobs Reference.
- Ensure all ArtificatUpload Jobs as successful.
- Deploy services which are mentioned in the table below.
- If some build and deploy jobs are not relevant to your setup, you can skip them.
- Ensure you provide branch_or_tag as per the data mentoined in this sheet - Current Release Tags and Jenkins Jobs Reference under Jobs which use this repository column.
- Once all services are deployed, please perform the manaual configurations mentioned in this sheet - Manual configurations
...
Knowledge Platform Build | Knowledge Platform Deploy | DataPipeline Build | DataPipeline Deploy | Core Build | Core Deploy | |||
---|---|---|---|---|---|---|---|---|
KnowledgePlatformStopNeo4jCluster | LearningCassandraDbUpdate | Analytics | AnalyticsAPI | Player | Player | |||
SearchNeo4j | DataPipeline | DataProductsKafkaSetup | Keycloak | Keycloak | ||||
Yarn StartNeo4jClusterYarn | KafkaIndexer | Yarn | Cassandra | Cassandra | ||||
Neo4jDefinitionUpdateKafkaSetup | Secor | Secor | Learner | Learner | ||||
CassandraDbUpdate | StopNeo4jClusterAnalytics | KafkaSetupAnalyticsAPI | Content | Content | ||||
Neo4j | Neo4j | KafkaIndexer Neo4jDefinitionUpdate (Run manual queries mentioned below after this job) | DataPipeline | DataProducts | Telemetry | Telemetry | ||
KnowledgePlatform | StartNeo4jClusterLearning | CassandraDbUpdateSamzaTelemetrySchemas | Proxy | Proxy | ||||
Search | KafkaSetupYarn | SamzaTelemetrySchemasYarn | OnboardAPI | |||||
Yarn | Yarn | OnboardConsumers | ||||||
SyncTool | Neo4jElasticSearchSyncTool | OnboardConsumers | CassandraDbUpdate | Logging | Logging |
Manual queries to be run for Neo4j:
- Login to neo4j machine and switch to learning user
- Go to NEO4J_HOME/bin directory
- Run ./cypher-shell
- Execute the below queries
match (n:domain) where n.IL_FUNC_OBJECT_TYPE in [“Content”, “ContentImage”] AND exists(n.medium) set n.medium = [n.medium];
match (n:domain) where n.IL_FUNC_OBJECT_TYPE in [“Content”, “ContentImage”] AND exists(n.subject) set n.subject = [n.subject];
match (n:domain{}) WHERE exists(n.sYS_INTERNAL_LAST_UPDATED_ON) remove n.sYS_INTERNAL_LAST_UPDATED_ON;