# FlexNet Embedded license administration

<span>In addition to the License Portal, FlexNet Embedded license </span>**servers**<span>, </span>**clients** <span>and </span>**licenses** can be accessed and managed using tools such as systemctl, Advantest FlexNet Embedded license server tools, and the Advantest FlexNet Embedded license client tools.

# Systemctl license server service administration

The Advantest FlexNet Embedded license server runs as a standard Linux service and is controlled (starting, stopping, restarting, and displaying status) by **systemctl**. The license server can be used in a standalone system (not connected to a tester) providing licenses for tester workstations in the network. It can also be used to provide licenses primarily for the local attached tester. The license server uses the port 7070 which is opened in the firewall with the installation of the **advantest-fne-server** package.

<div id="bkmrk-advantest-flexnet-em"><section class="section">### Advantest FlexNet Embedded (FNE) license server commands

The Advantest FlexNet Embedded (FNE) license server is controlled using the <span class="keyword">systemctl</span> tool.

Syntax:<kbd class="userinput"> <kbd class="userinput"><kbd class="userinput"><span class="keyword">`<kbd class="userinput"><kbd class="userinput"><kbd class="userinput"><kbd class="userinput">systemctl <option> advantest-fne-server</kbd></kbd></kbd></kbd>`</span></kbd></kbd></kbd>

For example, to check if the server is running use the **<kbd class="userinput">systemctl</kbd>** command with the <kbd class="userinput">status</kbd> option:

<div class="p"><kbd class="userinput"><kbd class="userinput"><kbd class="userinput"><span class="keyword">`<kbd class="userinput"><kbd class="userinput"><kbd class="userinput"><kbd class="userinput">systemctl status advantest-fne-server</kbd></kbd></kbd></kbd>`</span></kbd></kbd></kbd>  
<div class="note"><span class="title">Note</span> To check if the FlexNet Embedded FNE Server Viewer is running, enter the command:</div></div><kbd class="userinput">systemctl status advantest-fne-server-viewer</kbd>

</section><section class="section">### **systemctl command options**

<div class="p">The following table lists the available **<span class="keyword">systemctl</span>** options for the Advantest FlexNet Embedded (FNE) license server: <table border="1" class="frame-all" style="border-collapse: collapse; border-width: 0.2px;"><caption>**Systemctl options**</caption><colgroup><col></col><col></col></colgroup><thead><tr><th class="rowsep-1" id="bkmrk-option" style="border-width: 0.2px;">Option</th><th class="rowsep-1" id="bkmrk-description" style="border-width: 0.2px;">Description</th></tr></thead><tbody><tr><td class="rowsep-1" headers="_344040__entry__1" style="border-width: 0.2px;"><kbd class="userinput">help</kbd></td><td class="rowsep-1" headers="_344040__entry__2" style="border-width: 0.2px;">Displays the manual page.</td></tr><tr><td class="rowsep-1" headers="_344040__entry__1" style="border-width: 0.2px;"><kbd class="userinput">restart</kbd></td><td class="rowsep-1" headers="_344040__entry__2" style="border-width: 0.2px;">Stops and restarts the license server.

</td></tr><tr><td class="rowsep-1" headers="_344040__entry__1" style="border-width: 0.2px;"><kbd class="userinput">start</kbd></td><td class="rowsep-1" headers="_344040__entry__2" style="border-width: 0.2px;">Starts the license server.

No status message is displayed if the start was successful.

</td></tr><tr><td class="rowsep-1" headers="_344040__entry__1" style="border-width: 0.2px;"><kbd class="userinput">status</kbd></td><td class="rowsep-1" headers="_344040__entry__2" style="border-width: 0.2px;">Displays the status of the license server.</td></tr><tr><td class="rowsep-1" headers="_344040__entry__1" style="border-width: 0.2px;"><kbd class="userinput">stop</kbd></td><td class="rowsep-1" headers="_344040__entry__2" style="border-width: 0.2px;">Stops the license server.

No status message is displayed if the stop was successful.

</td></tr></tbody></table>

</div></section><section class="section">### Firewall

The RHEL setup for V93000 tester workstations uses a firewall to control incoming connections. If the FNE license server is being used by multiple tester workstations connected to the network, SmarTest clients running on the local workstation where the license server is installed are not affected by the firewall. Outgoing connections from the local tester workstation to other license servers, even those accessible over the internet, are also not affected be the firewall. The FlexNet Embedded license server uses the port 7070 which is opened in the firewall by installing the advantest-fne-server (RPM) package.

</section></div>

# Advantest FlexNet Embedded license server tools

Advantest FlexNet Embedded (FNE) license server tools are used to manage license servers, including registering and synchronizing license servers with the Advantest License Back-office, resetting the license server database, and displaying license server configurations and log files.

<div id="bkmrk-advantest-flexnet-em-1"><section class="section">### Advantest FlexNet Embedded license server tools usage

<div class="p">The following table lists the available Advantest FlexNet Embedded (FNE) license server tools and their usage: <table border="1" class="frame-all" style="border-collapse: collapse; border-width: 0.2px; width: 100%; height: 9205.33px;"><caption>**Advantest FlexNet Embedded license server tools**</caption><colgroup><col style="width: 11.6806%;"></col><col style="width: 13.3492%;"></col><col style="width: 14.1836%;"></col><col style="width: 60.7867%;"></col></colgroup><thead><tr style="height: 29.7017px;"><th class="rowsep-1" id="bkmrk-option" style="border-width: 0.2px; height: 29.7017px;">**Option**</th><th class="rowsep-1" id="bkmrk-description" style="border-width: 0.2px; height: 29.7017px;">**Description**</th><th class="rowsep-1" colspan="2" id="bkmrk-" style="border-width: 0.2px; height: 29.7017px;"></th></tr></thead><tbody><tr class="rowsep-0" style="height: 46.5625px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="5" style="border-width: 0.2px; height: 658.324px;"><kbd class="userinput">reset-fne-server</kbd></td><td class="rowsep-1" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 46.5625px;">Resets the license server database. The license server is shutdown and requires restarting.

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><span class="filepath">/opt/flexnetls/socbu/</span></td></tr><tr class="rowsep-0" style="height: 80.1847px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 80.1847px;">Options:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 80.1847px;"><kbd class="userinput">-force</kbd>

