Symantec Management Platform (Notification Server)

 View Only

How Does Unix Basic Inventory Identify the 'Apache HTTP Server' Role 

Jun 20, 2008 02:03 PM

In order for a Linux client to be setup as a package server, it must be identified as a package server candidate. One of the criteria is that the machine have a role of 'Apache HTTP Server'. The role is stored in the 'AeX AC Roles' data class and 'Inv_aex_ac_roles' table. How does the Agent for Unix on a client machine identify this role?

The client.conf file, found in /opt/altiris/notification/nsagent/etc/client.conf, contains a "ps_send_apache_role" entry in the [MachineID] section. This entry allows for three possible entries: 'always', 'auto' and 'never'.

If set to 'always', the role will be sent if Apache server is installed and detected on the client.

If set to 'auto', which is the default, the role will only be sent if the Apache server is actually running and properly configured. To be properly configured, the following options must be configured for the default web directory: "FollowSymLinks" is enabled and "AllowOverride" is set to 'all' or 'authconfig'.

Note that the client.conf file contains additional apache-related entries in the [Httpd Integration] section, including.

[Httpd Integration]

# Setting this value overrides any search for httpd(2), if set only this value is used.
apache_exe_location=

# Setting this value overrides any Apache compiled in or default values. Can be used if
# the -f option has been used on Apache to specify a different location for the config file.
apache_config_location=

# When both https and http are available this specifies which of the two will be used.
# In case of NS 6.0 SP3 or higher, the value of this setting is specified by the NS.
integrate_with=http

# This setting defines the location relative to the package server install where Apache
# auth files are kept.
authfiles_location=var/authfiles

# This setting specifies any variables passed to apache on the command line. This is used
# when parsing the config file to determine which <IfDefine> nodes are used. If missing or
# empty this value is assumed to be "HAVE_SSL,SSL". Set value to "NONE" if the Apache server
# is not running SSL and the SSL nodes need to be skipped.
ifdefine_variables=HAVE_SSL,SSL

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.