Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Switch the virtual machine on and off after ssh logs in to the esxi machine

2025-04-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Switch the virtual machine on and off after ssh logs in to the esxi machine

Vim-cmd vmsvc/getallvms / View the information of all virtual machines on ESXi, mainly check the corresponding ID number of virtual machines.

Vmid Name File Guest OS Version Annotation

30 win2003-ERP [500G] win2003-test-1/win2003-test-1.vmx winNetEnterpriseGuest vmx-08

32 centos-1 [500G] centos-1/centos-1.vmx centosGuest vmx-08

34 centos-SMB [500G] centos/centos.vmx centosGuest vmx-08

38 nas [500G] nas/nas.vmx other26xLinuxGuest vmx-08

46 win2008-DC [500G] win2008/win2008.vmx winLonghornGuest vmx-08

49 CactiEZ10 [250G] CactiEZ10/CactiEZ10.vmx centosGuest vmx-08

59 freenas1 [250G] freenas1/freenas1.vmx freebsdGuest vmx-08

62 panabit [250G] panabit/panabit.vmx other26xLinuxGuest vmx-08

The virtual machine of vim-cmd vmsvc/power.on / corresponding ID starts immediately.

Vim-cmd vmsvc/power.shutdown 38 shuts down nas

Vim-cmd vmsvc/power.off 38 forcibly shuts down nas

Vim-cmd vmsvc/power.getstate 38 View the status of nas switch

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report