> For the complete documentation index, see [llms.txt](https://academy.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.pentaho.com/solution-architect-path/speciality-courses/high-availability.md). Agents can also search and read this documentation through its [MCP server](https://academy.pentaho.com/~gitbook/mcp).

# High Availability

The second Speciality of the Solution Architect path: High Availability. 6 lessons across 2 modules: two nodes behind HAProxy and Keepalived, a shared repository, Carte clustering and Tray.io.

{% hint style="warning" icon="eye" %}
**Preview: the new Pentaho Academy launches in January 2027.**

This page is an early draft, shared now so Pentaho users can see where the Academy is heading: technical enablement built on learning paths that match your job role, from your first course to certification. Until launch, some links, labs and resources are still being put in place.

Built from `architect-ha-specialty` 0.1.1 in Pentaho Content Manager. Module and lesson names, the reading-or-workshop kinds and the times come straight from each lab's manifest. Items marked REPLACE-ME need an owner's confirmation.
{% endhint %}

The second deployment Speciality of the Solution Architect path. Take the server you installed by hand and make it highly available: two Pentaho nodes behind an HAProxy pair with a Keepalived virtual IP, one shared PostgreSQL repository, the Jackrabbit cluster journal and clustered Quartz, then a Carte cluster for Pentaho Data Integration execution, driven by Tray.io through the Carte REST API. Enterprise Security, the last course on the path, then secures what you deployed.

{% columns %}
{% column %}

<p align="center"><i class="fa-file-lines" style="color:green;">:file-lines:</i><br><strong>6 lessons</strong><br><em>across 2 modules</em></p>
{% endcolumn %}

{% column %}

<p align="center"><i class="fa-flask" style="color:orange;">:flask:</i><br><strong>3 workshops</strong><br><em>hands-on labs</em></p>
{% endcolumn %}

{% column %}

<p align="center"><i class="fa-clock" style="color:cyan;">:clock:</i><br><strong>~4h 5m</strong><br><em>a day, or two evenings</em></p>
{% endcolumn %}
{% endcolumns %}

{% hint style="success" icon="network-wired" %}
Every workshop is hands-on and runs on virtual machines, one role per machine: eight Ubuntu 22.04 LTS hosts on one subnet. The guide runs on your desktop and you work on each host over `ssh`.
{% endhint %}

***

<h3 align="center">Before you start</h3>

{% columns %}
{% column %}
{% hint style="success" icon="circle-check" %}
**What you'll need**

The Linux command line — `bash`, `sudo`, `ssh` and a text editor — and a Pentaho Server installed from the archive at least once, as in the Installation course. The workshops run on eight Ubuntu 22.04 LTS hosts with the clock kept in step (NTP or chrony), and use the Pentaho Server and Pentaho Data Integration client archives from the Pentaho Support Portal. You also need Spoon on a workstation, and a Tray.io account for the last workshop.
{% endhint %}
{% endcolumn %}

{% column %}
{% hint style="info" icon="tag" %}
**Built against**

The Pentaho 11.0 GA archives (`11.0.0.0-237`, the build every course on the Academy runs) on Ubuntu 22.04 LTS, with PostgreSQL 14, HAProxy and Keepalived. This course runs on its own lab hosts, so their Ubuntu and PostgreSQL versions differ from the earlier courses (REPLACE-ME: confirm).

REPLACE-ME — internal: confirm where the eight hosts come from for a hosted lab. The installation guide bundled with the course was written for Pentaho 10.x, and the workshops give the 11.0 values; they have not yet been run end to end on machines since this course was split from Containers.
{% endhint %}
{% endcolumn %}
{% endcolumns %}

***

{% hint style="info" icon="sitemap" %}

#### What you'll build

A production HA topology: two Pentaho Server nodes with the Jackrabbit cluster journal and clustered Quartz against one PostgreSQL repository; two HAProxy balancers with sticky sessions sharing a Keepalived virtual IP; the cluster tests that prove failover; a Carte master with two slaves that register themselves; and a Tray.io workflow that starts a job through the Carte REST API and polls it to completion.
{% endhint %}

<figure><img src="https://4232202144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeIhSpTGdExnuti9odGI%2Fuploads%2FNt9taIVuNlqrqKQYBk0o%2Fha-topology.svg?alt=media" alt="Clients reach the VIP 10.0.1.100 on ports 80 and 443. The VIP sits on lb-01, Keepalived MASTER with priority 110, and moves to lb-02, BACKUP with 100, on failover. HAProxy sends sessions to pentaho-node-01 and pentaho-node-02 on 8080, with cookies S1 and S2; both reach db-01 on 5432. Beside them, a separate Carte cluster: Tray.io calls carte-master on 9001, and two slaves register with it"><figcaption><p>The reference topology: the Pentaho cluster and the separate Carte cluster</p></figcaption></figure>

***

<h3 align="center">Skills you'll gain</h3>

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><i class="fa-list-check" style="color:blue;">:list-check:</i> <strong>Cluster rules</strong></td><td>Sticky sessions · a unique journal ID per node · clustered Quartz · the virtual IP as the base URL · clocks in step</td></tr><tr><td><i class="fa-database" style="color:blue;">:database:</i> <strong>Shared repository</strong></td><td>PostgreSQL 14 · the archive's own scripts · the Jackrabbit cluster journal · the Quartz tables</td></tr><tr><td><i class="fa-server" style="color:blue;">:server:</i> <strong>Two Pentaho nodes</strong></td><td>Two Pentaho Server 11 nodes · HAProxy with sticky sessions · a Keepalived virtual IP · primary and backup balancers</td></tr><tr><td><i class="fa-vial-circle-check" style="color:blue;">:vial-circle-check:</i> <strong>Cluster tests</strong></td><td>The virtual IP · sticky sessions · node and balancer failover · journal replication · Quartz registration</td></tr><tr><td><i class="fa-diagram-project" style="color:blue;">:diagram-project:</i> <strong>Carte cluster</strong></td><td>A Carte master and two self-registering slaves · a clustering schema in Spoon · Tray.io driving jobs through the Carte REST API, on a schedule and from a webhook</td></tr><tr><td><i class="fa-dharmachakra" style="color:blue;">:dharmachakra:</i> <strong>HA on K3s</strong></td><td>How the same cluster rules map onto Kubernetes</td></tr></tbody></table>

***

<h3 align="center">Course outline</h3>

<p align="center"><i class="fa-file-lines" style="color:green;">:file-lines:</i> reading · <i class="fa-flask" style="color:orange;">:flask:</i> hands-on workshop</p>

{% hint style="info" icon="circle-info" %}
Full lessons unlock once you're enrolled — this is the outline only. Times are the lab guides' own estimates.
{% endhint %}

<table data-search="false"><thead><tr><th width="382">Module</th><th width="115" align="center">Reading</th><th width="132" align="center">Workshops</th><th width="100" align="right">Time</th></tr></thead><tbody><tr><td>Getting Started</td><td align="center">1</td><td align="center">—</td><td align="right">~5m</td></tr><tr><td>High Availability</td><td align="center">2</td><td align="center">3</td><td align="right">~4h</td></tr><tr><td><strong>Total</strong></td><td align="center"><strong>3</strong></td><td align="center"><strong>3</strong></td><td align="right"><strong>~4h 5m</strong></td></tr></tbody></table>

{% stepper %}
{% step %}

### <i class="fa-rocket" style="color:blue;">:rocket:</i> Getting Started

`1 reading · ~5m`

How to get the most out of this guide, and the hosts the cluster needs: eight Ubuntu machines on one subnet, the Pentaho Server and Pentaho Data Integration archives, and time kept in step on all of them.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Before You Start</td><td>~5m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-server" style="color:blue;">:server:</i> High Availability

`2 readings · 3 workshops · ~4h`

Production HA from the installation guide: two Pentaho nodes behind an HAProxy pair with Keepalived VIP failover, a shared PostgreSQL 14 repository, the Jackrabbit cluster journal and Quartz clustering — plus Carte clustering for Pentaho Data Integration execution and Tray.io driving event-based ETL through the Carte REST API.

<figure><img src="https://4232202144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeIhSpTGdExnuti9odGI%2Fuploads%2FxglBlyNLcmdCBYXF2o8Z%2Fha-shared-state.svg?alt=media" alt="pentaho-node-01 (NODE_1) and pentaho-node-02 (NODE_2), Quartz instanceId AUTO, share db-01 on 5432, but not their sessions. In db-01: the jackrabbit cluster journal in the cl_j_ tables and cl_j_global_revision; quartz check-in rows in qrtz6_scheduler_state every 20000 ms and the TRIGGER_ACCESS lock in qrtz6_locks; and one hibernate copy for both nodes"><figcaption><p>What the two nodes share through db-01, and what they don't</p></figcaption></figure>

<figure><img src="https://4232202144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPeIhSpTGdExnuti9odGI%2Fuploads%2FseWwiG0unEouLixW60AR%2Fcarte-master-slaves.svg?alt=media" alt="CarteMaster on carte-master, 10.0.1.40:9001, keeps the slave list. CarteSlaveOne and CarteSlaveTwo, on 10.0.1.41 and 10.0.1.42 port 9002, with report_to_masters Y, register at start, and the master checks each every 30 seconds. getSlaves on :9001 lists both. Spoon&#x27;s HA_Carte_Cluster names all three servers with Dynamic cluster cleared"><figcaption><p>The slaves register with the master, which keeps the list that getSlaves returns</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Pentaho HA</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Deploy Pentaho in HA</td><td>~2h</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Carte Cluster for Pentaho Data Integration Execution HA</td><td>~45m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Tray.io Integration with Pentaho Carte</td><td>~45m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Adaptation: HA on K3s</td><td>~10m</td></tr></tbody></table>

</details>
{% endstep %}
{% endstepper %}

***

<h3 align="center">Exam &#x26; accreditation</h3>

{% columns %}
{% column %}
{% hint style="info" icon="clipboard-check" %}
**The course exam**

REPLACE-ME — this course has no exam yet. The five questions on this material that were taken out of the Containers exam are kept as a start; the rest are still to be written.
{% endhint %}
{% endcolumn %}

{% column %}
{% hint style="warning" icon="file-certificate" %}
**Course accreditation**

REPLACE-ME — no course accreditation is issued until the exam exists; confirm its name.

This course is the fourth step on the Certified Solution Architect learning path: DI Developer, then Installation, then the Containers, High Availability and Enterprise Security Speciality courses, leading to the Certified Solution Architect credential — which closes with a proctored exam delivered through Kryterion's Webassessor.
{% endhint %}
{% endcolumn %}
{% endcolumns %}

***

<p align="center"><a href="https://academy.pentaho.com/solution-architect-path/speciality-courses/enterprise-security.md" class="button primary" data-icon="arrow-right">Next: Enterprise Security</a></p>

<p align="center"><a href="https://academy.pentaho.com/solution-architect-path/solution-architect.md" class="button secondary" data-icon="arrow-left">Back to the Solution Architect path</a></p>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.pentaho.com/solution-architect-path/speciality-courses/high-availability.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
