Configure DBServer

OVERVIEWOverview

PROCEDUREProcedures  REFERENCEReference

Overview

Configure DBServer to define aspects of the operation of the server including:

HHPN recommends using Unify eWave ServletExec version 3.0 for servlet management. If you are using this product, also adjust the configuration to ensure that FormProcessor and the servlet manager on the DBServer installation work correctly as described in Procedures. For information about configuring other servlet management products, see the corresponding product documentation.

Configure DBServer settings immediately after installation or whenever you need to change database or server settings or users. For information about updating configuration settings, see Manage DBServer.

Procedures

Define server and database properties

Adjust the ServletExec configuration

Define groups

Define group access rights

Define users

Configure server log data display

Configure template-statistics display

Configure SQL statement statistics displays

Configure the backup server

Define Server and Database Properties

  1. In the DBServer window, from the Configure menu, click Edit Server.
  2. In the Server Configuration dialog box, click Add Connection.

    Click to expand image

  3. In the Database Connection dialog box, complete the options for the new database connection as appropriate.

    Click to expand image

  4. Complete the remaining options in the Server Configuration dialog box and click Submit.

Adjust the ServletExec Configuration

  1. With ServletExec installed, click Start, point to Programs menu, and point to New Atlanta.
  2. Under New Atlanta, point to ServletExec 3.0 API, point to Admin, and click Register. The Edit Servlet dialog box appears as follows.

    Click to expand image

  3. Complete the dialog box as follows.
  4. Click Submit to save changes or Reset to clear changes.
  5. In the left pane of the dialog box, under Virtual Machine, click classpath.
    The following dialog box appears.

    Click to expand image

  6. In the Java Virtual Machine (VM) Classpath dialog box, type each line of the class path for DBServer in the boxes provided. If your DBServer installation resides on the C drive, the path might appear as follows:


  7. C:\Program Files\New Atlanta\ServletExec ISAPI\classes
    C:\Program Files\XLiRAD_Server\classes
    C:\Program Files\XLiRAD_Server\classes\XLiRAD.jar
    C:\Program Files\XLiRAD_Server\classes\email.zip
    C:\Program Files\XLiRAD_Server\classes\jaxp.jar
    C:\Program Files\XLiRAD_Server\classes\jsdk.jar
    C:\Program Files\XLiRAD_Server\classes\motif.jar
    C:\Program Files\XLiRAD_Server\classes\parser.jar
    C:\Program Files\XLiRAD_Server\classes\sfc.jar
    C:\Program Files\XLiRAD_Server\classes\swingall.jar
    C:\Program Files\XLiRAD_Server\classes\windows.jar
    C:\Program Files\XLiRAD_Server\jre
  8. In the left pane of the dialog box, under Configure, click Aliases. The following dialog box appears.

    Click to expand image

  9. In the Servlet name box, type the alias you want to use for FormProcessor. Using an alias is optional.
Caution

Make sure the alias you define matches the one used in your DBServer configuration.

Define Groups

  1. From the Configuration menu, click Edit Groups.
  2. In the Group Editor dialog box, add the name of the groups your users will belong to.
    Notice that the new group appears in the Existing Groups dialog box after you click the Add Group button.
  3. Click Exit.

Define Group Access Rights

  1. From the Configuration menu, click Edit SQL Ranges.
  2. In the SQL Range Selection dialog box, specify the starting and ending numbers for a range of command IDs to associate with a selected group.
  3. Click Submit.

Define Users

  1. From the Configuration menu, click Edit Users.
  2. Complete the User Editor dialog box and the Edit User dialog box options.
  3. Click Submit.
    Notice that the new user's name appears in the Current Users list box.

Configure Log Display

Configure Template Statistics Log Display

  1. From the Configuration menu, click Template Statistics.
  2. In the Template Statistics dialog box, complete the options as appropriate and click Exit.

 Configure SQL Statistics Log Display

  1. From the Configuration menu, click SQL Statistics.
  2. In the SQL Statistics dialog box, complete the options as appropriate and click Exit.

 Configure the Backup Server

  1. From the Configuration menu, click Configure Backup Server.
  2. Complete the Backup Server dialog box options and click Submit
    For information about how the backup service works and how to use it, see Manage DBServer.

