Results 1 to 3 of 3

Thread: KVM qemu+tls

  1. #1
    Join Date
    Aug 2010
    Location
    Derbyshire
    Beans
    29

    KVM qemu+tls

    Hi All

    Can anyone give me some steps in setting up virsh so that it will migrate a guest using passwordless qemu+tls?

    I can successfully migrate my guests using

    Code:
    virsh migrate --live lucidtest qemu+ssh://john@vm/system


    But the password prompt prevents me from writing a heartbeat script.

    All the docs I can find refer to TLS administration of guests, which isn't what I'm looking for. I guess what I need is actually less complex than that, i.e. just two servers who trust each other through TLS.

    TIA

    John

  2. #2
    Join Date
    Jul 2008
    Beans
    115
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: KVM qemu+tls

    Option 1 : use ssh rsa keys for authentication. It won't ask for password

    Option 2 : http://wiki.libvirt.org/page/TLSCreateCACertSteps . Note that this was pending a tech accuracy review a few days ago, but it should get you on the right track

  3. #3
    Join Date
    Aug 2010
    Location
    Derbyshire
    Beans
    29

    Re: KVM qemu+tls

    How'd I miss that doc?

    I used ssh keys but ran into problematic aspects of user permissions. Hopefully TLS will remove the user issue. Thanks for this I'll give it a go

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •