User Tools

Site Tools


data_core:msmqeventsourcesink

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
data_core:msmqeventsourcesink [2022/04/18 08:03] – [5. Configure an Event Source] sudata_core:msmqeventsourcesink [2022/09/21 11:01] (current) su
Line 5: Line 5:
 Data Core can read and write Alarm & Event (A&E) data from Microsoft message queues. This can be used for temporary data caching when configuring resilient data flows. Data Core can read and write Alarm & Event (A&E) data from Microsoft message queues. This can be used for temporary data caching when configuring resilient data flows.
  
-For example, imagine a Data Core Node is responsible for subscribing to A&E data from an ephemeral data source such as an OPC, then sending it to a downstream server. Introducing an intermediate message queue will protect us from data loss if the downstream network connection is interupted.+For example, imagine a Data Core Node is responsible for subscribing to A&E data from an ephemeral data source such as a serial printer feed, then sending it to a downstream server. Introducing an intermediate message queue will protect us from data loss if the downstream network connection is interupted.
  
  
Line 50: Line 50:
  
 {{ :data_core:msmq05.png?600 |}} {{ :data_core:msmq05.png?600 |}}
 +
 +===== Optional Settings =====
 +
 +==== Set MSMQ to use custom storage location ====
 +
 +By default MSMQ created in system partition, use the following method to move MSMQ files to a different location.
 +
 +  * Open "Computer Manager" and expand "Services and Applications"
 +  * Right-click on "Message Queuing" mouse over "All Task" then click "Take Message Queuing Offline" \\ Click "Yes"
 +  * Use xcopy command to copy MSMQ directory to different volume. \\ Xcopy c:\windows\system32\msmq d:\msmq /O/X/E/H/K \\ //This copies contents and security settings.//
 +
 +After copying to new location.
 +
 +  * Right click on "Message queuing" and click on "Properties"
 +  * Click on the "Storage" tab
 +  * Change the folder locations and select new location.
 +  * Click "OK" and a prompt will appear to reboot the system.
 +  * Reboot the system for the changes to take effect.
 +  * Open "Computer Manager" and expand "Services and Applications"
 +  * Right click on "Message Queuing" mouse over "All Task" then click "Bring Message Queuing Online"
 +
 +
 +===== Further Notes =====
 +
 +  * [[https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc738047(v=ws.10)?redirectedfrom=MSDN|Administer Security for Message Queuing]]
 +
  
  
data_core/msmqeventsourcesink.1650268989.txt.gz · Last modified: 2022/04/18 08:03 by su