> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/licensing.md).

# Licensing

How to request DATRAN VI licence keys from QTech, enter them in DATRAN Browser, and which services need a licence.

Almost all Services in the DATRAN SCADA Suite require security keys or licences to make them operable. Licences are linked to the volume ID of the drive. You can request a licence by contacting QTech, preferably by email so that we can send licence keys back to you.

{% hint style="info" %}
**Applies to:** DATRAN VI services and client programs, from QTech's How to Request a License application note. Some services will operate for a limited time (about 30 days) before requiring the license key to be applied but it is best to license the System as soon as possible.
{% endhint %}

## Request a licence

Email <techsupport@qtech.co.nz> with:

1. **The disk volume ID** on which DATRAN is installed. To obtain the volume ID open a windows command prompt on the disk drive on which DATRAN is installed (usually c: ). At the command prompt type `vol` and press Enter, note down the resulting 8 character string. The HDD volume ID can also be found in DATRAN Browser by double clicking on the machine node for the machine that requires licensing.
2. **The computer name** of the server. To obtain the computer name use the windows control panel or settings and navigate to the system applet. You can also record a description as this can help us when locating your license.
3. **If you are migrating from an old server to a new one** then we need to know the same details for the old machine.
4. **The services or applications** that you need license keys for.

### List the services you use

When requesting licences please also supply a list of services in use. This also serves to enable QTech to determine if essential services updates are necessary.

1. Open DATRAN Browser. From the top menu click **Help > About DATRAN Modules**.
2. Take a screenshot or click the **Copy** button then paste the result into your licence request.

QTech will generate a text file containing the license keys.

## Enter the keys

### DATRAN services

