rebuild new environment for DW step
Steps to rebuild PPE environment: (CTS)
1, Disable both CTS Daily Job (Daily) and CTS Daily Job (Start From Failure/Preprocess) from task scheduler on PPE environment.
2, Backup Code and configuration for PPE environment: backup C:\CTS and C:\PackageConfigurations on PPE ETL server
3, Get the latest DB backups (CTSDW , dbLog , JobControl, CTSDataMart) of production environment. then restore them into PPE environment with overwritten.
Ø After this step finish, we need to change Report Server for METL Cube : Right click METL->Cube Properties -> Report Action -> Change ReportServer based on actual environment
Ø Please check if the data file and log file are restored in the Local RAID disk on PPE but not SAN_DATA disk
Ø Change data source connection for METL/MACE/GBSVEN/ProactiveMETL cubes
Note:
1. please make sure the backups between (CTSDW, dblog, JobControl, CTSDataMart) are in sync and match – means that they should reflect the same data after ETL finish;
If we do not have the latest full backups, we should restore full + Diff db backups.
2. Since we will deploy based on rebuilt Environment, so we don't need to restore cubes onto PPE environment to avoid extra effort.
3. please help recycle the SQL Server Engine services to release memory
4, Change Report Server in JobControl and disable Freshness package in PPE ETL server
UPDATE T
SET T.ConnectionString = REPLACE(ConnectionString, 'CO1MSSCDMLETL01', 'MSSDTGPDB03')
FROM JobControl.dbo.Job_JobMeta T
GO
use [JobControl]
go
update [dbo].[Job_PackageMeta] set isActive=0
where packagename ='ETLAuditFactDataFreshness'
5, keep the code and config in sync between PROD and PPE.
a. Copy ETL files from prod to PPE
Ø Robocopy.exe \\detego-ctsetl\cts\bin\ C:\CTS\bin\ /MIR
b. Copy and overview below ETL packages from Backup Code in Step2. (Because PPE snapshot file path, sync cube packages and switch snapshot are configured different.
We could keep the original packages)
Ø SyncPresentation_CreateSnapshot
Ø SyncPresentation_MACE
Ø SyncPresentation_METL
Ø SyncPresentation_GBSVEN
Ø SyncPresentation_ProactiveMETL
Ø SyncPresentation_SwitchSnapshot
Ø ETLDeleteStaleBackupFile
Ø ETLBackupdataMart
Ø ETLRestoredataMart
6, Update Statistics:
a, Executed on ETL Server:
USE CTSDW
GO
EXEC sp_createstats
GO
EXEC sp_updatestats
GO
b, Executed on Presentation Server:
USE CTSDataMart
GO
EXEC sp_createstats
GO
EXEC sp_updatestats
GO
rebuild new environment for DW step的更多相关文章
- The IBM Blockchain Platform:Installing the development environment
Follow these instructions to obtain the IBM Blockchain Platform: Develop development tools (primaril ...
- (转) Playing FPS games with deep reinforcement learning
Playing FPS games with deep reinforcement learning 博文转自:https://blog.acolyer.org/2016/11/23/playing- ...
- R开发环境(Eclipse+StatET)
引用:http://cos.name/2008/12/eclipse-statet-for-r-editor/ StatET(www.walware.de/goto/statet) 1. 安装软件 s ...
- ModSecurity for Nginx
Announcing the availability of ModSecurity extension for Nginx ModSecurity for Nginx ModSecurity for ...
- [boost] build boost with intel compiler 16.0.XXX
Introduction There are few information about how to compile boost with Intel compiler. This article ...
- 实战web前端之:Bootstrap框架windows下安装与使用
Bootstrap是前端开发中比较受欢迎的框架,简洁且灵活.它基于HTML.CSS和JavaScript,HTML定义页面元素,CSS定义页面布局,而JavaScript负责页面元素的响应.Boots ...
- [转]Introduction to Learning to Trade with Reinforcement Learning
Introduction to Learning to Trade with Reinforcement Learning http://www.wildml.com/2018/02/introduc ...
- The Guardian’s Migration from MongoDB to PostgreSQL on Amazon RDS
转载一片mongodb 迁移pg 数据库的文章 原文:https://www.infoq.com/news/2019/01/guardian-mongodb-postgresql The Guardi ...
- Introduction to Learning to Trade with Reinforcement Learning
http://www.wildml.com/2015/12/implementing-a-cnn-for-text-classification-in-tensorflow/ The academic ...
随机推荐
- echarts入门基础,画折线图
注意:一定要自己引入echarts库 <!DOCTYPE html> <html> <head> <meta charset="UTF-8" ...
- hduoj 4710 Balls Rearrangement 2013 ACM/ICPC Asia Regional Online —— Warmup
http://acm.hdu.edu.cn/showproblem.php?pid=4710 Balls Rearrangement Time Limit: 6000/3000 MS (Java/Ot ...
- Java关于链表的增加、删除、获取长度、打印数值的实现
package com.shb.java; public class Demo8 { public Node headNode = null; /** * @param args * @date 20 ...
- 整理课堂笔记 pl/sql orcale异常
1>>>>>异常错误处理 1 >预定义的异常处理 预定义说明的部分 ORACLE 异常错误对这种异常情况的处理,只需在PL/SQL块的异常处理部分,直接引用相应 ...
- DataTable模拟
DataTable dt = new DataTable(); dt.Columns.Add(new DataColumn("timestep", Type.GetType(&qu ...
- [课程设计]Scrum 2.0 多鱼点餐系统开发进度(第二阶段项目构思与任务规划)
[课程设计]Scrum 2.0 多鱼点餐系统开发进度 1.团队名称:重案组 2.团队目标:长期经营,积累客户充分准备,伺机而行 3.团队口号:矢志不渝,追求完美 4.团队选题:餐厅到店点餐系统WEB ...
- 【20160924】GOCVHelper 图像处理部分(2)
//根据轮廓的面积大小进行选择 vector<VP> selectShapeArea(Mat src,Mat& draw,vector<VP> contour ...
- LA 3211 飞机调度
题目链接:http://vjudge.net/contest/142615#problem/A 题意:n架飞机,每架可选择两个着落时间.安排一个着陆时间表,使得着陆间隔的最小值最大. 分析: 最小值最 ...
- easyui datagrid tooltip
$('#dg').datagrid('getPanel').find('.easyui-tooltip').each(function(){ var index = parseInt($(this). ...
- [问题2014A05] 复旦高等代数 I(14级)每周一题(第七教学周)
[问题2014A05] (1) 设 \(x_1,x_2\cdots,x_n,x\) 都是未定元, \(s_k=x_1^k+x_2^k+\cdots+x_n^k\,(k\geq 1)\), \(s_0 ...