Solved

PCNS with vMA4.1

Posted on 2011-03-03
10
687 Views
Last Modified: 2012-05-11
Hi
Experts,

I already installed vMA4.1 and configured Powerchute.
But I have questions when I have two UPS and 3 hosts.
How to configure this ?

If a power failure occurs, is it enough to configure one UPS, to shutdown all my hosts ?
And what about my VM's ? They are done automatically or do I have to install PCNS on each VM ?

0
Comment
Question by:Eprs_Admin
10 Comments
 
LVL 5

Expert Comment

by:ianmellor
ID: 35029201
Hi,

You will have to shutdown you vm's first then your hosts or you can run a script from your ESX host to shutdown your vm's. Below is a link to a script to do this (look at the bottom of the page).

Hope this helps.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 35029317
He's running ESXi
0
 
LVL 5

Expert Comment

by:ianmellor
ID: 35029459
Hi,

If you are running ESXi have a look at the below.

http://www.virtu-al.net/2010/01/06/powercli-shutdown-your-virtual-infrastructure/

Hope this helps.
0
 

Author Comment

by:Eprs_Admin
ID: 35029806
ok this sounds interesting.
Can you tell me step by step how to implement this script?
How the script recognize that a powerfailure kicks in ?
How to change the script just to test with one vm ?
0
 
LVL 7

Expert Comment

by:cdjc
ID: 35030992
vMA doesn't have PowerCLI, because it's based on CentOS 5.3 64bit, not Windows.  You'll need to do the equivalent commands using the vSphere CLI, which should already be installed in the vMA.

0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:Eprs_Admin
ID: 35034758
In this moment I configured to UPS for the shutdown.
UPS2 is responsible for the VM's with a shorter delay
UPS3 is responsible for the hosts with bigger delay.

Always when we have a power failure, all UPS 's kicks in.

Is this one way how to do it ?

0
 
LVL 5

Expert Comment

by:ianmellor
ID: 35034793
Hi,

Sorry, miss read your post. The above script is for PowerCLI which you will have to run on a windows machine. All you have to do is copy the script into your favourite text editor change the details to match your setup. Then save is as VMShutDown.ps1. Then use your UPS software to call the script when it detects a power failure.

Cheers,  
0
 

Author Comment

by:Eprs_Admin
ID: 35035288
ok, with PowerChute I cannot call a script.
Can I do this with a shutdown script in windows ?

What happens I configure a shutdown policy and every time a powerfailure kicks in, the UPS sends the signal. What kind of shutdown is then ? Does the shutdown script policy in windows work ?
0
 
LVL 5

Accepted Solution

by:
ianmellor earned 500 total points
ID: 35036766
Hi,

Is the below your PowerChute software?

http://www.grape-info.com/doc/win2000srv/power/upsshutdown.html

With this you will be able to call the powershell script from the cmd file. Like the below example

powershell -noexit "&" "C:\Script\VMShutdown.ps1""".

Cheers,
 
0
 

Author Comment

by:Eprs_Admin
ID: 35138055
Hi,
this link is for powerchute plus.
We are using the free version.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

920 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

15 Experts available now in Live!

Get 1:1 Help Now