Application Services provides sample Web Server services that a catalog administrator can use to create or update an existing application.

The Apache sample Web Server service is included in the Clustered Dukes Bank predefined application.

Use the predefined sample catalog service only in a test environment.

Table 1. Web Server Services

Sample Service

Service Description

Supported Operating Systems

Supported Application Components

Associated Service Tag

vFabric Web Server 5.1.1

Installs the vFabric Web Server, which is the HTTP Server and load-balancing component of the vFabric Suite.

In the blueprint, drag the service to a node. Set the property value http_node_ips to an array of IP addresses to load balance and bind the webserver_ip property value to self:ip .

The vFabric Web Server Service includes the following properties to customize services in your application:

  • instance_name. Specifies the internal name of the Web Server instance. The default value is instance1. You can also use this property to create a custom name. You cannot override this property when you initiate an update process.

  • load_balancer_method. Specifies the load balancing method that the Web Server uses. The default value is byrequests. Other possible values are, bytraffic and bybusiness.

  • deployment_archive. Specifies the URL of the *.tgz archive that contains the static content to deploy to the Web Server.

  • http_port. Specifies the HTTP port that the Web Server listens to for incoming requests. The default port value is 80.

  • cluster_name. Specifies the internal name of the cluster if you are using cluster load balancing. The default name is mycluster.

  • webserver_conf_file. Specifies the internal name of the Web Server configuration file. The default file name is httpd-vfabric-webserver-ootb.conf.

If you also include the vFabric tc Server 2.7.1 service in your application and create a dependency between it and the vFabric Web Server service, Application Services uses the Auto-Bind Consume and Expose properties of the two services to configure the Web Server service as a load balancer and proxy to the tc Server service.

  • CentOS 6.4.0 32-bit

  • CentOS 6.4.0 64-bit

  • CentOS 6.3.0 32-bit

  • CentOS 6.3.0 64-bit

  • RHEL 6.1.0 32-bit

  • RHEL 6.1.0 64-bit

  • RHEL 6.4.0 32-bit

  • RHEL 6.4.0 64-bit

  • SCRIPT

  • OTHER

Web Servers

Microsoft IIS with .NET Framework on Windows Server 2008 R2 1.0.0

Installs and enables the Microsoft IIS Server 7 and .NET Framework 3.5 on Windows Server 2008 R2.

Windows Server 2008 R2 Enterprise SP1 64-bit

SCRIPT

  • Windows Services

  • Web Servers

  • Application Servers

Apache HTTP Server 2.2.22 for Windows

Provides an installation of Apache 2.2 to serve static content. The service also provides proxy configuration for mod_proxy and mod_proxy_ajp for application servers.

  • Add a port value for the http_port property to enable the static server configuration.

  • Add an IP or array of IP reference for the http_node_ips property to enable proxy configuration.

  • Set the use_ajp property value to NO to configure mod_proxy.

  • Set the use_ajp property value to YES to configure mod_proxy_ajp.

  • Set the http_proxy_port property value to 8009 when using Apache JServ Protocol (AJP). Otherwise, set the value to the port on which the application server is running.

  • Set the autogen_sticky_cookie property value to YES when using the Apache server for load balancing non-Java application servers such as the Microsoft IIS Server. Otherwise, set the property value to NO.

Windows Server 2008 R2 Enterprise SP1 64-bit

SCRIPT

  • Windows Services

  • Web Servers

Apache 2.2.0

Provides a standard installation of Apache to serve static content. The service also provides optional proxy configuration for mod_proxy and mod_proxy_ajp for standard application servers.

  • Add a port value for the http_port property to enable the static server configuration.

  • Add a node IP address value for the http_node_ips property to enable proxy configuration.

  • Set the use_ajp property value to NO to configure mod_proxy.

  • Set the use_ajp property value to YES to configure mod_proxy_ajp.

    When you use mod_proxy_ajp, it is optional to add the tomcat_context and ajp_proxy_context values for the proxy.

  • Set the http_proxy_port property value to 8009 when you use Apache JServ Protocol (AJP). Otherwise, set the value to the port that the application server is running on.

For Hyperic to properly monitor the Apache service, add the following code to the /etc/httpd/conf/httd.conf configuration file and restart, for the changes in the file to take effect.

ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost
</Location>

Additional parameters such as service_start are read-only. Application components can use the read-only parameter information to start and stop the Apache server.

The JVM_ROUTES property can be bound to the JVM_ROUTE on clustered application servers.

The Apache service INSTALL scripts use YUM package management tool to install dependencies.

  • CentOS 6.4.0 32-bit

  • CentOS 6.4.0 64-bit

  • CentOS 6.3.0 32-bit

  • CentOS 6.3.0 64-bit

  • RHEL 6.1.0 32-bit

  • RHEL 6.1.0 64-bit

  • RHEL 6.4.0 32-bit

  • RHEL 6.4.0 64-bit

SCRIPT

Web Servers

To deploy predefined sample applications or add predefined tasks to an execution deployment plan, see the Using Application Services documentation.