# Upgrade

The Airctl upgrade process is instrumental in updating the management plane's components to newer versions, ensuring system reliability, and incorporating enhanced features. This detailed process involves multiple steps to transition smoothly to the desired Airctl version.

## Command Syntax

The upgrade command in Airctl follows a specific syntax:

{% tabs %}
{% tab title="None" %}

```none
airctl upgrade --config airctl-config.yaml --verbose
```

{% endtab %}
{% endtabs %}

* `--config airctl-config.yaml`: References the Airctl configuration file, ensuring a seamless upgrade based on the specified configurations.

## Detailed Upgrade Process

### Purpose

The upgrade process aims to update the management plane's components to a newer version, incorporating enhanced features and improvements.

{% hint style="info" %}
**Info**

*Steps 3 and 4 are not required in case of migration or restore on SMCP.*
{% endhint %}

### Steps Involved

1. **Obtaining Newer Artifacts**
   * Download the necessary artifacts for the desired Airctl version that you intend to upgrade to.
2. **Installation**
   * Run the provided install script to deploy the acquired artifacts into their requisite locations within the system.
3. **Image Preparation**
   * Copy the `kubedu` and `nodelet` images tar files to `/var/opt/pf9/images` or create symbolic links to these files.
4. **Monitoring and Validation**
   * Monitor the nodelet logs to ensure successful image loading and completion of essential phases.
5. **Command Execution**
   * Execute the `airctl upgrade` command to initiate the upgrade process.
6. **Verification**
   * Use `airctl status` command to verify the status of the upgraded components and ensure their readiness.

### Usage Example:

{% tabs %}
{% tab title="None" %}

```none
airctl upgrade --config airctl-config.yaml --verbose
```

{% endtab %}
{% endtabs %}

* The upgrade command triggers the update process based on the configurations specified in the `airctl-config.yaml` file.

The Airctl upgrade process is essential for keeping the management plane up-to-date with the latest features and enhancements. By following the outlined steps and utilizing the appropriate command syntax, users can seamlessly transition to the desired Airctl version, ensuring improved functionality and system reliability.