Reference

DBserver supports the following databases:

Caution

When using Oracle WebDB, you may encounter a problem with server-port configuration. By default, WebDB defines the server port as "8081," potentially causing a conflict with servlet managers that use the same port. To eliminate the conflict, reset one of the ports in either application as described in the product documentation.

The database can reside on any computer that can communicate with the computer running DBServer.

The evaluation copy of DBServer supports two database connections. The starting license configuration supports five database connections; if you need additional connections, you can purchase a license for additional connections (available in five-connection increments).

Users log on to DBServer by means of a user name and password defined by the administrator. The administrator assigns users to groups to control the SQL statements that users can access. This capability helps Internet Service Providers (ISPs) host a DBServer installation for businesses who store their own set of SQL statements on the server. By assigning each business its own group, the DBServer administrator enables multiple businesses to use the same DBServer installation while preventing one business from accessing the SQL statements of another business that reside on the same server. Assignment of groups also benefits Web design firms where design teams work on multiple projects. If team members belong to a group associated with the project, they only need access to the SQL statements associated with that project. For best results, create SQL statements for a particular group in sequential order. For information about creating SQL statements using XLiRAD, see Work with SQL Statements

When you start DBServer and select the auto-start option, DBServer begins establishing database connections and monitoring for server requests as soon as you launch DBServer. If you don't select auto-start, only the DBServer Executive runs after start-up; you can manually start the database connections process or the monitoring process as needed. If you want your computer to start DBServer automatically after system start-up, place DBServer in your Startup group (on a Windows-based computer) or include it in the run-command (rc) scripts of a UNIX-based computer.

Configuration Menu Command Help

Server Configuration Dialog Box Help

Database Connection Dialog Box Help

Backup Server Dialog Box Help

Group Editor Dialog Box Help

SQL Range Selection Dialog Box Help

User Editor Dialog Box Help

Edit User Dialog Box Help

Template Statistics Dialog Box Help

SQL Statistics Dialog Box Help

Server Configuration Dialog Box Help

The Server Configuration dialog box displays the database, computer, or port settings for the current DBServer configuration.

Option

Description

Database Connections

These columns list the database settings you configure in the Database Connection dialog box.

Add Connection

Click this button to display the Database Connection dialog box where you can define a new database connection.

Edit Connection

With a database name selected, click this button to display the Database Connection dialog box where you can change information for an existing data source.

Remove Connection

With a database name selected, click this button to remove a listed connection.

DBServer Port

Displays the number of the port that DBServer monitors for requests. To add or change a configuration, type a new number.This is typically a value of 5000 or higher.

Servlet Alias

Displays the name of the currently defined servlet. To add or change a configuration, type the name of the alias or friendly name for the servlet.

Auto Start

Click this check box if you want DBServer to start making database connections and monitoring for requests as soon as you start DBServer. DBServer clears this check box by default.

Cancel

Click this button to discard changes and close the dialog box.

Submit

Click this button to save changes and close the dialog box.

Database Connection Dialog Box Help

Use the Database Connection dialog box to add or modify database and server properties.

Option

Description

Data Source

Type the name of the database that you want to connect to.
Notice that Database Connections box displays the new name as soon as you click Submit but there is no attempt to connect to the database until the next time DBServer tests its connections or you click DB Connect in the Executive menu. Any connection errors appear in the log display.

Source Type

Lists the database application used. To add or change a configuration, from the list of databases that DBServer supports, click the database application that supports the database you want to connect to.

Number of Connections

Type the number of connections that you want to allow DBServer to maintain to the database identified in the Data Source box. If you type a value that exceeds the number of connections available, an error message appears.

Database Host Machine

Displays the name or the Internet Protocol (IP) address of the computer where the database resides. To add or change a configuration, type a new name or IP address.

Database Host Port

Displays the number of the TCP/IP port that the host computer uses for communication with DBServer. To add or change a configuration, type a new number for the port in the Server Configuration dialog box.

Login Name

Type the user name used to log on to the database.

Login Password

Type the password used to log on to the database.

Group Access