<kbd class="userinput">-rules</kbd>

<kbd class="userinput">-all</kbd>

<kbd class="userinput">-help</kbd>

</td></tr><tr class="rowsep-0" style="height: 164.162px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 164.162px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 164.162px;">Requires root access.  
  
<kbd class="userinput">**Without option**:</kbd> empties the license database on the FlexNet Embedded license server. A reset is also required to synchronize the FlexNet Embedded license server with the Advantest License back-office (online or offline).

<kbd class="userinput">-**force**</kbd> deletes the license database on the FlexNet Embedded license server.

<kbd class="userinput">-**rules**</kbd> deletes rules on the FlexNet Embedded license server.

<kbd class="userinput">-**all**</kbd> includes -force and -rules and remove backup configuration

</td></tr><tr class="rowsep-1" style="height: 337.713px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 337.713px;">Examples:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 337.713px;"><span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">reset-fne-server -force</kbd></span><div class="p"><div>  
</div></div>```
Successfully removed FNE database
```

<kbd class="userinput"><span style="background-color: rgb(206, 212, 217);">reset-fne-server</span>  
  
</kbd>

```
12:44:24,141 INFO Starting FlexNet License Server 2017.11 (build 215319)
12:44:24,143 INFO Copyright (C) 2013-2017 Flexera Software LLC.
12:44:24,143 INFO All Rights Reserved.
12:44:24,143 INFO Running as a console session
12:44:29,917 DEBUG Native code loaded in 266ms.
12:44:30,350 INFO Removed "/var/usr/local/bin/flexnetls_licenses.ks"
12:44:30,351 INFO Removed "/var/usr/local/bin/flexnetls_licenses.mv.db"
12:44:30,352 INFO Stopping FlexNet License Server
```

</td></tr><tr class="rowsep-1" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="5" style="border-width: 0.2px; height: 420.483px;"><kbd class="userinput">register-fne-server</kbd></td><td class="rowsep-0" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Registers the license server at Advantest License Back-office.

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-0" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-0" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><span class="filepath">/usr/local/bin/</span></td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Options:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput"><var class="varname">nnnnn-ffff</var></kbd> and <kbd class="userinput"><var class="varname">binary response file</var></kbd>

</td></tr><tr class="rowsep-0" style="height: 147.358px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 147.358px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 147.358px;">Used to initialize a new FlexNet Embedded license server.

If the FlexNet Embedded license server has access to the internet, it will automatic synchronize with Advantest License back-office and the FlexNet Embedded license server is automatically registered.

If the FlexNet Embedded license server is not connected to the internet, the synchronization must be carried out by up and down loading files. The <kbd class="userinput">LIC-SRV-Registraion\_nnnn-ffff</kbd> string is a unique key used to identify the FlexNet Embedded license server. It is displayed in the Advantest License Portal under Setup Server.

</td></tr><tr style="height: 184.02px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 184.02px;">Examples:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 184.02px;">**Online**:

<span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">register-fne-server 000601-ffff</kbd></span><div class="p"><div>  
</div></div>```
Successfully activated your server to ADVANTEST
```

**Offline**:

The **<kbd class="userinput">register-fne-server 000601-ffff</kbd>** command creates a file to be uploaded using the Advantest License Portal to complete the registration.

</td></tr><tr class="rowsep-1" style="height: 46.5625px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="3" style="border-width: 0.2px; height: 156.577px;"><kbd class="userinput">fne-proxy-setup</kbd></td><td class="rowsep-0" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 46.5625px;">Configures the FNP component of a proxy failover setup.

Run the <kbd class="userinput">fne-proxy-setup</kbd> tool after fne-failover setup.

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-0" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-0" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><span class="filepath">/opt/flexlm/bin</span></td></tr><tr class="rowsep-0" style="height: 80.3125px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 80.3125px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 80.3125px;">**<kbd class="userinput">fne-proxy-setup &lt;secondary host&gt; &lt;tertiary host&gt;  
  
</kbd>**

Use fully qualified host names.

This tool uses <span class="keyword">ssh</span> and <span class="keyword">sudo</span>. You might be asked to enter your password several times.

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="3" style="border-width: 0.2px; height: 214.091px;"><kbd class="userinput">sync-fne-server</kbd>**(for online use)**

