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 ...
随机推荐
- Django,数据模型创建之数据库API参考(转载)
一旦 数据模型 创建完毕, 自然会有存取数据的需要.本文档介绍了由 models 衍生而来的数据库抽象API,及如何创建,得到及更新对象. 贯穿本参考, 我们都会引用下面的民意测验(Poll)应用程序 ...
- JSP中的指令(Directive)
- MyBatis操作指南-搭建项目基础环境(基于Java API)含log4j2配置
- cut用法
cut命令用来剪下文本文件里的数据,文本文件可以是字段类型或是字符类型. cut - remove sections from each line of files 语法 cut OPTION... ...
- vertical-align属性
准备阶段 vertical-align取值及含义: 值 含义 baseline 默认.元素放置在父元素的基线上. top 把元素的顶端与行中最高元素的顶端对齐 text-top 把元素的顶端与父元素字 ...
- 字节流和字符流(BufferedReader类和BufferedWriter类)
一般情况下,为了提高字符文件读/写效率,通常需要为文件读/写器添加一个缓冲读/写器,分别为BufferedReader类和BufferedWriter类. 1:BufferedReader类 假如上面 ...
- Asp.Net alert 方法
public static void ExcuteAlert(Page page, string strAlerts) { ClientScriptManager ...
- Centos 安装 MySql
下载mysql下载链接:http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.10-linux-glibc2.5-i686.tar.gz 下载后 ...
- C# App.config文件配置数据的读写
添加程序集引用 System.configuration.dll 和命名空间 using System.Configuration; 读: ConfigurationManager.AppSetti ...
- 获取手机通讯录--ios
- (void)test { //这个变量用于记录授权是否成功,即用户是否允许我们访问通讯录 int __block tip=0; //声明一个通讯簿的引用 ABAdd ...