Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hardware:ups [2021/07/22 13:51]
Jamie McCallum
hardware:ups [2022/06/06 14:50] (current)
Jamie McCallum [Hobart12]
Line 1: Line 1:
 The NUT control software is installed at a few sites and can be used to directly control Cyberpower and UPSonic UPS.  The NUT control software is installed at a few sites and can be used to directly control Cyberpower and UPSonic UPS. 
  
-The main use at the moment is to power cycle the DBBC3HB - its UPS is currently connected to ''weather''.+The main use at the moment is to power cycle the DBBC3s at both Mt. Pleasant and Katherine.
  
-To reboot DBBC3HB, use the following commands <code>ssh observer@weather+====== Check Basic Setup====== 
 + 
 +  Ensure RfSwOnForS is turned ON at pduhb and ipske  for mixed mode observations AUM, AUA etc 
 +   
 +  Otherwise wide band mode is enabled, where symptoms include reported bad delays on IF's  
 + 
 +====== Hobart12 ====== 
 + 
 +**TEMPORARY CHANGE (6/6/22)** 
 +Please use the ''pduhb.phys.utas.edu.au'' internet power switch until further notice. The ''weather'' computer is currently offline. 
 + 
 +<del>To reboot DBBC3HB, use the following commands <code>ssh observer@weather
 su su
-upscmd  -l CyberPower load.off+upscmd  CyberPower load.off
 ### wait 10s ### wait 10s
-upscmd  -l CyberPower load.on+upscmd  CyberPower load.on
 </code> </code>
  
 The ''upscmd'' will prompt for a username and password (''admin'' and the root pw.) The ''upscmd'' will prompt for a username and password (''admin'' and the root pw.)
 +</del>
 +====== Katherine ======
 +To reboot DBBC3KE, use the following commands <code>ssh observer@dell2ke
 +su
 +upscmd  UPS-DBBC3 load.off
 +### wait 10s
 +upscmd  UPS-DBBC3 load.on
 +</code>
 +The upscmd will prompt for a username and password (admin and the root pw.)
 +
 +If you have error messages when running these commands, try killing any NUT processes (with ''pkill -9 nut'') and then restart with ''/etc/init.d/nut-server start'' . If that doesn't kill the running nut command, then restart the nut server with "/etc/init.d/nut-server restart"
 +
 +
 +
 ====== Installation ====== ====== Installation ======
 apt-get install nut apt-get install nut
  
-Then edit the /etc/nut/ files - vc0/flexbuffhb have templates for a working configuration +Then edit the /etc/nut/ files - vc0/flexbuffhb/dell2ke have templates for a working configuration 
  
 ===== UPS interaction and control ===== ===== UPS interaction and control =====
 To see the list of available commands, use  To see the list of available commands, use 
  
-''upscmd  -l CyberPower''+''upscmd -l  CyberPower''
  
 To switch the UPS off or on, use: To switch the UPS off or on, use:
  
-''upscmd  -l CyberPower load.off'' or ''upscmd  -l CyberPower load.on''+''upscmd  CyberPower load.off'' or ''upscmd  -l CyberPower load.on''
  
 You will need to run this as root, using the admin username. You will need to run this as root, using the admin username.