Re: [CentOS] Bonded interfaces - testing

2013-03-25 Thread Dermot
In which case, an appropriate test would be to have several servers push
data to one the server while it's interface is un-bonded. We'd anticipate
that the results would be under 1000Mbps. Then do the same with the bonded
interface and the results would hopefully be more consistently around
1000Mpbs. So I should not expect fastest throughput, simply a fatter pipe?

If it matters these are the hashing options available on the switch:

Thanks,
Dermot

Src MAC, VLAN, EType, incoming port

Dest MAC, VLAN, EType, incoming port

Src/Dest MAC, VLAN, EType, incoming port

Src IP and Src TCP/UDP Port fields

Dest IP and Dest TCP/UDP Port fields

Src/Dest IP and TCP/UDP Port fields
Enhanced hashing mode



On 25 March 2013 14:56, James Hogarth  wrote:

> > Does anyone have any thoughts? I pasted some details below increase they
> > have a bearing.
> >
>
>
> Remember that LACP (802.3ad) uses a hash algorithm (configurable on how
> it's carried out and whether you use mac addresses, dst/src IPs and ports
> will vary quite often for optimisation) to pick a physical connection for
> the TCP flow ... and that will stay over the physical connection.
>
> As such for any one given flow you'll see up to the speed of the physical
> interface the data is going over... the speed increases come with multiple
> systems communicating with that server and with the right pick of hashing
> function having those connections go over differing interfaces.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Bonded interfaces - testing

2013-03-25 Thread Dermot
Hi,

I have 2 servers running CentOS 6.3. Each has four 1gb Ethernet ports. I
have bonded all four ports on each server and patched them to the same
switch (following the instructions at
http://wiki.centos.org/TipsAndTricks/BondingInterfaces). I have created
aggregated trunks for the servers respective ports on the switch. The
switch reports that the ports are up and that the Link Aggregation is
enabled.

I was under the impression, perhaps falsely, that I would see an
improvement in the throughput. I am not sure that I am. I used a utility
call nuttcp before the trunking and after to test the throughput. I am
seeing miniscule differences in the Mbps. I am not sure that I am testing
correctly. Perhaps the speed will not change but the available bandwidth
has increased. Is there some way to demonstrate that I am able to transfer
data from these two servers at a rate of 4,000Mbs?

Does anyone have any thoughts? I pasted some details below increase they
have a bearing.
Thanks in advance
Dermot.


./nuttcp otherserver
1125.6573 MB /  10.03 sec =  941.4967 Mbps 10 %TX 47 %RX


cat /proc/net/bonding/bond0

Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 2
Number of ports: 4
Actor Key: 17
Partner Key: 420
Partner Mac Address: 10:0d:7f:4c:16:ca

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 2c:76:8a:5d:28:1c
Aggregator ID: 2
Slave queue ID: 0

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 2c:76:8a:5d:28:1d
Aggregator ID: 2
Slave queue ID: 0

Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 2c:76:8a:5d:28:1e
Aggregator ID: 2
Slave queue ID: 0

Slave Interface: eth3
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 2c:76:8a:5d:28:1f
Aggregator ID: 2
Slave queue ID: 0
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP Hardware

2008-09-14 Thread Dermot
2008/9/14 nate <[EMAIL PROTECTED]>:
> Mag Gam wrote:
>> At my university we use HP hardware exclusively. When we build CentOS
>> our Unix SA is running several HP utilities. I am wondering what some
>> of these utilities are, such as cmaidad. Is it possible to to use
>> these HP utilities to monitor for disk crashes (similar to smartd)? Is
>> anyone using native HP utilities for this purpose?
>

I just did a round of HP patches to my DL series servers. In doing so
I went to the HP site and installed the Support Pack RPMs. This
provide a load of tool including the Compaq RAID utility (cqpacuex).
However these tools run as daemons so if you want a small footprint,
this might not be the way for you. The tools do provide a web-based
dignostics utility which also allows you to configure the host array
or in my case, the fibre attached storage arrays.

In the past I have had to change the name in the /etc/*release file to
RedHat to install HP stuff. I can't remember if I had to do that this
time!
Dp.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Illegal opp code

2008-09-14 Thread Dermot
2008/9/12 Dermot :

> HP DL 385 G2.
> CentOS 5.1
> Kernel 2.6.18-92.1.10.el5
>
> I have a newly installed server that was running x. It told me there
> were updates to install. I accepted that all, except sysreport as I
> always seem to have problems installing. I rebooted, having set the
> default run level to 3. I then got a red screen with an "illegal
> OpCode" error message.
>
> I have used my CD to boot into rescue more. My old system is mounted under 
> /mnt.
>
> I would also like to get my system back up and running. I have put a
> fair bit of time into loading libraries and software.
>
> I have tried editing the grub.conf and commenting out the
> 2.6.18-92.1.10.el5 kernel so it used a previous kernel but I can not
> get past this error. There is no message from grub. The system comes
> straight from the BIOS messages into this red screen.
>
> Is there any other ways to determine what the problem is? The error
> messages says nothing more that a few lines of hex which don't look
> useful to me.

This turned out to be an grub issue. The illegal OpCode message seems
to come the HP hardware/BIOS.

I resolved it by booting using an CentOS cd, doing linux rescue at boot.
>chroot /mnt/sysimage
>grub
grub> device (hd0) /dev/csiss/c0d0
grub> root (hd0,0)
grub> setup (hd0)

It took a couple of attempts, my knowledge of grub is limited. During
the process I also booted from a DOS floppy and did a fdisk /mbr. That
removed the Illegal OpCode which confirmed I was on the right route.

Hopefully this post might help some other poor HP harware user.
Dp.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Illegal opp code

2008-09-12 Thread Dermot
Hi,


HP DL 385 G2.
CentOS 5.1
Kernel 2.6.18-92.1.10.el5

I have a newly installed server that was running x. It told me there
were updates to install. I accepted that all, except sysreport as I
always seem to have problems installing. I rebooted, having set the
default run level to 3. I then got a red screen with an "illegal
OpCode" error message.

I have used my CD to boot into rescue more. My old system is mounted under /mnt.

I would also like to get my system back up and running. I have put a
fair bit of time into loading libraries and software.

I have tried editing the grub.conf and commenting out the
2.6.18-92.1.10.el5 kernel so it used a previous kernel but I can not
get past this error. There is no message from grub. The system comes
straight from the BIOS messages into this red screen.

Is there any other ways to determine what the problem is? The error
messages says nothing more that a few lines of hex which don't look
useful to me.

Any thoughts would be appreciated. TIA.
Dp.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos