Jump to content

ACE+TAO Opensource Programming Notes/Notification

From Wikibooks, open books for an open world

Installation

[edit | edit source]

These days, the pre-compiled RPMs for redhat type servers (Fedora, RedHat, CentOS, etc.) are a pretty handy way to get your name server installed and running as a boot time service. That's certainly what I use on my laptop for testing, and at work on our servers. I don't know if someone has done something similar for the Microsoft platform, but I don't really consider this to be a popular choice for critical service platform due to their regular downtime requirements in an enterprise setting.

The very nice CosEventServer implementation provided for RedHat, and I assume other server vendors of the UNIX variety, has a config directory in /etc . The values in the config directory are easy to understand and edit, and there are mercifully few options to set. For instance, my opt file in /etc/tao, is the stock config file which came with the distro and is as follows:

# Specify desired default initial references arguments
INITREF="-ORBDefaultInitRef corbaloc::localhost:2809 -NameSvc"

# Enable debug logging, comment out to disable.
#DEBUGLEVEL="-ORBDebugLevel 10"

# Configure log file
LOGFILE="-ORBLogFile /var/log/tao/tao-cosnotification.log"

# Concatenate all options
OPTIONS="$INITREF $DEBUGLEVEL $LOGFILE"