Showing posts with label cleanup. Show all posts
Showing posts with label cleanup. Show all posts

Wednesday, 21 December 2011

Peoplesoft CA cleanup procedure.

In case CA fails to detect your environment or you want to start a new search, following is the procedoure to clean PSEMAGENT. Make sure you stop the Agents, CA, Viewer, HUB before you delete these files or directories. Its better to do a cleanup once you completes an MP patch or bundle.

1. Stop PSEMAGENT from all the servers in your environment.
2. Clean the following directories
For Agents, Viewer and Change Assistant: Delete the following directories, under PS_HOME\PSEMAgent for Agents, under PS_HOME\PSEMViewer for the Viewer and under the Change Assistant directory for Change Assistant.
envmetadata/PersistentStorageenvmetadata/scratchpad
envmetadata/data/idsenvmetadata/transactions (if it exists)
For Agents and Change Assistant delete the following file:
envmetadata/data/search-results.xml
For HUB Delete the following directories under PS_HOME\webserv\\applications\peoplesoft\PSEMHUB PSEMHUB\envmetadata\ScratchpadPSEMHUB\envmetadata\PersistentStoragePSEMHUB\envmetadata\transactions (if it exists)
Also delete all files and directories within:
PSEMHUB\envmetadata\data\*.* (files and directories.don't delete the data directory itself)

Note: Make sure that you dont delete matchers.xml. Even if you do, you can copy the same from anothe PS_HOME with same settings

Peoplesoft DBA - CA Issues

Issue 1
Unable to connect to your Proxy Server. Is Your Proxy Server (host = , port = 0) defined correctly?- When we tried to upload Peoplesoft Enviroment through CA

Resolution:
This is a firewall issue. As per Oracle Metalink The Network or System Administrator needs to change the IP Sec filter to include the new subnet for Peoplesoft 141.146.54.0 in addition to 192.203.43.0. Next, add IP 141.146.8.119 to your IPsec or firewall Rules in order to connect to Update Gateway through Change Assistant.Once these changes were in place, you should be able to connect. If the server is restricting websites for the web you will need to add the following to your trusted web sites

Also try whether there is any proxy in your organization which allows internet conn ection. If the proxy server is available give the proxy server name. ideally you should be able to ping oracle sites (not just connect) in order for CA to work properly
https://login.oracle.com/
https://metalink3.oracle.com/
https://psft-updates.oracle.com/
http://www.peoplesoft.com/
https://update.peoplesoft.com/

-------------------------------------------------------------------------------------------------
Issue2


When Validating Change Assistant,Discovering Hub Environments - Failed. No environments were found in the Environment Management Hub.
ERROR Message

No Environments were found in the Environment Management Hub.
Note: All agents should be running and sending pulses for all Application,
Batch, File and Web Servers for the environment before Change Assistant is started. 

Solution

1. View the  <PSHOME> 
\PSEMAgent\envmetadata\config\configuration.properties file for each agent.
2. Compare the hubURL line to the one in
C:\Program Files\PeopleSoft\Change Assistant\envmetadata\config\configuration.properties 
3. If they are different edit them to be the same.
4. Start the agents on all servers after following the cleanup procedure (http://peoplesoftdbafriend.blogspot.in/2011/12/peoplesoft-ca-cleanup-procedure.html)

For 8.50 and above versions due to the introduction of PS_CFG_HOME concept, make sure that the drives to crawl includes this location in addition to PS_HOME, and make sure that the peopletools.properties in both PS_HOME and PS_CFG_HOME points to correct location of PS_HOME, if the environment is a cloned one.
 -----------------------------------------------------------------------------------------------------------
Issue3

While trying to apply MP or when clicking View button on tools->option->Environment Management old environments are displayed. 

Follow clean up procedure. Make sure webserver Hub is cleared. 
(http://peoplesoftdbafriend.blogspot.in/2011/12/peoplesoft-ca-cleanup-procedure.html)

Make suere CA version is same as your PS_HOME versions. If you apply any tools patches to PS_HOME make sure CA is re installed.