Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old December 23rd, 2003, 11:04 AM
Jester Jester is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 271 Jester User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Network Card Waking From The Dead

Hi All,

Bit of a weird one this - and not sure if it's even applicable to this forum/site :laugh:

I've got two nix webservers running Apache, MySQL and Heartbeat (plus the rest!). They use MySQL replication and rsync the pages between master and slave and use heartbeat as a failover.

Now when I take the master down, everything is quite happy carrying on from the slave.

But, something wakes the master up automatically - and I'm not sure what it is! It's not a a problem as the way I have heartbeat set-up, the old master stays as a slave until I'm ready to run my auto-takeback scripts - but I would like to sort it!

I think it's a setting somewhere that tells the server to wake up if the network card is pinged (I know you can do this for a windows PC) - but I'm not sure how to go about finding it! I'm runnig SuseLinux 8.2 and the servers are a couple of IBM xSeries 335's. They are connected together by peer-to-peer NIC and serial ports, and both connect to the DMZ of a firewall via NIC (the firwall is behind the router).

If anyone has any ideas what-so-ever - please post!

Reply With Quote
  #2  
Old December 25th, 2003, 04:03 AM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: Network Card Waking From The Dead

Why dont you set it up so that they exclusively go through the DMZ, and disconnect the peer to peer stuff. That way you can set it up to disable ICMP packets in your firewall rules. This would definitely keep the ping packets from reaching to your servers from anywhere.

Reply With Quote
  #3  
Old December 28th, 2003, 04:13 PM
Jester Jester is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 271 Jester User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Network Card Waking From The Dead

Yeah - this is how I original set it up. But the HeartBeat HA system requires a couple of peer-to-peers (in this case a NIC and serial) for the beat. I need some sort of setting or tick that tells the server not to boot back up if the NIC is pinged but I can't find it!

What is also weird is that the boot process is strange when the server is brought back up by a ping... The loading screen talks about DHCP and seems to wait for a connection before it times out and continues to boot up normally...

Reply With Quote
  #4  
Old January 4th, 2004, 02:50 AM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: Network Card Waking From The Dead

Sounds like it is pulling a separate configuration for the box when it's "wake on lan" options are triggered. This sort of makes sense because there is probably no static ip configured for this, therefore it looks for a DHCP server by default. You might want to check out your lilo.conf file, and see whats going on there. See how many boot options are configured for the linux loader, and see if you can spot a wake on lan configuration. I hope this helps.

Reply With Quote
  #5  
Old January 4th, 2004, 03:21 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: Network Card Waking From The Dead

I am guessing, but during system maintenance it is doing a network reset

Reply With Quote
  #6  
Old January 5th, 2004, 08:42 AM
Jester Jester is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 271 Jester User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Network Card Waking From The Dead

Thank you - but it seems that the server is using some sort of grub type critter :laugh: - not lilo. Does anyone have any idea what I am looking for? The grub.conf looks like this:

root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst
quit

but I can't see either the stage2 or stage1 files (they are not text and I don't know what to open them with for editting)
while the grub menu (which I can't see being the cause) looks like this:

color white/blue black/light-gray
default 0
timeout 8

title linux
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=0x31a splash=silent showopts
initrd (hd0,1)/boot/initrd

title floppy
root (fd0)
chainloader +1

title failsafe
kernel (hd0,1)/boot/vmlinuz.shipped root=/dev/sda2 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3
initrd (hd0,1)/boot/initrd.shipped

Now I have no idea what any of that means - but is it possible that some sort of wake on LAN setting or network reset could be found here? Or am I looking in the wrong place?

Reply With Quote
  #7  
Old January 6th, 2004, 10:25 PM
brut brut is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 367 brut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 30 sec
Reputation Power: 2
RE: RE: Network Card Waking From The Dead


Quote:
when it's "wake on lan" options are triggered...

Unless I'm misunderstanding you, the computer turning itself on is a system setting which is OS independent. Check your bios for a 'wake on lan' setting(or similar) and disable it.
If I am misunderstanding, ignore me.

Reply With Quote
  #8  
Old January 7th, 2004, 10:40 AM
Jester Jester is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 271 Jester User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Network Card Waking From The Dead

Yeah - I thought that as well - but I checked through the bios settings before posting my problem and couldn't find anything - I'm using a IBM xSeries 335 if that means anything to anyone... :laugh:

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > Network Card Waking From The Dead


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway