Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84707members
354091posts

How to set up Network Shutdown on Linux host with VMware Workstation?

APC UPS Data Center & Enterprise Solutions Forum

Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.

Solved
sigi_apc
Crewman
Crewman
0 Likes
1
356

How to set up Network Shutdown on Linux host with VMware Workstation?

This was originally posted on APC forums on 10/12/2016


I have a Linux host (Ubuntu Desktop) which runs VMware Workstation to host some virtual machines. Now I'd like to use PowerChute Network Shutdown to shut down the Linux host in case of power failure.

My idea was to simply install PowerChute Network Shutdown on the Linux host and use a pre-shutdown command to stop the VMs before (vmrun).

When trying to install PowerChute Network Shutdown 4.2 for Linux x64 on my Linux machine I get the error message that installation is not supported since VMware is running on the same machine. Well, that is not what I was expecting...

Reading the PowerChute Installation Guide none of the VMware option fits to my setup. I neither have an additional Windows machine to monitor the VMware Host nor a I'd like to run the PowerChute Virtual Appliance in VMware Workstation. I am even not sure if the latter is supported, the PowerChute User Guide for VMware does not mention VMware Workstation.

Any suggestions how to set up Network Shutdown in my scenario?

Tags (2)

Accepted Solutions
sigi_apc
Crewman
Crewman
0 Likes
0
356

Solved: How to set up Network Shutdown on Linux host with VMware Workstation?

This was originally posted on APC forums on 10/25/2016


Hi, this is for those who are interested in a solution for this scenario.

I've contacted APC support and asked the same question. Their proposal was to try an older PCNS version.

So I downloaded PCNS 3.1.0 for Linux from here: ftp://ftp.apc.com/restricted/software/pcns/310/

Note: You have to provide username and password with the URL (ftp://:@ftp.apc.com/restricted/software/pcns/310) where is "restrict" and is... Well I don't want to post it here. You can find it out by starting a regular PCNS download and looking into the link address of the final download button.

The PCNS 3.1.0 installed successfully on Ubuntu 14.04.5 without complaining that VMware Workstation is installed. Obviously there is not really an incompatibility between PCNS 3.1.0 and VMware Workstation 10.0.6, both work fine after the PCNS installation.

PCNS triggered shutdown works as expected. Configuring a shell script as shutdown command which calls "vmrun stop soft" properly shuts down the VMs before Linux is going down for halt. smile

Maybe a wish to the PCNS development team: If there also no real incompatibility between PCNS 4.2 and VMware Workstation you might refine the check for VMware and allow installation of PCNS 4.2 in this scenario. I'd appreciate if I could upgrade PCNS to 4.2... Thanks!

See Answer In Context

1 Reply 1
sigi_apc
Crewman
Crewman
0 Likes
0
357

Solved: How to set up Network Shutdown on Linux host with VMware Workstation?

This was originally posted on APC forums on 10/25/2016


Hi, this is for those who are interested in a solution for this scenario.

I've contacted APC support and asked the same question. Their proposal was to try an older PCNS version.

So I downloaded PCNS 3.1.0 for Linux from here: ftp://ftp.apc.com/restricted/software/pcns/310/

Note: You have to provide username and password with the URL (ftp://:@ftp.apc.com/restricted/software/pcns/310) where is "restrict" and is... Well I don't want to post it here. You can find it out by starting a regular PCNS download and looking into the link address of the final download button.

The PCNS 3.1.0 installed successfully on Ubuntu 14.04.5 without complaining that VMware Workstation is installed. Obviously there is not really an incompatibility between PCNS 3.1.0 and VMware Workstation 10.0.6, both work fine after the PCNS installation.

PCNS triggered shutdown works as expected. Configuring a shell script as shutdown command which calls "vmrun stop soft" properly shuts down the VMs before Linux is going down for halt. smile

Maybe a wish to the PCNS development team: If there also no real incompatibility between PCNS 4.2 and VMware Workstation you might refine the check for VMware and allow installation of PCNS 4.2 in this scenario. I'd appreciate if I could upgrade PCNS to 4.2... Thanks!