HP-UX Network Server Accelerator HTTP B.11.31.01.03 Release Notes (5900-0837, September 2011)
3. Run the following command to register the TCP port(s) specified in the /etc/
rc.config.d/nsahttpconf file:
/sbin/init.d/nsahttp start
4. Stop the web server (such as the Apache web server) you want to use with the NSA
HTTP service.
5. Restart the web server you want to use with the NSA HTTP service.
After the web server is restarted, there will be one nsad kernel daemon for each
socket listening on a port registered with NSA HTTP.
6. Verify this with the following command:
ps -ef | grep nsad | grep -v grep
Activating NSA HTTP at system startup
1. Configure the /etc/rc.config.d/nsahttpconf with the operating parameters
for the NSA HTTP service or use NSA HTTP default values.
2. Set the NSAHTTP_ENABLE flag to 1 in the /etc/rc.config.d/nsahttpconf
file. This causes the system to activate NSA HTTP automatically at system startup
time. (This is the default behavior of NSA HTTP, so unless the setting of
NSAHTTP_ENABLE has been previously altered, no action is required.) The entry
will be:
NSAHTTP_ENABLE=1
Deactivating and removing NSA HTTP
This section contains procedures for deactivating and removing HP-UX NSA HTTP.
Deactivating NSA HTTP
1. Stop the web server being used with the NSA HTTP service.
2. Unregister the NSA HTTP application port used by the web server (the default port
number is 80, or otherwise configured in /etc/rc.config.d/nsahttpconf):
nsahttp -D -p port_num
3. Restart the web server.
Removing NSA HTTP
Follow the procedure listed below to remove NSA HTTP.
NOTE: Although the NSA HTTP kernel module, nsamod, is a DLKM, there are cases
when removing NSA HTTP on a system where the web server was serving a local web
client may cause the swremove utility to reboot the system. For more information, see
“Known problems and workarounds” (page 9).
8 HP-UX Network Server Accelerator HTTP B.11.31.01.03 release notes