Broker 10.5 | webMethods Broker Documentation | Installing and Upgrading webMethods Broker | Installing and Uninstalling Broker | Register Daemons to Automatically Start and Shut Down Broker Monitors on UNIX Systems
 
Register Daemons to Automatically Start and Shut Down Broker Monitors on UNIX Systems
 
webMethods Boker Daemons and rc-scripts
You can register daemons for webMethods Broker on UNIX systems to make those products start and stop automatically at system start and shutdown time. After installation, you can use the command line tool daemon.sh to register daemons for more Software AG products. You can also use the tool to unregister daemons for Software AG product.
The daemon.sh script generates an init-script for each daemon. The naming convention for the init-script is sag[number]instance_name , where sag is a fixed prefix string, and instance_name is a unique identifier for the daemon instance. If you accidentally specify a non-unique instance_name during daemon registration, the daemon.sh script automatically adds number to make the init-script name unique. The table below shows the locations of the generated init-scripts.
System
Location
SLES 11, RHEL 6, Solaris
/etc/init.d
SLES 12, RHEL 7
/usr/lib/systemd/system
AIX
/etc
Each product daemon has an rc-script that has these features:
*It is owned and called by the installation user (that is, the non-root UNIX user that ran the installer).
*It accepts the arguments 'start' and 'stop' to start and stop the corresponding product.
At system start and shutdown time, the init-script changes the current user ID from the root user to the user that owns the rc-script and then calls the rc-script with the start or stop option, as appropriate.
The daemon.sh command line tool is located in the Software AG_directory /common/bin directory. Log on to your system as the root user and call it from any current working directory. For information on the location daemon.sh command line tool and the most commonly used command line options, refer Run the daemon.sh Command Line Tool section in Installing Software AG Products.