serverinfo
tool to tell the operating system to focus system resources on the installed and running server application. The catch is that with OS X 10.11 Apple introduced a concept called “System Integrity Protection“. This mechanism prevents the value to be set because the responsible .plist file resides in a protected directory.
In order to make that file writeable, the server needs to be rebooted into Recovery Mode which allows for SIP to be disabled using the following command:
csrutil disable
If you attempt to set Server Performance Mode with SIP enabled, you will receive the following error message:
ERROR: Server performance mode could not be modified.
Failed to create write propery list to disk!
I outlined the steps necessary below.
csrutil disable
sudo serverinfo --setperfmode 1
sudo serveradmin settings info:enableServerPerformanceMode = yes
csrutil enable
If all goes well performance mode should now be activated and SIP should be enabled again.
Keep in mind that you can not disable SIP remotely. In turn that means that you can not enable Server Performance Mode remotely. You need physical access to the machine your server is running on. In my case I have a Mac Mini server running in a colocation site and now have to send an engineer to the box and run the steps mentioned above for me. Prior to 10.11 one could just enable Server Performance Mode via remote login. 01/26/2016