Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


2.3.9 <Proxy>

<Proxy> defines the allocation destination used in a load balancer configuration.

Description

<Proxy> specifies directives that define the BalancerMember directive, if you are using a reverse proxy in a load balancer configuration by using mod_proxy_balancer.

For the URL, specify the same value that begins with balancer:// specified in the ProxyPass directive.

Important note

The following modules must be built-in to use this directive:

  • mod_proxy module

    LoadModule proxy_module modules/mod_proxy.so

  • mod_proxy_http module

    LoadModule proxy_http_module modules/mod_proxy_http.so

  • mod_proxy_balancer module

    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so

  • mod_lbmethod_byrequests module

    LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so

  • mod_slotmem_shm module

    LoadModule slotmem_shm_module modules/mod_slotmem_shm.so

Syntax

<Proxy URL> directive [directive ...] </Proxy>

Locations where it can be written

httpsd.conf and <VirtualHost>

Example

ProxyPass /examples/ balancer://cluster1/
<Proxy balancer://cluster1/>
        BalancerMember http://IP_address_A/examples/
        BalancerMember http://IP_address_B/examples/
</Proxy>