Monday, November 19, 2012

PSOFT : Steps to Apply application update(Patch/Bundle/MP) using Change Assistant with ScreenShots.

1. Stop PSEMAgents(if running) on Unix and NT servers.



    Similarly Stop Agents on NT

2.  Clear Cache

To Clean up the PSEMHUB data you also need to ensure that you delete data from all the Agents and the Peers, you cannot just delete data from the PSEMHUB server.

You need to perform this cleanup on all Agents, Change Assistant (CA), Viewer and HUB, that  will reinitialize everything for you. 

Make sure you stop the Agents, CA, Viewer, HUB before you delete these files or directories. After that you can restart them.    

I) For Agents, Viewer and Change Assistant:

Delete the files in 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/PersistentStorage/
envmetadata/scratchpad
envmetadata/data/ids/
envmetadata/transactions/ (if it exists)
envmetadata/data/search-results.xml (just for Agents and CA)

II) For HUB

Delete the files in the following directories under PS_HOME\webserv\peoplesoft\applications\peoplesoft\PSEMHUB

if your domain name is not 'peoplesoft' then change the above directory accordingly.

PSEMHUB\envmetadata\scratchpad\
PSEMHUB\envmetadata\PersistentStorage\
PSEMHUB\envmetadata\transactions\ (if it exists)
PSEMHUB\envmetadata\data\*.* (files and directories.don't delete the data directory itself)

III) Repeat the same procedure to delete cache files in NT servers for CA and PSEMHUB

3. Configure CA & Start Agents on Unix & NT.

Before starting with Change Assistant edit the Configuration. Properties file at below locations accordingly.

(Note : Enter  App server & web server port
Keep default agent port same : 5283
Enter drive letter for windowsdrivestocrawl & path for unixdrivestocrawl where you have PS_HOME installed. Keep rest of the values intact)
@ PSEMAgents =>$PS_HOME\PSEMAgent\envmetadata\config
@ PSEMViewer =>$PS_HOME\PSEMViewer\envmetadata\config
@ PSEMHUB=>
$PS_HOME\webserv\<domain>\applications\peoplesoft\PSEMHUB.war\envmetadata\config
@Change Assistant =>
C:\Program Files\PeopleSoft\Change Assistant\envmetadata\config

Start the PSEMagent @ $PS_HOME\PSEMAgent

 


You check the status of all running PSEMAgents for this domain at below link:
http://AppServer:httpPort/PSEMHUB/hub

( If Agents don’t start well then below are fixes :
  You may get this error :
  ERROR main EMF_CATEGORY - Error while connecting to 'http://ftc-avpsfapp204:8060/PSEMHUB/hub'.
  ERROR main EMF_CATEGORY - Error: Internal Exception: - Error registering peer
  ERROR main EMF_CATEGORY - Error while connecting to server - retrying attempt 105
  Then try these fixes

  1. Update PSOPTIONS set GUID=’ ‘ and then bounce apps/webserver and try again
  Or
  2. This could be due to corrupted PIA/Hub installation or a corrupted Weblogic installation.
      So you can reinstall PIA / Psemehub or reinstall Weblogic and then try )
  
4.  Create new directories as below & Place MPs zip file downloaded from oracle support site inside download folder.(if you extract zip file contents then CA may not be able to identify .xml info files).











5. Make changes in Tools->Options as below
(select “Perform Application update->check the box for enable server processing” to be able to modify Remote agent fields and then select apply application update back again)

 

6. Goto Environment Management Tab and enter host, http port.
Ping and view.

 
  
You should get such output. If you dont get Yes for all 4 components then go and check the configuration.properties files for drives to crawl.



7. Click on Tools->Apply Change packages































9. Click on Validate Now:


10.

Start Executing individual steps now





25. Check Change assistance guidance manual on Oracle support for help on CA operations.

26. Once all steps are completed. 
Clear application Server & Web server cache. Bring up all PS components.

Note : To check latest applied updates check PS_MAINTENANCE_LOG table.

MP/Patch/Bundle applied successfully…Congrats!!!

-------------------------------------------------------------------------------

No comments:

Post a Comment