Configuring the Server for Multiple Network Handlers

Configure multiple network listeners.

  1. Define a unique host name for each network interface in your operating system’s host database.
  2. In your interfaces file, use a text editor to add copies of the “master” line for your SAP ASE; one for each additional interface you want the server to listen on.
  3. Include a unique host name on each line to configure a network handler for each network interface.
  4. Port numbers within the interface need not be the same, but they can be. They fall under the same rules for naming and numeric range as the primary network interface.
    This example shows an interfaces file for an SAP ASE with two network interfaces. The server host machine is known as SERV_CORPNET on the corporate network and SERV_ENGNET on the engineering network.
    # PRODUCTION server with two network listeners
     PRODUCTION<tab>3<tab>3<newline>
     <tab>master tcp ether SERV_CORPNET 4559
     <tab>master tcp ether SERV_ENGNET 5479
     <tab>query tcp ether SERV_CORPNET 4559
    When SAP ASE restarts, it spawns a network handler process for each master line in the entry that corresponds to the server’s DSLISTEN value. Connections made on each interface are handled equally, as peers.