Editing General Settings

The following section describes the steps involved for editing a server configuration. The general settings include settings for MIME, log, WebDAV and monitoring.

Editing MIME types

In the HTTP protocol used by web browsers to communicate with web server, the file extension of the URL is not used to determine the type of information that the server will return. Indeed, there may be no file extension at all at the end of the URL. Instead, the web server specifies the correct MIME type using a Content-type: header when it responds to the web browsers HTTP request.

You can view the configured MIME mappings for a configuration by performing the following tasks:

  1. Click Configurations tab

  2. Identify the configuration by selecting the configuration checkbox.

  3. Click MIME Types sub tab under General Settings tab.

The MIME Mappings page has a list of MIME headers and values for the selected configuration. To add a new MIME mapping, perform the following tasks:

  1. Click Configurations tab

  2. Identify the configuration by selecting the configuration checkbox.

  3. Click MIME Types sub tab under General Settings tab.

  4. Click New MIME Mappings button and configure the following properties:

    1. MIME Header -- Select from Content-type, Content-encoding and Content-language.

    2. MIME Value -- Enter the value for the MIME header. For example, For Content-type MIME header, the MIME value could be text/plain, text/html etc.

    3. File Suffix -- File extension for the MIME value. For example, For text/html MIME value, the file extension could be htm/html.

  5. Click Save button to save the new MIME mapping.

Editing Monitoring Settings

The server performs monitoring actions through SNMP. SNMP is a protocol used to exchange data about network activity. With SNMP, data travels between a managed device and a network management station (NMS). A managed device is anything that runs SNMP: hosts, routers, your web server, and other servers on your network. The NMS is a machine used to remotely manage that network. Usually, the NMS software will provide a graph to display collected data or use that data to make sure the server is operating within a particular tolerance.

The NMS is usually a powerful workstation with one or more network management applications installed. A network management application such as HP OpenView graphically shows information about managed devices, such as your web servers. For example, it might show which servers in your enterprise are up or down, or the number and type of error messages received. When you use SNMP with the Sun Java System Web Server, this information is transferred between the NMS and the server through the use of two types of agents, the subagent and the master agent.

The subagent gathers information about the server and passes the information to the server's master agent. Every Sun Java System Web Server, except for the Administration Server, has as subagent.


Note - After making any SNMP configuration changes, you must click the Save button, then restart SNMP subagent.


For changing monitoring settings for the configuration, perform the following tasks:

  1. Click Configurations tab.

  2. Select the configuration for which you need to change monitoring settings.

  3. Click Monitoring Settings sub tab

Configuring General Monitoring Settings

For changing general monitoring settings for a configuration, edit the values under the General Settings section. The following table provides the field description of general monitoring parameters

Table 5 Field Description > General Monitoring Settings

Field

Description

SNMP subagent

In general, to use SNMP you must have a master agent and at least one subagent installed and running on a your system. You need to install the master agent before you can enable a subagent.

Select this option to enable/disable SNMP subagent.

Interval

The poll interval is the number of seconds between updates of the statistics information displayed.

If your server instance is running, and you have enabled statistics, you see a page displaying the kind of statistics you selected. The page is updated every 5-15 seconds, depending upon what you chose for the poll interval.

Profiling

You can use the statistics/profiling feature to monitor your server's current activity. The statistics show you how many requests your server is handling and how well it is handling these requests. You can view some statistics for individual virtual servers, and others for the entire server instance.

Select this option to enable/disable profiling.

Configuring SNMP Subagent Settings

For changing SNMP subagent settings for a configuration, edit the values under the SNMP Subagent Settings section. The following table provides the field description of SNMP Subagent parameters:

Table 6 Field Description > SNMP Subagent Settings

Field

Description

Enabled

In general, to use SNMP you must have a master agent and at least one subagent installed and running on a your system. You need to install the master agent before you can enable a subagent.

Select this option to enable/disable SNMP statistics collection.

Master Host

Enter the name and domain of the server (UNIX only).

Description

Enter a short description for the server including operating system information.

Organization