1. In DATRAN Browser, under **\<computer>\Applications**, double-click on the service's application node, for example **QTech Comms**.
2. Open the **State** tab and enter the license key in the **Security Key** text box, then click **OK**.
3. Move on to the next service and repeat until all keys have been entered.
4. The only exception to this is with the **DATRAN XML Data Interface** service. Because this service carries out a number of tasks, it has its own dedicated **License** tab for entering the licenses rather than entering them in the **State** tab. See [Licensing for SMS](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/alarms/sms.md#licensing-for-sms).
5. Restart the system. Some of the services will pick up the license and begin using it as soon as **OK** has been clicked, but others may require a restart before the license is applied. See [Backup, restart and disaster recovery](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/backup-and-restart.md).

![The XML Data Interface License tab, with the XML and SMS service keys and their expiry dates](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FuJpQbHt7ua6hOpzkD8Vk%2Fxdi-licence-tab.png?alt=media)

### Client programs

* **DATRAN Supervisor and DATRANVue** are licensed via the **TCP Server**. See [Install, license and log on](https://help.qtech.co.nz/datran/datran-vi-scada/datran-supervisor/install.md).
* **DATRAN Trending:** if your license has expired or you have purchased a new license then you will need to select **Enter License** from the Help menu. Obtain the license from QTech Data Systems Ltd. You will need to provide the product serial number as displayed in the dialog box.

## Which services need a licence

| Service                                                                                                      | Essential or optional             | Runs on                                                                                                                            | What it's for                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------ | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Server Manager                                                                                               |                                   |                                                                                                                                    | Periodically saves the contents of DATRAN Server to a TBD (Tree Base Data) file and monitors the integrity of the various services                                       |
| Alarm Service                                                                                                |                                   |                                                                                                                                    | Provides sophisticated generation and management of alarms and events within the DATRAN Server                                                                           |
| QTech Comms                                                                                                  |                                   |                                                                                                                                    | The transfer of information to and from QRTU, eXcel, DATRAN and DATRAN II remote telemetry units                                                                         |
| ADO Database Connectivity                                                                                    |                                   |                                                                                                                                    | Interfaces with the Microsoft ActiveX Database Object (ADO) communications interface, so that the system can connect to MS Access, MSDE and MS SQL Server databases      |
| XML Data Interface – XML service                                                                             |                                   |                                                                                                                                    | A group of sub-services that all use XML as a basis for their communications protocol                                                                                    |
| XML Data Interface – SMS service                                                                             |                                   |                                                                                                                                    | Provides the ability to send and receive text messages from the DATRAN VI system                                                                                         |
| OPC Client Interface                                                                                         |                                   |                                                                                                                                    | Provides the opportunity for OPC clients to connect to the DATRAN system, including HMIs like Wonderware's InTouch and Intellution's Fix32 or iFIX                       |
| TCP Server                                                                                                   |                                   |                                                                                                                                    | Provides efficient access to all of the nodes below Data Root in the TBD file. It is used by DATRANVue (GUI Package) and DATRAN Supervisor (alarm and system management) |
| Historical Data Service (HDI)                                                                                |                                   |                                                                                                                                    | Deals with the set-up, retrieval, and logging to the database of remote RTU Data logging functionality                                                                   |
| SMS Direct                                                                                                   |                                   |                                                                                                                                    | Provides the facility for the base station to directly utilise an SMS modem connected to one of its COM ports to send SMS messages to users                              |
| DNP3 Comms                                                                                                   |                                   |                                                                                                                                    | Deals with construction and processing of DNP3 packets                                                                                                                   |
| Replication Service                                                                                          |                                   |                                                                                                                                    | Provides the facility for separate base stations on the same LAN to share I/O                                                                                            |
| XML Fetch                                                                                                    |                                   |                                                                                                                                    | Data retrieval from the Internet                                                                                                                                         |
| RTU Console / Security Access Control                                                                        |                                   |                                                                                                                                    | Used for the connection of LCD keypad units, and the Q50 interface (Keri security units)                                                                                 |
| TFTP Service                                                                                                 |                                   |                                                                                                                                    | TFTP is a lightweight version of FTP. It can be used for transferring files in either direction to a TFTP Server                                                         |
| Power Management (EPL)                                                                                       |                                   |                                                                                                                                    | Electricity load management                                                                                                                                              |
| OPC UA Server                                                                                                |                                   |                                                                                                                                    | A protocol framework for enabling 3rd party applications to communicate with DATRAN using OPC-UA clients                                                                 |
| Paging Service                                                                                               |                                   |                                                                                                                                    | Provides paging and telephony services for a DATRAN VI system                                                                                                            |
| DATRAN Supervisor                                                                                            |                                   | License information is stored on the DATRAN Server itself and allows for a certain number of users to be connected simultaneously. | Alarm and system management                                                                                                                                              |
| DATRANVue Designer and Client Viewer                                                                         |                                   |                                                                                                                                    | DATRANVue Designer – To create and design the graphics. DATRANVue Runtime – To display and deploy the GUI to multiple users                                              |
| [Database Import Utility](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility.md) | Application Software version 1.04 |                                                                                                                                    | Allows third party data logs and the historical data log from an XL4-Plus RTU to be collected and imported into the DATRAN database                                      |
| DLP IDE                                                                                                      |                                   |                                                                                                                                    | A package to design and develop DLP control programs for DATRAN RTUs                                                                                                     |

## Keep your keys safe

* Keys should be kept securely stored in your organisation.
* Licenses have an expiry date which is notified when the licence keys are generated.
* A report of all the machines and licence keys can be generated on request.

## New disk or new server

Licences are linked to the volume ID of the drive.

* **Disk replaced:** If the drive fails keys can be regenerated for the new drive but keys for the old drive will be archived and no longer usable.
* **New server:** Systems can be migrated to new hardware and QTech will generate new keys if it can be shown that the old machine is being decommissioned. Send the details of your old machine to QTech. See [Move DATRAN VI to a new server](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/server-migration.md).

If a service shows a security expired message, see [A message says a service's security has expired](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/troubleshooting/security-expired.md).
