You are here: Deprecated Documentation > Deprecated Features > Description of Multi Host Template

Description of Multi Host Template

The Multi Host database template starts as many as two storage managers and as many transaction engines as possible. Each host will have at most one SM and one TE. This template can be used with any number of hosts. All hosts must be in the same region.

The Multi Host template is the same as the Minimally Redundant template except that the Multi Host template specifies different minimum and maximum default requirements for the number of TEs and a different minimum default requirement for the number of SMs. In the Multi Host template:

As in the Minimally Redundant template, in the Multi Host template the max requirement for the SMs process group is the value specified by the SM_MAX template variable if set, and if not set, then the default is 2. The enforcer will not allow more than this number of SMs to join the database.

In summary, for a database that uses the Multi Host template, the default process requirements are met when there is:

Here is the source for the Multi Host template:

"name" : "Multi Host",
"version" : 5,
"summary" : "This template starts up to two Storage Managers and as many Transaction 
     Engines as possible. Each host will have at most one SM and one TE, so this 
     template can be used with any number of hosts. A process will be restarted on 
     a new host if one goes offline and another is available.",
"options" : {
  "commit" : "${COMMIT:remote:1}",
  "backoff.reqMinUptime" : "30000",
  "hostLimit" : "${HOST_LIMIT:false}"
},
"requirements" : [ {
  "region" : "${REGION}",
  "processes" : [ {
    "name" : "SMs",
    "type" : "SM",
    "min" : "${SM_MIN:1}",
    "max" : "${SM_MAX:2}",
    "options" : { },
    "tags" : { }
  }, {
    "name" : "TEs",
    "type" : "TE",
    "min" : "${TE_MIN:1}",
    "max" : "${TE_MAX:}",
    "options" : { },
    "tags" : { }
  } ]
} ]