• Mac OS X Server,  Mac Security,  Mass Deployment,  Xsan

    AFP, Xsan, Failover & Tokens

    When an AFP connection moves to idle, a token is used to establish a reconnect. By default, AFP stores tokens in the local /etc/AFP.conf. But in order to have users reconnect if they move between servers, as in a failoverd event or even in a more active/active relationship with a load balancer you need to move the shared cache to a shared location. To do so you’ll edit the /Library/Preferences/com.apple.AppleFileServer.plist file using the defaults command. The key that you’ll need to change is the reconnectKeyLocation, specifying the string in the key that corresponds to the path to the local server that is running afp to the volume. Therefore, if the…