On Mon, Apr 27, 2009 at 07:07:09AM -0500, James Cammarata wrote:
On Mon, 27 Apr 2009 09:17:33 +0200, Christian Horn <chorn(a)fluxcoil.net>
wrote:
>
> a) setting network-modes
> We run some network interfaces in 100full-mode and some in 1gbit mode.
> Wondering how to set this up best. The mode is unknown at the time
> 'cobbler system add' is done, so i do not wand to use ksopts handing
> over vars to a snippet configuring the mode.
> My idea for now is using ethtool to ask for interfaces current speed.
> If its 1gbit do nothing, if its autonegotiated to 100-half or 100-full i
>
> echo 'ETHTOOL_OPTS="speed 100 duplex full autoneg off"' \
> >>/etc/sysconfig/network-scripts/ifcfg-eth$number
>
> to set the mode since if its 100 we run 100full by default.
> Any more cobblerish way for this yet?
If you don't have any standard way of doing this, then I'm not sure cobbler
can help. We have standard network interfaces for each network, for
instance the first onboard is the management network link, whereas the
second onboard and the first port of the first PCI card are used for the
production bonded interface.
If you don't have a standard cabling plan, you really really should.
The servers are not similiar in their hardware and in the purpose
they will serve, this standard-cabling would become a matrix..
will consider it.
For a solution, I'd recommend either making everything autoneg
(since gig
needs to be anyway).
Guess we will settle on that.
Christian