[Users] Unbundle bond0 which virtmgmt is attached

---450561345-899234904-1390087042=:80394 Content-Type: text/plain; charset=us-ascii Hi, FAQ type of question. If virtmgmt is assigned to bond0, which is composed of eth0 and eth1, what is the best way to "unbundle" eth1 from bond0? Will ---450561345-899234904-1390087042=:80394 Content-Type: text/html; charset=us-ascii <html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">Hi,<br><br>FAQ type of question.<br><br>If virtmgmt is assigned to bond0, which is composed of eth0 and eth1, what is the best way to "unbundle" eth1 from bond0?<br><br>Will<br></div></body></html> ---450561345-899234904-1390087042=:80394--

On Sat, Jan 18, 2014 at 03:17:22PM -0800, William Kwan wrote:
Hi,
FAQ type of question.
If virtmgmt is assigned to bond0, which is composed of eth0 and eth1, what is the best way to "unbundle" eth1 from bond0?
I'd say: - Move the host to maintanence, so it runs no VMs and does not play SPM role. - Use the Setup Network dialog to brake the bond and define ovirtmgmt directly on top of eth0. The Engine/Vdsm connection should survive this kind of change (unlike a change of management address or vlan). If the host uses a special storage domain, or is not SPM, you could even do that while VMs are running.

---645100006-117757308-1390142955=:47023 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks a lot!=A0 It is a good pointer, it is working.=A0 =0A=0AI'm not sure= this is a dumb error from a new user.=A0 When I change the network configu= ration on the first system, I checked the "save network configuration". It = didnt' work and dropped the connection to the system. =0A=0A1. I had both s= ystems in maintenance mode=0A2. from "hosts", picked one of the system, "se= tup host networks"=0A3. Right clicked on eth1, "Remove eth0 from Bond"=0A4.= at this point, ovirtmgmt was on the right hand side listed as "Unassigned = Logical networks"=0A5. I dragged it back to assign it to eth0=0A6. checked = save network configuration=0A6. clicked OK and connection is dropped=0A=0AO= dd... ON the console, I saw the followings=0Abonding: unable to remove non-= existent slave eth0 for bond bond0.=0Abonding: unable to remove non-existen= t slave eth1 for bond bond0.=0A=0A`/etc/init.d/network restart` and I got b= ond0 back.=A0 I redo the whole process without "save network configuration"= and it worked fine.=A0 I did this on the 2nd system and it worked fine als= o.=0A=0A=0AWill=0A=0A=A0=0A=0A=0A=0A=0A=0AOn Saturday, January 18, 2014 7:5= 6 PM, Dan Kenigsberg <danken@redhat.com> wrote:=0A =0AOn Sat, Jan 18, 2014 = at 03:17:22PM -0800, William Kwan wrote:=0A=0A> Hi,=0A> =0A> FAQ type of qu= estion.=0A> =0A> If virtmgmt is assigned to bond0, which is composed of eth= 0 and eth1, what is the best way to "unbundle" eth1 from bond0?=0A=0AI'd sa= y:=0A- Move the host to maintanence, so it runs no VMs and does not play SP= M=0A=A0 role.=0A- Use the Setup Network dialog to brake the bond and define= ovirtmgmt=0A=A0 directly on top of eth0. The Engine/Vdsm connection should= survive=0A=A0 this kind of change (unlike a change of management address o= r vlan).=0A=0AIf the host uses a special storage domain, or is not SPM, you= could even=0Ado that while VMs are running. ---645100006-117757308-1390142955=:47023 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:Co= urier New, courier, monaco, monospace, sans-serif;font-size:10pt">Thanks a = lot! It is a good pointer, it is working. <br><br>I'm not sure = this is a dumb error from a new user. When I change the network confi= guration on the first system, I checked the "save network configuration". I= t didnt' work and dropped the connection to the system. <br><br>1. I had bo= th systems in maintenance mode<br>2. from "hosts", picked one of the system= , "setup host networks"<br>3. Right clicked on eth1, "Remove eth0 from Bond= "<br>4. at this point, ovirtmgmt was on the right hand side listed as "Unas= signed Logical networks"<br>5. I dragged it back to assign it to eth0<br>6.= checked save network configuration<br>6. clicked OK and connection is drop= ped<br><br>Odd... ON the console, I saw the followings<br>bonding: unable t= o remove non-existent slave eth0 for bond bond0.<br>bonding: unable to remove non-existent slave eth1 for bond bond0.<br><br>`/etc/init.d/network= restart` and I got bond0 back. I redo the whole process without "sav= e network configuration" and it worked fine. I did this on the 2nd sy= stem and it worked fine also.<br><br><br>Will<br><br> <br><div><span><= br></span></div><div style=3D"display: block;" class=3D"yahoo_quoted"> <br>= <br> <div style=3D"font-family: Courier New, courier, monaco, monospace, s= ans-serif; font-size: 10pt;"> <div style=3D"font-family: HelveticaNeue, Hel= vetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"=
<div dir=3D"ltr"> <font face=3D"Arial" size=3D"2"> On Saturday, January 1= 8, 2014 7:56 PM, Dan Kenigsberg <danken@redhat.com> wrote:<br> </font= </div> <div class=3D"y_msg_container">On Sat, Jan 18, 2014 at 03:17:22PM= -0800, William Kwan wrote:<div class=3D"yqt0468284375" id=3D"yqtfd21466"><= br clear=3D"none">> Hi,<br clear=3D"none">> <br clear=3D"none">> F= AQ type of question.<br clear=3D"none">> <br clear=3D"none">> If virtmgmt is as= signed to bond0, which is composed of eth0 and eth1, what is the best way t= o "unbundle" eth1 from bond0?</div><br clear=3D"none"><br clear=3D"none">I'= d say:<br clear=3D"none">- Move the host to maintanence, so it runs no VMs = and does not play SPM<br clear=3D"none"> role.<br clear=3D"none">- Us= e the Setup Network dialog to brake the bond and define ovirtmgmt<br clear= =3D"none"> directly on top of eth0. The Engine/Vdsm connection should= survive<br clear=3D"none"> this kind of change (unlike a change of m= anagement address or vlan).<br clear=3D"none"><br clear=3D"none">If the hos= t uses a special storage domain, or is not SPM, you could even<br clear=3D"= none">do that while VMs are running.<div class=3D"yqt0468284375" id=3D"yqtf= d81808"><br clear=3D"none"><br clear=3D"none"></div><br><br></div> </div> = </div> </div> </div></body></html> ---645100006-117757308-1390142955=:47023--

