{"id":522,"date":"2015-04-14T14:27:06","date_gmt":"2015-04-14T12:27:06","guid":{"rendered":"https:\/\/blog.4-it.net\/?p=522"},"modified":"2015-04-14T14:30:16","modified_gmt":"2015-04-14T12:30:16","slug":"esxi-und-usv","status":"publish","type":"post","link":"https:\/\/blog.4-it.net\/?p=522","title":{"rendered":"ESXi und USV"},"content":{"rendered":"<p>1.) connect your upc&#8217;s usb cable to the esxi host<br \/>\n2.) in your vi-client add 2 devices to the vm that should control the upc, first an usb controller, secondly an usb device (and choose your upc)<br \/>\n3.) install the upc&#8217;s software on you vm, the software should now be able to communicate with your upc<br \/>\n4.) download plink.exe and place it where your upc software can use it<br \/>\n5.) in the same folder create a shutdown_vms.bat with this content: plink.exe -l root -pw youresxirootpassword youresxihostnameorip .\/shutdownvms.sh &amp;<br \/>\n6.) in the same folder create a shutdownvms.sh with this content:<br \/>\n#!\/bin\/sh<br \/>\nvim-cmd vmsvc\/getallvms | cut -d&#8216; &#8218; -f1 | tail -n +2 | xargs -r -n1 vim-cmd vmsvc\/power.shutdown<br \/>\nsleep 180<br \/>\nvim-cmd vmsvc\/getallvms | cut -d&#8216; &#8218; -f1 | tail -n +2 | xargs -r -n1 vim-cmd vmsvc\/power.off<br \/>\n.\/shutdown.sh<br \/>\n7.) tell the upc software to start the shutdown_vms.bat in case of emergency<\/p>\n<p>Quelle: https:\/\/communities.vmware.com\/message\/950650<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.) connect your upc&#8217;s usb cable to the esxi host 2.) in your vi-client add 2 devices to the vm that should control the upc, first an usb controller, secondly an usb device (and choose your upc) 3.) install the upc&#8217;s software on you vm, the software should now be able to communicate with your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,7],"tags":[],"class_list":["post-522","post","type-post","status-publish","format-standard","hentry","category-tools","category-virtualisierung"],"_links":{"self":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=522"}],"version-history":[{"count":4,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/522\/revisions"}],"predecessor-version":[{"id":526,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/522\/revisions\/526"}],"wp:attachment":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}