JDS – Change Default Storage Location

JDS – Change Default Storage Location

OS X, Disk, JDS

Overview


The JAMF Distribution Server (JDS) is a distribution point that is managed by the JAMF Software Server (JSS), similar to a computer or mobile device. A JDS is a completely separate server that you install on OS X Server (10.6 or greater) or Linux. It can be used to host packages, in-house apps, and in-house eBooks that are distributed to clients.

In our environment, we are running our JAMF Distribution Server’s on OS X El Capitan (version 10.11.2) Server on Mac mini computers and Promise Pegasus 2 R4 RAID’s for data storage. The data storage is configured with RAID level 6 which stores dual parity data across the physical drives along with the block data. A RAID 6 logical drive can continue to accept I/O requests when any two physical drives fail. We didn’t want to store the JDS hosted content on the startup disk, but on the RAID volume for multiple reasons, including increasing the performance and/or reliability of data storage.

Promise Pegasus 2 R4 Example

Our server is setup with a production & backup RAIDs, backup non-RAID and an off-site remote server that stores backup of JDS startup disk and content in case of disaster at the JDS server location.

Default Storage Location


By default the JAMF Distribution Server (JDS) stores content in the following location:

With the following directories and permissions:

Move Storage Location


Unload JAMF Check-In Task
If you have the JAMF Distribution Server previously setup and actively using it, you might want to temporarily unload the JAMF Check-in task while you are migrating the JDS storage location.

To unload it use the following command:

Then follow the steps outlined below to move the default storage location.

Then load it with the following command:

Move Location
To move the storage location, you can use the following “mv” (aka move files) command:

For example, in our environment our RAID’s volume name is “Data”:

Create Symlink to New Location
Then you will need to create a symlink from the default location to the new custom location using the following command:

For example, in our environment:

Then to check the link is setup correctly, you can use the “ls” and “cd” to the link and check that it is working properly.

Test


Capser Admin
Next, test that moving the JDS storage location did cause any issues by using the Casper Admin application and create a test item and make sure it is properly listed and synchronized.

CasperAdmin

JAMF Software Server
You can use the JAMF Software Server (JSS) to check the status of the JAMF Distribution Server(s) (JDS).

  • Login to your JSS via web browser

JSS Login Screen

  • In the upper right corner, click on “Settings” icon:

JSS - Settings Icon

  • On the left navigation, click on “Computer Management”:

JSS - Computer Management

  • Then click on the “JSS Instances” icon, in the “Computer Management – Server Infrastructure” section:

JSS - JSS Instances

Then the JDS Instances will display:

JSS - JDS Instances

  • Then click on the JSS Instances dashboard icon:

JSS - JDS Instances Dashboard Icon

This will display basic status information on number of files and synchronization status.

JDS Logs
The default location for the JDS logs is located here:

But, after moving the JDS components, you will have a new path:

Currently, the logs are NOT very verbose, but they might provide useful information on status or for debugging issues.

No Comments

Leave a Reply