{"id":61,"date":"2016-11-02T17:01:22","date_gmt":"2016-11-02T17:01:22","guid":{"rendered":"http:\/\/cogin.com\/blog\/?p=61"},"modified":"2016-11-02T17:01:22","modified_gmt":"2016-11-02T17:01:22","slug":"installing-queuemonitor-cluster","status":"publish","type":"post","link":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/","title":{"rendered":"Installing QueueMonitor on a cluster"},"content":{"rendered":"<p>QueueMonitor since version 1.5.9 can be installed on a Windows Server cluster as clustered application. Main addition to v1.5.9 release was ability to put QueueMonitor&#8217;s data folder on shared Cluster storage. That way there will be single shared task database used by both nodes. Or to be more precise &#8211; used by whichever cluster node is currently active.<\/p>\n<p>For this tutorial we&#8217;ll install QueueMonitor Agent on Windows Server 2012 two node cluster, which already has MSMQ installed as clustered resource. We&#8217;ll add QueueMonitor to existing cluster MSMQ role, because that way QM has local access to MSMQ. Local access is always preferred since it offers better performance and it&#8217;s easier to set up security wise. Beside that, if we access MSMQ in remote instead of local mode there are some limitations meaning we&#8217;re limited in features QM can use.<\/p>\n<h2>Step by step instructions<\/h2>\n<ul>\n<li>Install QueueMonitor on both nodes. We only need Agents here, Admin part is optional and can be installed here or on some other machine.<\/li>\n<li>Once installation is finished, stop QueueMonitor services on both nodes. While you&#8217;re at services panel, check out which account service uses to log on. By default it&#8217;s &#8220;Local System account&#8221;. That account will be used for all QM&#8217;s operations &#8211; access to queues, files, etc. So change it to e.g. some domain account if it better suits your setup.<\/li>\n<li>Following steps can performed on active node only, because clustering will take care of migrating changes to passive node<\/li>\n<li>Run regedit and locate HKLM\\SOFTWARE\\Cogin\\QueueMonitor\n<p><a href=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/6.png\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-62\" src=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/6.png\" alt=\"Creating registry key\" width=\"662\" height=\"540\" srcset=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/6.png 662w, https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/6-300x245.png 300w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><br \/>\n<\/a><\/p>\n<p>Create new String value named &#8220;Folder&#8221; and enter path to a folder on shared cluster storage. In our example it&#8217;s &#8220;e:\\QueueMonitorData\\&#8221;<\/p>\n<p><a href=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/7.png\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-69\" src=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/7.png\" alt=\"7\" width=\"577\" height=\"124\" srcset=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/7.png 577w, https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/7-300x64.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/a>\n<\/li>\n<li>Go to &#8220;Failover Cluster Manager&#8221;. Locate MSMQ role. While it&#8217;s selected, find &#8220;Add Resource&#8221; in right panel and choose &#8220;Generic Service&#8221;<\/li>\n<li>Select QueueMonitor service and finish wizard.\n<p><a href=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/2.png\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-64\" src=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/2.png\" alt=\"2\" width=\"693\" height=\"479\" srcset=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/2.png 693w, https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/2-300x207.png 300w\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><\/a>\n<\/li>\n<li>After QueueMonitor is added, and while it&#8217;s still offline, right click on it and go to Registry Replication. Enter &#8220;SOFTWARE\\Cogin\\QueueMonitor&#8221; there. This is registry key we configured before. This way, it will be replicated to another node automatically.\n<p><a href=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/4.png\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-66\" src=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/4.png\" alt=\"4\" width=\"486\" height=\"552\" srcset=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/4.png 486w, https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/4-264x300.png 264w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a>\n<\/li>\n<li>Now you can click &#8220;Bring Online&#8221; on QueueMonitor.<\/li>\n<li>Start QueueMonitor Admin service and connect to agent. You should use cluster&#8217;s address\/name, and not a name of individual nodes! That way agent will always connect to clustered resource, regardless of which mahcine is\u00a0currently active node for cluster.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>QueueMonitor since version 1.5.9 can be installed on a Windows Server cluster as clustered application. Main addition to v1.5.9 release was ability to put QueueMonitor&#8217;s data folder on shared Cluster storage. That way there will be single shared task database used by both nodes. Or to be more precise &#8211; used by whichever cluster node [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":65,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[7],"class_list":["post-61","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-msmq","category-queuemonitor","tag-cluster"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Installing QueueMonitor on a cluster<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing QueueMonitor on a cluster\" \/>\n<meta property=\"og:description\" content=\"QueueMonitor since version 1.5.9 can be installed on a Windows Server cluster as clustered application. Main addition to v1.5.9 release was ability to put QueueMonitor&#8217;s data folder on shared Cluster storage. That way there will be single shared task database used by both nodes. Or to be more precise &#8211; used by whichever cluster node [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/\" \/>\n<meta property=\"og:site_name\" content=\"Cogin blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-02T17:01:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"628\" \/>\n\t<meta property=\"og:image:height\" content=\"542\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Dejan Grujic\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dejan Grujic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/\",\"url\":\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/\",\"name\":\"Installing QueueMonitor on a cluster\",\"isPartOf\":{\"@id\":\"https:\/\/www.cogin.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/3.png\",\"datePublished\":\"2016-11-02T17:01:22+00:00\",\"dateModified\":\"2016-11-02T17:01:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.cogin.com\/blog\/#\/schema\/person\/e0c4fd92043868daa052d5978d69ed22\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#primaryimage\",\"url\":\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/3.png\",\"contentUrl\":\"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/3.png\",\"width\":628,\"height\":542},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cogin.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing QueueMonitor on a cluster\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cogin.com\/blog\/#website\",\"url\":\"https:\/\/www.cogin.com\/blog\/\",\"name\":\"Cogin blog\",\"description\":\"Queuing tools and articles\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cogin.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cogin.com\/blog\/#\/schema\/person\/e0c4fd92043868daa052d5978d69ed22\",\"name\":\"Dejan Grujic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.cogin.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e0bf2f4ab23ef7c6f2784ae50708b926?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e0bf2f4ab23ef7c6f2784ae50708b926?s=96&d=mm&r=g\",\"caption\":\"Dejan Grujic\"},\"sameAs\":[\"http:\/\/www.cogin.com\"],\"url\":\"https:\/\/www.cogin.com\/blog\/author\/gruja\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing QueueMonitor on a cluster","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/","og_locale":"en_US","og_type":"article","og_title":"Installing QueueMonitor on a cluster","og_description":"QueueMonitor since version 1.5.9 can be installed on a Windows Server cluster as clustered application. Main addition to v1.5.9 release was ability to put QueueMonitor&#8217;s data folder on shared Cluster storage. That way there will be single shared task database used by both nodes. Or to be more precise &#8211; used by whichever cluster node [&hellip;]","og_url":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/","og_site_name":"Cogin blog","article_published_time":"2016-11-02T17:01:22+00:00","og_image":[{"width":628,"height":542,"url":"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/3.png","type":"image\/png"}],"author":"Dejan Grujic","twitter_misc":{"Written by":"Dejan Grujic","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/","url":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/","name":"Installing QueueMonitor on a cluster","isPartOf":{"@id":"https:\/\/www.cogin.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#primaryimage"},"image":{"@id":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/3.png","datePublished":"2016-11-02T17:01:22+00:00","dateModified":"2016-11-02T17:01:22+00:00","author":{"@id":"https:\/\/www.cogin.com\/blog\/#\/schema\/person\/e0c4fd92043868daa052d5978d69ed22"},"breadcrumb":{"@id":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#primaryimage","url":"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/3.png","contentUrl":"https:\/\/www.cogin.com\/blog\/wp-content\/uploads\/2016\/11\/3.png","width":628,"height":542},{"@type":"BreadcrumbList","@id":"https:\/\/www.cogin.com\/blog\/queuemonitor\/installing-queuemonitor-cluster\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cogin.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Installing QueueMonitor on a cluster"}]},{"@type":"WebSite","@id":"https:\/\/www.cogin.com\/blog\/#website","url":"https:\/\/www.cogin.com\/blog\/","name":"Cogin blog","description":"Queuing tools and articles","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cogin.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.cogin.com\/blog\/#\/schema\/person\/e0c4fd92043868daa052d5978d69ed22","name":"Dejan Grujic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cogin.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e0bf2f4ab23ef7c6f2784ae50708b926?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e0bf2f4ab23ef7c6f2784ae50708b926?s=96&d=mm&r=g","caption":"Dejan Grujic"},"sameAs":["http:\/\/www.cogin.com"],"url":"https:\/\/www.cogin.com\/blog\/author\/gruja\/"}]}},"_links":{"self":[{"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":16,"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions\/85"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/media\/65"}],"wp:attachment":[{"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cogin.com\/blog\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}