JDS - Second storage device not addressable via Apache Alias file

stevewood
Honored Contributor II
Honored Contributor II

Just a heads up for those planning on running their JDS on Linux. I set up a new Ubuntu 12.0.4 VM in our VMWare environment and added a second hard drive to store the distribution point. The system drive was only 120GB in size, so I created a 1TB drive and mounted it under Linux at /mnt/Casper and added the mount point to the fstab file so that it would mount on startup.

After installing the JDS, I am unable to get the Apache Alias file in /usr/local/jds/conf/ to change the default path for the jamfds binary file. This has been confirmed by JAMF Support.

The only way around this, at this point, is to create a symbolic link in /usr/local/jds/shares that points back to your mount point. I am going to put an FR in to be able to edit the location of your JDS storage.

Once I created the symbolic link, the jamfds binary was able to start synchronizing the distribution point over.

5 REPLIES 5

ammonsc
Contributor II

I am trying to just setup a symbolic link to the shares folder and leave everything else (10.8 xServe) but I am unable to mount as well. Any ideas?

stevewood
Honored Contributor II
Honored Contributor II

So you're trying to point the default JDS share folder to a different spot on the XServe? It should be something like this:

ln -s /<path to new location> /<path to current location>

In my testing on Ubuntu, that's all I had to do. Now, I did that from the shares folder int he JDS install path (/usr/local/jds/shares in Ubuntu). Sorry, I don't know what that path is on OS X.

bajones
Contributor II

I can confirm @stevewood's solution works on my 10.8 Xserve with the only modification being the share folder location.

Share location on Mac is /Library/JDS/shares

ammonsc
Contributor II

I think I have other issues. My symbolic link seems to work just fine and the folders are set with the correct owner:group and 755 but I still cannot mount them. I have port 80 and 443 open and mapped. Does the user created for the JDS only need JDS permissions?

bajones
Contributor II

Are you getting an error message when you attempt to mount?