mark wagner
2008-Mar-25 20:03 UTC
[Ovirt-devel] [Patch] reworked patch for developer version iscsi setup
Reworked per previous feedback: -mark -------------- next part -------------- A non-text attachment was scrubbed... Name: iscsiToo.patch Type: text/x-patch Size: 3951 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080325/44203018/attachment.bin>
Chris Lalancette
2008-Mar-25 21:24 UTC
[Ovirt-devel] [Patch] reworked patch for developer version iscsi setup
mark wagner wrote:> Reworked per previous feedback: > diff --git a/wui-appliance/devel-post.ks b/wui-appliance/devel-post.ks > index 3ce6239..cc04c4b 100644 > --- a/wui-appliance/devel-post.ks > +++ b/wui-appliance/devel-post.ks > @@ -230,3 +230,25 @@ esac > EOF > chmod +x /etc/init.d/ovirt-app-first-run > /sbin/chkconfig ovirt-app-first-run on > + > +# Setup the iscsi stuff to be ready on each boot. Since tgtadm does not use a config file > +# append what we need to the rc.local file. Note that this for the developers version only. > + > +cat >> /etc/rc.d/rc.local << \EOF > +# > +# Set up the fake iscsi targets > +tgtadm --lld iscsi --op new --mode target --tid 1 -T node3:disk1 > +tgtadm --lld iscsi --op new --mode target --tid 1 -T node4:disk1 > +tgtadm --lld iscsi --op new --mode target --tid 1 -T node5:disk1You don't need these last two lines, since I think they are overriding the target name. Plus we don't want to call it "node?:disk1" anymore; something like "ovirtpriv:storage" is a little better.> +# > +# Now associate them to the LVs > +# > +tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/VolGroup00/iSCSI3 > +tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 2 -b /dev/VolGroup00/iSCSI4 > +tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 3 -b /dev/VolGroup00/iSCSI5Now that we are using a single target with multiple LUNs, you can actually go back to calling them iSCSI1, iSCSI2, and iSCSI3 (since that now matches their LUN). Otherwise, looks good. Chris Lalancette
Hi Mark The installation appears to be complete - though there were some worrying messages, like dhcpd failed and failed to connect - however, I did see the "starting ovirt-app-first-run" message.. However, the guest is now asking from management login - and I havent been able to login as yet - none of my guesses have worked! What is the management login and password for the appliance? Thanks Susan -- Susan Burgess Content Author Red Hat APAC Level 2, 5 Gardner Close, Milton, QLD 4064 Australia Phone +61 7 3514 8179 Fax +61 7 3514 8199 Mail sburgess at redhat.com