Tuesday, 22 October 2013

 How to Copy a PeopleSoft Environment 

Modified 15-JUN-2011     Type HOWTO     Status PUBLISHED

In this Document
  Goal
  
Solution
  
References

Applies to:
PeopleSoft Enterprise PT PeopleTools - Version: 8.4 and later   [Release: 8.4 and later ]
Information in this document applies to any platform.
This document was previously published as Customer Connection Solution 200992191
Goal
What are the steps to copy a PeopleSoft environment? 
Solution

*** IMPORTANT ***
The following information is UNSUPPORTED and provided as suggestions only.

There is no delivered documentation on how to clone an existing system into a new environment.  The GCS and Development consider this to be out of scope and as such it is unsupported.  However, we have compiled the following information which could render assistance.
*** IMPORTANT ***

1) Copy the database

2) If your database platform has the table PS.PSDBOWNER, please don't forget to update it for the name of the database and ownerid, both in caps, ie:
INSERT INTO PS.PSDBOWNER VALUES ('H512O732','SYSADM');

3) If there is to be a different access ID and/or password you must update PSACCESSPRFL. To change just the access password use the
CHANGE_ACCESS_PASSWORD ;
command in Data Mover in bootstrap mode.

4) Edit, if necessary, and run the CONNECT.SQL and GRANT.SQL scripts

5) For PeopleTools 8.44 and higher, blank out the GUID in the PSOPTIONS table, This will get regenerated when the new Application Server Domain is started.

6) Create new Application Server Domain (delete old one)

7) Create new PIA (delete old one)

8) For PeopleTools 8.44 and higher, update the Long name, Short name, and System Type in PeopleTools -> Utilities -> Administration -> PeopleTools Options

9) Update the Report Node definitions

10) Clear out the Process tables with PRCSCLR.DMS
    Note: Still required to be run if the cloned database has the same name

11) Clear out the content tables with RPTCLR.DMS
    Note: Still required to be run if the cloned database has the same name

12) Create new Process Scheduler domain (delete old one)

13) Make sure old URL information has been updated.

14) What we generally tell customers is that the things to look for include any node URI values (PSNODEURITXT) and of course we recommend a file system search on the PS_HOME for old values.  We would also recommend looking over the webprofiles for any old values.

The following tables are a solid place to start:
 SELECT * FROM PSPRDMDEFN
 SELECT * FROM PSPRDMCNTPRV
 SELECT * FROM PSMSGNODEDEFN
 SELECT * FROM PSNODEURITEXT
 SELECT * FROM PSTRUSTNODES

Make sure that the Local Default Node is correct and that it's URI values are correct.  It also has to be in the trusted nodes list (it normally is automatically....).  Also make sure that your Portal Registry is hosted by the correct node.

Generally this may require tweaking information manually in SQL until you get all the old data changed over.  Focus on the Default Local Nodes as well as the portal definitions (as they may point to defunct nodes now).
Note: Cloning a Content Provider database that feeds into Enterprise Portal can manifest as issues in the Enterprise Portal. Specifically the EMPL node URI value in a Content Provider such as HCM or Financials, if not pointed to the correct Enterprise Portal, can break Single Signon and New Window functionality. Doing the select on PSMSGNODEURITEXT will find it, however if this is missed it will show up as a problem in Enterprise Portal not on the cloned Content Provider.

15) For PeopleTools 844 and higher, also check the web profiles table called: PSWEBPROFNVP

Please run the following SQL to check the webprofile Virtual Addressing settings:

select * from PSWEBPROFNVP WHERE PROPERTYNAME='DEFAULTSCHEME' OR PROPERTYNAME='PSWEBSERVERNAME' OR PROPERTYNAME='DEFAULTPORT' OR PROPERTYNAME='AUTHTOKENDOMAIN'

Please ensure that these values are NOT pointing to your old environment. 

Please also refer to the solution references below which are related to cloning databases.

*** IMPORTANT ***
This is meant to be a guideline resolution because we get many requests and problems from cloned systems.  Although we don't support it, we will continue to add information to this resolution so customers can guide themselves.  We tell customers to do a full DB search for the old server address as well as searching the file structure.  If you have successfully created a plan and detailed what you look for we would certainly add customer feedback to this resolution.

NOTE:
The GCS can't assist with problems caused by cloned databases.
*** IMPORTANT ***
 
References
NOTE:641151.1 - E-PIA: Logging on to PIA Redirects to Wrong Port
NOTE:648990.1 - E-PORTAL: Users logged into Dev can access Production, how can we break SSO?
Related

Products

·         PeopleSoft Enterprise > Tools and Technology > PeopleTools > PeopleSoft Enterprise PT PeopleTools
Keywords

CLONING DATABASE