Operating System - HP-UX
1850667 Members
3377 Online
104055 Solutions
New Discussion

card failed this morning...

 
denise_7
Frequent Advisor

card failed this morning...

Our network interface card failed early this morning. Cannot log into the server, so my guess is login is through the web console?

I got some questions on the procedures to replace the NIC.

1) I login via the web console (do I need to bring the server down to sigle user?)
2) Do I need to disable some of the current NIC configuration in order to be able to remove the card and put in a new card?
3) I believe the management has ordered a new card that is exactly the same was the current one. Do I need to re-configure the card the new in the system?

What procedures do you normally use to accomplish this task?

Thanks.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: card failed this morning...

You need access.

That means the serial console or the web console.

Once you get access log on as root

dmesg

You should see a message about the failure. If it mentions cable disconnect only, consider checking the cable and switch first.

If that failes you will be modifying the following file:

/etc/rc.config.d/netconf

To switch your configuration to an alternate NIC or what you need to do to recover.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Chris Wilshaw
Honored Contributor

Re: card failed this morning...

In order to carry out the swap, the server will need to be halted.

Normally, the card swap will be carried out by an HP engineer under the terms of your support contract.

You shouldn't need to do any config work - this is stored in /etc/rc.config.d/netconf and will be applied to the new card automatically during the reboot.
G. Vrijhoeven
Honored Contributor

Re: card failed this morning...

Hi,

I would log into the server(webconsole) and shutdown the server.
It could be so that software depends on the mac-adress of your interface (licentie or remote system ( we have one application that will only connect with one mac-adress) so save the mac adress info.
HP will replace the interface card.
Boot the server in single usemode. mount /var and /usr.
do an ioscan -fnClan && insf && lanscan
This will displat the device number ( lan)
edit the /etc/rc.config.d/lanadmin device and make sure the network device is in this file.

boot the server in multiusermode.

If you need to change the mac-adress there are files in /etc/rc.config.d with names like the driver: hpbase100conf hpetherconf.

in those files you can add

#####################################################################
# @(#) hpbase100conf $Revision: 1.5 $ $Date: 2000/02/21 10:55:45 $
# hpbase100conf : contains configuration values for HP 100Mb interfaces
# This conf file is used to configure built-in PCI 100BT cards (btlan3 driver).
#
# HP_BASE100_INTERFACE_NAME Name of interface (lan0, lan1...)
# HP_BASE100_STATION_ADDRESS Station address of interface
# configured through lanadmin(1m)
# Prefixed with "0x".
# HP_BASE100_SPEED Manually set the driver's speed. Can be
# one of: 10HD, 10FD, 100HD, 100FD, auto_on
#
# The interface name, major number, card instance and nmid|ppa may be
# obtained from the lanscan(1m) command.
#
# The station address and speed are set through the lanadmin(1m)
# command.
#
#####################################################################

HP_BASE100_INTERFACE_NAME[0]=
HP_BASE100_STATION_ADDRESS[0]=

Adjust the STATION_ADDRESS to the old mac-adress.

HTH.

Gideon

Robert-Jan Goossens
Honored Contributor

Re: card failed this morning...

Hi,

In addition to Gideon's answer, just remove the hardware adress from your configuration file STATION_ADDRESS[0]= <----empty.

Regards,
Robert-Jan
Suresh Patoria
Super Advisor

Re: card failed this morning...

HI,

Check the ur system if it is supporting hot swapping then u procede

After replacing the exact the same model of LAN card

just re-create the device using the command
insf -e

then check the lanscan output

Thanx