{"id":331,"date":"2023-01-15T19:32:40","date_gmt":"2023-01-15T17:32:40","guid":{"rendered":"https:\/\/my-virt.alfadir.net\/?p=331"},"modified":"2023-01-15T19:32:40","modified_gmt":"2023-01-15T17:32:40","slug":"horizon-cloud-connector-2-3-0-connection-server-monitoring-service-failed","status":"publish","type":"post","link":"https:\/\/my-virt.alfadir.net\/index.php\/2023\/01\/15\/horizon-cloud-connector-2-3-0-connection-server-monitoring-service-failed\/","title":{"rendered":"Horizon Cloud Connector 2.3.0 &#8211; Connection Server Monitoring Service &#8211; Failed"},"content":{"rendered":"\n<p>Some time it happens that Connection Server Monitoring Service appears to be failed (but it worked before) and we see a lot of restart attempts.<\/p>\n\n\n\n<p>There&#8217;s many reason for this to happen (like proxy error etc..) but I personally first try this workaround and it worked all the times :<\/p>\n\n\n\n<p>1 &#8211; SSH to Horizon Cloud Connector using ccadmin and then do a su &#8211; to login as root<br>2 &#8211; Go to \/opt\/container-data\/data\/csms\/store\/keep<br>3 &#8211; Do a copy of csms-config.json to csms-config.json.bak<br>4 &#8211; Edit csms-config.json<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># su -\n# cd \/opt\/container-data\/data\/csms\/store\/keep\n# cp csms-config.json csms-config.json.bak\n# vi csms-config.json<\/code><\/pre>\n\n\n\n<p>5 &#8211; change cmsTenantConfig to : null and set lifeCycle to : &#8220;PAIR&#8221;  <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\r\n  \"baseConfig\" : {\r\n    \"version\" : \"1\",\r\n    \"csmsIdentity\" : \"038eeb6a-159c-4ee5-89d0-xxxxxxxxxxxx\",\r\n    \"salt\" : \"df3e8624-2478-4d6f-bd94-xxxxxxxxxxxxx\",\r\n    \"keyLength\" : 128\r\n  },\r\n  \"cmsTenantConfig\" : <strong>null<\/strong>,\r\n  \"applianceConfig\" : {\r\n    \"podType\" : \"VIEW\",\r\n    \"podCapacityType\" : \"GENERAL\",\r\n    \"podId\" : \"4cfd1101-1f73-4691-aa39-xxxxxxxxxxxx\",\r\n    \"podName\" : \"Cluster-HZN-01\",\r\n    \"podLocationJson\" : \"{\\\"p\\\":&#91;43.29695,5.38107],\\\"id\\\":\\\"b32f5cf4-7413-4877-92c4-xxxxxxxxxxxxx\\\",\\\"n\\\":\\\"Marseille, France\\\"}\"\r\n  },\r\n  \"lifeCycleConfig\" : {\r\n    \"lifeCycle\" : \"<strong>PAIR<\/strong>\",\r\n    \"lastUpdateTimestamp\" : 1668683604710\r\n  }\r\n}<\/code><\/pre>\n\n\n\n<p>6 &#8211; restart csms :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\r\n# kubectl get pod -n cms-system\r\nNAME                   READY   STATUS    RESTARTS   AGE\r\ncsms-79df9554f-<strong>jcprn   <\/strong>1\/1     Running   0          27m\r\n# kubectl delete pods -n cms-system csms-79df9554f-<strong>jcprn\r<\/strong>\n<\/code><\/pre>\n\n\n\n<p>After a few minutes, it should be green again&#8230; if not open a ticket \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some time it happens that Connection Server Monitoring Service appears to be failed (but it worked before) and we see a lot of restart attempts. There&#8217;s&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-331","post","type-post","status-publish","format-standard","hentry","category-horizon"],"_links":{"self":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts\/331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":1,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts\/331\/revisions"}],"predecessor-version":[{"id":332,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/posts\/331\/revisions\/332"}],"wp:attachment":[{"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/media?parent=331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/categories?post=331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/my-virt.alfadir.net\/index.php\/wp-json\/wp\/v2\/tags?post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}