Change Assistant PSEMAgent clear peer ids and cleanup

/ May 26th, 2010/ Posted in PeopleSoft / No Comments »

Problem:

Having issues with PSEM Agent and environments not showing up. Browsing to the hub website “http://XXXXX.XX.com/PSEMHUB/hub” there are many items listed that do not exist anymore.

Solution:

The Following will cleanup the files and afterwards you should be able to start the agents and see the environments in change assistant without any problems

@ECHO OFF
REM *********
REM The File clears the contents of the EMF Hub and Agents and Change Assistant
REM *********

PIA ServicePeoplesoftStart

Rem THIS IS FOR THE PC RUNNING CHANGE ASSISTANT
move “C:\Program Files\PeopleSoft\Change Assistant\envmetadata\data\matchers.xml” c:\matchers.xml
del /q /s “C:\Program Files\PeopleSoft\Change Assistant\envmetadata\data\*.*”
move c:\matchers.xml “C:\Program Files\PeopleSoft\Change Assistant\envmetadata\data\matchers.xml”
rmdir /q /s “C:\Program Files\PeopleSoft\Change Assistant\envmetadata\PersistentStorage\”
rmdir /q /s “C:\Program Files\PeopleSoft\Change Assistant\envmetadata\scratchpad\”
rmdir /q /s “C:\Program Files\PeopleSoft\Change Assistant\envmetadata\transactions\”

REM THIS IS FOR THE AGENTS
move %1\PSEMAgent\envmetadata\data\matchers.xml c:\matchers.xml
del /q /s %1\PSEMAgent\envmetadata\data\*.*
move c:\matchers.xml %1\PSEMAgent\envmetadata\data\matchers.xml
rmdir /q /s %1\PSEMAgent\envmetadata\PersistentStorage\
rmdir /q /s %1\PSEMAgent\envmetadata\scratchpad\
rmdir /q /s %1\PSEMAgent\envmetadata\transactions\

REM THIS IS FOR THE HUB
Stop Peoplesoft PIA Service
rmdir /q /s %1\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\data\environment\
rmdir /q /s %1\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\data\proxies
del /q /s %1\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\data\*.*
rmdir /q /s %1\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\PersistentStorage\
rmdir /q /s %1\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\scratchpad\
rmdir /q /s %1\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\transactions\


Tags:

Leave a Reply

Name required

Please Submit Answer * Time limit is exhausted. Please reload CAPTCHA.