# RHEL9 upgrade and the licensing software - recommendation for existing setups

In any case using a emergency standby license server is advised to ease the process of upgrading the setup.  
Please be reminded, that an emergency server is mandatory for any FNE/X related setup.

<details id="bkmrk-for-upgrading-from-r"><summary>For upgrading from RHEL7 to RHEL9 and how to handle the licensing software on single/standalone FNE server: </summary>

1\. uninstall licensing software while OS is still RHEL7  
 1.1 With release 2023.11.0.0-23324 and newer use:

```
sudo sh install-fne-<year> uninstall 
```

 1.2 For older releases find the installed packages (`rpms`) with **`fne-status`** command under Installed components  
 1.3 Use the list entries with: (example)

```
sudo yum remove advantest-fne-server advantest-fne-server-viewer 
```

2\. update OS to RHEL9  
3\. download and install latest FNE software

```
sudo sh install-fne-2024.01.0.0-24043-rhel9.sh server
```

for a proxy setup use `<strong>fnx</strong>` instead of `<strong>server</strong>`

This would obviously mean some downtime if there is no failover/backup or emergency standby server in place.  
***An emergency server is mandatory and set up will prevent any downtime.***

</details><details id="bkmrk-%C2%A0for-upgrading-from-"><summary> For upgrading from RHEL 7 to RHEL 9 and how to handle the licensing software with a failover setup and triad setup:</summary>

Failover setup must be in place beforehand! It cannot be added afterwards without a completely new setup including the registration for the back office.

**On Primary server:**  
1\. uninstall licensing software while OS is still RHEL7  
 1.1 With release 2023.11.0.0-23324 and newer use:

```
sudo sh install-fne-<year> uninstall 
```

 1.2 For older releases find the installed packages (**`rpms`**) with **`fne-status`** command under Installed components  
 1.3 Use the list entries with: (example)

```
sudo yum remove advantest-fne-server advantest-fne-server-viewer
```

2\. update OS to RHEL9  
3\. download and install latest FNE software

```
sudo sh install-fne-2024.01.0.0-24043-rhel9.sh server
```

for a proxy setup use `<strong>fnx</strong>` instead of `<strong>server</strong>`  
4\. run as normal user

```
fne-failover-setup repair primary <failover host>
```

During primary downtime the clients will switch to the failover.  
Once the primary is finished upgrading and has a running licensing software, clients will automatically reconnect to primary within 2-20mins.

**On Failover server:**  
1\. uninstall licensing software while OS is still RHEL7  
 1.1 With release 2023.11.0.0-23324 and newer use:

```
sudo sh install-fne-<year> uninstall 
```

 1.2 For older releases find the installed packages (rpm's) with `fne-status` command under Installed components  
 1.3 Use the list entries with: (example)

```
sudo yum remove advantest-fne-server advantest-fne-server-viewer
```

2\. update OS to RHEL9  
3\. download and install latest FNE software

```
sudo sh install-fne-2024.01.0.0-24043-rhel9.sh server
```

for a proxy setup use **fnx** instead of **server**  
4\. run on primary as normal user!

```
fne-failover-setup repair failover <failover host>
```

HostIDs of primary and failover servers must not be changed!

**On Tertiary server:**

1\. uninstall licensing software while OS is still RHEL7  
 1.1 With release 2023.11.0.0-23324 and newer use:

```
sudo sh install-fne-<year> uninstall 
```

 1.2 For older releases find the installed packages (rpms)

```
rpm -qa | grep fne-proxy
```

 1.3 Use the list entries with this command: (example)

```
sudo yum remove advantest-fne-proxy advantest-fne-proxy-base advantest-fne-proxy-features
```

2\. update OS to RHEL9  
3\. download and install latest FNE software

```
sudo sh install-fne-2024.01.0.0-24043-rhel9.sh tertiary
```

**Afterwards the proxy setup can be run on primary:**

```
/opt/flexlm/bin/fne-proxy-setup <secondary> <tertiary>
```

**Important links:**  
Softwarecenter Download FNE licensing software  
[https://softwarecenter.advantest.com/download/93ksw/builds/smartestaddons/smartestaddons:fne](https://softwarecenter.advantest.com/download/93ksw/builds/smartestaddons/smartestaddons:fne)

</details>