Académique Documents
Professionnel Documents
Culture Documents
Apr 2010
NOTE: Following document shows settings that were done for HRLMSDMO (tools 8.50.07). Adjust relevant paths, domain name, ports for appropriate target env
Table of Content
EMHUB Server....................................................................................................2 Setup EM Hub Server (Unix: aix15)............................................................................2 EMHUB Unix Agent............................................................................................3 Setup EM Hub Agent on Unix......................................................................................3 Start EM Hub Agent on Unix.......................................................................................6 Start EM Hub Agent on Unix (In Background)............................................................6 Test if Agent running in background............................................................................6 Stop EM Hub Agent on Unix (only if running in Background)...................................6 EMHUB Windows Agent....................................................................................8 Setup EM Hub Agent on Windows..............................................................................8 Start EM Hub Agent on Windows................................................................................9 Stop EM Hub Agent on Windows ...............................................................................9 Change Assistant.............................................................................................11 Change Assistant Setup...............................................................................................11
page 1 / 14
Apr 2010
EMHUB Server
Setup EM Hub Server (Unix: aix15)
Setup PeopleTools Options
If you changed information on the above screen, you need to Restart the environment processes on aix15 Clear previous EMHub session data Telnet to aix15, run following commands as psoft user
. /home/apps/hi/aix15/bin/setenv.hrlmsdmo.sh /home/apps/hi/aix15/bin/stop.weblogic.hrlmsdmo.sh rm -rf /home/apps/hrc/psoft/hrlmsdmo/pt850/webserv/hrlmsdmo/applications/peoplesoft/PSEMHUB.war/envmet adata/data/* rm -rf /home/apps/hrc/psoft/hrlmsdmo/pt850/webserv/hrlmsdmo/applications/peoplesoft/PSEMHUB.war/envmet adata/PersistentStorage/* rm -rf /home/apps/hrc/psoft/hrlmsdmo/pt850/webserv/hrlmsdmo/applications/peoplesoft/PSEMHUB.war/envmet adata/scratchpad/*
page 2 / 14
Apr 2010
Test if EM Hub is working. EMHub uses same Server/Port as the default PIA instance of the target Env LMS DMO URL : http://aix15:1081/PSEMHUB/hub
page 3 / 14
Apr 2010
page 4 / 14
Apr 2010
#!/bin/sh # ****************************************************************** # ORACLE CONFIDENTIAL. For authorized use only. Except for as # expressly authorized by Oracle, do not disclose, copy, reproduce, # distribute, or modify. # ****************************************************************** # #----------------------------------------------------------------------# # #----------------------------------------------------------------------#************************************************************************* #This script is used to start PeopleSoft EMF Agent on the machines # #it initializes following variables: #CLASSPATH - The jar files required to start the EMF Agent #For additional information, refer to the WebLogic Server Administration # # #Guide (http://peoplesoft.com/toe/EMF). #************************************************************************* # M.Frappier (2010-04-12 09:30 EST): Run following script to set Env vars . /home/apps/hi/aix15/bin/setenv.hrlmsdmo.sh cd /home/apps/hrc/psoft/hrlmsdmo/pt850/PSEMAgent CLASSPATH=lib/commons-httpclient-2.0-rc1.jar CLASSPATH=$CLASSPATH:lib/commons-logging-1.0.1.jar CLASSPATH=$CLASSPATH:lib/commons-codec-1.1.jar CLASSPATH=$CLASSPATH:lib/mx4j-jmx.jar CLASSPATH=$CLASSPATH:lib/log4j-1.2.8.jar CLASSPATH=$CLASSPATH:lib/xerces.jar CLASSPATH=$CLASSPATH:lib/xalan.jar CLASSPATH=$CLASSPATH:lib/psemf.jar CLASSPATH=$CLASSPATH:lib/changeassistant.jar export CLASSPATH ../jre/bin/java com.peoplesoft.pt.environmentmanagement.agent.Agent $1
page 5 / 14
PS Setup EMHub, EMAgents, ChangeAssistant for Update Deployment Start EM Hub Agent on Unix
Command to start agent interactive in current telnet session Open telnet session and login as psoft
psoft@aix15:/home/apps/hrc/psoft/hrlmsdmo/pt850/PSEMAgent>./StartAgent.sh Sending pulse from 'com.peoplesoft.emf.peer:id=1' INFO Thread-4 EMF_CATEGORY - Proceeding with matching for Host INFO Thread-4 EMF_CATEGORY - Proceeding with matching for Decoupled AppServer INFO Thread-4 EMF_CATEGORY - Proceeding with matching for prcsserver INFO Thread-4 EMF_CATEGORY - Diff: Hours 0 Minutes 0 Seconds 0 Sending pulse from 'com.peoplesoft.emf.peer:id=1' Sending pulse from 'com.peoplesoft.emf.peer:id=1' .....
Apr 2010
Note: Peer ID will vary depending on sequence of the different agents being started in the target env
Command to ask Agent to rescan for PS Components from set directory above (unixdrivestocrawl=) Open in a SEPERATE telnet session and login as psoft
psoft@aix15:/home/apps/hrc/psoft/hrlmsdmo/pt850/PSEMAgent> ./StartAgent.sh recrawl NFO main EMF_CATEGORY - Proceeding with matching for AppServer INFO main EMF_CATEGORY - Detected an install for appserver at /home/apps/hrc/psoft/hrlmsdmo/ptools8.49/appserv/Search - unable to detect a configuration file. Ignoring this installation INFO main EMF_CATEGORY - Proceeding with matching for prcsserver INFO main EMF_CATEGORY - Proceeding with matching for Host INFO main EMF_CATEGORY - Proceeding with matching for WebServer INFO main EMF_CATEGORY - Diff: Hours 0 Minutes 0 Seconds 7
page 6 / 14
Apr 2010
page 7 / 14
Apr 2010
# ****************************************************************** # ORACLE CONFIDENTIAL. For authorized use only. Except for as # expressly authorized by Oracle, do not disclose, copy, reproduce, # distribute, or modify. # ****************************************************************** # #----------------------------------------------------------------------# # #----------------------------------------------------------------------# ALL ENTRIES IN THIS FILE ARE CASE SENSITIVE. #hubURL= this is the host and port the agents talk to hubURL=http://aix15:1081/PSEMHUB/hub agentport=5283 #ping interval in milliseconds for the peer to contact the hub for new messages pinginterval=10000 #Windows directories need to use the forward slash ('/') character. For multiple directories, use a '|' character as separator windowsdrivestocrawl=e:/hrlmsdmo/pt851 unixdrivestocrawl=/usr/home #The time interval in hours for the hub to issue a recrawl command to the agents recrawlinterval=24
Clear previous EM Agent session information Using Windows Explorer: Delete all files or dir. in E:\hrlmsdmo\pt850\PSEMAgent\envmetadata\PersistentStorage E:\hrlmsdmo\pt850\PSEMAgent\envmetadata\scratchpad Delete all files or dir. ( EXCEPT file "matchers.xml" ) in E:\hrlmsdmo\pt850\PSEMAgent\envmetadata\data
page 8 / 14
PS Setup EMHub, EMAgents, ChangeAssistant for Update Deployment Start EM Hub Agent on Windows
Command to start agent in interactive mode on Windows From command line window: (or double click on bat file via Windows explorer)
E:\hrlmsdmo\pt850\PSEMAgent\StartAgent.bat Sending pulse from 'com.peoplesoft.emf.peer:id=2' Sending pulse from 'com.peoplesoft.emf.peer:id=2' Sending pulse from 'com.peoplesoft.emf.peer:id=2'
Apr 2010
Note: Peer ID will vary depending on sequence of the different agents being started in the target env
Command to ask Agent to rescan for PS Components from set directory above (windowsdrivestocrawl =) From a SEPARATE command line window, run command
E:\hrlmsdmo\pt850\PSEMAgent\StartAgent.bat recrawl INFO main EMF_CATEGORY - Proceeding with matching for Host INFO main EMF_CATEGORY - Proceeding with matching for Host INFO main EMF_CATEGORY - Proceeding with matching for AppServer INFO main EMF_CATEGORY - Detected an install for appserver at e:/hrlmsdmo/PT8.49 /appserv/Search - unable to detect a configuration file. Ignoring this installat ion INFO main EMF_CATEGORY - Proceeding with matching for prcsserver INFO main EMF_CATEGORY - Proceeding with matching for CLIENT INFO main EMF_CATEGORY - Diff: Hours 0 Minutes 0 Seconds 11
page 9 / 14
Apr 2010
page 10 / 14
Apr 2010
Change Assistant
Change Assistant Setup
Once the EM Hub agents are running, do the following in Change Assistant Configure Change Assistant Start Change Assistant
page 11 / 14
Apr 2010
Environment Management:
NOTE: Setup Server Host and Port to connect to the PIA instance of the PS Env you need to update using Chg Assist. Click Close on Summary window, then OK to close Options window
page 12 / 14
Apr 2010
page 13 / 14
Apr 2010
page 14 / 14