[ovirt-users] Change default gateway

2014-10-29 Thread Finstrle, Ludek
htmlbodyHi,

  I have ovirt 3.5 with hosted engine.
I'm running it on 2 physical hosts (for management + storage) directly
connected. I have another NICs for data.

-- data -- | VM_HOST1 | -- ovirtmgmt --  | VM_HOST2 | -- data --

Is it possible to setup oVirt hosts to use different network (not
ovirtmgmt but data) for default route using GUI? I think about vdsm hook
but I don't want to reinvent the wheel. Also I don't like an idea to
make hosted engine default gateway for physical hosts.

Thanks,

Luf


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

/body/html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change default gateway

2014-10-29 Thread Moti Asayag


- Original Message -
 From: Ludek Finstrle lfinst...@netsuite.com
 To: users@ovirt.org
 Sent: Wednesday, October 29, 2014 4:11:36 PM
 Subject: [ovirt-users] Change default gateway
 
 
 Hi,
 
 I have ovirt 3.5 with hosted engine.
 I'm running it on 2 physical hosts (for management + storage) directly
 connected. I have another NICs for data.
 
 -- data -- | VM_HOST1 | -- ovirtmgmt -- | VM_HOST2 | -- data --
 
 Is it possible to setup oVirt hosts to use different network (not
 ovirtmgmt but data) for default route using GUI? 

No, the engine supports setting default route only for the management network.

 I think about vdsm hook
 but I don't want to reinvent the wheel. Also I don't like an idea to
 make hosted engine default gateway for physical hosts.
 
 Thanks,
 
 Luf
 
 
 NOTICE: This email and any attachments may contain confidential and
 proprietary information of NetSuite Inc. and is for the sole use of the
 intended recipient for the stated purpose. Any improper use or distribution
 is prohibited. If you are not the intended recipient, please notify the
 sender; do not review, copy or distribute; and promptly delete or destroy
 all transmitted information. Please note that all communications and
 information transmitted through this email system may be monitored and
 retained by NetSuite or its agents and that all incoming email is
 automatically scanned by a third party spam and filtering service which may
 result in deletion of a legitimate e-mail before it is read by the intended
 recipient.
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change default gateway

2014-10-29 Thread Antoni Segura Puimedon


- Original Message -
 From: Moti Asayag masa...@redhat.com
 To: Ludek Finstrle lfinst...@netsuite.com
 Cc: users@ovirt.org, Antoni Segura Puimedon asegu...@redhat.com
 Sent: Wednesday, October 29, 2014 3:55:41 PM
 Subject: Re: [ovirt-users] Change default gateway
 
 
 
 - Original Message -
  From: Ludek Finstrle lfinst...@netsuite.com
  To: users@ovirt.org
  Sent: Wednesday, October 29, 2014 4:11:36 PM
  Subject: [ovirt-users] Change default gateway
  
  
  Hi,
  
  I have ovirt 3.5 with hosted engine.
  I'm running it on 2 physical hosts (for management + storage) directly
  connected. I have another NICs for data.
  
  -- data -- | VM_HOST1 | -- ovirtmgmt -- | VM_HOST2 | -- data --
  
  Is it possible to setup oVirt hosts to use different network (not
  ovirtmgmt but data) for default route using GUI?
 
 No, the engine supports setting default route only for the management
 network.

In that case, I'm afraid that you have two lower level options:

1.- Write a before_network_setup hook that takes defaultroute out of the
management network and sets it for your 'data' network. This would work
even when re-defining the networks.
2.- Manually modify /var/lib/vdsm/persistence/netconf/nets/{ovirtmgmt,data}
so that defaultRoute is set on data and not on ovirtmgmt. Then doing
vdsm-tool restore-nets. This will survive reboots, but changes to 
ovirtmgmt and 'data' will have it overwritten and return the default route
to the management net.

 
  I think about vdsm hook
  but I don't want to reinvent the wheel. Also I don't like an idea to
  make hosted engine default gateway for physical hosts.
  
  Thanks,
  
  Luf
  
  
  NOTICE: This email and any attachments may contain confidential and
  proprietary information of NetSuite Inc. and is for the sole use of the
  intended recipient for the stated purpose. Any improper use or distribution
  is prohibited. If you are not the intended recipient, please notify the
  sender; do not review, copy or distribute; and promptly delete or destroy
  all transmitted information. Please note that all communications and
  information transmitted through this email system may be monitored and
  retained by NetSuite or its agents and that all incoming email is
  automatically scanned by a third party spam and filtering service which may
  result in deletion of a legitimate e-mail before it is read by the intended
  recipient.
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users