HP UX 11i v3 Networking Software manual Using SDP, Using socket address family control

Page 6

3 Using SDP

Integrating applications with SDP using libsdp.so library

The dynamically linked libsdp.so library is used for transparent integration of applications with SDP. The library is preloaded and hence, takes precedence over the libc library for certain socket calls. Therefore, the libsdp.so library can transparently replace the TCP socket family with SDP socket calls.

Using a configuration file (/etc/libsdp.conf), the system administrator can set up the policy that selects the type of socket to be used. The libsdp.so library also has the option to allow server sockets to listen on both SDP and TCP interfaces. The various configurations with SDP and TCP sockets are explained in the /etc/libsdp.conf file.

Using socket address family control

The socket control statements allow the user to specify when the libsdp.so library replaces AF_INET/SOCK_STREAM sockets with AF_SDP/SOCK_STREAM sockets. To apply a control statement, all its sub expressions must match the rule.

The generic statement that controls the type of sockets to be opened is

use <address-family> <role> <program name> <address*>:<port range*>

The <address-family>field can be one of the following:

sdp specifies when an SDP protocol can be used in the control statement

tcp specifies when an SDP protocol cannot be used in the control statement

both specifies when SDP and AF_INET sockets can be used in the control statement

NOTE: The address family both functions differently for server and client roles. If the server role is used, the server listens on both sdp and tcp. If the client role is used, the connect prefers using sdp, but opts for tcp if the sdp connection fails.

The <role> field can be one of the following:

server or listen defines the listening port address family

client or connect defines the connected port address family

The <program-name*>field defines the particular program (path is not included), that is applicable to the rule. Wildcards with the same semantics as ls are supported (* and ?). Therefore, db2* lists all the programs that start with db2 and t?cp lists all the programs that start with ttcp, and so on. If the program name is not provided, the statement matches all programs.

The <address*> field can be either the local address the server is bind to or the remote server address to which the client is connected. Syntax for address matching is

<IPv4>[/<prefix_length>]*

IP address can be IPv4 in dotted-quad format “ddd.ddd.ddd.ddd”.

Prefix_length refers to the number of bits to match. A prefix_length of 16 matches the subnet mask 255.255.0.0 in IPv4. A prefix_length of 32 bits for IPv4 is required to match the exact IP address.

The <port range> is start-port [-end-port] where port numbers are greater than 0 and less than 65536.

If a match does not exist, the libsdp library uses the address family both by default. For example,

Use SDP by clients connecting to machines that belong to subnet 192.168.1.*

6Using SDP

Image 6
Contents HP Sockets Direct Protocol SDP User Guide Page Contents Introduction to SDP Uninstallation Installing and configuring SDPPrerequisites Installation instructions Configuring SDP using libsdp.conf fileUsing socket address family control Using SDPIntegrating applications with SDP using libsdp.so library Use address-family role program name address*port rangeSetting tunables Environment variables for SDP integration# export LDPRELOAD=/usr/lib/hpux32/libsdp.so Using Rdma for large buffers Limitations of SDPMonitoring and troubleshooting SDP using sdpnetstat command Monitoring and troubleshooting SDPUsing sdpnetstat command to check SDPs functioning Debugging the libsdp.so libraryDebugging SDP using NetTL Enabling NetTL for SDPNettl -tn all -e SDP -file /tmp/sdp Information to collect before you contact HP How to contact HPSupport and other resources Related InformationCustomer self repair Documentation feedback Configuration files for libsdp.conf Sample configuration files for libsdp.confSocket Address Family Control Configuration files for libsdp.conf Collecting SDP statistics # sdpnetstat -SCollecting SDP statistics Glossary

UX 11i v3 Networking Software specifications

HP-UX 11i v3 is an advanced Unix operating system developed by Hewlett-Packard, offering a robust and secure platform for enterprise-level computing. One of its most significant components is the networking software, which is designed to support a wide range of networking protocols and services, ensuring seamless connectivity and communication across various environments.

A key feature of HP-UX 11i v3 networking software is its support for a myriad of networking protocols, including TCP/IP, which is essential for internet and intranet communications. Its enhanced TCP/IP stack delivers improved performance, reliability, and support for IPv6, allowing organizations to transition smoothly into the next generation of internet protocol.

HP-UX 11i v3 also integrates a powerful set of network management tools, facilitating the monitoring and management of network performance. With tools such as HP Network Node Manager, system administrators can gain visibility into network health, detect anomalies, and efficiently manage the entire network infrastructure. This capability is crucial for maintaining service levels and achieving high availability, which are essential for mission-critical applications.

Security is another paramount characteristic of HP-UX 11i v3 networking software. The OS incorporates advanced security features like Secure Shell (SSH) for secure remote access, IP filtering, and a stateful firewall that protects against unauthorized access while providing control over data flow. These features help organizations safeguard sensitive data and maintain compliance with regulatory standards.

The operating system also supports virtualization technologies such as HP Virtual Connect and HP-UX containers, enabling the efficient use of resources and providing flexibility in network configuration. Virtualization simplifies server management while enhancing scalability, which is vital for adapting to changing workloads.

HP-UX 11i v3 excels in providing high-performance networking capabilities, including support for high-speed Ethernet and Fibre Channel technologies. This performance is bolstered by features such as Quality of Service (QoS), which prioritizes network traffic, ensuring that critical applications receive the necessary bandwidth.

In conclusion, HP-UX 11i v3 networking software is a comprehensive solution that combines robust performance, scalability, and security. Its support for various networking protocols, advanced management tools, and virtualization technologies makes it an ideal choice for enterprises looking to streamline their operations and enhance their network infrastructure. With its focus on reliability and security, HP-UX 11i v3 continues to be a preferred platform for businesses that demand excellence in their networking environments.