HP-UX Network Server Accelerator HTTP B.11.31.01.
© Copyright 2010, 2011 Hewlett-Packard Development Company, L.P Legal Notices Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice.
Contents 1 HP-UX Network Server Accelerator HTTP B.11.31.01.03 release notes...............................................4 Announcement.........................................................................................................4 What’s new in this version.........................................................................................4 NSA HTTP components.............................................................................................4 Administrative utility (nsahttp)....
1 HP-UX Network Server Accelerator HTTP B.11.31.01.03 release notes Announcement The HP-UX Network Server Accelerator (NSA) HTTP B.11.31.01.03 product enables NSA functionality for the HTTP protocol on HP-UX 11i v3. NSA HTTP improves web server performance by maintaining an in-kernel cache of recently accessed web pages. When NSA HTTP is activated, the web page requests (HTTP GET requests) are serviced directly from the data cache in the kernel.
Administrative utility (nsahttp) HP-UX NSA HTTP provides the nsahttp administrative utility. This utility displays NSA HTTP performance statistics, lists the TCP ports registered to use NSA HTTP, and displays other configuration and statistical information. This includes: • The total number of TCP connection requests received for the registered NSA HTTP ports. • The number of HTTP cache hits, which corresponds to the number of HTTP GET requests that NSA HTTP serviced from its cache.
When delivered with NSA HTTP product, the /etc/rc.config.d/nsahttpconf file contains default values for all NSA HTTP options. If an option is not set in the /etc/ rc.config.d/nsahttpconf file, NSA HTTP uses the default value, as listed in nsahttp (1). For details on configuring /etc/rc.config.d/nsahttpconf, see nsahttp (1). Startup script The /sbin/init.d/nsahttp file is the startup script used to activate NSA HTTP at system startup time.
Disk space required for installation This product requires approximately 500 KB of disk space. Installing, activating, and configuring NSA HTTP This section contains procedures for installing, activating, and configuring HP-UX NSA HTTP B.11.31.07.09. For information on deactivating and removing HP-UX NSA HTTP, see “Deactivating and removing NSA HTTP” (page 8). Installing NSA HTTP 1. 2. 3. Go to the HP Software Depot website, www.software.hp.com.
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. 5. Stop the web server (such as the Apache web server) you want to use with the NSA HTTP service. 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.
1. 2. Stop the web server being used with the NSA HTTP service. 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. 4. 5. Restart the web server. If you want to retain any NSA HTTP log files in the /var/nsa directory, copy the files to a backup medium or move them to another directory such as /tmp. Removing NSA HTTP in the next step also removes the /var/nsa directory.
This behavior has no side effects unless you try to remove the NSA HTTP product while there is an un-read HTTP GET reply for a local web client. Removing the NSA HTTP product when the nsamod module is busy will cause the system to reboot.
listen+0x1b0 syscall+0x530 NSA module is closed before closing the httpm objects. Workaround: This issue is fixed by changing the order of closure of modules. Documentation For usage information, see nsahttp (1). You can also get additional information from the HP-UX Networking Docs product pαge. On this page, select HP-UX 11i v3 Networking Software.