> For the complete documentation index, see [llms.txt](https://docs.weka.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.weka.io/appendices/update-wms-and-wsa.md).

# Update the WSA

Update the WSA regularly to maintain system security and functionality.

## Before you begin

Before updating the WSA, ensure the following:

* You have root access to each WSA server.
* You understand the maintenance impact of rebooting servers.
* You have access to a connected Linux server if the site is isolated.

## Update the WSA for sites with Internet access

1. Log in to each WSA server.
2. Run the update command:

```bash
dnf update
```

3. Reboot the servers after major operating system updates.
4. Verify that the update completed successfully.
5. Repeat this process regularly on all WSA servers.

## Update the WSA in dark sites

Use a local repository when the WSA servers do not have Internet access.

### Before you begin

Ensure the following:

* You have a Linux server with Internet access.
* You understand `dnf` package management.
* The WSA ISO version is below `2.0.0`.

<div data-with-frame="true"><figure><img src="/files/JAGEa6cB23Ytinv2Yux0" alt=""><figcaption><p>WSA ISO file version example</p></figcaption></figure></div>

Check the current WSA version:

```bash
cat /.version
```

{% hint style="info" %}
You can also check the version from the login message.
{% endhint %}

### Procedure

1. Copy `/etc/yum.repos.d/ciq.repo` from a WSA server to a Linux server with Internet access.
2. Download the repository contents:

```bash
reposync --destdir=./reposdir --download-metadata --repoid=lts-8.6-hashed-ciq_lts_86 --download-path ./weka-patches --norepopath
```

3. Transfer the `weka-patches` directory to the dark site.
4. Update `/etc/yum.repos.d/ciq.repo` on the WSA server to point to the local repository. For example:

```bash
baseurl=file:///root/weka-patches
```

5. Run the update:

```bash
dnf --disablerepo=* --enablerepo=lts-8.6-hashed-ciq_lts_86 update
```

6. Reboot the servers after major operating system updates.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.weka.io/appendices/update-wms-and-wsa.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
