Application Servers

The Application Server component handles all application operations between client computers and databases. It increases the scalability of the product by maintaining the client connections and their state, thereby relieving the Database server of a huge load.

Application Server uses connection Objects to create a temporary connection between various clients and databases and executes client requests. Once a request is executed, the connection is closed and the Object is returned to the connection pool.

Preinstallation Tasks

Identify and install the prerequisite software. See Software Requirements by Component — Application Server.

  • If you are installing Application Server on a Windows NLBS cluster and connections to Application Server are made through HTTP (with load balancing), follow these steps:

    1. Ensure that:

      • Application Server is installed on all NLBS host machines.

      • Virtual root names of Application Server are identical on all servers.

    2. Execute sproc_AddMachinestoNLBS with the following parameters:

      • Parameter1: @tNLBS: This parameter represents the virtual IP address of the NLBS Cluster.

      • Parameter2: @tMachines: This parameter contains the list of computer names that are part of the NLBS Cluster.

        The computer names must be separated by the comma delimiter. For example, Exec sproc_AddMachinestoNLBS N'172.17.32.100', N'HostMac1, HostMac2'

    3. Ensure the following are configured in the Windows Firewall Settings dialog box:

      • In the Exceptions tab, select the COM+ Network Access, Distributed Transaction Coordinator, and COM Surrogate check boxes.

      • Select the Notify me when Windows Firewall blocks a new program check box.

  • When connecting to Application Server using HTTP, we recommend that you modify the settings in the Web.config file as indicated below:

    <httpRuntime executionTimeout="900" maxRequestLength="5248" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="2000" enableVersionHeader="true" />

    These settings are explained below:

    • executionTimeout="[seconds]": This attribute represents the time (in seconds) before a request automatically times out.

    • maxRequestLength="[KBytes]": This attribute indicates (in kilo bytes), the maximum size for a request that can be accepted.

    • useFullyQualifiedRedirectUrl="[true|false]": This attribute indicates whether the URL for Client redirects must be fully qualified.

    • minFreeThreads="[count]": This attribute specifies the minimum number of free threads to enable the execution of new requests.

    • minLocalRequestFreeThreads=" [count] ": This attribute specifies the minimum number of free threads to enable execution of new local requests.

    • appRequestQueueLimit="[count]": This attribute specifies the maximum number of requests that can be queued for the application.

    • enableKernelOutputCache="[true|false]": This attribute indicates whether the http.sys cache must be enabled on IIS 7.5 and higher versions. By default, this value is True.

    • enableVersionHeader="[true|false]": This attribute indicates whether the X-AspNet-Version header must be output with each request.

    The Web.config file is located in the folder in which Application Server is installed.

     

Set Up Application Servers

  1. In the Installation menu, click App Servers. The Application Server Settings screen is displayed. Closed

    Application Server Settings

  2. Click Add to add a line to the Settings screen.

  3. Select an appropriate Action. The following Action values are available:

    • None – Performs no action.

    • Install – Performs a fresh installation or upgrade of a component. You can install or upgrade multiple components at the same time.

    • Uninstall – Removes all subcomponents on that machine and uninstalls the component from Programs and Features.

    • Reinstall – Retries to install a subcomponent.

    • Add – Installs an additional component on the computer where one or more components already exist. You can add only one component at a time.

    • Remove – Uninstalls a single component. You can remove only one component at a time.

    Optional: Click Select All to set the Action field to Install for all components listed on this screen. Click Unselect All to set the Action field to None.

  4. Enter the Machine Name for the component to be installed.

  5. Select a Database Link for Application Server.

  6. Click Options (ellipsis) icon to view and edit the Options form.

    App Server Options

    Options Fields
    Field Description
    Allow HTTP Connection Enables a connection from Client to Database through HTTP or HTTPS. The check box is selected by default.
    IIS Virtual Root: If Allow HTTP Connection is selected, the IIS Virtual Root text box is enabled and you can change the name of IIS virtual root.
    If the check box is cleared, the IIS Virtual Root text box remains blank and Application Server uses DCOM configuration.

    For a Trusted log on: <Application Server Name>_Trusted.

    This virtual root is used for authenticating Trusted Security Users over HTTP. This virtual root is created for users who will log on to Application Server using a trusted connection. The user will not be required to specify information in the above format to log on to Application Server. This information will be automatically interpreted when the user logs on to the computer on which Application Server is installed.

    For an Application or Custom log on: <Application Server Name>.

    Main Database Main database and name of the database server selected in the Database Settings screen.
    Destination Directory The destination directory of the Main Database File (MDF) for Application Server.
  7. Click OK to save changes on the Options form. The form is closed.

  8. Click copy icon to copy a line. Edit the copied line as needed.

  9. Click Delete icon to delete a selected line.

  10. Click Test to ensure the setup for the corresponding line is correct. If a test on a particular line fails, check all associated fields and click Test again.

  11. If all tests pass, click right arrows.

Note: Trace logs for Application Server must be enabled only from Talisma Trace Client available in the Application Server installation folder. While trace logs for other components can also be enabled from this location, Application Server traces cannot be enabled from Talisma Trace Client available in other locations.

 

Perform Other Operations

Postinstallation Tasks