Re: [Fedora-xen] execute commands from dom0 into domU

2010-03-13 Thread Pasi Kärkkäinen
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 " 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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] execute commands from dom0 into domU

2010-03-11 Thread Steve Brueckner
> 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.
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] execute commands from dom0 into domU

2010-03-11 Thread Steve Brueckner
> 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.

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


Re: [Fedora-xen] execute commands from dom0 into domU

2010-03-10 Thread Pasi Kärkkäinen
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

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