Go Back   Pro/Forums > ProCooling Technical Discussions > Snap Server / NAS / Storage Technical Goodies
Password
Register FAQ Members List Calendar Chat

Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides

Reply
Thread Tools
Unread 11-28-2006, 08:10 AM   #1
badbob001
Cooling Neophyte
 
Join Date: Mar 2006
Location: new york
Posts: 7
Default 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!
badbob001 is offline   Reply With Quote
Unread 11-28-2006, 03:56 PM   #2
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default 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
blue68f100 is offline   Reply With Quote
Unread 11-28-2006, 04:06 PM   #3
xenoside
Cooling Neophyte
 
Join Date: Nov 2006
Location: texas
Posts: 28
Default 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
xenoside is offline   Reply With Quote
Unread 11-28-2006, 04:10 PM   #4
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default 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
blue68f100 is offline   Reply With Quote
Unread 11-28-2006, 04:17 PM   #5
xenoside
Cooling Neophyte
 
Join Date: Nov 2006
Location: texas
Posts: 28
Default 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
xenoside is offline   Reply With Quote
Unread 11-28-2006, 05:23 PM   #6
xenoside
Cooling Neophyte
 
Join Date: Nov 2006
Location: texas
Posts: 28
Default 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
xenoside is offline   Reply With Quote
Unread 11-28-2006, 05:50 PM   #7
Phoenix32
Thermophile
 
Phoenix32's Avatar
 
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
Default 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).
Phoenix32 is offline   Reply With Quote
Unread 11-28-2006, 06:05 PM   #8
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default 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.
blue68f100 is offline   Reply With Quote
Unread 11-29-2006, 10:47 AM   #9
re3dyb0y
Cooling Savant
 
re3dyb0y's Avatar
 
Join Date: Aug 2004
Location: UK
Posts: 909
Default Re: Any way to remotely turn on a snap server?

Quote:
Originally Posted by xenoside
The Total Geek Powerstrip http://www.zantech.com.au/servertech/powertower.html


I love gadgets : )

Xenoside
Just the thing is, that only supplies power to the device

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
re3dyb0y is offline   Reply With Quote
Unread 11-29-2006, 10:48 AM   #10
re3dyb0y
Cooling Savant
 
re3dyb0y's Avatar
 
Join Date: Aug 2004
Location: UK
Posts: 909
Default Re: Any way to remotely turn on a snap server?

Quote:
Originally Posted by Phoenix32
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).
Im sure my 2200 had that in the V3 OS....

*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
re3dyb0y is offline   Reply With Quote
Unread 11-29-2006, 12:04 PM   #11
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default 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
blue68f100 is offline   Reply With Quote
Unread 11-29-2006, 12:23 PM   #12
re3dyb0y
Cooling Savant
 
re3dyb0y's Avatar
 
Join Date: Aug 2004
Location: UK
Posts: 909
Default 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
re3dyb0y is offline   Reply With Quote
Unread 11-29-2006, 12:41 PM   #13
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default 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.
blue68f100 is offline   Reply With Quote
Unread 11-29-2006, 06:08 PM   #14
jontz
Cooling Savant
 
Join Date: Feb 2006
Location: South Bend, IN
Posts: 385
Default Re: Any way to remotely turn on a snap server?

Quote:
Originally Posted by blue68f100
Also the 4000 and 4100 have the PS manual switch.
4100 has a soft switch...at least mine does.
__________________
Snap Server 4100, 4x120GB Seagate Drives, RAID 5, version 3.4.803
jontz is offline   Reply With Quote
Unread 11-29-2006, 06:18 PM   #15
xenoside
Cooling Neophyte
 
Join Date: Nov 2006
Location: texas
Posts: 28
Default Re: Any way to remotely turn on a snap server?

Quote:
Network Managment card in my APC
uses SNMP mostly.

xenoside
xenoside is offline   Reply With Quote
Unread 11-29-2006, 07:16 PM   #16
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Any way to remotely turn on a snap server?

Quote:
Originally Posted by jontz
4100 has a soft switch...at least mine does.
My mistake not having one.
__________________
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
blue68f100 is offline   Reply With Quote
Unread 11-29-2006, 09:27 PM   #17
badbob001
Cooling Neophyte
 
Join Date: Mar 2006
Location: new york
Posts: 7
Default 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.
badbob001 is offline   Reply With Quote
Unread 11-29-2006, 10:39 PM   #18
Phoenix32
Thermophile
 
Phoenix32's Avatar
 
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
Default 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?
Phoenix32 is offline   Reply With Quote
Unread 11-30-2006, 07:26 AM   #19
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default 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
blue68f100 is offline   Reply With Quote
Unread 11-30-2006, 07:55 AM   #20
xenoside
Cooling Neophyte
 
Join Date: Nov 2006
Location: texas
Posts: 28
Default 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
xenoside is offline   Reply With Quote
Unread 12-01-2006, 02:28 AM   #21
wgong
Cooling Neophyte
 
Join Date: Nov 2006
Location: Wollongong NSW Australia
Posts: 16
Default Re: Any way to remotely turn on a snap server?

Quote:
Originally Posted by re3dyb0y
Im sure my 2200 had that in the V3 OS....

*shrugs*
That seems likely as my Dell 705N running v3.4.790 also has a Shutdown command available through the web interface.
__________________
Dell 705N v3.4.790 4x Seagate 7200 160GB
wgong is offline   Reply With Quote
Unread 12-01-2006, 06:02 PM   #22
Phoenix32
Thermophile
 
Phoenix32's Avatar
 
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
Default Re: Any way to remotely turn on a snap server?

Quote:
Originally Posted by wgong
That seems likely as my Dell 705N running v3.4.790 also has a Shutdown command available through the web interface.
My 4100 had OS 3.x.6xx and did not have that Shutdown Unit in the Admin Server Setup Menu. I went from that OS to 3.4.805 to 4.0.830 to 4.0.860 and did not check anything in between other than functionality. But after the upgrade(s), it then had the Shutdown option.
Phoenix32 is offline   Reply With Quote
Unread 12-03-2006, 07:43 PM   #23
wgong
Cooling Neophyte
 
Join Date: Nov 2006
Location: Wollongong NSW Australia
Posts: 16
Default 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
wgong is offline   Reply With Quote
Unread 12-03-2006, 09:03 PM   #24
Phoenix32
Thermophile
 
Phoenix32's Avatar
 
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
Default 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.
Phoenix32 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:25 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...