- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to simultate a NIC failure
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 10:34 PM
тАО04-19-2004 10:34 PM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 10:40 PM
тАО04-19-2004 10:40 PM
Re: How to simultate a NIC failure
However, in most cases, if the NIC failes, hpux will bring the interface down. Therefore, you could simulate this by bringing the interface down yourself. "ifconfig lanX down"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 11:49 PM
тАО04-19-2004 11:49 PM
SolutionAll that does is disable the IP traffic-handling ability of the adapter - layer 3 of the OSI model. However Serviceguard does it's LAN failure detection at layer 2 - NO IP assignment is required in order to pass this test!
Hence, physically disconnecting from the network is one of the few legitimate methods to test NIC failure detection.
See the section titled "Testing the Network Manager" of the Managing Serviceguard document for reitteration:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3936-90073/B3936-90073_top.html&con=/hpux/onlinedocs/B3936-90073/00/00/56-con.html&toc=/hpux/onlinedocs/B3936-90073/00/00/56-toc.html&searchterms=the%7cNetwork%7cManager%7cTesting&queryid=20040420-054822
-SD-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 12:11 AM
тАО04-20-2004 12:11 AM
Re: How to simultate a NIC failure
Would it be possible to do it through OLAR?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 12:23 PM
тАО04-20-2004 12:23 PM
Re: How to simultate a NIC failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 01:29 PM
тАО04-20-2004 01:29 PM
Re: How to simultate a NIC failure
# /usr/bin/rad -s slot_id
The man pages for 'rad' explain fairly well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 07:39 PM
тАО04-20-2004 07:39 PM
Re: How to simultate a NIC failure
if the speed is 100 Full-Duplex,
you can do
lanadmin -X 0 100FD or according to your speed (HD for Half Duplex, etc.) to reinitialize the lan card thereby the lan 0 will fail to lan1 and return back to lan 0 in a Service Guard cluster. That will produce and lan failover on a SG cluster and you can see it logged in a syslog.log file.
Rasheed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 07:41 PM
тАО04-20-2004 07:41 PM
Re: How to simultate a NIC failure
-----
lanadmin -x 0 (to see the settings, it is a small x)
lanadmin -X 100FD 0 (it will reconfigure or reset the setting as 100Full Duplex - pls note it is a capital X to reconfigure).
Rasheed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2004 12:39 AM
тАО04-21-2004 12:39 AM
Re: How to simultate a NIC failure
Michael Tully mentioned the 'rad' command (OLAR).
lanscan reports the hardware path of the NIC.
rad -q reports the slot for each I/O device.
On my virtual partition on my superdome, I didn't see the LAN adapter in the rad -q output:
# model
9000/800/SD64000
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
12/0/0/1/0 0x001083FD1DFC 0 UP lan0 snap0 1 ETHER Yes 119
# rad -q
Driver(s)
Slot Path Bus Max Spd Pwr Occu Susp Capable Max Mode
Num Spd Mode
1-1-1-0 12/0/0 0 N/A 33 On Yes No No N/A N/A
1-1-1-1 12/0/1/0 8 N/A 33 On Yes No Yes N/A N/A
1-1-1-5 12/0/6/0 48 N/A 66 On Yes No Yes N/A N/A
1-1-1-6 12/0/14/0 112 N/A 33 On No N/A N/A N/A N/A
1-1-1-7 12/0/12/0 96 N/A 66 On Yes No Yes N/A N/A
1-1-1-8 12/0/11/0 88 N/A 33 On No N/A N/A N/A N/A
1-1-1-11 12/0/8/0 64 N/A 33 On Yes No Yes N/A N/A
So - I'm not certain that the LAN NIC can be disabled. You may want to confirm this in the HPUX-OS forum.
-SD-