> For the complete documentation index, see [llms.txt](https://indigo-dc.gitbook.io/cdmi-qos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://indigo-dc.gitbook.io/cdmi-qos/deployment-and-administration-guide/updating-cdmi-qos.md).

# Updating CDMI-QoS

## Introduction

The recommended procedure for updating the service is to build CDMI-QoS from sources. The repository can be found on GitHub [INDIGO CDMI GitHub Repository](https://github.com/indigo-dc/CDMI).

INDIGO-DataCloud also provides pre-build packages for Ubuntu >= 14.04 and Centos 7.

How to install the CDMI-QoS service with packages is described in the section Installing CDMI-QoS.

## Update

Make sure you have added the INDIGO package repository to you package sources. The package repository can be found at the [INDIGO-DataCloud Software Repository](http://repo.indigo-datacloud.eu/).

### Ubuntu

Update the CDMI package

`sudo apt update`

`sudo apt --only-upgrade install cdmi-server`

#### INDIGO-DataCloud Repository (manually)

You can use dpkg to install the CDMI-QoS server as a service.

`sudo dpkg -i cdmi-server-<VERSION>.deb`

#### Running the Service

The CDMI-QoS server will be installed as a init.d/systemd service and can be controlled via its init/systemd script. It will be enabled automatically and runs as a new user called cdmi.

`sudo service cdmi-server stop`

`sudo service cdmi-server start`

The Java executable jar is installed in `/var/lib/cdmi-server/`

The configuration can be modified at `/var/lib/cdmi-server/config/application.yml` or any other Spring Boot application supported way, see [Spring Boot - External config](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config).

For more details on the configuration please have a look at the Configuration section.

### CentOS

Make sure you have added the INDIGO package repository to you package sources. The package repository can be found at the [INDIGO-DataCloud Software Repository](http://repo.indigo-datacloud.eu/).

Update the CDMI package

`sudo yum update cdmi-server`

#### INDIGO-DataCloud Repository (manually)

You can use rpm to install the CDMI-QoS server as a service.

`sudo rpm -U cdmi-server-<VERSION>.rpm`

#### Running the Service

The CDMI-QoS server will be installed as a init.d/systemd service and can be controlled via its init/systemd script. It will be enabled automatically and runs as a new user called cdmi.

`sudo systemctl stop cdmi-server.service`

`sudo systemctl stop cdmi-server.service`

The Java executable jar is installed in `/var/lib/cdmi-server/`

The configuration can be modified at `/var/lib/cdmi-server/config/application.yml` or any other Spring Boot application supported way, see [Spring Boot - External config](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config).

For more details on the configuration please have a look at the Configuration section.
