0

Removing Tags from the Total License Count (version 25)

The license count in the Canary Historian is determined by the total number of tags in the most recent HDB file(s) of each DataSet, even if a tag is not receiving updates.

Each time a new HDB file is created, all tags that are part of the active logging sessions linked to that DataSet are recorded in the HDB file. Therefore, in order to remove a tag from using a Historian tag license, the logging session must be modified and the tag removed from it. When this is complete, a new HDB file can be created without the tag in it.

When a tag has been released from the license count, all historical data records remain in the Canary Historian but are no longer accessible for client tools like Axiom, the Excel Add-in, and Web API.


Learn how to accomplish this for the OPC UA, OPC DA, and MQTT Data Collectors.

Releasing Tag Licenses from the OPC UA Collector

The UA logger can remove tags from the total tag license count by updating the last HDB file automatically.

Tag-Based Session

  1. Open the Canary Admin. Select the OPC Collector tile.
  2. Select the Configuration tab at the bottom.
  3. Select a Session and navigate to the correct tag Group. Select a tag or tags (Shift and/or Control for multi select) by clicking on the tag row(s). All selected tags should now be highlighted.
  4. Select REMOVE in the top right cornerDO NOT SELECT REMOVE ABOVE THE SESSION LIST.

  5. Click OK to confirm then APPLY changes. All tags are now removed and the corresponding tag licenses are free.
Selecting REMOVE under the Session Settings window will delete the entire session.
  1. Open the Canary Admin. Select the OPC Collector tile.
  2. Select the Configuration tab at the bottom.
  3. Select the Session and ensure that the Sync Tags to Historian box is checked. Doing so will remove any tags from the Historian if they are no longer found in the OPC server or are disabled because of any filters being applied. This removal occurs whenever the Collector performs its next AutoBrowse, whether it be on session start or at a set time interval.

The OPC DA Collector must be configured to manually update the last HDB file.

  1. Open the Logger Administrator application.
  2. Select the Logging Session and then the Group tab associated with the tags you wish to delete.
  3. Select one or more tags to delete (Shift key allows for mass selection). Press the Delete key on the keyboard. Select Apply.
  4. You will be cautioned that for the change to take effect, you must ensure the Create new file when logging starts box must be checked and you must stop and then restart the Logging Session.
  5. Now simply Stop and Start the Logging Session.

Releasing Tag Licenses from the MQTT Collector

  1. Open the Canary Admin. Select the MQTT Collector tile.
  2. Select the Configuration tab at the bottom.
  3. Select the subscription branch and ensure that the Sync Tags to Historian box is checked. Doing so will automatically remove any tags from the Historian based upon the messages received from the broker.

Obsoleting Tags from the Historian

An additional method of releasing a tag license from the Historian is available in obsoleting the tag.  To obsolete tags from a DataSet, see Obsoleting Tags from a DataSet.

Reply

null