MacOS Server cheat sheet
Reset Server app
When server is not responsive.
Quit server.
sudo rm /var/db/.ServerSetupDone
Restart server. Takes 10 minutes to configure
Turn on performance mode
Check
nvram boot-args
Turn on
sudo nvram boot-args="serverperfmode=1 $(nvram boot-args 2>/dev/null | cut -f 2-)"
Turn off
sudo nvram boot-args="$(nvram boot-args 2>/dev/null | sed -e $'s/boot-argst//;s/serverperfmode=1//')"