VMWare APC UPS Network Shutdown

Hi guys

We install a HP VMware Server with server running two VM 2012. We have an APC smart UPS with network card and I would like to know how we can configure the APC software at the first stop each VM correctly, then the physical server.

Thank you

Never tried it myself, but I guess it doesn't. I remember a few scripted, the use of PuTTY/plink solution, but can not find the page now. Maybe it helps: No Joke IT: stop the VMS invited ESXi 5.1 and the host (free edition) via SSH - the simple way!

Here's another approach, but I don't know if it works with free license is: stops UPS charge for your ESXi with Centos Server | The helpful pirate

Tags: VMware

Similar Questions

  • RN214, RN NV + and APC UPS 1500

    Hello

    I try to configure my RN NV + and on the RN 214 (new) to find my UPS (1500 APC SmartUPS)

    I don't understand to work. The NV + to see the inverter with USB, but recently (since I was two traps) I went to a network management card in the ups.

    Can someone tell me exactly how to connect the two RN to the UPS for both of them can benefit from 'off' when necessary?

    The NV + a 192.168.2.3 RN

    The RN 214 has 192.168.2.5

    The ASI has 192.168.2.6

    Thanks for the info!

    The normal solution with two ReadyNAS is to connect a NAS to USB port of the inverter and then set up the second ReadyNAS to control the inverter if the directly connected NAS.

    For example, to connect the RN214 to the APC, click Settings UPS on the RN214 wheel and check 'enable the attached UPS network monitoring '. Then check the box the NV + 'Activate UPS physically attached to a ReadyNAS remote control' and enter the IP address of the RN214.

    You also want to make sure the two NAS are connected to the same router or switch, and the switch/router is also protected by the ups.

    One drawback is that the directly connected NAS should be on all the time.

  • DELL UPS Network Management Card firmware update is not possible in the management of inverter DELL Multi console

    I have a problem with the update of some old software on a DELL UPS Network Management card in DELL Multi UPS Management Console.

    We have a few more recent and some models with very old Firmware. The older firmware is: 01.02.0013
    I imported the update of the firmware: 01.16.0001
    If I select this version behind the inverter with firmware 01.02.0013 it is a red exclamation point.

    Also, I can't get to the this inverter https address.

    So I do not know how update the firmware of the network management card, please anyone who has a solution...

    .

    I got it finally working.

    I couldn't connect to the interface webGui of UPS in https on IE 6,7,8,9 and calibrated to an ssl error Firefox.
    I could not update the firmware using DELL UPS management software can. fatal error.

    I then installed Chrome, when connecting to the web GUI I ignored the warning of certificate error and waited...

    YES. The web Gui appeared, asking for the password and the Web GUI that I could install the firmware 01.14.0003

    After the update of the firmware in the webgui I was able to upgrade to 01.16.0001 in DELL UPS software Multi management.

  • Impossible to copy .vmware bundle on network drive (super slow).  Do not have this problem with other files.

    I'm just copying my pack of Windows 7 .vmware to a network drive so that it is saved.  It's only about 7 GB (expanding) and is divided into segments of 2 GB hard drive (the default installation option).

    When I try to copy the file via the Finder, he said something ridiculous like 9 hours left!  I have a GB 30 Parallels VM I created (fixed size disk and do not divide into 2GB pieces) in the evaluation of Parallels and I can copy this whole file back on the network in one hour.

    What gives?  Anyone have any ideas why I can't copy this particular file in a reasonable amount of time?  The virtual machine has been stopped (except some services run in the background on the start of OS X) and the host has restarted several times without success.

    Thoughts?

    Thank you!

    1 stop, suspend, not from inside Windows Virtual Machine target.

    2. on the Virtual Machine library Windows ctrl + click on the target of the Virtual Machine and select Show in Finder, and then close merger.

    3. in the Finder, ctrl - click on the target Virtual Machine package and select to display the contents of the package.

    4. in the Finder, delete the Applications folder from the target virtual machine package and then empty the trash.  (To be noted that the Applications folder within the target virtual machine package will be recreated as necessary).

    5. now try to copy the target Virtual Machine package.

  • ESXi 6.0 by APC UPS shutdown

    Dear community,

    According to specifications, APC, PCNS only works upwards to 5.5 VS. Someone has already tried with 6 VS? Or is there another way to stop free a host of 6 of ESXi through a UPS?

    Thank you and best regards,

    Jens Graven

    It works for me using the PCNS 4.0 and ESXi 6.0.0 2494585

  • Problem configuring APC UPS and VMA

    I recently bought an APC Smart UPS 1500 and the Network Management Card so that I can gracefully shutdown my ESXi 5 guests and guests when the UPS is on battery. I'm just following the instructions here http://nam-en.apc.com/app/answers/detail/a_id/11588/~/install-pcns-3.0.1-on-esxi-5.0-with-vma-5.0 . I have gotten stuck on page 55 where I check the communication. When I run the command 'vicfg-NIC - l' he asks me a username and password. I tried to use admin, root and vi-admin passwords possible, nothing helps. I always "error connecting to Server"https://localhost/sdk/webService': Connection refused ""

    Now if I plan a stop of the inverter, the agent of the APC on VMA shows he knows a stop that happening, but it does not stop is ESXi guests or hosts.

    Any advice would be appreciated.

    Thank you

    Andrew

    You must ensure that your server has been successfully added to vifp.

    sudo addserver vifp

    Make sure it is added:

    vifp mailing lists

    Then, run vifptarget s

    Then only the command 'vicfg-NIC-l' will work without additional options required.

    -KjB

  • VMware and UPS (power of groups)

    Someone at - it a configuration suggested for the use of VMware Workstation with a UPS?

    The configuration on which I set is to install the utility on the host Machine and the Virtual Machine (s) UPS.  The inverter is connected to the host via a USB port. The utility will stop the host on the blackout after n minutes.  To start a virtual machine it takes the reins of USB, for example, the UPS utility.

    On the power supply failure, i.e., on battery, the virtual machine is forced to suspend, releasing control of the inverter to the host Machine.  After a few minutes, the host machine is stopped by the UPS utility.  Logic looks good, although a bit convoluted.

    Hope my explanation is clear.

    Everybody brings something similar, something different?

    Concerning

    k

    In general, I don't have the physical host directly communicate with the ups.  In part it depends on what type of software your using UPS.  I have a Tripplite and it has a 'server' and a client application.  The server app is installed on the machine that is physically connected to the USB cable from the UPS.  The app server can send a stop signal to any computer that is running the client application.  If the physical host server application and my virtual machines have the client application.  I put the threshold for virtual machines to close earlier than the host.  (e.g.: 10% battery remaining closed when VMs.)  Host stops when 5% remaining).  This gives the VMs sufficient time to stop before the host stops.  (Most of the VMS I don't suspend).  No need to have to go the 'control' between the VM and the host.

    For other brands of UPS, they can call their version of the software a "network" version and sometimes is not on any CD included, but you need to download or pay for it.

  • Question APC UPS - using documents lamw and j.holland - VIMA ESXi 4.0

    Hi guys,.

    I've implemented our UPS with our ESXi server according to document (revision 4)

    http://VIOPS.VMware.com/home/docs/doc-1341/version/4

    Note

    that revision 4 of the document is not that scripted lamw,

    but using the ssh hack. Everything works beautifully when I invoke the

    script ups_shutdown manually from the console for ESXi does not support:

    #!/bin/bash
    VMID=$(/usr/bin/vim-cmd vmsvc/getallvms | grep -v Vmid | awk '{print $1}')
    
    for i in $VMID
    do
      STATE=$(/usr/bin/vim-cmd vmsvc/power.getstate $i | tail -1 | awk '{print $2}')
     
      if [ $STATE == on ]
      then
      
        /usr/bin/vim-cmd vmsvc/power.shutdown $i
    
      fi
    
    done
    
    sleep 30
    
    /sbin/shutdown.sh
    /sbin/poweroff
    

    First of all, to the right of the bat in the first line of the script throws and error (-file of ashes not found error). So I had to remove that (no idea why?).

    When I run this script from the (unsupported) ESXi console, all right, all the computers shut down virtual and, in the end, therefore the ESXi.

    When I run this script to VIMA (ssh to the console, remote script execution), only the VIMA machine stops. If I modify the above script does not close the VIMA, all virtual machines (except of course VIMA) stops and made the ESXi...

    VIMA is the first machine that gets shutdown - it has the Vmid lowest. It seems that this causes the rest of the script to stop running... How is that possible when in fact it is running on the ESXi Server?

    I'm pulling my hair out on this one (or what's left of them). Does anyone have an idea why it does not work...? lamw?

    Thanks in advance guys.

    Andrzej

    The reason why you should delete/bin/bash because ESXi 4.0 not supported console Busybox has more a symbolic link to/bin/Ash bash that resembles the bash environment, so that would make error if you try to specify the path that does not exist.

    About the scheduling of the production of vmsvc/getallvms, you can always do a grep - v on VIMA VM is not part of the list and have a separate condition which which will close at the end.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

  • WLC CISCO - VMWare and additional network ports

    Hello world

    Hardware wise, I managed a 8540 and a CISCO 5508 wireless lan controllers, so know around the GUI.

    With the release of the VMWare Cisco WLC, it is ideal for a development and test lab environment. However anyone who has used will know it out of the box it does support 2 network cards (one for service and the other for management / data).

    The question:

    How to add additional network ports? In VMWare, it's easy, but how do you get the CISCO config to recognize? I have searched the forums and other areas, but can't seem to find someone who did this.

    See you soon

    Christian

    Hello

    Yes you are right, you can use only 2 network cards on VmWLC. never tried adding other network cards.

    But what you want to do? Is to add a virtual interface on your WLC?

    If so, you can configure your VmWare interface as a trunk and then create all your WLC virtual interface by defining the id vlan. Which makes sense for you?

    Thank you

    PS: Please don't forget to rate and score as correct answer if this answered your question.

  • new to vmware, vsphere and networking vswitch

    Hi all

    I am new to virtualization, but decided to try it since my company is going full on ESXI5.5.  That is why I hope that some kind gurus here can point me in the right direction regarding some doubts I have... and do not forgive me if I ask ridiculous questions...

    ==========

    So far, I know that VMs, through their vNIC connect to vSwitch which is in turn connected to the physical machine or the host ESXI (vmnic) network card. The vmnic is then connected to a real L2/L3 switch.

    [VM Vnic] <>- [vswitch] <>- [vmnic] <>- [physical switch]

    However, what I don't understand is how the vmnic actually works to spread the traffic "inward" to the vswitch? I can't really come up with one question to explain my doubt, but below are the doubts that I asked myself->

    • How is he able to assign the IP off the internal virtual machines?
    • When an outer package of the physical switch is being sent to the vmnic how he spend in-house for internal virtual computers?
    • How even knows designated IP belong to a virtual machine inside and "inward" to happen to the vswitch?
    • Is the vmnic using address IP or MAC to decide if it means putting the package inside the switch?
    • When an arp request for a virtual machine IP is send from the outside, the vmnic will reply with its mac address?
    • When an arp request is sent from an internal virtual machine, the vmnic keep track of the mac address of the virtual machine so that next time, when he saw a response to this MAC, he knows inside 'before' the vSwitch
    • What is this work something like a 'bridge' mode fill the vswitch internal to the external physical switch? Is there a table of addresses belonging to the vmnic mac?
    • Whenever the IP of the virtual computer is assigned, the IP address will be "bind" to the vmnic?
    • How register us all IP or Mac addresses (if any) that are associated with a vmnic?

    Or rather simply, I wonder how the physical network adapter on the host (esxi), knows that he must transfer a frame "inward" to the vswitch? is there a link OF the virtual machine to the interface? or nic was a table of addresses mac or something... (but the mac address table guess belong to vswitch?)

    Thank you.

    Kind regards

    Noob

    Hello

    Welcome to the community!

    I would like to start with a doc. I recommend you to read our VMware Virtual Networking Concepts guide that I hope will help you to better understand the basic details of the virtual in VMware switch, even if it's a bit old.

    On your last question, however:

    > Or rather simply put, I wonder how the physical network adapter on the host (esxi), knows that he must transfer a frame "inward" to the vswitch? is there an IP link from the virtual machine to the interface? or nic was a table of addresses mac or something... (but the mac address table supposed to belong to vswitch?)

    The vminc (i.e. the physical card) on the ESXi host is not that there is a virtual switch behind it. It transfers the packets to the driver and then the top layer software it management. There is no magic to this topic. In some cases, there are a few added techniques (for example netqueue), but the basis remains the same. Vmnic (i.e. the physical NETWORK adapter card) does not keep the information of MAC address of the virtual machine on virtual machines, but does the vSwitch. But even the vSwitch does not retain details of the IP address.

    A virtual switch, as such, doesn't have the same kind of as a physical switch mac address table. If a virtual machine under tension then the vSwitch stores the virtual port <->combination MAC address number and keeps it like that (so far it's really no different a physical switch). A big difference is that, well that the vSwitch does not learn the MAC addresses of the external network. If there is a picture of outside with the MAC address of unicast for which there is no port isn't linked then the packet gets dropped. And if the virtual machine sends traffic to another MAC that does not exist in the virtual switch and then it will be sent out via the uplink (s) (if it exists).

    The MAC address of the vmnic does not play here (unless one of the vmkernel interface pulls his MAC to an adapter of uplink).

    I hope this helps. Let me know if you still have any questions.

    Roland

  • VmWare project - part network

    Hello

    Currently in charge of a VMWare project, I have a few questions before start me.

    Pour the conversation, how many vm can put it in a vswitch which is en teaming on 2 network cards?

    Comment grouping is managed with the HA failure?

    Thanks in advance.

    Yes, it's a basic function of the system. It is available on all versions before restyling.

  • VMWare Workstation 8 - network bridge

    VMware Workstation 8 on Win7 x 64.

    In Network Bridge Windows do not work. The virtual machine does not connect to the physical network.

    When I open the network Editor, the drop-down list "bridged to" don't show any VMware virtual network adapter...

    Abot any idea how to solve this problem?

    In Network Bridge Windows do not work. The virtual machine does not connect to the physical network.

    Please after the output of ipconfig/all from the host as well as comments (assuming that both are running Windows)

    When I open the network Editor, the drop-down list "bridged to" do not show any VMware virtual network adapter.

    That is right. You need to select this box is the physical adapter on the host, which is used for the virtual machine bridge traffic.

    Run any software firewall or on the host endpoint protection?

    André

  • APC Powerchute Network Shutdwon 3.0 for ESXi 4 U1

    Hi all

    Does anyone know how config APC PCNS3.0 for ESXi4 U1?

    I can stop the host, but the VM cannot automatically turns off. What is a config that I missed?

    Help, please

    You have to follow this guide?

    http://EMEA-en.APC.com/CI/fAttach/get/814452//session/L2F2LzEvdGltZS8xMzExMDAzNzc1L3NpZC80RlN3bGl6aw==

    If the judgment of the host goes off you can set comments VM stop in home / Configuration / startup & shutdown of the virtual computer.

    André

  • VMware, Windows XP, network access

    Is it possible to access \\vmwarehost\share from WinPE? I copied the drivers of VMware in the PE image and successfully, I can ping back & forth. I can share a directory manually from the windows machine, but involves changing the permissions.

    Whereas the sharing is available once started down to the BONE of the VMware image, is there a way to just map the \\vmware-host\share in WinPE? When cmd > net use Z: \\vmware-host\Downloads, it indicates the network path was not found. Z:\Downloads is mapped continuously in the VMware image settings.

    Notice that in the upper part of the Ko he say «Well that VMware Tools does not support Windows Preinstallation Environment.» However you can take advantage of the specific drivers of VMware Tools, such as (improved) vmxnet2 pvscsi and vmxnet3 by creating a custom ISO. »

    Missing from this list of drivers is the necessary HGFS (file host comments system) that is not installed in this way because it is no .inf file in the folder for them, and is required to access: \\vmware-host\...

  • How can ping virtual machine on VMware Server external network?

    In the Vmware infrastructure products you can can be crazy from the outside through their individual networks connections, which is a good thing... lol

    How this is possible on VMware Server when guests use the VMnet8 network that uses NAT?

    In many scenarios, the use of bypass is prohibited due to the policy defined at the level of the external switch, but it is still necessary for the basic functionality of ping. Otherwise, how they would be able to know if a virtual machine is actually up to who answered the questionnaire on the network without entering actual connections to such hosts?

    You're right - that's how NAT works (whether via a service such as the VMware NAT service software or a hardware router/firewall NAT).  All computers behind the NAT server are hidden from the outside world (unless you map specific ports to the specific IP address of a computer)... they are so NOT to pings from the outside.

Maybe you are looking for