Application Note – AN1302 Automatic Shutdown NAS in PowerPanel PowerPanel® Business Edition User’s Manual Rev. 13 2013/07/26 Rev.
Shutdown NAS in PowerPanel Content Introduction ......................................................................................................................................................................... 2 Set-up.................................................................................................................................................................................. 2 Configuration on Windows ...............................................................................
Shutdown NAS in PowerPanel Introduction If you want to properly shut down both the computer and the NAS that are being supplied power by a UPS, this manual will guide through the necessary steps. This will allow the NAS to shut down via the SSH service and the computer to shut down gracefully. If you are only connecting a NAS to the UPS, you do not need this manual. Simply connect USB cable from the UPS to the NAS and refer to user’s manual for the NAS about power management instructions. Set-up 1.
Shutdown NAS in PowerPanel AdminAccount and AdminPassword indicate the administrator account and password for NAS. IpAddress is IP address or domain name of NAS. When a power event occurs, the external command execution will be initiated prior to the computer shutdown. Refer to the Suggestions chapter for more details. Configure Proper Delay Time to Turn Off UPS When a shutdown procedure is initiated, UPS will delay the shutdown of its own outlets.
Shutdown NAS in PowerPanel c. Click the lock icon and authenticate as an administrator account. d. Click Login Options. e. Click the Join... button at the lower-right corner. f. Click the Open Directory Utility... button. g. Click the lock icon in the Directory Utility window. h. Enter an administrator account and password, and then click OK. i. Choose Enable Root User from the Edit menu. j. Enter the new root password in both the Password and Verify fields, and then click OK. (Visit http://support.apple.
Shutdown NAS in PowerPanel | o...o * o | |. oo.o . | +------------------------+ c. Copy Mac’s public key file (id_rsa.pub) to SSH server of NAS for new mac_keys. scp ~/.ssh/id_rsa.pub AdminAccount@IpAddress:~/.ssh/mac_keys AdminAccount is the administrator account of NAS. IpAddress is the IP address or domain name of NAS. This command requires entering yes and the NAS administrator’s password to continue connection. The message shows as below example: The authenticity of host '192.168.20.10 (192.168.20.
Shutdown NAS in PowerPanel AdminAccount is the administrator account of NAS. IpAddress is the IP address or domain name of NAS. 6. Click OK to save script. When a power event occurs, the external command execution will be initiated prior to the computer being shut down. Refer to the Suggestions chapter for more details. Configure Shutdown Options of Energy Saver Use the following steps to configure shutdown options for power events in the Energy Saver panel. 1. Choose System Preferences....
Shutdown NAS in PowerPanel su root A prompt ask you to provide the root password to complete the authentication. Password: 2. Generate a new RSA key pair. ssh-keygen –t rsa This command will ask you to provide a location to save the keys and a passphrase. (Press Enter if you change nothing.) The prompt message shows as below example: Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): And then ssh-keygen command also asks you to provide a passphrase.
Shutdown NAS in PowerPanel When a power event occurs, the external command execution will be initiated prior to the computer being shut down. Refer to the Suggestions chapter for more details. Configure Proper Delay Time to Turn Off UPS When a shutdown procedure is initiated, the UPS will delay the shutdown of its own outlets. This delay must be long enough to allow for the computer shutdown of both the NAS and the computer. The default setting is 600 seconds (10 minutes).