-1

Is there any alternative to configure and install many vms and manage them on a remote machine running on ubuntu 12.04 using XEN.we have to configure vm on a remote machine through ssh.can it be done with out GUI??

Nils
  • 7,657
  • 3
  • 31
  • 71
ananthan
  • 1,490
  • 1
  • 17
  • 27

2 Answers2

2

Sure. There are many ways to do this.

  • Clone an existing image (with dd, cp or rsync)
  • run the full installation of the DomU in text-mode
  • use xm console to connect to the text-console

But why do you want to do this without gui? You can log into your Dom0 with ssh -X and then start virt-manager.

Nils
  • 7,657
  • 3
  • 31
  • 71
  • Thanks alot for your suggestion..Based on ur suggestion I tried X11 forwarding(ssh -x) but i am getting a lot of error while doing it as mentioned here can u help me please,, http://serverfault.com/questions/392616/managing-xen-through-virt-manager-on-ubuntu-12-04 – ananthan May 25 '12 at 11:43
  • @user113505 in that case you will be propably faster with mxrx-answer - go for `virt-install`. I had no clue that virt-manager does not work on Ubuntu... – Nils May 26 '12 at 20:17
0

Yes - you can use virt-install. Check out http://manpages.ubuntu.com/manpages/intrepid/man1/virt-install.1.html - which both explains the command and provides some handy examples.

rnxrx
  • 8,103
  • 3
  • 20
  • 30