<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using chef to add hosting server in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366407#M5004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to completely automate our Portal installation using Chef but can't find any recipe for adding our federated server as the hosting server.&amp;nbsp; Is this possible using Chef - I would have thought if you could add a Federated Server you could also add that same server as the hosting server.&lt;/P&gt;&lt;P&gt;I do have&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"is_hosting": true&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;in my federation role json file but it does not seem to have any effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2019 15:02:39 GMT</pubDate>
    <dc:creator>PeterHanmore</dc:creator>
    <dc:date>2019-02-20T15:02:39Z</dc:date>
    <item>
      <title>Using chef to add hosting server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366407#M5004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to completely automate our Portal installation using Chef but can't find any recipe for adding our federated server as the hosting server.&amp;nbsp; Is this possible using Chef - I would have thought if you could add a Federated Server you could also add that same server as the hosting server.&lt;/P&gt;&lt;P&gt;I do have&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"is_hosting": true&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;in my federation role json file but it does not seem to have any effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 15:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366407#M5004</guid>
      <dc:creator>PeterHanmore</dc:creator>
      <dc:date>2019-02-20T15:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using chef to add hosting server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366408#M5005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Peter,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Are deploying the Enterprise using Chef client or Chef Server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 17:34:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366408#M5005</guid>
      <dc:creator>TrevorNickolai</dc:creator>
      <dc:date>2019-02-20T17:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using chef to add hosting server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366409#M5006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was using the Chef client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After digging into the scripts a bit further I found that there is code in the portal.rb file that should update the server configuration to add the federated server as the hosting server.&lt;/P&gt;&lt;P&gt;For whatever reason, this wasn't happening when I ran my federation role.&amp;nbsp; I tried it a few times - same result - so I removed the federated server through portaladmin and ran the script again and it seemed to take this time.&amp;nbsp; Not sure if it's an issue or not but I now have 24 PostreSQL processes running after adding the hosting server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 17:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366409#M5006</guid>
      <dc:creator>PeterHanmore</dc:creator>
      <dc:date>2019-02-20T17:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using chef to add hosting server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366410#M5007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to re-deploy my Chef to check out my template and when deploying I used one role format (default template provided in the cookbook you can find here:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-cookbook/releases" title="https://github.com/Esri/arcgis-cookbook/releases"&gt;Releases · Esri/arcgis-cookbook · GitHub&lt;/A&gt;&amp;nbsp;) and I went into the "webgis-windows.json" template, and I added the "federation" section and included the needed parameters and when I ran the chef deploy script it federated it as hosted successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you want it as reference, I have included the "federation" node I included in the webgisdr-windows.json role:&lt;/P&gt;&lt;P&gt;"federation":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"wa_url":"https://PortalsPublicURL.domain.com/portal",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"admin_username":"ServerUsername",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"admin_password":"ServerPassword",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"web_context_url":"https://ArcGISServersURL.domain.com/server",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"private_url":"https://ArcGISServersFQDN.domain.com:6443/arcgis",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"is_hosting":"True"&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing I noticed though, is if we go here:&amp;nbsp;&lt;A class="link-titled" href="https://supermarket.chef.io/cookbooks/arcgis-enterprise" title="https://supermarket.chef.io/cookbooks/arcgis-enterprise"&gt;arcgis-enterprise Cookbook - Chef Supermarket&lt;/A&gt;&amp;nbsp; it appears that is_hosting is set to "true" by default.&amp;nbsp; It could be possible that during the deployment, for some reason the Data Store wasn't validating properly with ArcGIS Server or Portal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 21:16:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/using-chef-to-add-hosting-server/m-p/366410#M5007</guid>
      <dc:creator>TrevorNickolai</dc:creator>
      <dc:date>2019-02-20T21:16:42Z</dc:date>
    </item>
  </channel>
</rss>

