<?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 Re: Create server connection to a data warehouse in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429941#M12019</link>
    <description>&lt;P&gt;Try...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/20/760.html" target="_blank"&gt;http://support.sas.com/kb/20/760.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 11:06:22 GMT</pubDate>
    <dc:creator>nhvdwalt</dc:creator>
    <dc:date>2018-01-23T11:06:22Z</dc:date>
    <item>
      <title>Create server connection to a data warehouse</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429940#M12018</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two types of libnames for connection to Vertica:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="n0nsqkywts71ppn1vwsk8ol7sm3j" class="xis-paragraph"&gt;
&lt;PRE class="xis-codeFragment"&gt;libname mydblib vertica server="mysrv1.abc.com" port=5433 user=myusr1 password=mypwd1 database=mydb1 schema= abc;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV id="p1mkckmzdofp3hn167n8dlu7htph" class="xis-paragraph"&gt;And there are a connection in ODBC file in the system and I can run:&lt;BR /&gt;
&lt;PRE class="xis-codeFragment"&gt;libname mydblib1 vertica dsn=mydsn1 user=myusr1 password=mypwd1 database=mydb1 schema=abc ;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both&amp;nbsp;libnames work fine when I run them in SAS EG and I can see datasets under mydblib and mydblib1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But now I'm trying to create a permanent&amp;nbsp; library in SAS MC under Data Library Manager and here is the steps that I followed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Created a server under Server Manager -&amp;gt;'Vertica server' from the list -&amp;gt; selected 'Server Information' option from the next window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Created a library with connection to the server that I created in the first step and named it&amp;nbsp; MYDBLIB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I open SAS EG and connect to the SASAPP,&amp;nbsp;MYDBLIB is under libraries but I can't see datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there anything that I'm missing in step 1 or 2?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 11:03:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429940#M12018</guid>
      <dc:creator>Riana</dc:creator>
      <dc:date>2018-01-23T11:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create server connection to a data warehouse</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429941#M12019</link>
      <description>&lt;P&gt;Try...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/20/760.html" target="_blank"&gt;http://support.sas.com/kb/20/760.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 11:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429941#M12019</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2018-01-23T11:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create server connection to a data warehouse</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429943#M12020</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/62003"&gt;@Riana&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this one is an excellent and very common question. The problem is not the connection to Vertica, but how SAS metadata is allowing you to authenticate against Vertica.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The trick is Authentication Domains. In short:&lt;/P&gt;
&lt;P&gt;- you would need to set an Authentication Domain (VerticaAuth, i.e)&lt;/P&gt;
&lt;P&gt;- then assign this VerticaAuth to the connection under the Vertica Server in the Server Manager&lt;/P&gt;
&lt;P&gt;- to create a SAS group (i.e. SAS Vertica database usergroup), add your usergroups to this usergroup, and on the Account tab, you would need to set the user AND password for the connection, and then use this VerticaAuth on the account)&lt;/P&gt;
&lt;P&gt;- Finally, you can update your library on the metadata: you would need to select the connection again, to refresh it, and then the user authentication. You will see the account created in the &lt;SPAN&gt;SAS Vertica database usergroup.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Starting here, and after&amp;nbsp;a good refresh of the Object Spawner / Application Server, you should be able to test/validate this connection.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 11:08:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429943#M12020</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-01-23T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create server connection to a data warehouse</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429958#M12021</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980"&gt;@nhvdwalt&lt;/a&gt;&amp;nbsp;for your reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is resolved by following the steps in the link you sent and now I can see tables &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 12:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Create-server-connection-to-a-data-warehouse/m-p/429958#M12021</guid>
      <dc:creator>Riana</dc:creator>
      <dc:date>2018-01-23T12:54:22Z</dc:date>
    </item>
  </channel>
</rss>

