> For the complete documentation index, see [llms.txt](https://docs.enginsight.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enginsight.com/docs/manual/english/installation-and-configuration/updates/enginsight-components/pulsar.md).

# Pulsar

There are two ways to update the Enginsight Pulsar agent: an [automatic update](#automatische-aktualisierung) through the user interface or a [manual update](#manuelle-aktualisierung).

***

## Automatic Update

<i class="fa-compass">:compass:</i> Navigate to **Hosts** → **Overview** to show a list of all configured hosts.

If a Pulsar update is available for a host, this will be indicated below the host name.

<div align="left"><figure><img src="https://content.gitbook.com/content/V7OrHgKXA0t1jankQBYf/blobs/1IwaV4NGBqO6UM2vTHFP/Enginsight-Update-Pulsar-Version.jpg" alt=""><figcaption></figcaption></figure></div>

You have two options for updating Pulsars directly from the Enginsight platform:

* <i class="fa-computer-mouse">:computer-mouse:</i> Click a host for which a Pulsar update is available to open the corresponding host details. Then click <i class="fa-clock-rotate-left">:clock-rotate-left:</i> **Update Agent** in the upper-right corner of the view.
* <i class="fa-computer-mouse">:computer-mouse:</i> Click <i class="fa-clock-rotate-left">:clock-rotate-left:</i> **Update Agents** in the upper-right corner of the host overview to update all Pulsars for which an update is available.&#x20;

A new window will open where you can configure additional settings. The number of affected hosts and the current Pulsar version are also shown.

<div align="left"><figure><img src="https://2423388680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV7OrHgKXA0t1jankQBYf%2Fuploads%2Fh7yoOSCj0ObepLNkjuPq%2FEnginsight-EN-Update%20Pulsar-2.jpg?alt=media&amp;token=ef63e02f-c341-417b-8aae-2c941a68ee35" alt=""><figcaption></figcaption></figure></div>

The following options are available:

<table><thead><tr><th width="232.25390625">Option</th><th>Description</th></tr></thead><tbody><tr><td>Tags</td><td><p>Use host tags to update only those Pulsars that are installed on hosts with the respective tags.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>The default tag is <strong>Host</strong>.</p></div><p><i class="fa-computer-mouse">:computer-mouse:</i> Click in the <strong>Tags</strong> field to show a list of all available host tags and select one or more tags. Alternatively, use the free-text search field to find tags more quickly.<br><br><i class="fa-computer-mouse">:computer-mouse:</i> Click the <strong>Remove</strong> icon <i class="fa-circle-xmark">:circle-xmark:</i> next to a tag to remove it from the field.</p></td></tr><tr><td>Update Inactive Hosts</td><td><p>Enable this option to update inactive hosts as soon as they become active again.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>This option is enabled by default.</p></div><p><i class="fa-computer-mouse">:computer-mouse:</i> Select the checkbox <i class="fa-square">:square:</i> next to <strong>Update inactive hosts</strong> to enable the option. Clear the checkbox <i class="fa-square-check">:square-check:</i> to disable it.</p></td></tr><tr><td>Updates Distributed over Time</td><td><p>Enable this option to distribute pending Pulsar updates over time to avoid network congestion.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>This option is disabled by default.</p></div><p><i class="fa-computer-mouse">:computer-mouse:</i> Select the checkbox <i class="fa-square">:square:</i> next to <strong>Updates Distributed over Time</strong> to enable the option. Clear the checkbox <i class="fa-square-check">:square-check:</i> to disable it.</p></td></tr></tbody></table>

<i class="fa-computer-mouse">:computer-mouse:</i> Click **Update Agents** to update all selected Pulsars.

***

## Manual Update

Follow these steps to update Pulsar manually:

{% stepper %}
{% step %}

### Download the Pulsar Update Script

1. Log in to the **Enginsight Application Server**.
2. Navigate to the Enginsight installation directory using the following command:

```
cd /opt/enginsight/enterprise
```

3. Download the latest Pulsar update script from the official repository using the following command:

```
sudo wget https://raw.githubusercontent.com/enginsight/enterprise/master/scripts/fixed/pulsar.sh
```

{% endstep %}

{% step %}

### Run the Update Script

1. Grant the required execution permissions to the update script using the following command:

```
sudo chmod +x pulsar.sh
```

2. Run the update script using the following command:

```
sudo ./pulsar.sh
```

{% endstep %}

{% step %}

### Apply the Changes on the Application Server

You must now run the Application Server setup script again to apply your changes.

Run the following command and confirm all prompts by pressing **Enter**:

```
sudo ./setup.sh
```

{% endstep %}

{% step %}

### Adjust the Docker Configuration File

1. Open the Docker configuration file using the following command:

```
sudo nano docker-compose.yml
```

2. Navigate to the `server-m2` Docker container.
3. Add the following line to the `volumes` parameter:

<pre><code>server-m2:
    ... 
    volumes:
<strong>    - "./pulsar:/opt/enginsight/server-m2/pulsar"
</strong></code></pre>

4. Save the changes to the configuration file (**Ctrl** + **o**) and confirm the save process. Close the file (**Ctrl** + **x**).
   {% endstep %}

{% step %}

### Restart the Docker Service

Restart the Docker service using the following command to apply the changes:

```
sudo docker-compose up -d server-m2
```

{% endstep %}

{% step %}

### Check the Updates

Navigate to **Hosts** → **Overview** in the Enginsight user interface and check if all hosts are running the latest version of Pulsar.
{% endstep %}
{% endstepper %}

***
