# 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>