<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi Fabian,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">I have now a setup like this:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times,
serif; background-color: transparent; font-style: normal;"> +-----------+ +--------------------+</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"> | ovirt-shell | ---- network ---------| stateless node |</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">+------------+ +-------------------+</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style:
normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">A few more questions:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">1. Where is the source to build this image? <span style="font-size: 12pt;">ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso. Is it the same as </span><span style="background-color: rgb(136, 136, 136); color: rgb(238, 238, 238); font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; line-height: 20px; white-space: pre-wrap;">http://gerrit.ovirt.org/p/ovirt-node.git?</span></div><div><br></div><div
style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">2. I am a little confused by the kernel parameter rhevm_admin_password and management_server. Are they used by ovirt-shell to connect to the ovirt-node? For example in ovirt-shell, should I use "connect --url http://<ovirt-node-ip-addr>:8080/api --user "user@domain" --password "rhevm_admin_password"? Also in this command line, what's "user@domain" and where do I specify "user" and "domain"?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px;
font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Thanks.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Fabian Deutsch <fabiand@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> David Li
<david_li@sbcglobal.net> <br><b><span style="font-weight: bold;">Cc:</span></b> "users@ovirt.org" <users@ovirt.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, December 12, 2013 7:40 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Users] How to pxeboot ovrit node into memory automatically?<br> </font> </div> <div class="y_msg_container"><br>
Am Mittwoch, den 11.12.2013, 17:32 -0800 schrieb David Li:<br>> Hi Fabian,<br>> <br>> I booted the new node stateless. But how can connect to it from ovirt<br>> engine cli? The cli asks for three things: URL, user name and<br>> password. I am not sure how to put them on the kernel boot option<br>> line.<br>> <br>> David<br>> <br>> <br>> <br><br>Hey David,<br><br>please take a look here to find the correct cmdline:<br><a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation.html"
target="_blank">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation.html</a><br><br>- fabian<br><br>> <br>> ______________________________________________________________________<br>> From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com" href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>>; <br>> To: David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>>; <br>> Cc: <a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a> <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>>; <br>> Subject: Re: [Users] How to pxeboot ovrit node into memory<br>> automatically? <br>> Sent:
Wed, Dec 11, 2013 8:00:40 AM <br>> <br>> <br>> Am Dienstag, den 10.12.2013, 16:00 -0800 schrieb David Li:<br>> > Hi Fabian,<br>> > <br>> > <br>> > Does the stateless ovirt node have the VDSM built-in? <br>> <br>> Hey David,<br>> <br>> stateless is a feature or a special mode of oVirt Node which is also<br>> available on the "oVirt Node for oVirt Engine" image [1].<br>> But please note that you will have to approve the Node in Engine after<br>> each reboot if you use the stateless feature. This bug [2] might also<br>> tackle the problem of a stateless Node.<br>> <br>> - fabian<br>> <br>> --<br>> [1]<br>> http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso<br>> [2] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=875088" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=875088</a><br>> <br>> > <br>> > David<br>> >
<br>> > <br>> ><br>> ______________________________________________________________<br>> > From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com" href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>> <br>> > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>> <br>> > Sent: Thursday, December 5, 2013 11:47 PM<br>> > Subject: Re: [Users] How to pxeboot ovrit node into memory<br>> > automatically?<br>> >
<br>> > <br>> > Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li:<br>> > > Hi Fabian,<br>> > > <br>> > > I think the bad route is a link local route 169.254.0.0/16.<br>> > I am not quite sure if it's a real bug but in my case I have<br>> > to remove this route.<br>> > > Also I am using ramdisk based node without a local disk.<br>> Can<br>> > anything be persisted? <br>> > <br>> > Hey David,<br>> > <br>> > when you refer to stateless mode, then no, nothing can be<br>> >
persisted.<br>> > Regarding the bug - Please provide the whole cmdline you are<br>> > using to<br>> > boot the node, to give me a chance to reproduce it.<br>> > <br>> > - fabian<br>> > <br>> > > David<br>> > > <br>> > > <br>> > > <br>> > > ----- Original Message -----<br>> > > > From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com" href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > > > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net"
href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > > > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br>> > > > Sent: Wednesday, December 4, 2013 11:17 AM<br>> > > > Subject: Re: [Users] How to pxeboot ovrit node into<br>> memory<br>> > automatically?<br>> > > > <br>> > > > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li:<br>> > > >> Hi Fabian,<br>> > > >> <br>> > > >> Everytime the ovirt node boots up, it adds a
route<br>> entry<br>> > that I have to <br>> > > > manually remove. Otherwise it messed up my routing. <br>> > > >> How do I modify the boot scripts to automatically<br>> remove<br>> > it?<br>> > > > <br>> > > > Hey David,<br>> > > > <br>> > > > could you file a bug for that route problem?<br>> > > > <br>> > > > You can try the following workaround:<br>> > > > <br>> > > > # Create /etc/rc.d/rc.local with the commands to run<br>> > > > $ vi
/etc/rc.d/rc.local<br>> > > > $ chmod a+x /etc/rc.d/rc.local<br>> > > > $ persist /etc/rc.d/rc.local<br>> > > > <br>> > > > /etc/rc.d/rc.local should then be run on every boot.<br>> > > > <br>> > > > - fabian<br>> > > > <br>> > > >> ----- Original Message -----<br>> > > >> > From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com" href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > > >> > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net"
href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > > >> > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br>> > > >> > Sent: Monday, October 28, 2013 7:45 AM<br>> > > >> > Subject: Re: [Users] How to pxeboot ovrit node into<br>> > memory <br>> > > > automatically?<br>> > > >> > <br>> > > >> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb David<br>> > Li:<br>> > > >> >> <br>>
> > >> >> Hi Fabian,<br>> > > >> >> <br>> > > >> >> Yes rootpwd worked too! Thanks.<br>> > > >> >> <br>> > > >> >> Two new problems:<br>> > > >> >> <br>> > > >> >> But I found there is no networking for the<br>> stateless<br>> > node.<br>> > > >> >> What kernel boot options are used to either use<br>> DHCP<br>> > or <br>> > > > statically <br>> > >
>> > configure the IP address for an interface on the<br>> node?<br>> > > >> >> <br>> > > >> >> I also need to have the sshd enabled. Is there a<br>> > kernel option <br>> > > > for that?<br>> > > >> > <br>> > > >> > Hey David,<br>> > > >> > <br>> > > >> > here you can find all the supported boot params in<br>> > ovirt node:<br>> > > >> > <br>> > > ><br>> ><br>> <a
href="http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-functions.sh.in;h=c4280caefb89c77afc1e8bec8c925aa7f3039733;hb=HEAD#l214" target="_blank">http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-functions.sh.in;h=c4280caefb89c77afc1e8bec8c925aa7f3039733;hb=HEAD#l214</a><br>> > > >> > <br>> > > >> > Greetings<br>> > > >> > fabian<br>> > > >> > <br>> > > >> >> David<br>> > > >> >> <br>> > > >> >> <br>> > > >> >> <br>> > > >> >>
----- Original Message -----<br>> > > >> >> > From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com" href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > > >> >> > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > > >> >> > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br>> > > >> >> > Sent: Friday, October 25, 2013 9:10 AM<br>> > > >> >> > Subject: Re: [Users] How to pxeboot ovrit node<br>>
> into memory <br>> > > >> > automatically?<br>> > > >> >> > <br>> > > >> >> > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb<br>> > David Li:<br>> > > >> >> >> Hi Fabian,<br>> > > >> >> >> <br>> > > >> >> >> That kernel option worked for me! The node is<br>> > booted <br>> > > > up in RAM. <br>> > > >> > Thanks!<br>> > > >>
>> >> <br>> > > >> >> >> My next question is:<br>> > > >> >> >> How do I specify the root login and passwd as<br>> > boot <br>> > > > parameters? <br>> > > >> >> > <br>> > > >> >> > Hey David.<br>> > > >> >> > <br>> > > >> >> > Nice that it worked! Were you able to register to<br>> > the <br>> > > > Engine?<br>> > > >> >> > <br>> >
> >> >> > You can use the adminpw= and rootpw= kernel<br>> > arguments to set <br>> > > > <br>> > > >> > passwords.<br>> > > >> >> > use<br>> > > >> >> > $ openssl passwd -salt 42<br>> > > >> >> > to create one or two passwords<br>> > > >> >> > <br>> > > >> >> > Greetings<br>> > > >> >> > fabian<br>> > > >> >> > <br>> > >
>> >> >> David<br>> > > >> >> >> <br>> > > >> >> >> <br>> > > >> >> >> <br>> > > >> >> >> <br>> > > >> >> >> ----- Original Message -----<br>> > > >> >> >> > From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com" href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > > >> >> >> > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>>
> > >> >> >> > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <br>> > > > <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br>> > > >> >> >> > Sent: Thursday, October 24, 2013 11:47 PM<br>> > > >> >> >> > Subject: Re: [Users] How to pxeboot ovrit<br>> > node <br>> > > > into memory <br>> > > >> >> > automatically?<br>> > > >> >> >> > <br>> > > >>
>> >> > Am Donnerstag, den 24.10.2013, 16:26 -0700<br>> > schrieb <br>> > > > David Li:<br>> > > >> >> >> >> Hi,<br>> > > >> >> >> >> <br>> > > >> >> >> >> I was following the instructions at <br>> > > >> >> > <a href="http://www.ovirt.org/Node_PXE" target="_blank">http://www.ovirt.org/Node_PXE</a>. My goal <br>> > > >> >> >> > is to use pxeboot (iPXE) to boot the node<br>> > entirely <br>> > > > into RAM
<br>> > > >> > with <br>> > > >> >> > rootfs. What I <br>> > > >> >> >> > got now is an installation screen which<br>> > requires a <br>> > > > local <br>> > > >> > storage. My <br>> > > >> >> > system has <br>> > > >> >> >> > no disk and this doesn't quite work for me. <br>> > > >> >> >> >> <br>> > > >> >> >> >> What's are the kernel parameters I need
<br>> > > > to use to <br>> > > >> > boot the <br>> > > >> >> > node into <br>> > > >> >> >> > RAM automatically? I am OK as the first step<br>> > with <br>> > > > a <br>> > > >> > stateless node. <br>> > > >> >> >> > <br>> > > >> >> >> > Hey David,<br>> > > >> >> >> > <br>> > > >> >> >> > the stateless mode
is currently not<br>> > completely <br>> > > > working with <br>> > > >> > oVirt<br>> > > >> >> >> > Engine. That means a Node needs to be<br>> > approved <br>> > > > each time it <br>> > > >> > boots into<br>> > > >> >> >> > the stateless mode.<br>> > > >> >> >> > The stateless mode can be entered by<br>> > appending <br>> > > > stateless to <br>> > > >> > the <br>>
> > >> >> > default<br>> > > >> >> >> > kernel arguments.<br>> > > >> >> >> > <br>> > > >> >> >> > Greetings<br>> > > >> >> >> > fabian<br>> > > >> >> >> > <br>> > > >> >> > <br>> > > >> > <br>> > > > <br>> > <br>> > <br>> > <br>> > <br>>
<br>> <br><br><br><br></div> </div> </div> </blockquote></div> </div></body></html>