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的更多相关文章

  1. The IBM Blockchain Platform:Installing the development environment

    Follow these instructions to obtain the IBM Blockchain Platform: Develop development tools (primaril ...

  2. (转) Playing FPS games with deep reinforcement learning

    Playing FPS games with deep reinforcement learning 博文转自:https://blog.acolyer.org/2016/11/23/playing- ...

  3. R开发环境(Eclipse+StatET)

    引用:http://cos.name/2008/12/eclipse-statet-for-r-editor/ StatET(www.walware.de/goto/statet) 1. 安装软件 s ...

  4. ModSecurity for Nginx

    Announcing the availability of ModSecurity extension for Nginx ModSecurity for Nginx ModSecurity for ...

  5. [boost] build boost with intel compiler 16.0.XXX

    Introduction There are few information about how to compile boost with Intel compiler. This article ...

  6. 实战web前端之:Bootstrap框架windows下安装与使用

    Bootstrap是前端开发中比较受欢迎的框架,简洁且灵活.它基于HTML.CSS和JavaScript,HTML定义页面元素,CSS定义页面布局,而JavaScript负责页面元素的响应.Boots ...

  7. [转]Introduction to Learning to Trade with Reinforcement Learning

    Introduction to Learning to Trade with Reinforcement Learning http://www.wildml.com/2018/02/introduc ...

  8. 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 ...

  9. Introduction to Learning to Trade with Reinforcement Learning

    http://www.wildml.com/2015/12/implementing-a-cnn-for-text-classification-in-tensorflow/ The academic ...

随机推荐

  1. #if 0在代码中的作用

    #if 0在代码中有2个作用. 1.作为行内注释 /**/是多行注释,如果想在/**/里面嵌套一个多行注释,怎么办呢? /* int a=10; /* - (void)test{ NSLog(@&qu ...

  2. Winform 进程、线程、treeview

    进程:一个程序就是一个进程,但是也有一个程序需要多个进程来支持的情况 进程要使用的类是:Process它在命名空间:System.Diagnostics; 静态方法Start();也可以实例化对象,来 ...

  3. c++获取系统时间(引用别人的博文)

    //方案— 优点:仅使用C标准库:缺点:只能精确到秒级#include <time.h> #include <stdio.h> int main( void ) {     t ...

  4. CSS 颜色代码大全//////////////////////z

      FFFFFF #DDDDDD #AAAAAA #888888 #666666 #444444 # #FFB7DD #FF88C2 #FF44AA  #FF0088  #C10066  #A2005 ...

  5. android Thread和Service的区别

    http://www.cnblogs.com/devinzhang/archive/2012/01/11/2319433.html (zhuan)

  6. viewpaper

    引用:http://blog.csdn.net/billpig/article/details/6650097 增加回弹 http://www.apkbus.com/android-78437-1-1 ...

  7. 02-FPGA设计流程介绍——小梅哥FPGA设计思想与验证方法视频教程配套文档

    芯航线——普利斯队长精心奉献 课程目标: 1.了解并学会FPGA开发设计的整体流程 2.设计一个二选一选择器并进行功能仿真.时序仿真以及板级验证 实验平台:芯航线FPGA开发板.杜邦线 实验内容: 良 ...

  8. python:页面布局 后台管理页面之常用布局

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/ ...

  9. StringBuilder和StringBuffer区别

    一.StringBuilder 一个可变的字符序列.此类提供了一个与StringBuffer兼容的API,但不保证同步.该类被设计用作StringBuffer的一个简易替换,用在字符串缓冲区被单个线程 ...

  10. [转]为何需要调用“super viewDidLoad

    转载地址:http://liwpk.blog.163.com/blog/static/36326170201165104413314/   - (void)didReceiveMemoryWarnin ...