We are running multiple OpenMQ 4.4u1 broker instances on a single server (two different environments, one development and one staging). It appears as though the RC file I installed in /etc/init.d on our RHEL server is designed to manage one and only one broker instance (using the $IMQ_ETCHOME/imqbrokerd.conf file).
Is there an elegant way to have the single RC script manage multiple instances, or should I just create a second RC file and a second $IMQ_ETCHOME/imqbrokerd.conf file to manage the second instance?
Yes, the MQ RC script is for 1 broker instance only. On Solaris, it's possible to use SMF to manage multiple processes/services. You may want to look for something similar on RHEL or clone/customize the RC script, imqbrokerd.conf and relevant links in rc?.d for each instance