Re: execute commands from dom0 into domU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 11, 2010 at 01:05:53PM -0500, Steve Brueckner wrote:
> > On 03/11/2010 08:36 AM, Steve Brueckner wrote:
> > >> On Wed, Mar 10, 2010 at 09:58:56AM -0500, silviu d wrote:
> > >>>     Hello,
> > >>>
> > >>>     I was wondering if there is a way to execute commands
> > >> from dom0 into domU
> > >>>     without loging into domU with ssh.
> > >>>
> > >>
> > >> No, not really.
> > >>
> > >> Unless you build up some custom management tool that runs 
> > in the domU 
> > >> and monitors the xenstore for commands from dom0, and then 
> > executes 
> > >> them.
> > >>
> > >> -- Pasi
> > >
> > > What about the xen console?  I haven't used Xen in about a year, so 
> > > maybe it's gone?  We used to use the console to execute commands 
> > > inside domU from dom0 without using the network.
> > 
> > Xen console still exists but I think it only works for 
> > paravirt domUs because it relies on the xenconsole backend.
> 
> We were able to connect to HVMs as well using xen console.  To do so we
> had to set up the domU to listen for terminals on it's serial port.
>

Yes, both Xen PV and HVM guests have two types of consoles:

- text-only serial console
- graphical console

Virt-manager supports both of these types of consoles.

Xen "xm console <guest>" opens the text console.

virt-manager, virt-viewer or normal vnc viewer can be used
to view the graphical console.

-- Pasi

--
xen mailing list
xen@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux