Vous êtes sur la page 1sur 5

2014/04/11 08:49 1/5 Refresh QA environment with Production data

Refresh QA environment with Production


data

AX QA SSRS location has changed. The new URL's are:

Web Service: http://cal-hs-3008:82/ReportServer_AX5SSRSQA


Report Manager: http://cal-hs-3008:82/ReportsAX5SSRSQA

To reduce the file size of restored QA database, it is recommended that

● Restore backup of production database on a separate server (for example, on


PMCLP-S342\SANDBOX instance)
● Change recovery mode to simple and truncate log

--setting recovery mode to simple


USE [master]
GO
ALTER DATABASE [AX5TEST2] SET RECOVERY SIMPLE WITH NO_WAIT
GO
--shrinking log file
USE [<DBName>]
GO
DBCC SHRINKFILE (N'PMC_AX_TEST_log' , 0, TRUNCATEONLY)
GO

● Truncate following tables:

USE[<DBName>]
TRUNCATE TABLE EMPLAUDITREPORT
GO
TRUNCATE TABLE PMCDATABASELOG
GO
TRUNCATE TABLE DATABASELOG
GO
TRUNCATE TABLE SYSDATABASELOG
GO
TRUNCATE TABLE BANKCHEQUELAYOUT
GO
TRUNCATE TABLE SRSSERVERS
GO
TRUNCATE TABLE EPWEBSITEPARAMETERS
GO
TRUNCATE TABLE CIRTRAIMPORTGROUP
GO
TRUNCATE TABLE KWIKTAGDRAWERTAGFIELDS
GO
TRUNCATE TABLE PMCLPSRSREPORT

Data Integrity Documentation - http://pmclp-s342:8080/wiki/


Last
update:
dynamics_ax:refresh_qa_environment_with_production_data http://pmclp-s342:8080/wiki/doku.php?id=dynamics_ax:refresh_qa_environment_with_production_data
2013/08/08
12:02

GO
TRUNCATE TABLE PMCLPSRSREPORTPARAMETERS
GO
TRUNCATE TABLE PMCLPSRSREPORTENUMS
GO
TRUNCATE TABLE PMCLPSRSENUMVALUES
GO
TRUNCATE TABLE KWIKTAGPMCDRAWERSETUP
GO
TRUNCATE TABLE SYSWORKFLOWPARAMETERS
GO
TRUNCATE TABLE INSYNCBENEFIT
GO
TRUNCATE TABLE INSYNCBONUS
GO
TRUNCATE TABLE INSYNCCONTACT
GO
TRUNCATE TABLE INSYNCDEPENDENT
GO
TRUNCATE TABLE INSYNCEMPLOYEE
GO
TRUNCATE TABLE INSYNCPAYCODE
GO
TRUNCATE TABLE INSYNCPAYROLL

● Shrink data file


● Take backup and restore to QA database

Once the database has been refreshed, start AOS services and log in to QA to perform following
post-refresh tasks:

● Import tables.def and tables.dat into AX. This article explains how to import data into AX.
● Verify that only following two batch jobs exist:

● Verify that Cluster configuration tabs (Administration » Setup » Cluster configuration) look like
below:

http://pmclp-s342:8080/wiki/ Printed on 2014/04/11 08:49


2014/04/11 08:49 3/5 Refresh QA environment with Production data

● erify that EP websites tabs (Administration » Setup » Internet » Enterprise Portal » Web
sites) look like below:

● Verify that dbo.KWIKTAGDRAWERTAGFIELDS has content similar to this Excel file


● Verify that Reporting Servers (Administration » Setup » Business analysis » Reporting
Services » Reporting Servers) looks like below:

● Verify that Server configuration tabs (Administration » Setup » Server configuration) look like below:

Data Integrity Documentation - http://pmclp-s342:8080/wiki/


Last
update:
dynamics_ax:refresh_qa_environment_with_production_data http://pmclp-s342:8080/wiki/doku.php?id=dynamics_ax:refresh_qa_environment_with_production_data
2013/08/08
12:02

● Verify that Workflow URL is as follows:

http://CAL-HS-3007:82/PlainsWorkflowAX2009/

Also, run SSRSReportEnums job.

http://pmclp-s342:8080/wiki/ Printed on 2014/04/11 08:49


2014/04/11 08:49 5/5 Refresh QA environment with Production data

From:
http://pmclp-s342:8080/wiki/ - Data Integrity Documentation

Permanent link:
http://pmclp-s342:8080/wiki/doku.php?id=dynamics_ax:refresh_qa_environment_with_production_data

Last update: 2013/08/08 12:02

Data Integrity Documentation - http://pmclp-s342:8080/wiki/

Vous aimerez peut-être aussi