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

  • 相关阅读:
    python-pycharm中使用anaconda部署python环境
    Spring Boot 整合 Redis 实现缓存操作
    Spring中的ThreadPoolTaskExecutor
    Redis-基本数据类型与内部存储结构
    Redis如何存储对象与集合示例详解
    redis存储对象
    java在注解中绑定方法参数的解决方案
    spring boot整合JMS(ActiveMQ实现)
    springboot集成activemq
    NodeJS、NPM安装配置步骤(windows版本)
  • 原文地址:https://www.cnblogs.com/ethan-song/p/4798339.html
Copyright © 2011-2022 走看看