# Step 5: Add the Pentaho Data Optimizer service to the cluster

To add Data Optimizer to your cluster, log in to the Ambari dashboard and perform the following steps:

1. In the Ambari dashboard, click the more actions button for **Services** in the left sidebar and select **Add Service**.

   A list of available services appears.
2. Select Pentaho Data Optimizer and click **Next**.

   Because Data Optimizer has no master component, the Add Service Wizard will skip over the page.
3. On the Assign Slaves and Clients page, select the Data Optimizer volume checkbox for each of the data node hosts for which you want to add a Data Optimizer volume.
4. On the Customize Services page, enter the configuration parameters for your environment. While you must complete the configuration of the Advanced `ldo-config` section, the other configuration sections may be left at their default settings. To configure the Data Optimizer volumes, see [Configure Data Optimizer](/pdc-10.2-data-optimizer/pdso-install-landing-page/pdso-install-in-hadoop-cluster/pdso-configure-data-storage-optimizer.md).

   **Note:** Remember the Data Optimizer mount point. You need this value when configuring HDFS to use the Data Optimizer volume.
5. After you have entered and confirmed all your Data Optimizer configuration values, click **Next** to proceed to the Review page.

   The Review page appears.
6. Click **Deploy**.

   The Install, Start and Test page opens. From here you can monitor the installation progress as well as the initial startup of Data Optimizer volumes on the data nodes.
7. (Optional) If you encounter errors when starting your volumes, view the following troubleshooting steps for possible solutions.
   1. Examine the `stdout` and `stderr` logs.

      You can access these logs by clicking through the links on the Install, Start and Test page in the Add Service Wizard. See [Troubleshoot Data Optimizer](/pdc-10.2-data-optimizer/pdso-install-landing-page/pdso-install-in-hadoop-cluster/pdso-maintain-landing-page/troubleshoot-data-storage-optimizer-fs.md) for guidance.
   2. If the installation or first service run fails because of improper configuration, you may need to delete the Data Optimizer service from the cluster and to add the service as described in this article.

      **Note:** You can only edit some Data Optimizer configuration parameters during installation.

After all the Data Optimizer volumes have started, click through the remaining pages in the Add Service Wizard to return to the Apache Ambari dashboard.


---

# 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://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-install-landing-page/pdso-install-in-hadoop-cluster/pdso-install-landing-page-hadoop-installation/installing-data-storage-optimizer-on-apache-ambari-cluster/step-5-add-the-pentaho-data-storage-optimizer-service-to-the-cluster.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.
