XenServer: APC Smart Shutdown

If you have the network modules for your APC Smart-UPS then you can use the embedded soft to perform a smart shutdown. However this method permits you to shutdown all virtual machines and the virtual host with a single serial cable attached to a physical server

–          Connect the APC UPS to a non virtualized machine

–          Install PowerChute

–          Install XenCenter

–          Create a default.cmd file (attached) which points to a batch file in the XenCenter directory

–          Create a shutdown.bat file (attached) which shutdowns appropriate services, and then shuts down the xen servers, then the host.

–          In the PowerChute console,  configure it to run the default.cmd file on the power event

Continue reading “XenServer: APC Smart Shutdown”

XenServer: SNMP Monitoring

To enable SNMP monitoring on Citrix Xen Server:

–          Downloaded versions come with SNMP disabled, enable using Citrix ctx116187

o   In brief, from SSH:
service snmpd start (this enables SNMP service)
chkconfig snmpd on (this ensures SNMP starts after reboot)

o   Disregard other “installation” steps on KB, as they apply to release 3.x and prior, however no more recent KB is available

o   You can customize and lock down SNMP via vi /etc/snmp/snmp.conf (if you know what you’re doing and know the vi editor)

Powered by WordPress.com.

Up ↑