Sun GlassFish Enterprise Server v2.1.1 Deployment Planning Guide

Number of HADB Nodes

As a general guideline, plan to have one HADB node for each CPU in the system. For example, use two HADB nodes for a machine that has two CPUs.

Note –

If you have more than one HADB node per machine (for example, if you are using bigger machines), then you must ensure that there is enough redundancy and scalability on the machines; for example multiple uninterruptible power supplies and independent disk controllers.

Alternatively, use the following procedure.

ProcedureTo determine the required number of HADB nodes

  1. Determine the following parameters:

    • Maximum number of concurrent users, nusers.

    • Average BLOB size, s.

    • Maximum transaction rate per user, referred to as NTPS.

  2. Determine the size in Gigabytes of the maximum primary data volume, V data.

    Use the following formula:

    Vdata = nusers . s

  3. Determine the maximum HADB data transfer rate, R dt.

    This reflects the data volume shipped into HADB from the application side. Use the following formula:

    Rdt = nusers . s . NTPS

  4. Determine the number of nodes, N NODES,.

    Use the following formula:

    NNODES = Vdata /5GB

    Round this value up to an even number, since nodes work in pairs.