There's two checkboxes in the setup networks dialog: 1) save network configuration - This only means that if the change was successful, persist the final networking state so that when the host is rebooted, it is booted into the network state *after* the (successful) networking change 2) check connctivity - After the network operation, verify that the engine still has connectivity to the host. If so, commit the change. Otherwise roll it back. The "save network configuration" check box shouldn't change the outcome of the result. Assaf Muller, Cloud Networking Engineer Red Hat ----- Original Message ----- From: "William Kwan" <potatok@yahoo.com> To: "Dan Kenigsberg" <danken@redhat.com> Cc: users@ovirt.org Sent: Sunday, January 19, 2014 4:49:15 PM Subject: Re: [Users] Unbundle bond0 which virtmgmt is attached Thanks a lot! It is a good pointer, it is working. I'm not sure this is a dumb error from a new user. When I change the network configuration on the first system, I checked the "save network configuration". It didnt' work and dropped the connection to the system. 1. I had both systems in maintenance mode 2. from "hosts", picked one of the system, "setup host networks" 3. Right clicked on eth1, "Remove eth0 from Bond" 4. at this point, ovirtmgmt was on the right hand side listed as "Unassigned Logical networks" 5. I dragged it back to assign it to eth0 6. checked save network configuration 6. clicked OK and connection is dropped Odd... ON the console, I saw the followings bonding: unable to remove non-existent slave eth0 for bond bond0. bonding: unable to remove non-existent slave eth1 for bond bond0. `/etc/init.d/network restart` and I got bond0 back. I redo the whole process without "save network configuration" and it worked fine. I did this on the 2nd system and it worked fine also. Will On Saturday, January 18, 2014 7:56 PM, Dan Kenigsberg <danken@redhat.com> wrote: On Sat, Jan 18, 2014 at 03:17:22PM -0800, William Kwan wrote:
Hi,
FAQ type of question.
If virtmgmt is assigned to bond0, which is composed of eth0 and eth1, what is the best way to "unbundle" eth1 from bond0?
I'd say: - Move the host to maintanence, so it runs no VMs and does not play SPM role. - Use the Setup Network dialog to brake the bond and define ovirtmgmt directly on top of eth0. The Engine/Vdsm connection should survive this kind of change (unlike a change of management address or vlan). If the host uses a special storage domain, or is not SPM, you could even do that while VMs are running. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Assaf Muller
-
Dan Kenigsberg
-
William Kwan