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 ...
随机推荐
- mysql中engine=innodb和engine=myisam的区别
最开始用MySQL Administrator建数据库的时候,表缺省是InnoDB类型,也就没有在意.后来用Access2MySQL导数据的时候发现只能导成 MyISAM类型的表,不知道这两种类型有什 ...
- html中表table行循环滚动例子
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><meta h ...
- JQuery + XML作为前后台数据交换格式实践
JQuery + xml作为前后台数据交换 JQuery提供良好的异步加载接口AJAX,可以局部更新页面数据, http://api.jquery.com/category/ajax/ xml作为一种 ...
- chrome浏览器不允许记忆登录账户的方法
autocomplete方法 https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_ ...
- ReentrantLock的实现语义与使用场景
简介 ReentrantLock(重入锁)就是支持可重进入的锁,它表示该锁能支持一个线程对资源的重复加锁.另外还支持获取锁的公平和非公平选择ReentrantLock的实现不仅可以替代隐式的synch ...
- ANE 从入门到精通 --- 简单的Whatever
Flash还是很好的,不过国内没人用. Whatever了. 以下是ANE制作中的一点笔记 分享下 也留作备份 Step1 编写As3 Library package com.eran { impor ...
- IO/ACM中来自浮点数的陷阱(收集向)
OI/ACM中经常要用到小数来解决问题(概率.计算几何等),但是小数在计算机中的存储方式是浮点数而不是我们在作数学运算中的数,有精度的限制. 以下以GUN C++为准,其他语言(或编译器)也差不了多少 ...
- 彻底的放弃.net
最近看了招聘信息,搜一搜 .net 高级信息,发现对比 JAVA ,只有1页,而 JAVA 至少有3页. 最近用了一下嗒嗒巴士,滴滴打车,各种团购,各种外卖,各种移动互联网改变生活的东西,无一和 .n ...
- java项目常用 BaseDao BaseService
java项目常用 BaseDao BaseService IBaseDao 1 package com.glht.sim.dao; 2 3 import java.util.List; 4 5 6 ...
- PAT乙级 1032. 挖掘机技术哪家强(20)
1032. 挖掘机技术哪家强(20) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 为了用事实说明挖掘机技术到底 ...