Enter a short name representing the organization.

Location

Enter the location information of the server.

Contact

Enter the contact information of the server.

Editing WebDAV Settings

See Configuring WebDAV Properties

Editing Scheduled Events

Instances can be re-configured or restarted based on scheduled events. You can set a specific time and interval for scheduling automatic instance reconfiguration.

For scheduling events, perform the following tasks:

  1. Click Configuration tab and select the configuration.

  2. Click General sub tab > Scheduled Events sub tab.

Scheduled Events page provide a list of already configured scheduled events. This page also provides option to create or remove scheduled events.

The following table provides a brief description of all fields in the Scheduled Events page.

Table 7 Field Description > Scheduled Events page

Field

Description

Event

The scheduled event. For example, Restart Event /Reconfig. Event

Time

The configured time when the events will start.

Day

Day of the week when the event will start. From Sunday to Saturday.

Day of Month

From 1 to 31

Month

From January to December

Interval

Time interval/period after which the event restarts.

For adding a new Scheduled Event, perform the following tasks:

  1. Click Configuration tab and select the configuration.

  2. Click General sub tab > Scheduled Events sub tab.

  3. Click New button.

The following table provides a brief description of all fields in the New Event Schedule page.

Table 8 Field Description > New Event Schedule page

Field

Description

Event

  1. Restart Instances--This scheduled event will restart all the deployed and running instances for the configuration.

  2. Reconfig. Instances--This scheduled event will restart all the deployed and running instances for the configuration.

Time

The configured time when the event will start. Select the hour and minutes value from the drop down box.

Every Day -- Starts the event specified every day at the specified time.

Specific Days -- Starts the event specified at specific days.

1. Days -- Specify any day from Sunday to Saturday.

2. Dates -- Specify any day of the month from 1 to 31 as comma separated entries. For example, 4,23,9

Specific Months -- Starts the event specified at the specific time and month. Specify month from January to December.

Interval

Start the specified event after this time period.

1. Every Hours -- Select the number of hours from the drop down box.

2. Every Seconds -- Select the number of seconds from the drop down box.

For deleting a configured Scheduled Event, perform the following tasks:

  1. Click Configuration tab and select the configuration.

  2. Click General sub tab > Scheduled Events sub tab.

  3. Select the scheduled event and click Delete button.

Restore Configuration

From this section, you can restore the configuration that were deployed earlier.


Note - You can only restore the last seven configuration.


ProcedureTo Restore the Configuration

  1. Click the Configuration tab

  2. Click the General sub tab > Restore sub tab

    Select the configuration from the configuration backups list.

  3. Click the Restore button

  4. Click the Deployment Pending Link on the top right of the Administration Console page to deploy the restored configuration

    A new popup window opens up.

  5. Click the Deploy button

Editing Advanced Settings

From this section, you can configure advanced properties of the server including HTTP and Localization settings.

For modifying the advanced properties of the configuration, perform the following tasks:

  1. Click Configuration tab and select the configuration.

  2. Click General sub tab > Advanced sub tab.

  3. Modify the values for the parameters listed in the following table.

Table 9 Field Description > Advanced Properties

Field

Description

Server User

Specify the user name for the Server process. Default is root.

Platform

32/64 bit. The platform mode in which the server will run. Refer to the Installation and Migration Guide for installing Server in 64 bit mode.

Temporary Directory

Provide the path to the temporary directory for Server internal usage. Make sure that the Server User you have specified has access to write to this directory.

HTTP Protocol Version

Highest HTTP protocol version the server supports. The default is HTTP/1.1.

HTTP Server Header

Name of the server software and version. Default value is Sun-Java-System-Web-Server/7.0

Favorite Icon

Enabling this option results in Server replying to requests for favicon.ico with its own built-in icon file. Enabled/Disabled.

Localization-Default Language

Default language for messages displayed to administrators and content served to clients. For instance, en-us.

Localization-Negotiate Client Language

Indicates whether the server attempts to use the Accept-language HTTP header to negotiate the content language with clients. Disabled by default.