<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>During a discussion today, we discussed managing NIC configuration for managed nodes from within the server suite.</div><div><br></div><div>My understanding of how that would is:</div><div><br></div><div>1. managed node runs the awake script, notifying the server suite that it is awake.</div><div>2. managed node identifies all of its hardware</div><div>3. server suite generates a network configuration file based on what is in the nics table for this managed node</div><div>4. managed node pulls down this configuration</div><div>5. managed node configures its network interfaces based on the configuration</div><div><br></div><div>The main point brought up is that there is no guarantee that eth0 on one boot will be eth0 on the next boot. If a card should get moved, or a kernel upgrade should change the process order, then the interface name can change. As such, we have a challenge of deciding how to response when the interface name for a card changes between boots.</div><div><br></div><div>The responses that come to mind for me are:</div><div><br></div><div>1. server suite ignores the interface name in the db and uses what is sent up during identification; it sends an alert to the admin that the network has changed</div><div>2. server suite returns an error condition to the managed node, alerts the admin and shuts the managed node down </div><div>3. server suite returns no configuration file and alerts the admin that the managed node's network was not configured</div><div><br></div><div>#2 is pretty heavy handed. #1 seems a reasonable response on first blush, since it's assumed that the only thing different is the interface's name.</div><div><br></div><div>So, I'd like some input from everybody on what we ought to do. One suggestion that came up during our discussion was passing in some network configuration parameters with the boot parameters. I'll be honest, I'm not sure how we would go about that. But, if someone can help explain it to me, I'd be glad to explore that path.</div><div><br></div><div>Thoughts?</div><br>-- <br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div>Darryl L. Pierce, Sr. Software Engineer</div><div>Red Hat, Inc. - <a href="http://www.redhat.com">http://www.redhat.com</a>/</div><div>oVirt - Virtual Machine Management - <a href="http://www.ovirt.org">http://www.ovirt.org</a>/</div><div>"What do you care what other people think, Mr. Feynman?"</div><div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></body></html>