zoukankan      html  css  js  c++  java
  • 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-ctsetlctsin C:CTSin /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

  • 相关阅读:
    【分享】如何给视频码流添加PTS和用户自定义信息
    【分享】在MPSoC ZCU106单板的HDMI-Tx上基于eglfs_kms的运行QT应用程序
    检查Linux DRM显示设备ID的脚本
    【分享】更新的 AXI performance monitors (APM)测试工具
    window下安装clickhouse
    计算机组成原理学习
    FX DocuCentre S2110富士施乐打印机驱动
    打开网站出现Service Unavailable错误解决方法
    Java高德地图两点间距离、地理编码、逆地理编码
    IDEA运行Main报错Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (default-cli) on project education: Command execution failed.
  • 原文地址:https://www.cnblogs.com/ethan-song/p/4798339.html
Copyright © 2011-2022 走看看