|
|
Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides |
Thread Tools |
11-28-2006, 08:10 AM | #1 |
Cooling Neophyte
Join Date: Mar 2006
Location: new york
Posts: 7
|
Any way to remotely turn on a snap server?
I want to use my snap server as a backup device so I don't really need it on 24x7. I figured I can remote turn off the snap server by using the shutdown command in a url, but I don't know if it's possible to turn the snap server on remotely, like with Wake-on-lan (WOL).
Ideally, I going to have a scheduled script that will: 1) turn on snap server 2) backup files to it 3) turn off snap server If it were a regular windows PC, I would shutdown with a remote shutdown command and startup with a WOL packet. I have a snap server 4000. I'm sure there are ways to cut the power remotely, but I assume that would be BAD for raid5. Thanks! |
11-28-2006, 03:56 PM | #2 |
Thermophile
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
|
Re: Any way to remotely turn on a snap server?
This has come up in the past, there are no option for remote startup. Even on the Guardian OS units, only have shutdown. The 4000, 4100 have a main power switch, so I dought if the shutdown cmds works. But you can test the shutdown cmd and report back, As far as I know no one has tried it.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5, 1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5, 1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820 |
11-28-2006, 04:06 PM | #3 |
Cooling Neophyte
Join Date: Nov 2006
Location: texas
Posts: 28
|
Re: Any way to remotely turn on a snap server?
this may sound cheesy but you could buy a manual timed power switch and power the server on at the same time every day and then automate your back up to run at X time.
Then try to set up a shutdown command. or set it up manually, also there are other options if you utilize an power strip with SNMP capabilities you could provide the same solution Just thoughts. Xenoside |
11-28-2006, 04:10 PM | #4 |
Thermophile
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
|
Re: Any way to remotely turn on a snap server?
This is only doable if it supports remote shutdown. These older units do not.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5, 1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5, 1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820 |
11-28-2006, 04:17 PM | #5 |
Cooling Neophyte
Join Date: Nov 2006
Location: texas
Posts: 28
|
Re: Any way to remotely turn on a snap server?
Ah roger that you are correct.
I have a 4100 but the poor thing never did work and i have not had time yet to tinker with it : ) Xenoside |
11-28-2006, 05:23 PM | #6 |
Cooling Neophyte
Join Date: Nov 2006
Location: texas
Posts: 28
|
Re: Any way to remotely turn on a snap server?
The Total Geek Powerstrip http://www.zantech.com.au/servertech/powertower.html
I love gadgets : ) Xenoside |
11-28-2006, 05:50 PM | #7 |
Thermophile
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
|
Re: Any way to remotely turn on a snap server?
Dave, Guess what? I been playing with this 4100, and did an OS update to 4.0.860 and a NEW OPTION appeared in the Server Settings menu. I Shutdown Command. I tried it, and the unit went off! I then went to the Debug menu and tried the Power Off command and it works too! OS 4.x.x might just allow the shutdown command to work, or at least on some units (and this is a -001 revision).
|
11-28-2006, 06:05 PM | #8 |
Thermophile
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
|
Re: Any way to remotely turn on a snap server?
Good News, See if cycling the power with the switch on and see if it will startup.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5, 1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5, 1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820 Last edited by blue68f100; 11-28-2006 at 06:16 PM. |
11-29-2006, 10:47 AM | #9 | |
Cooling Savant
Join Date: Aug 2004
Location: UK
Posts: 909
|
Re: Any way to remotely turn on a snap server?
Quote:
IT has to have the power button pressed (soft on...) I know for the NSLU2 they did an always power on hack....
__________________
Snap Server Help Wiki - http://wiki.procooling.com/index.php/Snap_Server Snap Server 2200 v3.4.807 2x 250GB Seagate Barracuda 7200.9 w/ UNIDFC601512M Replacement Fan "Did you really think it would be that easy??" Other NAS's 1x NSLU2 w/ 512mb Corsair Flash Voyager Running Unslung 6.8b 1x NSLU2 w/ 8Gb LaCie Carte Orange Running Debian/NSLU2 Stable 4.0r0 250GB LaCie Ethernet Disk Running Windows XP Embedded |
|
11-29-2006, 10:48 AM | #10 | |
Cooling Savant
Join Date: Aug 2004
Location: UK
Posts: 909
|
Re: Any way to remotely turn on a snap server?
Quote:
*shrugs*
__________________
Snap Server Help Wiki - http://wiki.procooling.com/index.php/Snap_Server Snap Server 2200 v3.4.807 2x 250GB Seagate Barracuda 7200.9 w/ UNIDFC601512M Replacement Fan "Did you really think it would be that easy??" Other NAS's 1x NSLU2 w/ 512mb Corsair Flash Voyager Running Unslung 6.8b 1x NSLU2 w/ 8Gb LaCie Carte Orange Running Debian/NSLU2 Stable 4.0r0 250GB LaCie Ethernet Disk Running Windows XP Embedded |
|
11-29-2006, 12:04 PM | #11 |
Thermophile
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
|
Re: Any way to remotely turn on a snap server?
I think those with a manual power switch, you could just cycle the power, and they should start back up. But the ones with soft switches may be another story.
I need to see if the Network Managment card in my APC can start up devices, knows it shuts them down. It has scheduling control within it.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5, 1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5, 1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820 |
11-29-2006, 12:23 PM | #12 |
Cooling Savant
Join Date: Aug 2004
Location: UK
Posts: 909
|
Re: Any way to remotely turn on a snap server?
It probably does some form of WoL (Wake on Lan)
But maybe able to do teh power thingy like on that device... True about the manual witch, but thats gonna be like the 1000 and the 2000 aint it?
__________________
Snap Server Help Wiki - http://wiki.procooling.com/index.php/Snap_Server Snap Server 2200 v3.4.807 2x 250GB Seagate Barracuda 7200.9 w/ UNIDFC601512M Replacement Fan "Did you really think it would be that easy??" Other NAS's 1x NSLU2 w/ 512mb Corsair Flash Voyager Running Unslung 6.8b 1x NSLU2 w/ 8Gb LaCie Carte Orange Running Debian/NSLU2 Stable 4.0r0 250GB LaCie Ethernet Disk Running Windows XP Embedded |
11-29-2006, 12:41 PM | #13 |
Thermophile
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
|
Re: Any way to remotely turn on a snap server?
Also the 4000 and 4100? have the PS manual switch.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5, 1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5, 1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820 Last edited by blue68f100; 11-29-2006 at 07:15 PM. |
11-29-2006, 06:08 PM | #14 | |
Cooling Savant
Join Date: Feb 2006
Location: South Bend, IN
Posts: 385
|
Re: Any way to remotely turn on a snap server?
Quote:
__________________
Snap Server 4100, 4x120GB Seagate Drives, RAID 5, version 3.4.803 |
|
11-29-2006, 06:18 PM | #15 | |
Cooling Neophyte
Join Date: Nov 2006
Location: texas
Posts: 28
|
Re: Any way to remotely turn on a snap server?
Quote:
xenoside |
|
11-29-2006, 07:16 PM | #16 | |
Thermophile
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
|
Re: Any way to remotely turn on a snap server?
Quote:
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5, 1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5, 1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820 |
|
11-29-2006, 09:27 PM | #17 |
Cooling Neophyte
Join Date: Mar 2006
Location: new york
Posts: 7
|
Re: Any way to remotely turn on a snap server?
On my 1100 with 3.4.805, there is a debug command to shutdown the device and it works! I upgraded my 4000 to 4.0.860 and tried the same command and it didn't shutdown, though the command runs without error. I can only assume that the shutdown feature is new to the x100 series and doesn't work in the x000 series.
The strange thing is that in my 4000, there is an option to have it shutdown if it gets a special network signal from an APC UPS. I'm not sure how to test this since I don't have a networked APC UPS, but this seems to indicate that it can shutdown by itself. At worse, I can issue an unmount command and then safely cut power without hurting the raid. But at last, the main problem is how to turn the device back on. The 4000 does have a soft power button like that found in PCs for at least the past eight years. I remember turning on a motherboard connected to the power supply by momentarily putting a jumper on the connector that normally connected to the case power button. What's a possible hack to turn this thing on when power is restored? Once that is solved, then we're just need to remotely turn on a powerstrip to turn on the snap. Somehow, no matter how interesting this discussion is getting, I suspect I will get up never using the snap or leaving it on all the time. |
11-29-2006, 10:39 PM | #18 |
Thermophile
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
|
Re: Any way to remotely turn on a snap server?
Well, there is a way to test this theory if David has the time. David has a APC UPS with the network card, and if I remember right, he has a SNAP 2000.
David, if you have the time, would you try the "power off" command from the debug menu on your 2000 and then try turning it of with the APC UPS? |
11-30-2006, 07:26 AM | #19 |
Thermophile
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
|
Re: Any way to remotely turn on a snap server?
My 2000 is DEAD (fried goose)
Actually all you need to do is simulate the sequence: 1. send a shutdown cmd via admin 2. after it goes down pull the power cord 3. after 1 min plug it back end 4. if it boots it's doable
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5, 1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5, 1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820 |
11-30-2006, 07:55 AM | #20 |
Cooling Neophyte
Join Date: Nov 2006
Location: texas
Posts: 28
|
Re: Any way to remotely turn on a snap server?
there is 2 ways to get signal to an APC card to apply power and remove power one is via SNMP the other is applying voltages to the correct pin out on the serial port.
It has been along time since i pinned out the serial port for the APC's so forgive me for not knowing. the other option is by using a Watchdog card you could utilize it to do the switching for you and then just program the veriables that you want for power on and off. FYI watchdog cards work well with APC. Xenoside |
12-01-2006, 02:28 AM | #21 | |
Cooling Neophyte
Join Date: Nov 2006
Location: Wollongong NSW Australia
Posts: 16
|
Re: Any way to remotely turn on a snap server?
Quote:
__________________
Dell 705N v3.4.790 4x Seagate 7200 160GB |
|
12-01-2006, 06:02 PM | #22 | |
Thermophile
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
|
Re: Any way to remotely turn on a snap server?
Quote:
|
|
12-03-2006, 07:43 PM | #23 |
Cooling Neophyte
Join Date: Nov 2006
Location: Wollongong NSW Australia
Posts: 16
|
Re: Any way to remotely turn on a snap server?
If we assume that the NAS is connected to a simple mains power timer to turn it on then off an hour later, then all we need is a simple timer & relay circuit to detect that 5V standby is present, switch the relay on for ~5 seconds and then switch the relay back off. The relay terminals would be connected to the soft power switch terminals. A little PCB with a 555 timer, 5V relay and a few capacitors and resistors should do the trick.
Before the power is shut off by the external timer something else would have to use the administration menu or debug commands to shut the unit off.
__________________
Dell 705N v3.4.790 4x Seagate 7200 160GB |
12-03-2006, 09:03 PM | #24 |
Thermophile
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
|
Re: Any way to remotely turn on a snap server?
LOL, Didn't I already say all this about 3 or 4 months ago?
Little 555 timer circuits are easy. However, I know when I mentioned doing a little electronic modding once before, people ran like their pants were on fire. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|