{"id":2058,"date":"2016-08-08T15:07:00","date_gmt":"2016-08-08T14:07:00","guid":{"rendered":"https:\/\/yvespeneveyre8e29bf869d.wordpress.com\/2016\/08\/08\/deployr-enterprise-8-0-5-some-configuration-hurdles\/"},"modified":"2016-08-08T15:07:00","modified_gmt":"2016-08-08T14:07:00","slug":"deployr-enterprise-8-0-5-some-configuration-hurdles","status":"publish","type":"post","link":"https:\/\/www.peneveyre.com\/en\/2016\/08\/08\/deployr-enterprise-8-0-5-some-configuration-hurdles\/","title":{"rendered":"DeployR Enterprise 8.0.5 &#8211; Some Configuration Hurdles"},"content":{"rendered":"<p>Currently having some Linux machines on which <a href=\"https:\/\/msdn.microsoft.com\/en-us\/microsoft-r\/deployr-about\" target=\"_blank\" rel=\"noopener\">DeployR<\/a> Enterprise 8.0.5 must be deployed, I faced a nice bug in the DeployR configuration utility.<\/p>\n<p>First, I started to deploy a &#8220;<a href=\"https:\/\/msdn.microsoft.com\/en-us\/microsoft-r\/index#mrs\" target=\"_blank\" rel=\"noopener\">Microsoft R Server<\/a> on Linux??? from the Azure marketplace. The setup is rather simple, and quite fast, and the original setup would be fine if you want to use the default ports for DeployR and RServ.<\/p>\n<p>For the little story, the default ports have changed between the version 8.0.0 and the version 8.0.5. Indeed, whereas in the version 8.0.0 the default ports were <strong>800<\/strong>0, <strong>800<\/strong>1 and <strong>800<\/strong>4 for DeployR, DeployR with SSL and RServ respectively, Microsoft adapted the default port numbers to the new version number. Thus, the new default ports are <strong>805<\/strong>0, <strong>805<\/strong>1 and <strong>805<\/strong>4 for the same services. Basically, they used the first 3 digits for the version.<\/p>\n<p>But, if you want to change these ports, you can do it by running the utility <font face=\"Consolas\">\/opt\/deployr\/8.0.5\/deployr\/tools\/adminUtilities.sh<\/font> .<\/p>\n<p>Selecting the menu &#8220;6. Change DeployR Ports???, the utility offers the following options :<\/p>\n<div id=\"scid:9D7513F9-C04C-4721-824A-2B34F0212519:97715c0e-a8b9-40bf-8638-129be1207f23\" class=\"wlWriterSmartContent\" style=\"float: none;padding-bottom: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px\">\n<pre style=\"overflow: visible;height: 256px;font-family: courier new;width: 675px;background-color: white\"><div><!--\n\nCode highlighting produced by Actipro CodeHighlighter (freeware)\nhttp:\/\/www.CodeHighlighter.com\/\n\n--><span style=\"color: #008080\"> 1<\/span> <span style=\"color: #000000\">DeployR Port Option <\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #000000\">Sub-Menu<\/span><span style=\"color: #000000\">)<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\"> 2<\/span> <span style=\"color: #000000\"><\/span><span style=\"color: #000000\">=================================<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\"> 3<\/span> <span style=\"color: #000000\">A<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\"> Change Tomcat Connect Port <\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #000000\">Currently: <\/span><span style=\"color: #000000\">8050<\/span><span style=\"color: #000000\">)<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\"> 4<\/span> <span style=\"color: #000000\">B<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\"> Change Tomcat SSL Port <\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #000000\">Currently: <\/span><span style=\"color: #000000\">8051<\/span><span style=\"color: #000000\">)<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\"> 5<\/span> <span style=\"color: #000000\">C<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\"> Change Tomcat Shutdown Port <\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #000000\">Currently: <\/span><span style=\"color: #000000\">8052<\/span><span style=\"color: #000000\">)<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\"> 6<\/span> <span style=\"color: #000000\">D<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\"> Change DeployR Rserve Connect Port <\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #000000\">Currently: <\/span><span style=\"color: #000000\">8054<\/span><span style=\"color: #000000\">)<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\"> 7<\/span> <span style=\"color: #000000\">E<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\"> Change DeployR Event Port <\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #000000\">Currently: <\/span><span style=\"color: #000000\">8056<\/span><span style=\"color: #000000\">)<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\"> 8<\/span> <span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\"> 9<\/span> <span style=\"color: #000000\">M  Back to Main Menu\n<\/span><span style=\"color: #008080\">10<\/span> <span style=\"color: #000000\">Q  Quit\n<\/span><span style=\"color: #008080\">11<\/span> <span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\">12<\/span> <span style=\"color: #000000\">Enter an option:\n<\/span><span style=\"color: #008080\">13<\/span> <span style=\"color: #000000\"><\/span><\/div><\/pre>\n<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http:\/\/dunnhq.com --><\/div>\n<p>All the options work, <strong><font color=\"#ff0000\">EXCEPT<\/font><\/strong> the option &#8220;D???. If you try to configure the option &#8220;D???, it will completely overwrite the tomcat configuration file (located in <font face=\"Consolas\">\/opt\/deployr\/8.0.5\/tomcat\/tomcat7\/conf\/server.xml<\/font> .<\/p>\n<p>What it does is that it replaces the original content by what should be the new configuration of the RServ service (below, I wanted to change the port number to 8004). In other words, the content of the server.xml file would be :<\/p>\n<div id=\"scid:9D7513F9-C04C-4721-824A-2B34F0212519:feef3d8c-2233-4a3a-b467-729ed4181d75\" class=\"wlWriterSmartContent\" style=\"float: none;padding-bottom: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px\">\n<pre style=\"overflow: visible;height: 149px;font-family: courier new;width: 675px;background-color: white\"><div><!--\n\nCode highlighting produced by Actipro CodeHighlighter (freeware)\nhttp:\/\/www.CodeHighlighter.com\/\n\n--><span style=\"color: #008080\">1<\/span> <span style=\"color: #000000\">interactive <\/span><span style=\"color: #0000ff\">off<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\">2<\/span> <span style=\"color: #000000\">source <\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">opt<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">deployr<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">8.0<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\">5<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">rserve<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">RScripts<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">source<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\">R\n<\/span><span style=\"color: #008080\">3<\/span> <span style=\"color: #000000\">encoding utf8\n<\/span><span style=\"color: #008080\">4<\/span> <span style=\"color: #000000\">remote disable\n<\/span><span style=\"color: #008080\">5<\/span> <span style=\"color: #000000\">port <\/span><span style=\"color: #000000\">8004<\/span><span style=\"color: #000000\">\n<\/span><span style=\"color: #008080\">6<\/span> <span style=\"color: #000000\">workdir <\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">opt<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">deployr<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">8.0<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\">5<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">rserve<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">workdir<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #000000\">Rserv8<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #000000\">0.5<\/span><\/div><\/pre>\n<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http:\/\/dunnhq.com --><\/div>\n<p>So, before doing any mistake, make a copy of the tomcat configuration file, and, if you change the port number of RServ, restore the configuration file from the copy after the change in the utility. And also, make the change manually in the <font face=\"Consolas\">\/opt\/deployr\/8.0.5\/rserve\/Rserv.conf<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Currently having some Linux machines on which DeployR Enterprise 8.0.5 must be deployed, I faced a nice bug in the DeployR configuration utility. First, I started to deploy a &#8220;Microsoft R Server on Linux??? from the Azure marketplace. The setup is rather simple, and quite fast, and the original setup would be fine if you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2058","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/posts\/2058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/comments?post=2058"}],"version-history":[{"count":0,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/posts\/2058\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/media?parent=2058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/categories?post=2058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/tags?post=2058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}