</td><td class="rowsep-1" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Synchronizes the license server with Advantest License Back-office.

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><span class="filepath">/usr/local/bin/</span></td></tr><tr class="rowsep-0" style="height: 154.688px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 154.688px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 154.688px;"><div class="p">Used for FlexNet Embedded license servers connected to the internet to force a synchronization with Advantest License back-office for automatic license updates.</div><div class="p">  
</div><div class="note">  
</div><div class="note">  
</div><p class="callout info"><span class="title">Note: FlexNet Embedded license servers connected to the internet automatically **synchronize with the Advantest FlexNet License Back-Office every 12 hours.**</span></p>

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="19" style="border-width: 0.2px; height: 1317.13px;"><kbd class="userinput">fne-get-config</kbd></td><td class="rowsep-1" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the configuration items from the local FNE server.</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><span class="filepath">/opt/flexnetls/socbu/</span></td></tr><tr style="height: 29.8864px;"><td class="rowsep-1" headers="_344044__entry__2" rowspan="11" style="border-width: 0.2px; height: 644.944px;">Options:</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.8864px;"><kbd class="userinput">--i\[nstance\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.8864px;">Displays the value from the specified instance.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--p\[arent\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the factory default value of the specified key.</td></tr><tr style="height: 113.807px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 113.807px;"><kbd class="userinput">--s\[howconfig\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 113.807px;">Displays the complete configuration, listing the keys and their values. Examples of a key:-value pair displayed include:

<samp class="sysout">logging.threshold: LICENSING</samp>

<samp class="sysout">fne.syncTo.enabled: false</samp>

<samp class="sysout">lfs.syncTo.pagesize: 50</samp>

Configuration queries can also be limited by specifying a key.

</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--h\[ostid\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the host ID of the license server</td></tr><tr style="height: 212.628px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 212.628px;"><kbd class="userinput">--1</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 212.628px;">Displays information for instance 1, listing the keys and their values. Examples of key:-value pairs displayed include:

```
id 1
serverInstanceId MYFIRSTLICSVR
requestId 1
enterpriseId 12345678
pendingDeletion false
...
```

Instances queries can also be limited by specifying a key.

</td></tr><tr style="height: 63.3807px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 63.3807px;"><kbd class="userinput">--t\[rusted-storage\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 63.3807px;">Shows whether the license database (trusted storage) is consistent or not.

Returns <samp class="sysout">true</samp> or <samp class="sysout">false</samp>. <samp class="sysout">false</samp> response: the server is running but not able to serve licenses.

</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--d\[etails\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the company details (company name).</td></tr><tr style="height: 46.5625px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.5625px;"><kbd class="userinput">--m\[achine\]=host</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.5625px;">Directs requests to the specified computer.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--b\[uild\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays detailed information of the server build versions.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--help</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the help text.</td></tr><tr style="height: 30.1705px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 30.1705px;"><kbd class="userinput">--v\[ersion\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 30.1705px;">Displays the version number of the <kbd class="userinput">fne-get-config</kbd> tool.</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">**<kbd class="userinput">fne-get-config \[option\] &lt;key&gt;</kbd>**

</td></tr><tr class="rowsep-1" style="height: 116.733px;"><td class="rowsep-1" headers="_344044__entry__2" rowspan="5" style="border-width: 0.2px; height: 583.083px;">Examples:</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.733px;">Display the value of a key, for example, the logging threshold value (<samp class="sysout">LICENSING</samp>):

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.733px;"><span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">fne-get-config logging.threshold</kbd></span>

<div class="p"><div>  
</div></div>```
LICENSING 
```

<div class="p"><div>  
</div></div></td></tr><tr style="height: 116.577px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.577px;">Show your company details:

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.577px;"><span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">fne-get-config -d</kbd></span>

<div class="p"><div>  
</div></div>```
ADVANTEST_RD
```

<div class="p"><div>  
</div></div></td></tr><tr style="height: 116.577px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.577px;">Show the host ID of the license server:

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.577px;"><span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">fne-get-config -h</kbd></span>

<div class="p"><div>  
</div></div>```
5543053D6573
```

<div class="p"><div>  
</div></div></td></tr><tr style="height: 116.577px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.577px;">Show the host ID of the specified license server:

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.577px;"><span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">fne-get-config -m=fne\_ls\_1 -h</kbd></span>

<div class="p"><div>  
</div></div>```
006046B1FD09
```

<div class="p"><div>  
</div></div></td></tr><tr style="height: 116.619px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.619px;">Show the host ID of the specified license server:

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 116.619px;"><span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">fne-get-config -m=fne\_ls\_1 -h</kbd></span>

<div class="p"><div>  
</div></div>```
006046B1FD09
```

<div class="p"><div>  
</div></div></td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="3" style="border-width: 0.2px; height: 1075.24px;"><kbd class="userinput">fne-status</kbd></td><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">/usr/bin/fne-status</kbd> or <kbd class="userinput">/usr/local/bin/fne-status</kbd></td></tr><tr class="rowsep-0" style="height: 80.1847px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 80.1847px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 80.1847px;">If the FNE/FNX license server is running, the command returns a confirmation message.  
  
This tool give a compressive overview installed server, service and status and can be used to locate a root cause for a not function server.

</td></tr><tr class="rowsep-0" style="height: 965.355px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 965.355px;">Examples:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 965.355px;">**Installed components:**

```
advantest-fne-server-2024.05.0.0-19140.el9
advantest-fne-server-viewer-2.2-19140.el9
advantest-fne-proxy-2024.04.0.0-19140.el9
advantest-fne-proxy-base-2024.04.0.0-19140.el9
v93000-fne-client-2024.04.0.0-19140.el9
advantest-test_license_checkout-1.0-19140.el9
```

**Service status:**

<div>  
</div>```
* advantest-fne-server.service - Flex Net Embedded license server adapted for Advantest
Active: active (running) since Mon 2024-05-20 11:08:14 CEST; 3 days ago
* advantest-fne-server-viewer.service - Advantest Flex Net Embedded License Server Viewer
Active: active (running) since Mon 2024-05-20 11:06:48 CEST; 3 days ago
* advantest-fne-proxy.service - Advantest FNP2FNE proxy
Active: active (running) since Mon 2024-05-20 11:07:36 CEST; 3 days ago
```

<div>  
</div>**FNE server status:**

<div>  
</div>```
ONLINE connection to license.advantest.com:443 available
Server is registered to ADVANTEST_RD
Total number of features : 379
Failover role: MAIN
Main : advvm123.mycom.net
alive
Backup: advvm124.mycom.net
alive, currently unused
```

**FNP server status:**

<div>  
</div>```
License server status:
27000@advvm123.mycom.net,27000@advvm124.mycom.net,27000@@advvm125.mycom.net
License file(s) on advvm123.mycom.net:
/opt/flexlm/bin/proxy.lic:
advvm123.mycom.net: license server UP v11.16.3
advvm124.mycom.net: license server UP (MASTER) v11.16.3
advvm125.mycom.net: license server UP v11.16.3 Vendor daemon status (on advvm124.mycom.net): advvm: UP v11.16.3
```

<div>  
</div>**Configured servers:**

```
<button class="-copy" title="Copy to clipboard"><svg height="20" viewbox="0 0 1000 1000" width="20"><path d="M704 896H64V320h640v192h64V192c0-35-29-64-64-64H512C512 57 455 0 384 0S256 57 256 128H64c-35 0-64 29-64 64v704c0 35 29 64 64 64h640c35 0 64-29 64-64V768h-64v128zM192 192h64s64-29 64-64 29-64 64-64 64 29 64 64 32 64 64 64h64s64 29 64 64H128c0-39 28-64 64-64zm-64 512h128v-64H128v64zm448-128V448L320 640l256 192V704h320V576H576zM128 832h192v-64H128v64zm320-448H128v64h320v-64zM256 512H128v64h128v-64z" fill="currentColor"></path></svg></button>FNX-redundant advvm123/advvm124:advvm123.mycom.net
```

<div class="p"><div>  
</div></div></td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="13" style="border-width: 0.2px; height: 755.54px;"><kbd class="userinput">fne-handle-response</kbd></td><td class="rowsep-1" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Checks the validity of the response file, and uploads, and downloads the response file to and from FNE server.</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">/usr/local/bin/fne-handle-response</kbd></td></tr><tr style="height: 29.8722px;"><td class="rowsep-1" headers="_344044__entry__2" rowspan="7" style="border-width: 0.2px; height: 225.383px;">Options:</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.8722px;"><kbd class="userinput">--upload</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.8722px;">Uploads the response file to the local FNE license server.</td></tr><tr style="height: 46.5625px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.5625px;"><kbd class="userinput">--download</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.5625px;">Downloads and saves the response file to the specified file for offline processing by the back-office server.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--show</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the content of the response file.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--notitle</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Omits the title line in the listing (for scripting).</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--ids</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays additional information, such as host IDs.

</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--help</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the help text.</td></tr><tr style="height: 30.142px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 30.142px;"><kbd class="userinput">--v\[ersion\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 30.142px;">Displays the version number of the <kbd class="userinput">fne-handle-response</kbd> tool.</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">**<kbd class="userinput">fne-handle-response -show|upload|-download \[options\] &lt;response.bin&gt;</kbd>**

</td></tr><tr class="rowsep-1" style="height: 113.153px;"><td class="rowsep-1" headers="_344044__entry__2" rowspan="3" style="border-width: 0.2px; height: 441.051px;">Examples:</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 113.153px;">Upload a response file:

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 113.153px;"><kbd class="userinput">fne-handle-response --upload responsefile-2024-09-19\_20-09-response.bin</kbd>

<div class="p"><div>  
</div></div>```
Successfully applied responsefile-2024-09-19_20-09-response.bin to FNE server 
```

</td></tr><tr style="height: 99.517px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 99.517px;">Download a response file to file <span class="filepath">confirm.bin</span>:

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 99.517px;"><kbd class="userinput">fne-handle-response --download confirm.bin</kbd>

<div class="p"><div>  
</div></div>```
Successfully wrote confirm.bin
```

</td></tr><tr style="height: 228.381px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 228.381px;">Display a response file:

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 228.381px;"><kbd class="userinput">fne-handle-response --show responsefile-2024-09-19\_20-09-response.bin</kbd>

<div class="p"><div>  
</div></div>```
Name/Version x Count Start->Expires Conditions
BitFailMap_HSM/1.0 x 1 14-sep-2024->21-sep-2024
BitFailMap_SOC/1.0 x 1 14-sep-2024->21-sep-2024
Company_Details/1.0 x 1000 7-dec-2021-> Company=Advantest_Training,Entity=DE
E8015_A3-Model_upgrade/1.0 x 1 14-sep-2024->21-sep-2024 %%SERIALNUMBER:MY11223344%%
MemoryTestPlusOffline_HSM/1.0 x 1 14-sep-2024->21-sep-2024
...
```

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="5" style="border-width: 0.2px; height: 796.625px;"><kbd class="userinput">showlog-fne-server</kbd></td><td class="rowsep-1" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the license server log file.

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">/opt/flexnetls/socbu/</kbd></td></tr><tr class="rowsep-0" style="height: 63.3807px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 63.3807px;">Options</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 63.3807px;">Log level <kbd class="userinput">1…8</kbd>Logfile &lt;show specific logfile&gt;

<kbd class="userinput">-f</kbd> - (follow) Show only the last 20 entries of the log file and "follow" any new entries

</td></tr><tr class="rowsep-0" style="height: 234.091px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 234.091px;">Usage</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 234.091px;">Log Levels: <div>  
</div>```
1 FATAL
2 ERROR
3 WARN
4 INFO
5 LICENSING
6 DEBUG
7 POLICY
8 TRACE
```

</td></tr><tr style="height: 439.75px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 439.75px;">Examples</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 439.75px;"><kbd class="userinput">showlog-fne-server -5</kbd>

```
2019-12-17 02:56:39,734 LICENSING Scheduled-poo1-3-thread-8 [elapsed:816] Outgoing Feature request completed
```

<kbd class="userinput">showlog-fne-server -6</kbd>

```
2019-12-17 03:00:37,742 DEBUG Scheduled-pool-3-thread-10 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 03:02:38,661 DEBUG Scheduled-pool-3-thread-9 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 00:04:39,560 DEBUG Scheduled-pool-3-thread-11 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 00:06:40,469 DEBUG Scheduled-pool-3-thread-7 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 00:08:41,378 DEBUG Scheduled-pool-3-thread-7 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 00:10:42,297 DEBUG Scheduled-pool-3-thread-3 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 00:12:43,196 DEBUG Scheduled-pool-3-thread-7 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 00:14:44,105 DEBUG Scheduled-pool-3-threed-7 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 00:16:45,014 DEBUG Scheduled-pool-3-thread-11 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 03:18:45,923 DEBUG Scheduled-pool-3-thread-7 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 03:20:46,832 DEBUG Scheduled-pool-3-thread-8 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 03:22:47,741 DEBUG Scheduled-pool-3-thread-9 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
2019-12-17 03:24:46,650 DEBUG Scheduled-poo1-3-threal-10 Server native hostids: ETHERNET 00202072558D3 ETHERNET E85035522E69
```

</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="24" style="border-width: 0.2px; height: 2715.55px;"><kbd class="userinput">test\_license\_checkout</kbd></td><td class="rowsep-1" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Tests the license checkout from a license server.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Prerequisite</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">The FNE client software must be installed on the FNE server workstation.</td></tr><tr class="rowsep-0" style="height: 164.134px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 164.134px;">Location</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 164.134px;"><dl><dt class="dlterm">**RHEL 9**  
  
</dt><dd><kbd class="userinput"><span style="background-color: rgb(206, 212, 217);">/usr/bin/</span>  
  
</kbd>

</dd><dt class="dlterm">**RHEL 7** </dt><dd><span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">/usr/bin/</kbd> which links to </span><kbd class="userinput"><span style="background-color: rgb(206, 212, 217);">/usr/local/bin/</span>  
  
</kbd>

</dd></dl>No path naming is required as path is included in PATH environment variable.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Syntax:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">**<kbd class="userinput">test\_license\_checkout -t &lt;time in sec.&gt; -f &lt;feature name&gt;</kbd>**

</td></tr><tr style="height: 46.6335px;"><td class="rowsep-1" headers="_344044__entry__2" rowspan="13" style="border-width: 0.2px; height: 557.003px;">Options:</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.6335px;"><kbd class="userinput">-t &lt;time&gt;</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.6335px;">Specifies the time in seconds to be waited before checking in the license again. Default period is 10 seconds.

</td></tr><tr style="height: 147.5px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 147.5px;"><kbd class="userinput">-f \[count\] &lt;feature\[/version\]&gt;</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 147.5px;">Specifies the license feature to be used for the license checkout test.

This option can be applied multiple times.

Default is dummy. Version defaults to 1.0. For example:

<samp class="sysout">Using FlexNetEmbedded 2023.09.1.292127 / subsystem 1.3 / built Feb 8 2024 16:00:57 (RPM)</samp>

<samp class="sysout">Check out finished in 46ms for category tplf</samp>

<samp class="sysout">OK 1 x dummy/1.0</samp>

<samp class="sysout">Sleep for 0 seconds...</samp>

</td></tr><tr style="height: 47.4432px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 47.4432px;"><kbd class="userinput">-d</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 47.4432px;">Shows all debug/info messages (default: Only FATAL/ERROR) To display all available information, use `SOCBU_DIAGNOSTICS=7`.

</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">-p &lt;proj&gt;</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Sets project information.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">-v &lt;ssn&gt;</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Sets system serial number to <kbd class="userinput">&lt;ssn&gt;</kbd>.</td></tr><tr style="height: 47.4432px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 47.4432px;"><kbd class="userinput">-o</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 47.4432px;">Activates the `isLicensingOk()` thread, calling it every 20 seconds and creating the result output.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">-l \[&lt;file&gt;\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Replays the log file created by using <span class="keyword">SOCBU\_LOG\_REQUEST\_FILE</span>.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">-u &lt;name&gt;</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Sets the name of the upstream or device owner.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">-c &lt;name&gt;</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Sets device category (must follow a <kbd class="userinput">-u</kbd> entry).</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">-e &lt;ext&gt;</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Sets the <span class="keyword">hostid</span> extension.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">-m</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Shows customer details provided by license server.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">-g</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Set feature checkout category; <span class="keyword">tool</span> or <span class="keyword">tplf</span> (default).</td></tr><tr style="height: 30.3693px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 30.3693px;"><kbd class="userinput">--help</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 30.3693px;">Displays the help text.</td></tr><tr class="rowsep-1" style="height: 97.0739px;"><td class="rowsep-1" headers="_344044__entry__2" rowspan="7" style="border-width: 0.2px; height: 1905.31px;">Examples:</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 97.0739px;">To check that the FNE server is working after registration, enter:

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 97.0739px;">**<kbd class="userinput">test\_license\_checkout</kbd>**The tool attempts to checkout the dummy license from the FNE server, which is available after successful FNE server registration.

</td></tr><tr style="height: 180.966px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 180.966px;">Tests the license checkout for the Digital\_E803x\_100\_200Mbps feature with count 1 (default count). After 60 seconds, the license is checked in.

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 180.966px;">**<kbd class="userinput">test\_license\_checkout -t 60 -f Digital\_E803x\_100\_200Mbps</kbd>**</td></tr><tr style="height: 466.605px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 466.605px;">To check out the online SmarTest\_SOC license with date version 2024.06 and system serial number DE04600001, enter the following command. If the checkout succeeds, the license is checked out for 15 seconds. If it fails, it is not checked out.

Date version is the master release date of the SmarTest version in use, documented in the SmarTest release notes.

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 466.605px;">**<kbd class="userinput">test\_license\_checkout -f SmarTest\_SOC/2024.06 -v DE04600001 -t 15</kbd>**</td></tr><tr style="height: 264.957px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 264.957px;">To check out a specified number of Digital\_E8012\_TIA floating licenses, enter the following command. Three Digital\_E8012\_TIA floating licenses are checked out for the duration of 10 seconds.

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 264.957px;">**<kbd class="userinput">test\_license\_checkout -f 3 Digital\_E8012\_TIA -t 10  
  
</kbd>**Example output:

<samp class="sysout">Using FlexNetEmbedded 2021.05.0.279614 / subsystem 1.3 / built Nov 8 2021 15:34:51 (RPM)  
  
</samp>

<samp class="sysout">Check out finished in 25ms for category tplf</samp>

<samp class="sysout">OK 1 x S&amp;S\_Tools\_Package/1.0</samp>

<samp class="sysout">Sleep for 0 seconds...</samp>

</td></tr><tr style="height: 197.756px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 197.756px;">To check out S&amp;S licenses, enter a command of the following form. Use quotes to correctly specify special characters such as the <kbd class="userinput">&amp;</kbd> sign.

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 197.756px;">**<kbd class="userinput">test\_license\_checkout -f "S&amp;S\_Tools\_Package" -t 0</kbd>**</td></tr><tr style="height: 432.997px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 432.997px;">To check out a license with a device owner (only available for FNE client or on the FNE license server), enter a command of the following form. The example requires a test program locked to the device owner <span class="keyword">ADVANTEST\_RD</span>.

The token is <span class="keyword">Token\_ADVANTEST\_RD\_WaferSort</span>.

The name of the device owner is set using the <kbd class="userinput">-u</kbd> option.

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 432.997px;">**<kbd class="userinput">test\_license\_checkout -u ADVANTEST\_RD -f Token\_ADVANTEST\_RD\_WaferSort -t 0</kbd>**</td></tr><tr style="height: 264.957px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 264.957px;">The SOCBU\_DIAGNOSTICS debug option is used to get more data and create an output file.

If the checkout fails, please rerun the command with diagnostics enabled, enter the following command.

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 264.957px;">Example for S&amp;S licenses:

<kbd class="userinput">**SOCBU\_DIAGNOSTICS=7 test\_license\_checkout -f "S&amp;S\_Tools\_Package" -t 0 &gt; /tmp/lic-error.txt**  
  
</kbd>

Alternatively, the <kbd class="userinput">-d</kbd> option can be used instead of <span class="keyword">SOCBU\_DIAGNOSTICS</span>:

<kbd class="userinput">test\_license\_checkout -f SmarTest\_SOC/2024.05 -v MY04605099 -t 0 -d &gt; /tmp/lic-error.txt</kbd>

</td></tr><tr class="rowsep-1" style="height: 63.3807px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="8" style="border-width: 0.2px; height: 339.119px;"><kbd class="userinput">fne-rules</kbd></td><td class="rowsep-0" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 63.3807px;">Manages the FNE pooling rules.

(Imported in FNE 2024.10).

Run the <kbd class="userinput">fne-proxy-setup</kbd> tool after fne-failover setup.

</td></tr><tr class="rowsep-1" style="height: 29.7017px;"><td class="rowsep-0" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-0" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><span class="filepath">/opt/flexnetls/socbu/</span></td></tr><tr class="rowsep-1" style="height: 97.2443px;"><td class="rowsep-1" headers="_344044__entry__2" rowspan="5" style="border-width: 0.2px; height: 216.335px;">Options:</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 97.2443px;"><kbd class="userinput">--upload \[&lt;model&gt;\]</kbd>

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 97.2443px;">Uploads the model definition to the local FNE license server.

If the model is not specified, <span class="keyword">stdin</span> is used.

The model is located at:

<span class="filepath">/var/opt/flexnetls/socbu/model.current</span>

It is applied automatically after a reset of the database.

</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--show</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Show current model definition</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--delete</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Deletes the model definition.</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--help</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the <kbd class="userinput">fne-rules</kbd> tool help text.</td></tr><tr style="height: 29.9858px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.9858px;"><kbd class="userinput">--version</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.9858px;">Displays the version number of the <kbd class="userinput">fne-rules</kbd> tool.</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">**<span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">fne-rules -show|delete|-upload \[&lt;model&gt;\]</kbd></span>**

</td></tr><tr class="rowsep-1" style="height: 63.3807px;"><td class="rowsep-1" headers="_344044__entry__1" rowspan="12" style="border-width: 0.2px; height: 726.946px;"><kbd class="userinput">fne-log-collect</kbd></td><td class="rowsep-0" colspan="3" headers="_344044__entry__2 _344044__entry__3" style="border-width: 0.2px; height: 63.3807px;">Collects all relevant log file information from the FNX server for a given time.

(Imported in FNE 2024.10).

Run the <kbd class="userinput">fne-proxy-setup</kbd> tool after fne-failover setup.

</td></tr><tr class="rowsep-1" style="height: 29.7017px;"><td class="rowsep-0" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Location:</td><td class="rowsep-0" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><span class="filepath">/opt/flexnetls/socbu/</span></td></tr><tr class="rowsep-1" style="height: 46.6477px;"><td class="rowsep-1" headers="_344044__entry__2" rowspan="8" style="border-width: 0.2px; height: 339.204px;">Options:</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.6477px;"><kbd class="userinput">--r\[ange\]</kbd>

</td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.6477px;">Length of the interval in hours before and after the given time to be collected. Default: 4 hrs.</td></tr><tr style="height: 63.3807px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 63.3807px;"><kbd class="userinput">--d\[ay\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 63.3807px;">Day of incident.

Format: <kbd class="userinput">\[\[%Y-\]%m\]%d</kbd>

Default: today/yesterday

</td></tr><tr style="height: 46.5625px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.5625px;"><kbd class="userinput">--t\[ime\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 46.5625px;">Time of incident.

Format: <kbd class="userinput">%H\[:%M\[:%S\]\]</kbd>

</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--p\[rogress\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays progress information.

</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--o\[nly\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Check only one process: <span class="filepath">fne/proxy/access/viewer</span>

</td></tr><tr style="height: 63.3807px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 63.3807px;"><kbd class="userinput">--c\[eckPerformance\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 63.3807px;">Analyze the log file and present statistics on the server load.

</td></tr><tr style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;"><kbd class="userinput">--h\[elp\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">Displays the <kbd class="userinput">fne-log-collect</kbd> tool help text.</td></tr><tr style="height: 30.1278px;"><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 30.1278px;"><kbd class="userinput">--v\[ersion\]</kbd></td><td class="rowsep-1" headers="_344044__entry__3" style="border-width: 0.2px; height: 30.1278px;">Displays the version number of the <kbd class="userinput">fne-log-collect</kbd> tool.</td></tr><tr class="rowsep-0" style="height: 29.7017px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 29.7017px;">Usage:</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 29.7017px;">**<span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">fne-log-collect -t &lt;time&gt; \[options\]</kbd></span>**

</td></tr><tr style="height: 264.957px;"><td class="rowsep-1" headers="_344044__entry__2" style="border-width: 0.2px; height: 264.957px;">Examples</td><td class="rowsep-1" colspan="2" headers="_344044__entry__3" style="border-width: 0.2px; height: 264.957px;">Collect logs from 3 a.m. today/yesterday:

**<kbd class="userinput">fne-log-collect -t 3  
  
</kbd>**

Collect logs from 2 p.m. to 4 p.m. on 1st April:

<kbd class="userinput">fne-log-collect -t 15 -d 04-01 -r 1  
  
</kbd>

Collect the logs for the whole of 1st April:

<kbd class="userinput">fne-log-collect -t 12 -d 04-01 -r 12  
  
</kbd>

Collect a short snapshot for the precise time of the FNP2FNE-proxy:

<kbd class="userinput">fne-log-collect -t 09:10:11 -d 2022-04-01 -r 1 -o proxy</kbd>

</td></tr></tbody></table>

</div></section></div>

# Advantest FlexNet Embedded license client tools

Advantest FlexNet Embedded (FNE) license client tools are used to manage license clients, including testing license checkouts from a license server and listing all checked out licenses.

<div id="bkmrk-advantest-flexnet-em-1"><section class="section">### **Advantest FlexNet Embedded license client tools usage**

The following table lists the available Advantest FlexNet Embedded (FNE) license client tools and their usage:

<table border="1" class="frame-all" style="border-collapse: collapse; border-width: 0.2px; width: 100%; height: 1215.88px;"><caption>**Advantest FlexNet Embedded license client tools**</caption><colgroup><col style="width: 16.0906%;"></col><col style="width: 20.5006%;"></col><col style="width: 63.4088%;"></col></colgroup><thead><tr style="height: 29.7969px;"><th class="rowsep-1" id="bkmrk-option" style="border-width: 0.2px; height: 29.7969px;">**Option**</th><th class="rowsep-1" id="bkmrk-description" style="border-width: 0.2px; height: 29.7969px;">**Description**</th><th class="rowsep-1" id="bkmrk-" style="border-width: 0.2px; height: 29.7969px;"></th></tr></thead><tbody><tr class="rowsep-0" style="height: 29.7969px;"><td class="rowsep-1" headers="_344052__entry__1" rowspan="4" style="border-width: 0.2px; height: 119.188px;">**<kbd class="userinput">test\_license\_checkout</kbd>**</td><td class="rowsep-1" colspan="2" headers="_344052__entry__2 _344052__entry__3" style="border-width: 0.2px; height: 29.7969px;">Tests the license checkout from a license server.</td></tr><tr class="rowsep-0" style="height: 29.7969px;"><td class="rowsep-1" headers="_344052__entry__2" style="border-width: 0.2px; height: 29.7969px;">Location:</td><td class="rowsep-1" headers="_344052__entry__3" style="border-width: 0.2px; height: 29.7969px;"><span class="filepath">/opt/hp93000/soc64\_&lt;version&gt;/.service/bin/</span></td></tr><tr class="rowsep-1" style="height: 29.7969px;"><td class="rowsep-0" headers="_344052__entry__2" style="border-width: 0.2px; height: 29.7969px;">Examples:</td><td class="rowsep-0" headers="_344052__entry__3" style="border-width: 0.2px; height: 29.7969px;">**<span style="background-color: rgb(206, 212, 217);"><kbd class="userinput">test\_license\_checkout -t 60 -f SmarTest\_SOC</kbd></span>**</td></tr><tr class="rowsep-0" style="height: 29.7969px;"><td class="rowsep-1" headers="_344052__entry__2" style="border-width: 0.2px; height: 29.7969px;">Syntax:</td><td class="rowsep-1" headers="_344052__entry__3" style="border-width: 0.2px; height: 29.7969px;"><kbd class="userinput">test\_license\_checkout -t &lt;time in sec.&gt; -f &lt;feature name&gt;</kbd>

</td></tr><tr class="rowsep-1" style="height: 29.7969px;"><td class="rowsep-1" headers="_344052__entry__1" rowspan="4" style="border-width: 0.2px; height: 169.578px;">**<kbd class="userinput">fne-show-license-usage</kbd>**</td><td class="rowsep-0" colspan="2" headers="_344052__entry__2 _344052__entry__3" style="border-width: 0.2px; height: 29.7969px;">Iterates through the FlexNet Embedded servers defined in <span class="filepath">/etc/fne/client.conf</span> and lists all checked out licenses.

</td></tr><tr class="rowsep-0" style="height: 29.7969px;"><td class="rowsep-0" headers="_344052__entry__2" style="border-width: 0.2px; height: 29.7969px;">Location:</td><td class="rowsep-0" headers="_344052__entry__3" style="border-width: 0.2px; height: 29.7969px;"><span class="filepath">/usr/local/bin</span> (If the FNE client package is installed)</td></tr><tr class="rowsep-0" style="height: 29.7969px;"><td class="rowsep-1" headers="_344052__entry__2" style="border-width: 0.2px; height: 29.7969px;">Options:</td><td class="rowsep-1" headers="_344052__entry__3" style="border-width: 0.2px; height: 29.7969px;"><kbd class="userinput">-a\[ll\]</kbd>, <kbd class="userinput">-h\[elp\]</kbd> and <kbd class="userinput">-v\[ersion\]</kbd>

</td></tr><tr class="rowsep-0" style="height: 80.1875px;"><td class="rowsep-1" headers="_344052__entry__2" style="border-width: 0.2px; height: 80.1875px;">Usage:</td><td class="rowsep-1" headers="_344052__entry__3" style="border-width: 0.2px; height: 80.1875px;"><kbd class="userinput">-a</kbd> - Shows all clients managed by the servers (default: Only clients on the local machine).

<kbd class="userinput">-h</kbd> - Shows the help information.

<kbd class="userinput">-v</kbd> - Displays the version of the <kbd class="userinput">fne-show-license-usage</kbd> tool.

</td></tr><tr class="rowsep-0" id="bkmrk-fne-list-licenses-it" style="height: 137.219px;"><td class="rowsep-1" headers="_344052__entry__1" rowspan="5" style="border-width: 0.2px; height: 748.329px;">**<kbd class="userinput">fne-list-licenses</kbd>**</td><td class="rowsep-1" colspan="2" headers="_344052__entry__2 _344052__entry__3" style="border-width: 0.2px; height: 137.219px;">Iterates through the FlexNet Embedded servers defined in <span class="filepath">/etc/fne/client.conf</span> and lists all licenses (used and available). Provides detailed information about the available licenses including:

<div class="p">- Content of the AssetScale tokens
- Locking of licenses
- Expiry information

</div></td></tr><tr class="rowsep-0" style="height: 29.7969px;"><td class="rowsep-1" headers="_344052__entry__2" style="border-width: 0.2px; height: 29.7969px;">Location:</td><td class="rowsep-1" headers="_344052__entry__3" style="border-width: 0.2px; height: 29.7969px;"><span class="filepath">/usr/local/bin</span> (If the FNE client package is installed)</td></tr><tr class="rowsep-1" style="height: 29.7969px;"><td class="rowsep-0" headers="_344052__entry__2" style="border-width: 0.2px; height: 29.7969px;">Options:</td><td class="rowsep-0" headers="_344052__entry__3" style="border-width: 0.2px; height: 29.7969px;"><kbd class="userinput">&lt;no option&gt;</kbd>, <kbd class="userinput">--feature</kbd>, <kbd class="userinput">--expires</kbd>, <kbd class="userinput">--assetScale</kbd>, and <kbd class="userinput">-h\[elp\]</kbd>

</td></tr><tr class="rowsep-0" style="height: 164.172px;"><td class="rowsep-0" headers="_344052__entry__2" style="border-width: 0.2px; height: 164.172px;">Usage for general options:</td><td class="rowsep-0" headers="_344052__entry__3" style="border-width: 0.2px; height: 164.172px;"><span style="text-decoration: underline;">No option:</span> Lists licenses provided by all servers.

<kbd class="userinput">--feature=&lt;xyz&gt;</kbd> - Lists only licenses of the specified feature.

<kbd class="userinput">--expires\[=&lt;n&gt;\]</kbd> - Lists only licenses expiring in the next n days. Default for n: 30.

<kbd class="userinput">--assetScale</kbd> - Lists the AssetScale tokens and shows their content.

<kbd class="userinput">--v\[ersion\]</kbd> - Displays the tool version information.

</td></tr><tr style="height: 387.344px;"><td class="rowsep-1" headers="_344052__entry__2" style="border-width: 0.2px; height: 387.344px;">Usage for tabular output options:</td><td class="rowsep-1" headers="_344052__entry__3" style="border-width: 0.2px; height: 387.344px;"><div class="note">  
</div><p class="callout info"><span class="title">Note: </span>**Options are processed in the order that they are stated.** Use <kbd class="userinput">--sep</kbd> and <kbd class="userinput">--notitle</kbd> before <kbd class="userinput">--csv</kbd>.</p>

<div class="note">  
</div><div class="p"><kbd class="userinput">--sep\[arator\]=&lt;d&gt;</kbd> - Defines column separator for csv output: Defaults to ",".  
  
</div><kbd class="userinput">--notitle</kbd> - Omits title line in csv output (for scripting).

<kbd class="userinput">--listtokens</kbd> - Shows all currently available tokens for csv output.

<p class="callout info"><span class="title">Note: </span>At least one license must be borrowed to show complete list.</p>

<div class="p">  
</div><kbd class="userinput">--match=&lt;list of filters&gt;</kbd> - Filter shown borrow records.

<kbd class="userinput">--csv=&lt;list of tokens&gt;</kbd> - Show licenses borrowed in csv format.

<p class="callout info"><span class="title">Note:</span> There is always one line per feature.</p>

</td></tr><tr><td rowspan="4" style="border-width: 0.2px;">**fne-clear-SmarTest-licenses.sh**  
  
  
  
</td><td colspan="2" style="border-width: 0.2px;">Clears orphaned licenses from crashed SmarTest sessions on FNE servers. (Available from FNE **2024.10**).

Installed as part of the FNE client package.

Executed on the system controller (FNE license client workstation).

</td></tr><tr><td style="border-width: 0.2px;">Location:

</td><td style="border-width: 0.2px;"><span class="filepath">/usr/local/</span> (If the FNE client package is installed)

</td></tr><tr><td class="rowsep-0" headers="_344052__entry__2">Options:</td><td class="rowsep-0" headers="_344052__entry__3"><kbd class="userinput">&lt;no option&gt;</kbd>, <kbd class="userinput">--v\[ersion\],</kbd><kbd class="userinput">--h\[elp\]</kbd>

</td></tr><tr><td class="rowsep-0" headers="_344052__entry__2">Usage:</td><td class="rowsep-0" headers="_344052__entry__3">No option: Clears licenses.

<kbd class="userinput">--v\[ersion\]</kbd> - Displays the tool version information.

<kbd class="userinput">--h\[elp\]</kbd> - Prints the help information.

</td></tr></tbody></table>

</section></div>### **Example**

#### Usage examples for the fne-list-licenses tool

List licenses **provided by all servers:**

```
$ fne-list-licenses
Server: Feature Server (redundant)
\-URL: http://fne1.domain.com:7070/fne/bin/capability
-SEL: DEVICEOWNER:UPSTREAM
100000 x Digital_E803x_E8070_16_32MB/1.0
100000 x Digital_E803x_E8070_32_64MB/1.0
100000 x Digital_E803x_E8070_64_112MB/1.0
...
```

<div id="bkmrk--1"></div>List all licenses **expiring in the next 28 days** (request date 30.04.2018).

```
$ fne-list-licenses --expires=28
Server: Feature Server (redundant)
\-URL: http://fne1.domain.com:7070/fne/bin/capability
-SEL: DEVICEOWNER:UPSTREAM
100000 x Digital_E803x_E8070_16_32MB/1.0 expires 2018-05-28
...
```

List licenses of **all features including the string** <kbd class="userinput">**Company**</kbd>:

```
$ fne-list-licenses --feature=Company_
Server: Feature Server (redundant)
\-URL: http://fneserver.domain.com:7070/fne/bin/capability
1000 x Company_Details/1.0
Company=COMPANY_NAME
```

List **AssetScale tokens** and show their content:

```
$ fne-list-licenses --assetScale
Server: Feature Server (redundant)
\-URL: http://fneserver.domain.com:7070/fne/bin/capability
123 x Token_OWNER_BRAND_PremiumTier/1.0
Locked to DeviceOwner=OWNER_BRAND
Content of AssetScale bundle:
1 x ANALOG_E9723B_MEAS_4_8/1.0
...
```

**Show usage** of a specific **feature**:

```
$ fne-list-licenses ---notitle -m featureName=Digital_E803x_E8070_16_32MB -csv featureCount,used,featureName
100000,10,Digital_E803x_E8070_16_32MB
```

Show **all licenses** locked to a **DeviceOwner**:

```
$ fne-list-licenses --match selectorsDictionary.DeviceOwner=UPSTREAM -csv server.name,featureName server.name,featureName
Feature Server (redundant),Token_UPSTREAM_PremiumTier
```

**Clear the licenses currently in use** on the client:

```
$ fne-clear-SmarTest-licenses.sh
Clearing borrowed licenses for device id 6451063D7784.starter_2tplf
```

Returns a **message describing the devices** for which the licenses are being cleared:

```
<button class="-copy" title="Copy to clipboard"><svg height="20" viewbox="0 0 1000 1000" width="20"><path d="M704 896H64V320h640v192h64V192c0-35-29-64-64-64H512C512 57 455 0 384 0S256 57 256 128H64c-35 0-64 29-64 64v704c0 35 29 64 64 64h640c35 0 64-29 64-64V768h-64v128zM192 192h64s64-29 64-64 29-64 64-64 64 29 64 64 32 64 64 64h64s64 29 64 64H128c0-39 28-64 64-64zm-64 512h128v-64H128v64zm448-128V448L320 640l256 192V704h320V576H576zM128 832h192v-64H128v64zm320-448H128v64h320v-64zM256 512H128v64h128v-64z" fill="currentColor"></path></svg></button>Clearing borrowed licenses for device id 6451063D7784.starter_2tplf
```