Is there a way to manage hyper-v hosts from Linux machines ?

Beantwortet Is there a way to manage hyper-v hosts from Linux machines ?

  • Donnerstag, 17. Januar 2013 23:18
     
     
    I am looking from something similar to Vmware vicfg-hostops and vmrun cmd that I can use from Linux machines.


Alle Antworten

  • Freitag, 18. Januar 2013 04:51
     
     
    i assume you are looking to use RDP to a linux virtual machine?

    Windows MVP, XP, Vista, 7 and 8. More people have climbed Everest than having 3 MVP's on the wall.

    Hardcore Games, Legendary is the only Way to Play

    Developer | Windows IT | Chess | Economics | Vegan Advocate | PC Reviews

  • Freitag, 18. Januar 2013 05:24
     
     Beantwortet

    I doubt your going to find anything that will allow you to manage Hyper-V from a Linux box. Windows services have historically been difficult to manage from Linux.

    If you run Linux on your management workstation, you're probably better off setting up a Win 7 or Win 8 VM on the machine that contains all your management utilities or use some sort of enterprise VDI solution if you have access to one.

    Probably not the answer you want to hear, but your going to save yourself some headaches trying to get it working.

  • Dienstag, 22. Januar 2013 18:21
     
     
    Actually I would like to issue a request to Hyper-V from  one Linux VM to  stop another Linux VM.
    • Bearbeitet innal Dienstag, 22. Januar 2013 18:24
    •  
  • Dienstag, 22. Januar 2013 18:25
     
     
    This is actually interaction between two LINUX Vms.
  • Dienstag, 22. Januar 2013 20:01
     
     Beantwortet Enthält Code

    you can use RDP to a linux CVM by installing some software on the linux platform

    depending on your distribution it may vary

    sudo apt-get install xrdp

    if you are using a different package manager then consult the man pages


    Windows MVP, XP, Vista, 7 and 8. More people have climbed Everest than having 3 MVP's on the wall.

    Hardcore Games, Legendary is the only Way to Play

    Developer | Windows IT | Chess | Economics | Vegan Advocate | PC Reviews

  • Mittwoch, 23. Januar 2013 18:32
     
     

    Sorry I did not make myself clear here. I am looking for an ability to issue a command from a Linux machine to the host that is running Linux VM to start/stop that VM.

           Thansk for your help

  • Mittwoch, 23. Januar 2013 19:44
     
     Beantwortet

    Hi!

    Like Vegan Fanatic wrote, remoting a Hyper-V host through the RDP protocol is one way to achieve that.

    If you're running server type linux VMs without GUI, your best (and probably only) bet would be with a linux software equivalent to PSExec, for example something like cygwin, winexe or openssh.

    Anyway you choose to set this up, the only way to get this to work is through network, so the VM and host must be able to see each other on network. Then you should be able to remotely execute VB scripts on your host from linux over ethernet.

    This is only theoretical, I haven't tried this. There are no Hyper-V admin tools available for linux that I know of.

  • Mittwoch, 23. Januar 2013 20:37
     
     

    I have a windows based mobile machine, and I can run an entire data center with it.

    even if the datacenter is all linux based, not a problem


    Windows MVP, XP, Vista, 7 and 8. More people have climbed Everest than having 3 MVP's on the wall.

    Hardcore Games, Legendary is the only Way to Play

    Developer | Windows IT | Chess | Economics | Vegan Advocate | PC Reviews