We've planned to do a downtime window for EMS thru Unix script. Can you provide some way to stop EMS server thru script?
book
Article ID: KB0084983
calendar_today
Updated On:
TIBCO Enterprise Message Service
|
-
|
Not Applicable
|
-
|
Description
Resolution:
You can put the "shutdown" command into a script file and pass the script file to tibemsadmin command.
In the script file, you need to provide the server url to connect to specific server.
connect [server-url {admin|user_name} password]
The server url is in this format,
tcp://<IP_address_of_EMS_server>:<port>
For example, if EMS server is running on 10.2.30.140 with listen port 7890, then in the script.txt file, you should put in
==================
connect tcp://10.2.30.140:7890 <user> <password>
shutdown
==================
The above sample script file can be used to shutdown EMS server gracefully using the following command,
tibemsadmin -script script.txt
Issue/Introduction
We've planned to do a downtime window for EMS thru Unix script. Can you provide some way to stop EMS server thru script?
Feedback
thumb_up
Yes
thumb_down
No