1833565 Members
2922 Online
110061 Solutions
New Discussion

Re: half duplex

 
Dave Elliott
Frequent Advisor

half duplex

Hi Guys
One of my network guys has just infoemed me that there are errors on a particular port.
from investigation it would aapear that my k class server is only rtunning at half duplex but the network is running at full duplex, how do i turn the card up to full duplex.
it is a GSC twin port ethernet card
thanks
Oracle DBA
10 REPLIES 10
Alex Glennie
Honored Contributor

Re: half duplex

Hi Andrew ,

try lanadmin -X 100FD lan0

# lanadmin -s NMID/PPA This will return only the speed the card is running.

# lanadmin -x NMID/PPA
As long as you have the Lan Cumulative patch that gives you this capability, it will return the speed/duplex that the card is running.

# lanadmin -X 100FD NMID/PPA
This will change the card to 100FD.
Dave Elliott
Frequent Advisor

Re: half duplex

Can i make the change without it doing a reset, I.E possible kicking a user or userjob off.
Oracle DBA
Alex Glennie
Honored Contributor

Re: half duplex

Not sure what you are asking, you need to reset the cards speed. When you reset it you may drop user connections etc. If this is a production system I'd advise looking for some off-line time before changing it.
Dirk Wiedemann
Respected Contributor

Re: half duplex

Hello Andrew,

I've changed often the duplex setting of my lancard (L class with 100BaseFX) while running a lot of user jobs at the same time and I had never lost a connection or job.

Hope this helps
Dirk
Darrell Allen
Honored Contributor

Re: half duplex

Hi Andrew,

You should be able to change the duplex setting on the fly. I'd verify the switch is already forced to FD before I changed the HP's nic.

lanadmin will change it on the fly. You will need to edit the correct file in /etc/rc.config.d to force FD at boot time. See the attached doc for assistance.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
MANOJ SRIVASTAVA
Honored Contributor

Re: half duplex

Hi Andrew

This what is to be done :



1. Identify the LAN Interface using the lanscan command to know the interface.
2. Check for the speed set already using the Lanadmin command.
3. Use the command lanadmin ???X 100fd nmid or the ppa to change it to the desired one.
4. Check the setting using the lanadmin command again.
5. To change it permanently go to /etc/rc.config.d./hp100baseconf.d files .



Manoj Srivastava
Dave Elliott
Frequent Advisor

Re: half duplex

hi guys
since changing the speed thew auto negotiation has turned off, is this normal.
and also i dont appear to have the file i think i should have according to darrels attacthment.
I have a HPGSC100CONF & HPbase100CONF files.
the k class has two token ring cards (Not Configured) and the internal ethernet and 1 additional dual port hsc card. can anyone tell me whether the HPGSC100conf is the correct file to configure.
if so great and can i turn auto negotiation on when the card is set to full duplex.
regards
andy
Oracle DBA
Darrell Allen
Honored Contributor

Re: half duplex

Hi Andy,

Yes, that is normal. You can specify either a speed and duplex setting or autoneg. By forcing the speed and duplex setting, you are turning off auto-negiotiation. The same should be done on the switch for the port your HP connects to.

I don't use autoneg for servers simply because I've seen too many problems caused by failure of autoneg to work correctly. It works some of the time, but not all of the time for all servers.

Concerning your network card, what drivers does "ioscan -fnC lan" show for your ethernet cards?

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Dave Elliott
Frequent Advisor

Re: half duplex

it shows BTLAN4
Oracle DBA
Darrell Allen
Honored Contributor

Re: half duplex

Hi again,

For btlan4, /etc/rc.config.d/hpgsc100conf is the file to edit. Here's what mine looks like:

#####################################################################
# @(#) hpGSC100conf $Revision: 1.7 $ $Date: 2000/03/03 15:54:04 $
# hpGSC100conf : contains configuration values for HP 100Mb interfaces
# This conf file is used to configure HSC 100BT cards.(btlan4 driver).
#
# HP_GSC100_INTERFACE_NAME Name of interface (lan0, lan1...)
# HP_GSC100_STATION_ADDRESS Station address of interface
# configured through lanadmin(1m)
# Prefixed with "0x".
# HP_GSC100_SPEED Manually set the driver's speed. Can be one
# of: 10HD, 10FD, 100HD, 100FD, auto_on
# It also supports HD and FD, but these
# two options are being obsoleted.
#
# The interface name, major number, card instance and nmid|ppa may be
# obtained from the lanscan(1m) command.
#
# The station address and speed set through the lanadmin(1m) command.
#
#####################################################################

HP_GSC100_INTERFACE_NAME[0]=lan1
HP_GSC100_STATION_ADDRESS[0]=
HP_GSC100_SPEED[0]=100FD

HP_GSC100_INTERFACE_NAME[1]=lan2
HP_GSC100_STATION_ADDRESS[1]=
HP_GSC100_SPEED[1]=100FD

HP_GSC100_INTERFACE_NAME[2]=lan3
HP_GSC100_STATION_ADDRESS[2]=
HP_GSC100_SPEED[2]=100FD

###########################################################################
# The HP_GSC100_INIT_ARGS are reserved by HP. They are NOT user changable.

HP_GSC100_INIT_ARGS="HP_GSC100_STATION_ADDRESS HP_GSC100_SPEED"

# End of hpGSC100conf configuration file


Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)