{"id":2958,"date":"2023-12-05T11:27:14","date_gmt":"2023-12-05T19:27:14","guid":{"rendered":"https:\/\/jetstreamsoft.com\/portal\/?post_type=ht_kb&#038;p=2958"},"modified":"2024-12-12T14:56:28","modified_gmt":"2024-12-12T22:56:28","slug":"configuring-a-management-server-appliance-msa-proxy","status":"publish","type":"ht_kb","link":"https:\/\/jetstreamsoft.com\/portal\/jetstream-knowledge-base\/configuring-a-management-server-appliance-msa-proxy\/","title":{"rendered":"Configuring a Management Server Appliance (MSA) Proxy"},"content":{"rendered":"\n<p class=\"is-style-info wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">This article applies to all JSDR software versions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Issue<\/h2>\n\n\n\n<p class=\"\">Currently, proxy setting configuration is not available for the <a href=\"https:\/\/jetstreamsoft.com\/portal\/jetstream-knowledge-base\/what-is-management-server-appliance-msa\/\" data-type=\"ht_kb\" data-id=\"3775\">MSA<\/a> and appliances through UI\/deployment options. Furthermore, all stateless appliances cannot be configured to use permanent proxy settings.<\/p>\n\n\n\n<p class=\"\">If the MSA needs to connect to the MMS subscription server through proxy, the following workaround can be performed:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">JetStream DR MSA Version 4.x<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">Edit the file <strong><kbd>\/etc\/init.d\/vme2<\/kbd><\/strong>.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>...\nCATALINA_OPTS_MEM=\"-server -Xms3g -Xmx3g\"\ncurrent_date=`date +%s`\nCATALINA_OPTS_DUMP=\"-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath='\/tmp\/jetdr-${current_date}.hprof'\"\nCATALINA_OPTS_EXTRA=\"-Djava.awt.headless=true -Djava.security.egd=file:\/\/\/dev\/urandom -Djavax.xml.bind.context.factory=com.sun.xml.internal.bind.v2.ContextFactory\"\n\nCATALINA_OPTS_PROXY='-Dhttps.proxyHost=&lt;proxy ip\/fqdn> -Dhttps.proxyPort=&lt;proxy port> -Dhttp.nonProxyHosts=\"localhost|127.*|&lt;local subnet(s)>\"'\n\n&#91; -z \"$CATALINA_OPTS\" ] &amp;&amp; CATALINA_OPTS=\"$CATALINA_OPTS_MEM $CATALINA_OPTS_DUMP $CATALINA_OPTS_EXTRA $CATALINA_OPTS_PROXY\"\nexport JRE_HOME CATALINA_OPTS\n...<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">For example, line 7 was added and references <kbd><strong>CATALINA_OPTS_PROXY<\/strong><\/kbd> on line 9.\n<ul class=\"wp-block-list\">\n<li class=\"\">Local subnets have to be mentioned in wildcard format (e.g. <strong><kbd><em>10.*<\/em><\/kbd><\/strong> or <em><strong><kbd>*.jetstreamsoft.com<\/kbd><\/strong><\/em><br>(reference: <a href=\"https:\/\/docs.oracle.com\/javase\/8\/docs\/technotes\/guides\/net\/proxies.html\">https:\/\/docs.oracle.com\/javase\/8\/docs\/technotes\/guides\/net\/proxies.html<\/a>)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li class=\"\">After the change, the <strong><kbd>vme2<\/kbd><\/strong> service must be restarted for the options to be applied.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">JetStream DR MSA Version 5.0 and later<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">In <strong>JetDR 5.0<\/strong> and later MSAs, changes similar to those described above should be performed in the file <strong><kbd>\/etc\/tomcat\/conf.d\/fio.conf<\/kbd><\/strong>.<\/li>\n\n\n\n<li class=\"\">After changes have been made the <strong><kbd>msa-tomcat<\/kbd><\/strong> service must be restarted.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Issue Currently, proxy setting configuration is not available for the MSA and appliances through UI\/deployment options. Furthermore, all stateless appliances cannot be configured to use permanent proxy settings. If the MSA needs to connect to the MMS subscription server through proxy, the following workaround can be performed: Solution JetStream DR MSA Version 4.x JetStream DR [&hellip;]<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"ht-kb-category":[245],"ht-kb-tag":[207],"class_list":["post-2958","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to","ht_kb_tag-msa-mms"],"_links":{"self":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/2958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/comments?post=2958"}],"version-history":[{"count":1,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/2958\/revisions"}],"predecessor-version":[{"id":5608,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/2958\/revisions\/5608"}],"wp:attachment":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/media?parent=2958"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb-category?post=2958"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb-tag?post=2958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}