- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Simulate network 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
Forums
Discussions
Discussions
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
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
03-10-2004 03:45 AM
03-10-2004 03:45 AM
We have a test case scenario for Service Guard which involves testing the behaviour of the system when the network has failed?
Is there a way to simulate this (other than pulling the cable from both the network cards) ?
We tried, ifconfig lan1 & lan4 down. Since SG is verifying the connection at layer 2, this did not help.
lanadmin -x 1 reset also did not help as the network card comes up very fast after the reset..
Any other suggestions?? It would be of great help to us as all our servers are located in a remote data center!!
Thanks for your time
Regards,
Sajith
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 03:47 AM
03-10-2004 03:47 AM
Re: Simulate network failure ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 03:50 AM
03-10-2004 03:50 AM
Re: Simulate network failure ??
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 03:52 AM
03-10-2004 03:52 AM
SolutionOne way is to reset the speed of the lan card. It takes 11 seconds which is too much for serviceguard unless you set the polling interval to more than 11 secs.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 03:55 AM
03-10-2004 03:55 AM
Re: Simulate network failure ??
Since the lanadmin reset function doesn't have a command line switch per se it's a little more difficult - but try this
echo "l\np\nX\nr\n" |landiag 2> /dev/null
where X=ppa i.e. use 0 for lan0, 3 for lan3, etc.
We use this to force a NIC failover when there's no link loss.
This will force the failover, but expect MC/SG to move back to the primary in about 30 seconds or so after the reset. BUT you should see the failover & move back in the syslog.log
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 05:28 AM
03-10-2004 05:28 AM
Re: Simulate network failure ??
We were able to simulate the network failure by switching the network speed to 10Mbps FD.
Our switches are configured to 100Mbps FD manual.. We (unix admins) don't have access to switches and hence the other options could not be tried...
Thanks & Regards,
Sajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 03:36 AM
01-24-2006 03:36 AM
Re: Simulate network failure ??
I would like to contact you for further queries
my email id is pjaisonp@gmail.com
regards
JaisonPP(Tirur Poly)