General
Showing results for 
Search instead for 
Do you mean 

HP Power Protector - Shutdown Multiple Hosts

Occasional Visitor

HP Power Protector - Shutdown Multiple Hosts

Hi all,

 

I've got the VMA 5.1 going with the HPPP software installed.

But what command do I need to use to shutdown multiple hosts?

 

I notice in the command:

 

perl /usr/local/HP/PowerProtector/bin/virt_tools/shtdownESXi.pl --server ip_address --username ESXi_user_name --password password_of_ESXi_Host

 

Can we change the server section to the VMA?

 

Please advise.

2 REPLIES

Re: HP Power Protector - Shutdown Multiple Hosts

Hi,


Please refer to following document :  HP Power Protector Software - Shutdown Script Does Not Work


http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?javax.portlet.endCach...


You can also refer to the following thread for additional details:
http://h30499.www3.hp.com/t5/General/HP-power-protector-does-not-run-a-script/m-p/6036469#M7060

Thanks & regards,
I work for HP
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details
______________________________________________________
Was the post useful? Say thanks by clicking the white KUDOS Star!

Highlighted
Occasional Contributor

Re: HP Power Protector - Shutdown Multiple Hosts

[ Edited ]

Hallo,

 

 

You should create, copy this script to VMA and first run this:

 

Command: perl /usr/local/HP/PowerProtector/bin/virt_tools/shutdownESXimultiply.pl

 

#!/usr/bin/perl -w
###############################################################################
# 
# This scripts allows users to perform a Shutdown on an VMware ESXi Server Multiply Hosts
# with the vMA for HPPP
# example:
# perl /usr/local/HP/PowerProtector/bin/virt_tools/shutdownESXimultiply.pl
###############################################################################


# Host HPVM1/192.168.1.1 with VM's shutdown 
system("perl /usr/local/HP/PowerProtector/bin/virt_tools/shutdownESXi.pl --server 192.168.1.1 --username root --password ***");
# Host HPVM1/192.168.1.2 with VM's shutdown 
system("perl /usr/local/HP/PowerProtector/bin/virt_tools/shutdownESXi.pl --server 192.168.1.2 --username root --password ***");
# Host HPVM1/192.168.1.3 with VM's shutdown 
system("perl /usr/local/HP/PowerProtector/bin/virt_tools/shutdownESXi.pl --server 192.168.1.3 --username root --password ***");
# Host HPVM1/192.168.1.4 with VM's shutdown 
system("perl /usr/local/HP/PowerProtector/bin/virt_tools/shutdownESXi.pl --server 192.168.1.4 --username root --password ***");
# Host HPVM1/192.168.1.5 with VM's shutdown 
system("perl /usr/local/HP/PowerProtector/bin/virt_tools/shutdownESXi.pl --server 192.168.1.5 --username root --password ***");
# Host HPVM1/192.168.1.6 with VM's shutdown 
system("perl /usr/local/HP/PowerProtector/bin/virt_tools/shutdownESXi.pl --server 192.168.1.6 --username root --password ***");

 

And this script run shutdownESXI.pl script for each host with VM's