Pennsylvania Department of HUMAN SERVICES

<System Name>

Deployment Guide R.xx.xx.xx

<System Name>

Deployment Guide R.xx.xx.xx

<Version #>

Revision History

Date	Version	Description	Author

Table of Contents

1.	<project name> Release <R.xx.xx.xx> Deployment Instructions	3

1.1	Web Deployment	3

1.1.1	Web Setup on pwisprdweb40, pwisprdweb41	3

1.2	Web Rollback	3

1.2.1	WEB Rollback on pwisprdweb40, pwisprdweb41	3

1.3	.JAR Deployment	3

1.3.1	.JAR on PWISPRDWEB40, PWISPRDWEB41	3

1.4	.JAR Rollback	3

1.4.1	.JAR Rollback on PWISPRDWEB40, PWISPRDWEB41	3

1.5	Testing	3

1.6	Services Setup on pwisprdweb40/web41	3

1.7	Services Rollback	3

1.7.1	Services Rollback on pwisprdweb40/web41	3

1.8	Batch Deployment	3

1.8.1	BATCH Setup	3

1.9	Batch Rollback	3

1.9.1	BATCH Rollback	3

<project name> Release <R.xx.xx.xx> Deployment Instructions

[The instructions shown below are a representative sample only.]

Web Deployment

Web Setup on pwisprdweb40, pwisprdweb41

Please verify that both web40 and web41 are configured in PRD.xml

Database connection information in the PIM section should have CSP_PROD as the database and data warehouse of pacses_prod

Open Remote Desktop Connection: pwisprdweb40 – WEB

Web Application Auto Deployment Commands: deploy.bat pim 3.1.0.35 PRD

Perform the following: Recycle App Pool, Delete temporary internet files (WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\pim) folder

Edit the file \\pwisprdweb40\apps\PACSES\Web Application\PIM\Pages\app_offline.htm

Change the following line of code from:<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.humanservices-t.state.pa.us/maintenance/pim-maintenance.html">

To: <meta HTTP-EQUIV="REFRESH" content="0; url=https://www.humanservices-t.state.pa.us/maintenance/pim-maintenance.html">

Repeat steps 3-6 for server pwisprdweb41.

Send out an email once the Deployment is complete.

Web Rollback

WEB Rollback on pwisprdweb40, pwisprdweb41

Please verify that both web40 and web41 are configured in PROD.xml

Database connection information in the PIM section should have CSP_PROD as the database and data warehouse of pacses_prod

Open Remote Desktop Connection: pwisprdweb40 – WEB

Web Application Auto Deployment Commands: deploy.bat pim 3.0.0.61 PRD

Perform the following: Recycle App Pool, Delete temporary internet files (WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\pim) folder

Edit the file \\pwisprdweb40\apps\PACSES\Web Application\PIM\Pages\app_offline.htm

Change the following line of code from:<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.humanservices-t.state.pa.us/maintenance/pim-maintenance.html">

To: <meta HTTP-EQUIV="REFRESH" content="0; url=https://www.humanservices-t.state.pa.us/maintenance/pim-maintenance.html">

Repeat steps 3-6 for server pwisprdweb41.

Send out an email once the Deployment is complete.

.JAR Deployment

.JAR on PWISPRDWEB40, PWISPRDWEB41

Copy (overwrite) the jar file PACSESRealTime.jar from the below listed Source to the Target location

Source Location:

\\pwishbgdts01.dhs.lcl\itss\CM\Migration\DropZone\PACSES\JBossDeployment

Target Location:

\\pwisprdweb40\D$\jboss-4.2.1.ga\server\default\deploy

Repeat Step 1 for PWISPRDWEB41

Test (see testing section) and Send out an email once the Deployment is complete.

Special note – do not create backup JAR files. JAVA works differently than .NET and creating backup .jar files in the same directory has been known to cause problems.

.JAR Rollback

.JAR Rollback on PWISPRDWEB40, PWISPRDWEB41

Copy (overwrite) the jar file PACSESRealTime.jar from the below listed Source to the Target location

Source Location:

\\pwishbgdts01\ITSS\CM\Migration\DropZone\PACSES\JBossDeployment\Rollback

Target Location:

D:\jboss-4.2.1.ga\server\default\deploy

Repeat Step 1 for PWISPRDWEB41

Test and Send out an email once the Deployment is complete.

Testing

Wait 5 minutes

Test WSDL in browser on PWISPRDWEB40

http://localhost:8080/RealTimeBeanService/RealTimeBean?wsdl

Repeat steps 1 and 2 to PWISPRDWEB41

Send the screen shot of WSDL page to ITSS Team for validation

Services Setup on pwisprdweb40/web41

Stop PACSESDataService from Windows service manager

Close windows service manager

Run uninstallsvc.bat from pacses_deployment folder on pwisprdweb40

Run following command: deploy.bat dataservices 2.0.0.54 prd

Run installsvc.bat from pacses_deployment folder on pwisprdweb40

Open windows service manager using the appropriate service account and change PACSES Data Services Startup type to Automatic

Start PACSESDataService from Windows service manager on pwisprdweb40

Repeat steps 1-8 on pwisprdweb41

Services Rollback

Services Rollback on pwisprdweb40/web41

Stop PACSESDataService from Windows service manager

Close windows service manager

Run uninstallsvc.bat from pacses_deployment folder on pwisprdweb40

Run following command: deploy.bat dataservices 1.0.0.66 prd

Run installsvc.bat from pacses_deployment folder on pwisprdweb40

Open windows service manager using the appropriate service account and change PACSES Data Services Startup type to Automatic

Start PACSESDataService from Windows service manager on pwisprdweb40

Repeat steps 1-8 on pwisprdweb41

Batch Deployment

BATCH Setup

Remote Desktop into pwisprdapp30

Run the following command:

deploy.bat tlvbatch 4.4.2.124 prd

Batch Rollback

BATCH Rollback

Remote Desktop into pwisprdapp30

Run the following command:

deploy.bat tlvbatch 4.4.2.13 prd