RE: NICs in RHEL / PE2850

2010-01-04 Thread christian.peper
Dell also has a util for this.
It reliably sorts the NICs in the way you'ld expect them to be.
Ie. on-board NICs first, then add-on cards.

http://linux.dell.com/files/name_eths/

I've tried and used this on 2950 and R710. It works but the 2950 don't need 
anything for me anymore. It used to mess up the NICs but started to work as 
expected some years ago. The R710 consistently put my quad-NIC first, even if I 
specify pci=bfsort as a kernel option at boot.

Chris. 

> -Original Message-
> From: linux-poweredge-boun...@dell.com 
> [mailto:linux-poweredge-boun...@dell.com] On Behalf Of Brian O'Mahony
> Sent: Wednesday, December 02, 2009 1:37 PM
> To: Ben
> Cc: linux-powere...@lists.us.dell.com
> Subject: RE: NICs in RHEL / PE2850
> 
> Thanks Ben, will have a look at this. Actually using 
> Openmanage for now as it has the details in there, but this 
> wont always be an option.
> 
> -Original Message-
> From: linux-poweredge-boun...@dell.com 
> [mailto:linux-poweredge-boun...@dell.com] On Behalf Of Ben
> Sent: 02 December 2009 10:46
> Cc: linux-powere...@lists.us.dell.com
> Subject: Re: NICs in RHEL / PE2850
> 
> On Wed, 2 Dec 2009, Brian O'Mahony wrote:
> 
> > I am setting up a 2850 to do some testing for moving our code 
> > repositories over to SAN storage. I have a pe2850 with two onboard 
> > NICs and a dual port PCI nic. All four ports are coming up as Intel 
> > e1000 ports. Is there any way of telling from inside the OS which 
> > exact port eth0,1,2,3 actually are? Ive seen RHEL change 
> port around 
> > before, and I was just wondering how to check which interface 
> > corresponds to which physical port, as this will probably 
> be important when we implement it.
> 
> ethtool -p|--blink|--identify ethX is your friend.
> 
> Ben
> --
> Unix Support, MISD, University of Cambridge, England Plugger 
> of wire, typer of keyboard, imparter of Clue
>  Life Is Short.  It's All Good.
> 
> ___
> Linux-PowerEdge mailing list
> Linux-PowerEdge@dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 
> 
> The information in this email is confidential and may be 
> legally privileged.
> It is intended solely for the addressee. Access to this email 
> by anyone else is unauthorized. If you are not the intended 
> recipient, any disclosure, copying, distribution or any 
> action taken or omitted to be taken in reliance on it, is 
> prohibited and may be unlawful. If you are not the intended 
> addressee please contact the sender and dispose of this 
> e-mail. Thank you.
> 
> 
> ___
> Linux-PowerEdge mailing list
> Linux-PowerEdge@dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: NICs in RHEL / PE2850

2009-12-02 Thread Jason Edgecombe
Brian O'Mahony wrote:
> I am setting up a 2850 to do some testing for moving our code repositories 
> over to SAN storage. I have a pe2850 with two onboard NICs and a dual port 
> PCI nic. All four ports are coming up as Intel e1000 ports. Is there any way 
> of telling from inside the OS which exact port eth0,1,2,3 actually are? Ive 
> seen RHEL change port around before, and I was just wondering how to check 
> which interface corresponds to which physical port, as this will probably be 
> important when we implement it.
>
> On another note, has anyone got any suggestions on how to keep memory usage 
> at about 80% while doing benchmark tests? I want to compare the read/write 
> speed of local vs SAN storage, while the machines are in use. However the 
> chances of getting to do it in the live environment are zero. If I can keep 
> the memory usage at about 85% [cpu load is about .4 so is pretty negligible] 
> I would have some data to look at.
>   
For your memory limiting, try the following:

ulimit -v XXX
# where XXX is the number of kilobytes that you want to limit your 
memory usage to. This only works in userland processes that are spawned 
from the shell where you run this command. To limit a system daemon, put 
that line in the init.d script and restart the daemon. This is a 
per-process limit, so it's still possible for the total memory used to 
exceed your limit. Do your math and tests accordingly.

