[kwlug-disc] Multiple NICs on Ubuntu Server 14.04

CrankyOldBugger crankyoldbugger at gmail.com
Tue Aug 19 15:24:43 EDT 2014


Ok, more progress..

I gave up on the tools I was using yesterday.  "Europa" is there and
running but completely dead-stick.  So I did a little more digging and
found "UVTOOL", which seems to be much easier.  I was able to quickly
download an image from the cloud and then built a VM with it.  I could
connect to the VM with no issues, until I changed the VM's IP and that
seemed to mess things up.  But I now have a "proof of concept" and I will
try to show a little more planning before building the next VM.  I'm going
to try to erase all of the files connected to the latest VM and start with
a clean slate.

I need to find a way to wipe Europa from the host cleanly (the files are
gone but it still shows up under uvt-kvm list).  Despite the failures this
is still fun!

Thanks to the gang for the great help so far!  I will update you as things
progress.



On 18 August 2014 16:24, Khalid Baheyeldin <kb at 2bits.com> wrote:

>
> You should either get a connection to the console of a running instance,
> or get a message saying "waiting for guest domain to start".
>
> If you get "cannot find guest domain x", then that VM is not defined.
>
> If you get the "Unable to connect to libvirt", this means that the current
> user on the local machine cannot login via ssh to the remote host.
>
> Are you running KVM on a remote host or you local machine?
>
>
>
>
> On Mon, Aug 18, 2014 at 4:18 PM, CrankyOldBugger <
> crankyoldbugger at gmail.com> wrote:
>
>> No, sorry, still won't work.  I tried it from the server command line,
>> ssh to the server from an Ubuntu desktop, even from within a terminal in
>> Ubuntu desktop.
>>
>> The last option, which was run from a GUI, gave the error "Unable to
>> connect to libvirt with URI qemu+ssh//10.42.1.80/system" .  The CLI
>> versions all complained that they "Cannot open display".
>>
>>
>>
>> On 18 August 2014 15:56, Khalid Baheyeldin <kb at 2bits.com> wrote:
>>
>>>
>>>
>>>
>>> On Mon, Aug 18, 2014 at 3:44 PM, CrankyOldBugger <
>>> crankyoldbugger at gmail.com> wrote:
>>>
>>>> Now this is where I am stuck.  Virt-manager is pretty much useless (you
>>>> run it and it just goes away)  and virt-viewer is crying about not being
>>>> able to find the Display (I am running Ubuntu Server, which is CLI only.
>>>>  Is that the problem?)
>>>>
>>>
>>> Try explicitly specifying the connection.
>>>
>>> If KVM/libvirt are running on the local machine do:
>>>
>>> $ virt-viewer -c qemu:///system europa
>>>
>>> If KVM/libvirt are running on a remote machine do:
>>>
>>> $ virt-viewer -c qemu+ssh://server_name/system europa
>>> (Assuming that you have ssh access to the remote machine called
>>> server_name).
>>>
>>>
>>>
>>>>   I'm still trying to get past this issue and actually see the VM.
>>>>  I'll let you know how that goes.  If I knew europa's IP or something that
>>>> I could connect to...
>>>>
>>>
>>> One of the above should get you a console, and from there you can login,
>>> then do ifconfig to know what IP address it uses.
>>>
>>> --
>>> Khalid M. Baheyeldin
>>> 2bits.com, Inc.
>>> Fast Reliable Drupal
>>> Drupal optimization, development, customization and consulting.
>>> Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
>>> Simplicity is the ultimate sophistication. --   Leonardo da Vinci
>>> For every complex problem, there is an answer that is clear, simple, and
>>> wrong." -- H.L. Mencken
>>>
>>> _______________________________________________
>>> kwlug-disc mailing list
>>> kwlug-disc at kwlug.org
>>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>>>
>>>
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>>
>>
>
>
> --
> Khalid M. Baheyeldin
> 2bits.com, Inc.
> Fast Reliable Drupal
> Drupal optimization, development, customization and consulting.
> Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
> Simplicity is the ultimate sophistication. --   Leonardo da Vinci
> For every complex problem, there is an answer that is clear, simple, and
> wrong." -- H.L. Mencken
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20140819/2f8cc644/attachment.htm>


More information about the kwlug-disc mailing list