<?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: Change the public caslib's location in Architecture</title>
    <link>https://communities.sas.com/t5/Architecture/Change-the-public-caslib-s-location/m-p/671803#M257</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/135193"&gt;@StigMortenNegar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Prior to deployment, the entire CAS data dir path (not just the public path) can be customized via vars.yml:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=dplyml0phy0lax&amp;amp;docsetTarget=n1knvzbsifo9xqn1al0bh7wxrrkg.htm&amp;amp;docsetVersion=3.4&amp;amp;locale=en#n0y11x45tq21tan1ee3hpwkccpm2"&gt;https://go.documentation.sas.com/?docsetId=dplyml0phy0lax&amp;amp;docsetTarget=n1knvzbsifo9xqn1al0bh7wxrrkg.htm&amp;amp;docsetVersion=3.4&amp;amp;locale=en#n0y11x45tq21tan1ee3hpwkccpm2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, after deployment, there is no simple method to change the paths already in use by caslibs like Public. Therefore, I recommend making /opt/sas/viya/config/data/cas/default/public a symlink to the desired new location on the CAS Controller:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Stop CAS&lt;BR /&gt;- Copy the content in /opt/sas/viya/config/data/cas/default/public to a new location, preserving permissions on the files&lt;BR /&gt;- The new directory should be 777 cas:sas to match the old path&lt;BR /&gt;- Delete the now-empty dir /opt/sas/viya/config/data/cas/default/public&lt;BR /&gt;- Make a symlink&lt;BR /&gt;ln -s &amp;lt;new dir containing the public files&amp;gt; /opt/sas/viya/config/data/cas/default/public&lt;BR /&gt;- Start CAS&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jul 2020 12:50:04 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2020-07-23T12:50:04Z</dc:date>
    <item>
      <title>Change the public caslib's location</title>
      <link>https://communities.sas.com/t5/Architecture/Change-the-public-caslib-s-location/m-p/671798#M256</link>
      <description>&lt;P&gt;As default Public is stored in&amp;nbsp;&lt;SPAN&gt;/opt/sas/viya/config/data/cas/default/public/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;this mount is not very large, and I would like the physical files to be stored on our main volume /sasdata/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it a configuration way to do so, or do we need to create a symlink?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using viya 3.4&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 12:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/Change-the-public-caslib-s-location/m-p/671798#M256</guid>
      <dc:creator>StigMortenNegar</dc:creator>
      <dc:date>2020-07-23T12:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change the public caslib's location</title>
      <link>https://communities.sas.com/t5/Architecture/Change-the-public-caslib-s-location/m-p/671803#M257</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/135193"&gt;@StigMortenNegar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Prior to deployment, the entire CAS data dir path (not just the public path) can be customized via vars.yml:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=dplyml0phy0lax&amp;amp;docsetTarget=n1knvzbsifo9xqn1al0bh7wxrrkg.htm&amp;amp;docsetVersion=3.4&amp;amp;locale=en#n0y11x45tq21tan1ee3hpwkccpm2"&gt;https://go.documentation.sas.com/?docsetId=dplyml0phy0lax&amp;amp;docsetTarget=n1knvzbsifo9xqn1al0bh7wxrrkg.htm&amp;amp;docsetVersion=3.4&amp;amp;locale=en#n0y11x45tq21tan1ee3hpwkccpm2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, after deployment, there is no simple method to change the paths already in use by caslibs like Public. Therefore, I recommend making /opt/sas/viya/config/data/cas/default/public a symlink to the desired new location on the CAS Controller:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Stop CAS&lt;BR /&gt;- Copy the content in /opt/sas/viya/config/data/cas/default/public to a new location, preserving permissions on the files&lt;BR /&gt;- The new directory should be 777 cas:sas to match the old path&lt;BR /&gt;- Delete the now-empty dir /opt/sas/viya/config/data/cas/default/public&lt;BR /&gt;- Make a symlink&lt;BR /&gt;ln -s &amp;lt;new dir containing the public files&amp;gt; /opt/sas/viya/config/data/cas/default/public&lt;BR /&gt;- Start CAS&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 12:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/Change-the-public-caslib-s-location/m-p/671803#M257</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-07-23T12:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change the public caslib's location</title>
      <link>https://communities.sas.com/t5/Architecture/Change-the-public-caslib-s-location/m-p/672017#M258</link>
      <description>&lt;P&gt;Thank you, a symlink it will be &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 05:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/Change-the-public-caslib-s-location/m-p/672017#M258</guid>
      <dc:creator>StigMortenNegar</dc:creator>
      <dc:date>2020-07-24T05:14:32Z</dc:date>
    </item>
  </channel>
</rss>

