# How to check if the FNE server is running

You can check the following:

1. [Is the FNE server running?](https://lhc.advantest.com/link/20#bkmrk-1.-is-the-fne-server)<p class="callout warning">Note: if you have an **FNE failover setup**, you need to check this both for the **FNE primary and the FNE failover** servers.</p>
2. [Are licenses provided?](https://lhc.advantest.com/link/20#bkmrk-2.-are-licenses-prov)<p class="callout warning">Note: Using both tools provided in the sections "1. Is the FNE server running" and "2. Are licenses provided?" below, your customer can use a monitoring tool to check, if the FNE license server(s) are okay and providing licenses.</p>
3. [For failover setup: when is the maintenance end reached?](https://lhc.advantest.com/link/20#bkmrk-3.-for-failover-setu)  
    This is an **optional check**, for the case you want to know when the maintenance end is reached by the failover, when the primary server is down.

---

### 1. Is the FNE server running?

If you want to check, if the FNE server is running, you can use the :7070/ping REST API. In a browser enter

```
http://<FNE_hostname>:7070/ping
```

<p class="callout warning"><span class="nolink"> For a **failover setup** you have to do this for the **primary and** the **failover** FNE server! </span></p>

Output in the browser, if the server is running:

[![new1.png](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/new1-png.png)](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/new1-png.png)

<span class="nolink">If it is not working, then you get an error page.</span>

### 2. Are licenses provided?

<p class="callout warning">Note: the tool `<strong>test_license_checkout </strong>`can be used **after** FNE server registration.</p>

<span class="nolink">In order to check, if the license checkout is working, you should use the tool `<strong>test_license_checkout</strong>`, which is also available on the FNE license server. Just checkout the dummy license with</span>

```
test_license_checkout -f dummy -t 0
```

Example for a successful checkout:

[![new2.png](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/new2-png.png)](https://lhc.advantest.com/uploads/images/gallery/2025-10/scaled-1680-/new2-png.png)

Check for the "OK 1 x dummy" line. If it is available, the checkout was successful.

### 3. For failover setup: when is the maintenance end reached

With the following command executed on the failover server you can get the date/time when the maintenance of the failover ends.

```
/opt/flexnetls/socbu/fne-get-config -1 maintenanceEndTime <br></br>
```

<span class="ui-provider fy b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak">If you get as output</span>

`<span class="ui-provider fy b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak">1970-01-01T00:00:00.000Z</span>`

<span class="ui-provider fy b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak">then the failover is not (yet) active.</span>

<span class="ui-provider fy b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak">Example output for an active failover executed on August 7th, showing that the maintenance will end on August 17th:</span>

`<span class="ui-provider fy b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak">2023-08-17T13:02:28.000Z</span>`