BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
StigMortenNegar
Fluorite | Level 6

As default Public is stored in /opt/sas/viya/config/data/cas/default/public/

this mount is not very large, and I would like the physical files to be stored on our main volume /sasdata/

 

Is it a configuration way to do so, or do we need to create a symlink?

 

We are using viya 3.4

1 ACCEPTED SOLUTION

Accepted Solutions
alexal
SAS Employee

@StigMortenNegar ,

 

Prior to deployment, the entire CAS data dir path (not just the public path) can be customized via vars.yml:

 

https://go.documentation.sas.com/?docsetId=dplyml0phy0lax&docsetTarget=n1knvzbsifo9xqn1al0bh7wxrrkg.... 

 

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:

 

- Stop CAS
- Copy the content in /opt/sas/viya/config/data/cas/default/public to a new location, preserving permissions on the files
- The new directory should be 777 cas:sas to match the old path
- Delete the now-empty dir /opt/sas/viya/config/data/cas/default/public
- Make a symlink
ln -s <new dir containing the public files> /opt/sas/viya/config/data/cas/default/public
- Start CAS

View solution in original post

2 REPLIES 2
alexal
SAS Employee

@StigMortenNegar ,

 

Prior to deployment, the entire CAS data dir path (not just the public path) can be customized via vars.yml:

 

https://go.documentation.sas.com/?docsetId=dplyml0phy0lax&docsetTarget=n1knvzbsifo9xqn1al0bh7wxrrkg.... 

 

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:

 

- Stop CAS
- Copy the content in /opt/sas/viya/config/data/cas/default/public to a new location, preserving permissions on the files
- The new directory should be 777 cas:sas to match the old path
- Delete the now-empty dir /opt/sas/viya/config/data/cas/default/public
- Make a symlink
ln -s <new dir containing the public files> /opt/sas/viya/config/data/cas/default/public
- Start CAS

StigMortenNegar
Fluorite | Level 6

Thank you, a symlink it will be 🙂

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Discussion stats
  • 2 replies
  • 2066 views
  • 1 like
  • 2 in conversation