Ask our Experts
Didn't find what you are looking for? Ask our experts!
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Search in
Free
EnglishStrengthen your foundational knowledge in Data Centers for free, enroll in this path today and start your learning journey!
Posted: β2021-06-28 09:22 PM . Last Modified: β2024-03-15 12:34 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: β2021-06-28 09:22 PM . Last Modified: β2024-03-15 12:34 AM
Hello!
First post here π
I have a HP Proliant ML370 running Windows 2003 Server Entperprise. Vmware Server 1.08 is installed at the host and on this machine i am running two virtual machines. 1 Windows 2003 SQL server and 1 Windows 2003 Webserver.
To the ML370 there is a Smart UPS 1500VA connected. I have now installed Powerchute Business Edition Agent at the host (not on the virtual machines). What do i need to install on my virtual machines to also make them aware of my UPS? IN case of a powerfailure i would like my Windows 2003 VmWare Server host to gracefully shutdown my 2 virtual machines and then shutdown itself. Is that possible with my current setup?
Thanks in advance.
/Rickard
Message was edited by: Rickard
Link copied. Please paste this link to share this article on your social media post.
Posted: β2021-06-28 09:22 PM . Last Modified: β2024-03-15 12:34 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: β2021-06-28 09:22 PM . Last Modified: β2024-03-15 12:34 AM
Comment myself π
I created a batfile and placed it in C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\apcvmshut.bat. It look like this:
@START "" "C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\vmshutdownweb.bat"
@START "" "C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\vmshutdownsql.bat"
apcvmshut.bat starts the two batfiles i refer to above (vmshutdownweb.bat and vmshutdownsql.bat) and these files look like this:
vmshutdownsql.bat
cd c:\program files\vmware\vmware server\
call vmware-cmd "D:\Virtual Machines\SQL\sqlserver.vmx" stop SQLSERVER
vmshutdownweb.bat
cd c:\program files\vmware\vmware server\
call vmware-cmd "D:\Virtual Machines\SQL\webserver.vmx" stop WEBSERVER
Then from the Powerchute webinterface (Business edition) i select Command File Name: apcvmshut.bat and set Command File Execution Duration to 30 seconds and OS Shutdown Delay to 90 seconds.
Havent tried this yet but hopefully it will work :). The BAT-files work because i have tried them manually. Anynone else have tried this something similar to this and have comments?
Thanks.
Message was edited by: Rickard
Message was edited by: Rickard
Link copied. Please paste this link to share this article on your social media post.
Posted: β2021-06-28 09:22 PM . Last Modified: β2024-03-15 12:34 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: β2021-06-28 09:22 PM . Last Modified: β2024-03-15 12:34 AM
Comment myself π
I created a batfile and placed it in C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\apcvmshut.bat. It look like this:
@START "" "C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\vmshutdownweb.bat"
@START "" "C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\vmshutdownsql.bat"
apcvmshut.bat starts the two batfiles i refer to above (vmshutdownweb.bat and vmshutdownsql.bat) and these files look like this:
vmshutdownsql.bat
cd c:\program files\vmware\vmware server\
call vmware-cmd "D:\Virtual Machines\SQL\sqlserver.vmx" stop SQLSERVER
vmshutdownweb.bat
cd c:\program files\vmware\vmware server\
call vmware-cmd "D:\Virtual Machines\SQL\webserver.vmx" stop WEBSERVER
Then from the Powerchute webinterface (Business edition) i select Command File Name: apcvmshut.bat and set Command File Execution Duration to 30 seconds and OS Shutdown Delay to 90 seconds.
Havent tried this yet but hopefully it will work :). The BAT-files work because i have tried them manually. Anynone else have tried this something similar to this and have comments?
Thanks.
Message was edited by: Rickard
Message was edited by: Rickard
Link copied. Please paste this link to share this article on your social media post.
Youβve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.