Download Enterprise Messaging Gateway - User's Guide

Transcript
Installing or upgrading EMG
emgd -verify
Start the server:
emgd
Verify that the server is running:
ps -ef|grep emgd
You should now be up and running with your upgraded software.
4.5 Configure software
Configuring the software usually involves


Creating a server.cfg that includes configuration for the needed connectors.
Creating a client.cfg with hostname, port and possibly authentication information for MGP clients.
After the installation there will be a sample configuration in EMGDIR.
4.6 Starting, stopping and refreshing the server
The server can be started by simply running
# emgd
It is possible to set the debug level to DEBUG using the "-debug" option. It will
also send the debug output to stdout.
# emgd -debug
The server can be stopped using
# emgd -stop
To refresh the server use
# emgd -refresh
There are 3 different ways to refresh the server:
1 Run "emgd -refresh" (active connections are reset)
2 Run "emgd -reload" (active connections are not affected)
3 Use emgclient or another MGP client (requires MGP administrator privilege)
Reloading the server is done by running “emgd -reload”.
4.7 On-disk message store
In EMG 5 all EMG queues are stored on disk in an embedded database.
The indexed files of the database are located in the EMG spool directory.
Do not try to modify these files manually since you will most likely end up
with a corrupted database.
Enterprise Messaging Gateway - User’s Guide 5.4.7
24