# Components

{% hint style="info" %}

{% endhint %}

<figure><img src="/files/jK92aZ2oNoMDni2Qg9x9" alt=""><figcaption><p>Pentaho Data Catalog Components</p></figcaption></figure>

{% tabs %}
{% tab title="Portainer" %}
{% hint style="info" %}

#### Portainer Main Features

If you haven't used Portainer before, then you're in for a treat:

• **Easy Deployment**: Simplify deployment across Docker, Kubernetes, and ACI with a user-friendly interface.

• **Multi-Environment Management**: Manage multiple environments, including on-premises, edge, and cloud-based instances, from a single pane of glass.

• **Application Templating**: Use pre-built templates or create custom ones for quick, consistent application deployment.

• **Access Control and Permissions**: Ensure users access only necessary resources with granular access controls.

• **Observability and Monitoring**: Gain insights with detailed monitoring, logging, and reporting.

• **User and Team Management**: Manage users, teams, and their access to resources, enhancing collaboration and security.
{% endhint %}

#### Log into Portainer

1. Log into Portainer either by clicking on the bookmark or&#x20;

   [**https://localhost:9443/#!/auth**](https://localhost:9443/#!/auth)
2. Enter credentials.

<table data-header-hidden><thead><tr><th width="148"></th><th></th></tr></thead><tbody><tr><td>Username</td><td>admin</td></tr><tr><td>Password</td><td>Portainer123</td></tr></tbody></table>

3. Click on 'Live Connect' option.

<figure><img src="/files/j6PkRxRtmrxwf1tn3vSF" alt=""><figcaption><p>Portainer</p></figcaption></figure>

4. From the dashboard, you're able to access various components: Demo data sets, PDC / PDSO applications.

<figure><img src="/files/WJCPKZetj6Qu3ZjZ2qLM" alt=""><figcaption><p>Portainer - dashboard</p></figcaption></figure>
{% endtab %}

{% tab title="Containers" %}
{% hint style="info" %}

#### Containers

Docker containers are lightweight, stand-alone, executable packages that include everything needed to run a piece of software, including the code, runtime, system tools, libraries, and settings. They are isolated from each other and the host system, ensuring that the software runs consistently across any environment. Docker containers virtualize the operating system, allowing multiple workloads to run on a single OS instance, efficiently utilizing system resources and simplifying software delivery.

Overview of PDC/PDSO & Demosets containers ..
{% endhint %}

1. Click on 'Containers' option in the left hand menu.

<figure><img src="/files/WJCPKZetj6Qu3ZjZ2qLM" alt=""><figcaption><p>Portainer - dashboard</p></figcaption></figure>

2. Familiarise yourself with the various containers and their roles ..!

<figure><img src="/files/4jvbxZI2YJ3BEmbhbi6Y" alt=""><figcaption><p>PDC services</p></figcaption></figure>

<figure><img src="/files/2NGTGDPjB2F8qNqpU1Vb" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Cr5vFWMAKmtIz5I3GMSP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/A8EJIGhSXR1Ik9znPPdh" alt=""><figcaption><p>Demo Sets - PDC - PDSO - Containers</p></figcaption></figure>

3. To retrieve a list of IDs, Image, Names & Status ..  run the following command.

```bash
echo "ID,Image,Names,Status" && docker ps -a --format "{{.ID}},{{.Image}},{{.Names}},{{.Status}}" | awk '/Up/' | sed 's/-1,/,/g'
```

{% endtab %}

{% tab title="Volumes" %}
{% hint style="info" %}

#### Docker Volumes in Portainer

Docker volumes are an essential feature in managing persistent data generated by and used by Docker containers. In Portainer, handling Docker volumes is simplified, allowing users to create, manage, and attach volumes to containers effortlessly.

Overview of PDC/PDSO & Demo datasets volumes.
{% endhint %}

1. Click on 'Volumes' option in the left hand menu.

<figure><img src="/files/mDC8Z5dea20dhZXf7lCp" alt=""><figcaption><p>Volumes 1</p></figcaption></figure>

<figure><img src="/files/dm0MALfvDcGIwHXFUrM2" alt=""><figcaption><p>Volumes 2</p></figcaption></figure>

The following table list the main docker volumes located at: \~/var/lib/docker/volumes

<table><thead><tr><th width="239">Volume</th><th>Description</th></tr></thead><tbody><tr><td>pdc_data-data</td><td>Predefined Dictionaries &#x26; Patterns</td></tr><tr><td>pdc_fe-jwt-data</td><td>Public &#x26; private keys (.pem) for JWT token</td></tr><tr><td>pdc_mon_openobserve</td><td>Data Stores for Metrics, Traces &#x26; Logs</td></tr><tr><td>pdc_mongodb-bkp_data</td><td>MongoDB backup</td></tr><tr><td>pdc_mongodb_data</td><td>Indexes, Collections &#x26; Documents </td></tr><tr><td>pdc_ws-data</td><td>Glossaries, database drivers &#x26; 'fingerprints' of profiled data - bitset, bitcount, hll, sample, info.</td></tr><tr><td>pdc_ws-dict-data</td><td></td></tr><tr><td>pdc_ws-patterns-data</td><td></td></tr></tbody></table>

#### Useful Docker commands

x

```bash
docker volume inspect $(docker volume ls | grep 'pdc' | awk '{print $2}') -f '{{.Mountpoint}}'
```

To view the data volume details.

```bash
docker volume inspect [volume name]
```

<figure><img src="/files/ckqVzMT6EZwEGpfWQJm7" alt=""><figcaption><p>Docker Volumes</p></figcaption></figure>

x

x

x
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.pentaho.com/pentaho-data-catalog-en/setup/components.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
