on 12-07-2015 12:54 PM
Hello,
We have installed IDM8.0 on a Linux envirnoment, now I want to start/stop the dispatchers from command line and automatic via the profiles.
The IDM7.2 syntax doesn't seem to work, and when executing the Dispatcher_Service_xxx scripts there are only a few options (runonce|checkconfig|test)
I can't find the right syntax in the manuals, pls advice
Best regards,
Rob
Hi,
There is slight difference between Windows and Linux versions, e.g you
can not suspend/resume as it is only when it is running as a windows service, but others should be the same and available in 8.0 are:
test/add/delete/install/uninstall/start/suspend/resume/stop/softstop/list/gui
The command set is listed here:
Best wishes,
Fedya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Fedya,
Problem with your solution is that you have to provide the command with a password, this can be solved by sourcing the password in a script, but this is not secure enough for us.
I have found the following solution for the automatic start/stop, which can be executed from the instance profile of the NW JAVA instance in which our IDM is running:
put this syntax in the bottom of your instance profile:
#-----------------------------------------------------------------------
# Start/stop IDM Dispatchers
#-----------------------------------------------------------------------
Execute_10 = local csh -c "$(DIR_INSTANCE)/IDM/identitycenter/Service-Scripts/start_dispatchers.sh"
Stop_Program_00 = local csh -c "$(DIR_INSTANCE)/IDM/identitycenter/Service-Scripts/stop_dispatchers.sh"
cat start_dispatchers.sh
#!/bin/sh
FILE=/usr/sap/XXX/JXX/IDM/identitycenter/Service-Scripts/dispatchers.txt
DIR1=/usr/sap/XXX/JXX/IDM/identitycenter/Service-Scripts
# Bepaal welke dispatchers er zijn gedefinieerd
cd $DIR1
rm $FILE
ls -l Dispatcher_Service_*.sh | awk '{print $9}' >> $FILE
# Start dispatchers
cat $FILE | while read regel
do
sh ./$regel &
done
cat stop_dispatchers.sh
#!/bin/sh
ps -ef | grep Dispatcher_Service | grep .prop | awk '{print $2}' | while read regel; do kill -9 $regel; done
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.