Frequently Asked Question

Winpower on XenServer (installation)

bijgewerkt op 5 jaar geleden
Installation and configuration for PowerWalker-WinPower in Citrix XenServer

PowerWalker-WinPower Test version
XenServer 5.5
XenServer 6.2
XenServer 6.5


1.Over Viewer

PowerWalker-WinPower is installed on the XenServer host. When the shutdown condition is met, the PowerWalker-WinPower will notify the XenServer host to shutdown.

The VMs will be shut down automatically before the host shut down.(This action takes effect as default by the XenServer)


image


2 Citrix XenServer Configuration

2.1 Installing XenServer tools for each Virtual Machine

Open the XenServer Client, Choose the VMs, Right click VMs, Click “Install XenServer Tools”

image

The XenServer Tools is installed as below image:

image

2.2 Open XenServer host ports

The PowerWalker-WinPower use UDP 2198/2199/2200 as the communication port with remote PowerWalker-WinPower agent

  • Open the XenServer Client, click the host console, Open the UDP port by the following command:
  • The “/dev/ttyS0”(Serial Port 1) is captured by the system for the XenServer 5.5, not including XenServer 6.2, So the USB to RS232 can be used for the XenServer 5.5.
  • Choose the software agent on the XenServer host, Set the shutdown Parameter as your desire
  • The alarms will pop up when the UPS power fail
For example:

iptables -I INPUT -p udp --dport 2199 -j ACCEPT

iptables -I OUTPUT -p udp --dport 2199 -j ACCEPT

/etc/rc.d/init.d/iptables save

3 Installing and Configuring for PowerWalker-WinPower

3.1 Installing PowerWalker-WinPower

Upload the installation file “PowerWalker_setup_LinuxAMD64.tar.gz” to the XenServer host using WinSCP tools

Unzip the installation file and install the software by the command

tar –zxvfPowerWalker_setup_LinuxAMD64.tar.gz

Install the PowerWalker-WinPower by the command”:

./setup_console.bin

3.2 Configuring PowerWalker-WinPower

Connect the UPS with Server via USB/RS232, Enter the “/opt/MonitorSoftware” directory, start the software agent by the command:

cd /opt/MonitorSoftware

./agent start

For the software agent of the XenServer is CUI mode, Please set the software agent by remote software Manager (software with GUI) on the windows

The software will search for the UPS for the first start after installing,

If the UPS is not detected, please search for the UPS manually as following:

Choose the software agent on the XenServer host, open the “System”->”Auto Search Device”, the UPS can be added under the LAN or WAN ( xenserver6 is the host name of the host)

image
(RS232 Communication)

image

(USB Communication)
  • The “/dev/ttyS0”(Serial Port 1) is captured by the system for the XenServer 5.5, not including XenServer 6.2, So the USB to RS232 can be used for the XenServer 5.5.

Choose the software agent on the XenServer host, open the “System”->”Com Port Setting”, add the serial port name. The serial port name is “/dev/ttyUSB0” as default.

Auto search again manually after adding the port name.

Note: Check the /dev/ttyS0 is used or not by the command “setserial /dev/ttyS0”.

If the /dev/ttyS0 is available, the serial port parameters can be shown as below picture:
image

  • Choose the software agent on the XenServer host, Set the shutdown Parameter as your desireimage

3 Alarm pop up

  • The alarms will pop up when the UPS power fail
image
image

Een ogenblik geduld!

Een moment geduld alstublieft...