Liebert UPS Shutdown of Windows 2K 3 server

We have a nFinity Leibert UPS that is connected to a Windows Server 2003 x 64 via a serial cable, the application that monitors the UPS is called Multilink.

In our ESX 3.5 environment, I had a couple of orders and stop all VMware hosts and guests using plink.

However, because our environment has been upgraded to 4.0 and re-install it demand, it isn't is no longer an automatic stop of VMware. While the program works as planned, it is now one identifier. Which is not ideal view of our environment.

Here's how I set it up:

(1) the Multilink software is installed on Windows 2003 x 64

(2) in the case of low battery or stop senario, the following command is issued: "C:\Windows\System32\plink.exe" - ssh - v VMware.FQDN.com-l Panel multilink - pw Liebert "/ usr/bin/sudo/bin/bash /home/multilink/PowerOff.sh.

(3) on the host ESX, a user called with the password, links multiple Liebert was created.

(4) the record as root have added: multilink Panel ALL = / bin/bash, / sbin/shutdown-h now in the/etc/sudoers

Now, for plink for SSH key on the server I run the command, but remove the ".sh" of the PowerOff.sh. That works very well, user logs on successfully Multilink in. However, try to run the command (I did as a trial site DRP) all works above, execpt it requires now a password before you run the PowerOff.sh file. Then the system shutsdown as expected.

I think that there is enhanced on ESX 4.0 security which was not previously on 3.5. Is anyway to get the command to execute without asking for a second password entry?

But the password is the password of the user Panel multilink?

If so it is in this order

usr/bin/sudo /bin/bash /home/multilink/PowerOff.sh

And be rechecked the sudoer configuration, where you have to activate this command "/ bin/bash /home/multilink/PowerOff.sh" with option NOPASSWD, like this

multilink ALL=/bin/bash /home/multilink/PowerOff.sh NOPASSWD: ALL

André

Tags: VMware

