Random Policy Failure

franton
Valued Contributor III

We're getting policy failures completely at random from what we can see. The general error log from the JSS always looks something like this:

/usr/sbin/jamf is version 8.62 Executing Policy *name here* ... Mounting afp://xx.xx.xx.xx/CasperShare to /Volumes/CasperShare... Mounting afp://xx.xx.xx.xx/CasperShare to /Volumes/CasperShare... (failover share) Error: Could not mount a distribution point.

We also get logs where it mounts the DP share correctly but then cannot see some/any/all of the package files. We've tried building a test NetSUS appliance and using the AFP shares from that. Our normal DP's are five ish year old Xserves running OS 10.5.8 ... except for one, which is on an iMac running 10.8.2 server. All the shares are AFP, so no SMB or HTTP are in use.

Could this potentially be a DNS issue? Our current DNS is more than a little flaky and we're in a project to migrate away from the current Novell one to a Microsoft one.

8 REPLIES 8

mscottblake
Valued Contributor

I've seen this same issue randomly. It seems to be worse when the load is high. My shares are SMB though.

franton
Valued Contributor III

I wish I could use load as an excuse but three macs on our test appliance shouldn't make it fail.

buckychappell
New Contributor II

We have seen a lot of these, and figured it was two policies stepping on each other: the second policy could not mount the distribution point because it was already mounted from the first policy.

Eric 'Bucky' Chappell

franton
Valued Contributor III

So casper is basically continually mounting and dismounting the DP share and it's getting hung up on itself? Oh jeez, that means completely redoing our JSS architecture.

bentoms
Release Candidate Programs Tester

I came to the same conclusion.

We have a few policies that run @ login & every15.

These are often scoped to smart groups, so I'm thinking of having one script @ login & one every15 with logic in the scripts akin to the smart groups.

Haven't got around to doing it yet so cannot advise of that's the case.

The other option would be to move from AFP to HTTP distribution points.

This would also stop shares from being shown on the desktop.

franton
Valued Contributor III

That's exactly what we have. I'm going to refer this whole thread onto my boss/casper architect and see what they think about testing an IIS http DP.

bentoms
Release Candidate Programs Tester

AFAIK, HTTP distribution used to be much slower than AFP/SMB... But I'll test & will reply once tested.

bentoms
Release Candidate Programs Tester

Opps... Dupe.