Solved

VMWare HA & PowerChute Network?

Posted on 2014-03-27
19
1,959 Views
Last Modified: 2014-03-31
Hi,

So I've installed the PowerChute Network appliance. So far so good.  But right now I only see one client that's registered on the UPS itself though (the PowerChute virtual appliance). But the physical VM hosts need to be registered there too so that PowerChute can contact those hosts in case of an electrical failure, right? But how do I do that ... ?

And in a HA cluster the automatic shutdown/startup function is disabled, right? So how will the virtual servers on these servers start again then after a total power failure?

Thank you
0
Comment
Question by:Xeronimo
  • 10
  • 9
19 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Have you installed the PCNS software in the VMA appliance ?

If you have controlled a Shutdown of your hosts, you will need to manually restart the VMs.
0
 

Author Comment

by:Xeronimo
Comment Utility
I've got the PowerChute Appliance running ... everything was already installed there ... I've configured it through the wizard.

What do you mean with 'have controlled a Shutdown etc'? I thought that the 'Virtual Machine Startup and Shutdown' had to be disabled by default on HA cluster servers?

So there's no other way than to start them manually? Which is kind of tricky since all my servers, AD, DNS and DHCP servers included, are virtual servers ... I guess I have to configure a laptop with a static IP address then and connect it to the same switch as the VM hosts and then connect to each host via its IP address to then manually start the virtual servers?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
PowerChute Appliance, do you mean VMA ?

e.g. if the PowerChute software sends a signal to shutdown the Hosts, this is a controlled shutdown, and with a controlled shutdown, HA will not operate.

e.g. VMs only restart on other hosts with an uncontrolled shutdown, e.g. power off!

You can use Startup and Shutdown, but it's not recommended with HA.
0
 

Author Comment

by:Xeronimo
Comment Utility
No, not the VMA. I mean a fully configured PowerChute VM that I only needed to deploy/import into my vCenter. I tried to go the VMA route first but I got stuck so I was glad to find the PowerChute appliance ... I can't find the download link anymore though!? It was from an offical site though.

And ok, so it makes sense to disable automatic start up and shutdowns on a HA cluster.

Some questions remain though:

1. So in that case, after a complete, prolonged power failure (twice a year we don't have electricity for +- 4 hours where the servers are; the dates are known beforehand; but we already had the very occasional unexpected power failure as well ...) I need to put a laptop on the switch my physical VM hosts are on and connect to them individually though my vSphere Client on the laptop to start the virtual machines, right?

2. I still need to install PowerChute clients on my ESXi hosts, no? How would I do that?
0
 

Author Comment

by:Xeronimo
Comment Utility
Update: I found the link to download the appliance (for free)

http://www.apc.com/tools/download/software_comp.cfm?sw_sku=SFPCNS31-V&id=127&swfam=127

In my case I've used the third link.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
1. Correct

2. You deploy the VMA, and then install the PCNS software on the VMA.

This is the recommended approach, when using PCNS software with a Network Management card in a SMART-UPS.
0
 

Author Comment

by:Xeronimo
Comment Utility
Ok, regarding the second point ...

I've downloaded and imported the PowerChute appliance on which the PCNS software is already running. I only needed to configure it using the wizard. This works all fine.

I was just wondering if I needed to install something on the ESXi hosts (= the PowerChute clients) as well or if it's enough to simply indicate their IP addresses in the PCNS software?

sc
The only client registered so far here is the virtual machine the PCNS is running on. But the more crucial elements, my three ESXI hosts, are still missing ...

Sorry if I'm being dense here -.-
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
0
 

Author Comment

by:Xeronimo
Comment Utility
ESXi 5.5

And again ... I did neither of those. I did NOT install the VMA and then the PCNS on it. That's only one way to do it. Another is to download the whole thing as an appliance (3rd link here): http://www.apc.com/tools/download/software_comp.cfm?sw_sku=SFPCNS31-V&id=127&swfam=127

I've got PCNS 3.1 running, that's not the problem. I'm just wondering about the clients that PCNS is supposed to communicating with. Those 'Powerchute agents' from the previous screenshot ...

But maybe we're talking past each other?
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Okay, I see APC have released the VMA with the PCNS software installed already!

(not sure how they are allowed to do this, as it's VMware code, anyway!!!)

So you need to start at Page 21 in the Document, (which you may have done already) and continue to Page 53, when to Add ESXi Servers to the list of Servers to be Shutdown by the vMA appliance, (which is VMA + PCNS software, also called PowerChute Network Shutdown v3.1.0 VMware Virtual Appliance!

The address of the Host running the appliance should always be in the list, if it is now need to do anything else, other than configure.
0
 

Author Comment

by:Xeronimo
Comment Utility
Ok, now we're on the same page! :)

So I've browsed to page 54 (I had already gone through the wizard stuff before) and I've tried to enter 'vifp addserver xxxx' in the console of the PCNS appliance but I get a 'vipf: command not found' error ...
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
vifp listservers

does this command work?
0
 

Author Comment

by:Xeronimo
Comment Utility
No, 'command not found' :(
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
if you change to the following directory

'/opt/vmware/vma/bin'

and also try sudo vifp listservers
0
 

Author Comment

by:Xeronimo
Comment Utility
Hi, there is no vma subfolder in the vmware folder ...

There's a bin subfolder though. But vifp doesn't work in there either :/

Seems that appliance isn't fool-proof either!?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
I'm checking, this works

sudo vifp listservers

on standard vMA as provided by VMware, on version 5.0.0.2 Build 724898.

and also has the directory '/opt/vmware/vma/bin'.

The new PowerChute Appliance is NOT VMA!

and it's setup differently to the document above...

see here

http://www.apcmedia.com/salestools/SJHN-92FLU8/SJHN-92FLU8_R0_EN.pdf

When going through the wizard, you assign Hosts to UPS

under the

PowerChute Setup: VMware Host Protection setup.

So the commands are deprecated for this appliance, and not needed, if you've gone through the wizard, you are protected.
0
 

Author Comment

by:Xeronimo
Comment Utility
Ok, then I should be good ... thank you so far!

One more question though (relating to all of this), on the Wizard page following the VMware Host Protection Setup: given that my installation is a cluster should I enable all the options on the 'PowerChute Setup: Virtual Machine Settings' page or not? If yes, what delays? 120 seconds?
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
I would stick with the defaults, of 120 seconds unless you need to tweak.

also refer to this new document....it has good explanations of VMware HA setup and UPS!

http://www.apcmedia.com/salestools/SJHN-92FLU8/SJHN-92FLU8_R0_EN.pdf

and how it should be configured for your HA Cluster, look at the examples and each scenarios.
0
 

Author Comment

by:Xeronimo
Comment Utility
Ok, thanks a lot!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now