Similar Questions

  • How to perform a shutdown in Windows 7 by a UPS

    I had 3 inverters (same manufacturer and model #) for several years. As I got them within weeks of each other, all batteries have died in a similar period of time. Isn't that recently and as a result the December 2013 the ice storm, which caused massive across the province of Ontario blackouts, that I wanted to go ahead with the replacement of the batteries on them and get them active again. Try to find the batteries... another story. Now, in fact, I installed the original (32-bit) software on a Windows 7 (64 bit) (both are mutually see via a USB connection).  Software of the USP asks me to enter a particular command, in a field on one of the Setup screens, and it will run in x seconds. So, what I'm looking for, if it exists, is a command (.exe or?) who sits in a secret file hidden behind some misdirected bytes or two... maybe a script?

    (The inverters were made by Ultraproducts.com, 1000Va... cheapies, but reliable units and were used on several small critical aspects but missions on my network)

    You are probably right.

    It's just that I read somewhere that Windows 7 did not have some sort of connectivity to a UPS as of Windows XP, and I also used some old software initially provided with the product (prior to Windows 7). So if the inverter will stop in an orderly fashion, I'll find out when I pull either the plug or a power outage hits.

    Thank you again...

  • T200v server with Windows Small Business SERVER 2003

    Just ordered a server TS200v, can I install Windows Small Business SERVER 2003 on this server, or do I have to upgrade to Windows SBS 2008?

    Hello

    SBS2003 is not officially supported, I think that 2008 alone is. You can try but might be a problem with some drivers.

    J.

  • Windows Small Business Server 2011 - "windows setup cannot continue because a required driver could not be installed.

    Hello

    I try to install windows server enterprise on my hp proliant gen 8. I used smart supply and that everything was working fine, when switching to the windows installation it gets to 99% then comes up with the error:

    Windows Setup cannot continue because a required driver could not be installed

    I was wondering what I can do to solve this problem, I have tried several times without success. Thank you for your time.

    Hello

    Your Question is beyond the scope of this community.

    I suggest that repost you your question in the Forums of SBS.

    https://social.technet.Microsoft.com/forums/en-us/home?Forum=smallbusinessserver

    "Windows Small Business Server 2011 Essentials online help"

    https://msdn.Microsoft.com/en-us/library/home-client.aspx

    See you soon.

  • Disabling RC4 encryption in the Windows 2008 SP2 Server

    Hello

    I just saw through the 2868725 Ko to disable the RC4.

    According to the article, we need to install the KB update, then we need to change the values of registry keys to disable the RC4.

    However, I could not find the download for the Windows 2008 SP2 server file in the download link

    https://support.Microsoft.com/en-us/KB/2868725

    Any suggestion how to disable the RC4 in Windows 2008 SP2.

    Need help.

    Thanks in advance.

    Here is the link for the Microsoft TechNet forum:
    http://social.technet.Microsoft.com/forums/en-us/home?Forum=w7itpronetworking

    Several related to the server forum (not for Desktop/Win7)https://social.technet.microsoft.com/Forums/windowsserver/en-us/home?category=windowsserver

  • Windows Small Business Server 2011 Standard access to download

    Hello

    I need to access a copy of the Small Business Server 2011 Standard edition since the MSDN site, in order to help one of my clients.

    They have SBS 2011 standard installed on their network and I'm going to make some big changes to their network. To do this I need to access the installation (file ISO DVD) on MSDN disc. They have the product key, but not the original disks that were used to install SBS 2011 Std.

    Thank you for your help.

    Hello

    Your Question is beyond the scope of this community.

    I suggest that repost you your question in the Forums of SBS.

    https://social.technet.Microsoft.com/forums/en-us/home?Forum=smallbusinessserver

    "Windows Small Business Server 2011 Essentials online help"

    https://msdn.Microsoft.com/en-us/library/home-client.aspx

    See you soon.

  • WIndows 7 and Server 2008 machines won't remember preferences of network discovery, needs to set every time you start up or wake up.

    Hello

    I was wondering if anyone here could be kind enough to help me solve this situation

    I have two machines Windows 7 and Server 2008 machines remember preferences of network discovery.

    I use the software on the windows server that collects data and information to two windows 7 machines and discover the network is necessary for this purpose

    These machines are set up in an autonomous local network set up as a working group the only other points on the network are none based on PC hardware that fortunately, the server communicates with and reads the data of

    Once network discovery is defined for the network, the system works as expected, but on each startup (or wake up) network discovery is lost and need to be authorized. This is the case at the time windows server 20008 r2 and windows 7

    How can I make these permanent preferences. for that it restarts and re establish communication its self without intervention

    am I missing a setting or if not is there a way I can script the selection preference on each start (/wake) upwards.

    the end user must be able to turn on the system / restart and use it with needing to have any IT / networking of knowledge to the outside to get the system running.

    Thank you for taking the time to read my request

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Unexpected shutdown of Windows (blue screen)

    New installation of all-in-one Photosmart 6510 seemed to go fine (try USB first, since will have the ability to scan).  A page prints fine, but something about the synthesis immediately after (some final development communication, or maybe even the 'Rewards' popup?) causes the unexpected shutdown of Windows with the blue screen.  No further assistance was suggested by Windows.  No errors were detected by the doctor printer hp application that I downloaded.

    Hello

    First - just for your information, you can also scan using the wireless connection.

    If you have a new PC, maybe you have a USB 3.0 on this subject?

    If so, be sure to plug the printer into the USB 2.0 port as the HP device does not support the connection USB3.

  • Windows 2008 storage server shows 0 KB file size

    We use Windows 2008 storage server standard with Service Pack 2. Now we are facing the issue is Some of PDF, EXCEL, DOC files show in size 0 KB file, we are unable to open this type of file, if anyone knows pl give me the solution

    Hello

    I suggest you to ask your question on the link mentioned below that this forum is best suited for your question.

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/

    I hope this helps!

  • Windows 2003/2008 server Enterprise Edition 32-bit RAM OS compatibility issue.

    We just bought 2 servers architecture 64-bit with 16 GB RAM on each server blades. seller want to install windows server 2003/2008 Enterprise Edition 32 bit OS on these because of the compatibility of the applications server computers. I heard that windows 2003 32-bit server supported only 4 GB of RAM. So, in this scenario, another 12 GB of RAM will be unusable or full 16 GB of RAM will rely on this machine so install us windows 2003/2008 server enterprise R2 32 OSi. Also say us no other solution.

    Hello

    Your question of Windows 2003/2008 Server suitable for the IT Pro TechNet public. Please post your question in the Technet Forum. You can follow the link to your question:
    http://social.technet.Microsoft.com/forums/en-us/categories/

  • downloaded the trial version Microsoft Windows Small Business Server (SBS) 2011 Essentials to my laptop (Windows 7, IE 9) but now I can not understand how to open it

    (1) downloaded the evaluation version Microsoft Windows Small Business Server (SBS) 2011 Essentials to my laptop (Windows 7, IE 9) but now I can not understand how to open it

    (2) in addition, I want to assure you that I understand how the server works.  Is it just software?  No box to connect the computers up to?

    Hello

    The question you have posted is related to Small Business Server 2011. Please post your question in the Forums of Windows Small Business Server. Consult the following link:
    http://social.technet.Microsoft.com/forums/en-us/smallbusinessserver2011essentials/threads

    Hope this helps

  • Windows 2003 terminal server print spooler service stops frequently

    Windows 2003 terminal server print spooler service stops frequently

    Hello Vijay Bedre,

    Thanks for your post.  Please ask your question in the forum of Remote Desktop Services TechNet as they manage all the server related issues.

    See you soon

  • Can not put Windows Media says Server unavailable player security?

    Can not put Windows Media says Server unavailable player security?

    Hello

    You can download Windows Media Play Security Upgrade from the following link.

    The security component upgrade

  • Query for windows small business server 2008 SP1

    Hello

    I have windows small business Server 2008 SP1, I am installing the additional DC for windows small business server 2008 on another server, I gave the DC ip addr as 192.168.1.2 subnet 255.255.255.0 Gateway 192.168.1.1 and 192.168.1.2 dns. On another server where I am trying to install AD DC 192.168.1.3 ip subnet 255.255.255.0 Gateway 192.168.1.1 192.168.1.2 dns... By running the dcpromo and the replication active directory, the installation is in error during replication... the error is

    Active directory could not install,

    Replication failed to allocate memory.

    cmd prompt nslookup also displays the server ip and domain name. Then any body tell me, if we can install AD DC for small business server 2008, and how is this replication error could not allocate memory. How to solve this error.

    Your comments will be appreciated

    Hello

    I have windows small business Server 2008 SP1, I am installing the additional DC for windows small business server 2008 on another server, I gave the DC ip addr as 192.168.1.2 subnet 255.255.255.0 Gateway 192.168.1.1 and 192.168.1.2 dns. On another server where I am trying to install AD DC 192.168.1.3 ip subnet 255.255.255.0 Gateway 192.168.1.1 192.168.1.2 dns... By running the dcpromo and the replication active directory, the installation is in error during replication... the error is

    Active directory could not install,

    Replication failed to allocate memory.

    cmd prompt nslookup also displays the server ip and domain name. Then any body tell me, if we can install AD DC for small business server 2008, and how is this replication error could not allocate memory. How to solve this error.

    Your comments will be appreciated

    Hey AAAAAAAAAAAAtif

    It's an instance of vista installation

    Try the link below sbs forum

    This forum is for General Discussions on Small Business Server 2008, R2, 2003, 2003 SP1, 2003 and earlier versions. Gateway available NNTP Client if you wish to participate via a Newsgroup Reader. Read the sticky at the top of the forum Post.

    http://social.technet.Microsoft.com/forums/en/smallbusinessserver/threads

    Walter, the time zone traveller

  • Windows has recovered from an unexpected shutdown. Windows can check online for a solution to the problem. Problem event name: bluescreen

    Have had problems since 31/12/09.  Tech replaced Dell hard drive 14/01/10 because all software solutions did not resolve various problems, including the screen black and white letters indicating the mode without failure, or count down the regular opening.  System Restore has used several times, all software removed and replaced.  New Quickbooks reinstalled two times 10, it usually starts up quickly.  I was told not to turn it off, just let it run.  It automatically goes into sleep mode, it still does not start correctly.  Last message is that Windows has recovered from an unexpected shutdown;  Windows can check online for a solution to the problem.  Problem event name: bluescreen

    Windows has recovered from an unexpected shutdown.  Windows can check online for a solution to the problem.  Problem event name: bluescreen.

    Hi slopchop

    In the last few days have installed new programs? Or Anti Virus?

    Try the steps in this link and check:

    http://support.Microsoft.com/kb/958233

    http://support.Microsoft.com/kb/925810

    Also refer to:

    http://social.technet.Microsoft.com/forums/en-us/itprovistasetup/thread/0a28ca4a-82a2-465D-92ef-b471ae86c887

    http://social.technet.Microsoft.com/forums/en/itprovistaapps/thread/2e6991f4-7489-4D6F-A0B5-74de3d694d74

    After back and let us know if it helped to solve your problem.

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • Skype app on my new computer laptop with windows 8 does not properly

    I have following questions: 1. The Skype app is not always visible (earlier (in widows 7), he was part of the task bar and I could see if he had any message 2) When I click on open it does not open for long before, it was always on (part of startup)

  • Cannot access Deskjet 3050 has with Hp Envy M4

    I am trying to connect laptop Envy my daughter to a Deskjet 3050 x a M4. I downloaded the x recommended software from the HP driver software and when the software said installation was successful, I chose a recipe to print, but it does not print. I h

  • Can not scan several pages of Dell 964 Photo Scanner

    I have just upgraded to a new computer (Dell Precision 6300) using Vista and I am trying to scan several pages of my old Photo Dell 964 printer, which has a built-in scanner. My printer search the list of applications of scanning of my computer and d

  • 2 (network) Officejet from HP in different places. Still, it disconnects and needs to be reinstalled?

    I have a HP Officejet Pro 8500 A190 (network) at work and at home (network) the Office one works fine with laptop vista 32 bit to every time an XP PC. Whenever I go home the vista laptop doesn't see the printer at home and saves it as being offline.

  • Problems of ACS1113 SE & IP

    people thought I would let you know everything a problem I encountered with an ACS1113 SE sit in a DMZ Firewall 4.1 I had problems of connectivity with the box and had to go on-site and console on it only to find, he had lost his IP address I've reco