Select the name of a group authorized log on to the specified database. Notice that DBServer installation defines the administrators group by default. To specify other groups, see Define Groups.

Cancel

Click this button to exit the dialog box without saving changes.

Submit

Click this button to save the configuration.

Backup Server Dialog Box Help

Use the Backup Serverdialog box to define the database host name, port number, and other settings that support use of a backup server.

Option

Description

Use Backup Server

Click this check box to indicate that you want to use backup server. By default, DBServer installation clears this check box.

Backup Server Host

Type the name of the server computer in this text box.

Backup Server Port

Type the number of the port used to communicate with the backup server.

Backup Batch Size

Type the maximum number of SQL statements to store in the cache before sending the batch to the backup server.

Cancel

Click this button to discard changes and close the dialog box.

Submit

Click this button to save changes and close the dialog box.

Group Editor Dialog Box Help

Use the Group Editor dialog box to add, delete, or change the names of groups and to view the users associated with a group.

Option

Description

Existing Groups

Displays the name of groups already defined. Use the Add Group, Change Name, or Delete buttons to update the names in this list box.

New Group

Name

Type the name you want to add in this box.

Add Group

Click this button to add the group identified in the Name box.

Edit Group

Name

After selecting a group name under Existing Groups, type a new name for the group.

Change Name

Click this button to update the name of the selected group to the name identified in the Name box.

Delete

After selecting a group name under Existing Groups, click this button to remove the group from the list box.

CautionClicking the Delete button immediately removes the user. There is no prompt to confirm the removal.

Show Users

After selecting a group name under Existing Groups, click this button to display users who are members of the selected group.

Exit

Click this button to close the dialog box without saving changes.

SQL Range Selection Dialog Box Help

Use the SQL Range Selection dialog box to specify the range of SQL statements that users can access according to their group membership.

Option

Description

Group

Displays the name of each group defined.

Start

Displays the first command ID available to the selected group.

End

Displays the last command ID available to the selected group.

Cancel

Click this button to discard changes and close the dialog box.

Submit

Click this button to save changes and close the dialog box.

User Editor Dialog Box Help

Use the User Editor dialog box to view a list of users and to present a dialog box for adding, deleting, or changing the data for users who may access the server while authoring templates or working with SQL statements.

Option

Description

Current Users

Displays the users currently defined.

Edit

After selecting a user name under Current Users, click this button to display the Edit User dialog box for updating user data.

Add

Click this button to display the User Editor dialog box for defining user data.

Delete

After selecting a user name under Current Users, click this button to remove a user name from the list box.

Exit

Click this button to save changes and close the dialog box.

Edit User Dialog Box Help

Use the Edit User dialog box to add a new user name and password to a group or to change the name or password of an existing user.

Option

Description

Available Groups

Displays the groups defined. If you are changing an existing user's group membership, click the new group name and click Submit.

Name

With the appropriate group selected under Available Groups, type the name of a new user or change the name of an existing user.

Password

Type the user password.

Confirmation

Retype the user password to confirm the entry.

Submit

Click this button to save changes and close the dialog box.

Template Statistics Dialog Box Help

Use the Template Statistics dialog box to configure display of templates requested by name and the number of requests for those templates over a user-defined interval.

Option

Description

Time Frame

Displays the interval over which you want statistics displayed. Click Entire History (default), Today, or Last Hour, as appropriate.

Pull Spacing

Displays the scale used to display the number of templates pulled from the server by browser clients. Click 10, 100 (default), 1000, or 10000 as appropriate.

Truncate Log

Click this button to clear historical data and start displaying new data.

Exit

Click this button to save changes and close the dialog box.

SQL Statistics Dialog Box Help

Use the SQL Statistics dialog box to configure display of SQL commands requested by command ID and the number of requests for those commands over a user-defined interval.

Option

Description

Time Frame

Displays the interval over which you want statistics displayed. Click Entire History (default), Today, or Last Hour, as appropriate.

Call Spacing

Displays the scale used to display the number of database calls received by the server. Click 10, 100 (default), 1000, or 10000 as appropriate.

Truncate Log

Click this button to clear historical data and start displaying new data.

Exit

Click this button to save changes and close the dialog box.