Preparing your Anka Nodes
Once the Anka Build Virtualization software has been installed onto a macOS machine, you'll typically want to ensure that the machine has high availability. This requires turning off sleep and several other default features that would cause the machine to become unavailable. Below are the preparatory steps we suggest:
Enable automatic login for the current user: Go to Preferences > Users > enable automatic login.
Disable require password after screensaver has started: Go to Preferences > Security > under General > uncheck
require password after screensave or sleep beginsoption.Disable all forms of sleep: Go to Preferences > Energy Saver > disable any sleep options.
Alternatively, you can do this from the command-line:
# Never go into computer sleep mode systemsetup -setcomputersleep Off # Disable standby pmset -a standby 0 # Disable disk sleep sudo pmset -a disksleep 0 # Hibernate mode is a problem on some mac minis; best to just disable Sudo pmset -a hibernatemode 0Disable spotlight:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plistIf you cannot perform launchctl commands, you can execute these commands from the command-line:
# Disable indexing volumes defaults write ~/.Spotlight-V100/VolumeConfiguration.plist Exclusions -array "/Volumes" defaults write ~/.Spotlight-V100/VolumeConfiguration.plist Exclusions -array "/Network" killall mds # Make sure indexing is DISABLED for the main volume mdutil -a -i off / mdutil -a -i offReboot the host
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.