From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yu-An(Victor) Chen" Subject: Problem setting up HVM ubuntu guest with Remus Date: Fri, 26 Feb 2016 21:08:39 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0552436093096140038==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============0552436093096140038== Content-Type: multipart/alternative; boundary=001a11c12d2ca5d2fb052cb9682e --001a11c12d2ca5d2fb052cb9682e Content-Type: text/plain; charset=UTF-8 Hi, I was able to follow the instruction on http://wiki.xenproject.org/wiki/Install_Xen_4.2.1_with_Remus_and_DRBD_on_Ubuntu_12.10 to get a working Remus with PV guests. But now I am trying to do the same thing but for HVM guests. So I created a HVM guest on Xen by following https://help.ubuntu.com/community/Xen with the disk location pointing to a logical volume I created name "ubuntu-hvm" under volume group name "gpu2" After that I did "drbdadm create-md ubuntu-hvm" I also edited the /etc/drbd.d/SystemHA_protoD.res so that the disk is pointing to the location where I install and setup the hvm guest. Now I have the drbd connetced between 2 servers. So I edit the .cfg file for the guest U from disk = ['phy:/dev/gpu2/ubuntu-hvm,hda,w','file:/root/ubuntu-12.04.5-server-amd64.iso,hdc:cdrom,r'] to disk = [''drbd:ubuntu-hvm,hda,w''] but when I xm create the guest VM, it told me that "Boot from Hard Disk failed: could not read the boot disk" and short after the HVM guest U is shutdown. Please let me know if you need anymore details. Thank you! Victor --001a11c12d2ca5d2fb052cb9682e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I was able to follow the instructio= n on=C2=A0http://wiki.xenproject.org/wiki/Install_Xe= n_4.2.1_with_Remus_and_DRBD_on_Ubuntu_12.10=C2=A0 to get a working Remu= s with PV guests.=C2=A0

But now I am trying to do = the same thing but for HVM guests. So I created a HVM guest on Xen by follo= wing=C2=A0https://help.ub= untu.com/community/Xen=C2=A0with the disk location pointing to a logica= l volume I created name "ubuntu-hvm" under volume group name &quo= t;gpu2"

After that I did "drbdadm create= -md ubuntu-hvm"

I also edited the=C2=A0/etc/drbd.d/SystemHA_pro= toD.res=C2=A0so that the disk is pointing to the location where I in= stall and setup the hvm guest.=C2=A0

Now I have th= e drbd connetced between 2 servers.=C2=A0

So I edi= t the .cfg file for the guest U from=C2=A0

disk = =3D ['phy:/dev/gpu2/ubuntu-hvm,hda,w','file:/root/ubuntu-12.04.= 5-server-amd64.iso,hdc:cdrom,r']

to=C2=A0<= /div>

disk =3D [''drbd:ubuntu-hvm,hda,w'= ;']

but when I xm create the guest VM, i= t told me that "Boot from Hard Disk failed: could not read the boot di= sk" and short after the HVM guest U is shutdown.=C2=A0

<= /div>
Please let me know if you need anymore details. Thank you!
<= div>
Victor






--001a11c12d2ca5d2fb052cb9682e-- --===============0552436093096140038== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============0552436093096140038==--