Jason

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: NICs in RHEL / PE2850

2009-12-02 Thread Mike Drzal
Brian,

One option depending on kernel that you are running is to look at the device 
link in /sys/class/net/.  These will vary based on the hardware, but 
generally will stay the same for a given type of server (all 2850's are 
generally the same).

Mike


On 12/2/09 5:24 AM, "Brian O'Mahony"  wrote:

I am setting up a 2850 to do some testing for moving our code repositories over 
to SAN storage. I have a pe2850 with two onboard NICs and a dual port PCI nic. 
All four ports are coming up as Intel e1000 ports. Is there any way of telling 
from inside the OS which exact port eth0,1,2,3 actually are? Ive seen RHEL 
change port around before, and I was just wondering how to check which 
interface corresponds to which physical port, as this will probably be 
important when we implement it.

On another note, has anyone got any suggestions on how to keep memory usage at 
about 80% while doing benchmark tests? I want to compare the read/write speed 
of local vs SAN storage, while the machines are in use. However the chances of 
getting to do it in the live environment are zero. If I can keep the memory 
usage at about 85% [cpu load is about .4 so is pretty negligible] I would have 
some data to look at.


Thanks

B


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

RE: NICs in RHEL / PE2850

2009-12-02 Thread Brian O'Mahony
Thanks Ben, will have a look at this. Actually using Openmanage for now as it 
has the details in there, but this wont always be an option.

-Original Message-
From: linux-poweredge-boun...@dell.com 
[mailto:linux-poweredge-boun...@dell.com] On Behalf Of Ben
Sent: 02 December 2009 10:46
Cc: linux-powere...@lists.us.dell.com
Subject: Re: NICs in RHEL / PE2850

On Wed, 2 Dec 2009, Brian O'Mahony wrote:

> I am setting up a 2850 to do some testing for moving our code repositories 
> over to SAN storage. I have a pe2850 with two onboard NICs and a dual port 
> PCI nic. All four ports are coming up as Intel e1000 ports. Is there any 
> way of telling from inside the OS which exact port eth0,1,2,3 actually 
> are? Ive seen RHEL change port around before, and I was just wondering how 
> to check which interface corresponds to which physical port, as this will 
> probably be important when we implement it.

ethtool -p|--blink|--identify ethX is your friend.

Ben
-- 
Unix Support, MISD, University of Cambridge, England
Plugger of wire, typer of keyboard, imparter of Clue
 Life Is Short.  It's All Good.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.


___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: NICs in RHEL / PE2850

2009-12-02 Thread Ben
On Wed, 2 Dec 2009, Brian O'Mahony wrote:

> I am setting up a 2850 to do some testing for moving our code repositories 
> over to SAN storage. I have a pe2850 with two onboard NICs and a dual port 
> PCI nic. All four ports are coming up as Intel e1000 ports. Is there any 
> way of telling from inside the OS which exact port eth0,1,2,3 actually 
> are? Ive seen RHEL change port around before, and I was just wondering how 
> to check which interface corresponds to which physical port, as this will 
> probably be important when we implement it.

ethtool -p|--blink|--identify ethX is your friend.

Ben
-- 
Unix Support, MISD, University of Cambridge, England
Plugger of wire, typer of keyboard, imparter of Clue
 Life Is Short.  It's All Good.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


NICs in RHEL / PE2850

2009-12-02 Thread Brian O'Mahony
I am setting up a 2850 to do some testing for moving our code repositories over 
to SAN storage. I have a pe2850 with two onboard NICs and a dual port PCI nic. 
All four ports are coming up as Intel e1000 ports. Is there any way of telling 
from inside the OS which exact port eth0,1,2,3 actually are? Ive seen RHEL 
change port around before, and I was just wondering how to check which 
interface corresponds to which physical port, as this will probably be 
important when we implement it.

On another note, has anyone got any suggestions on how to keep memory usage at 
about 80% while doing benchmark tests? I want to compare the read/write speed 
of local vs SAN storage, while the machines are in use. However the chances of 
getting to do it in the live environment are zero. If I can keep the memory 
usage at about 85% [cpu load is about .4 so is pretty negligible] I would have 
some data to look at.


Thanks

B


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq