SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-26-2007, 05:37 PM
vvulture vvulture is offline
Sage Advanced User
 
Join Date: Apr 2007
Posts: 138
Question Need a solution to this network puzzle...

Hi.
Here is the scenario:
I have 2 SageTV Clients, 1 SageTV Server and 1 NAS.
So far, i have managed to have the clients wake up the server via Wake On Lan.
In addition to this, i want to be able to control the NAS via the server. What i mean by that is :
- When server is awakened by client, the server in turn sends a command to wake up NAS via WOL.
- When server goes in standby, i want it to send a command to NAS to also go into standby.

Is this at all possible ?

thanks
Reply With Quote
  #2  
Old 04-26-2007, 10:04 PM
flavius flavius is offline
Sage Icon
 
Join Date: May 2004
Location: New Hampshire
Posts: 1,257
That should be possible. Waking something up you can easily do with some scheduler batch, for the on-standby event you'd need a daemon that intercepts the event and takes action.

Last edited by flavius; 04-26-2007 at 10:23 PM.
Reply With Quote
  #3  
Old 04-26-2007, 10:12 PM
vvulture vvulture is offline
Sage Advanced User
 
Join Date: Apr 2007
Posts: 138
Quote:
Originally Posted by flavius View Post
That should be possible. Waking something up you can easily be done with some scheduler batch, for the on-standby event you'd need a daemon that intercepts the event and takes action.
Thanks flavius... what is a daemon ??
Reply With Quote
  #4  
Old 04-26-2007, 10:20 PM
flavius flavius is offline
Sage Icon
 
Join Date: May 2004
Location: New Hampshire
Posts: 1,257
Typically that's a program that runs all the time waiting for events or commands from other programs for specific purposes, like printing or email. Being 'up' all the time enables them to be close to the system processes and catch or intercept events like the system shutting down or battery running low.
Programming a basic daemon is actually quite easy, once you have done a little bit of homework.
Reply With Quote
  #5  
Old 04-26-2007, 10:55 PM
vvulture vvulture is offline
Sage Advanced User
 
Join Date: Apr 2007
Posts: 138
Quote:
Originally Posted by flavius View Post
Typically that's a program that runs all the time waiting for events or commands from other programs for specific purposes, like printing or email. Being 'up' all the time enables them to be close to the system processes and catch or intercept events like the system shutting down or battery running low.
Programming a basic daemon is actually quite easy, once you have done a little bit of homework.
No problems flavius... thank for the help, but i was hoping for someone who could perhaps post some instructions to :
1 - Help me, as learning is somewhat time limited with a family of 3 small kids
2 - Help anyone else who may happen to read this thread.

Thank you
Reply With Quote
  #6  
Old 04-27-2007, 01:39 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I know this doesn't really help you, but any particular reason you are using the NAS? Seems that you would get better performance, and not have the waking issues, if you just had the storage attached to the server.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #7  
Old 04-27-2007, 02:40 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
I'm curious why you need the Sage server to tell the NAS when to standby or wake up. If the NAS can do standby at all, then wouldn't it have its own idle timer and wake-on-demand logic?
__________________
-- Greg
Reply With Quote
  #8  
Old 04-27-2007, 04:13 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Using AutoIT, this should be able to be done. If nobody does it in the next few days, I'll set it up.

http://www.autoitscript.com/forum/in...dpost&p=186621

B
Reply With Quote
  #9  
Old 04-27-2007, 02:04 PM
vvulture vvulture is offline
Sage Advanced User
 
Join Date: Apr 2007
Posts: 138
Quote:
Originally Posted by Fuzzy View Post
I know this doesn't really help you, but any particular reason you are using the NAS? Seems that you would get better performance, and not have the waking issues, if you just had the storage attached to the server.
Quote:
Originally Posted by GKusnick View Post
I'm curious why you need the Sage server to tell the NAS when to standby or wake up. If the NAS can do standby at all, then wouldn't it have its own idle timer and wake-on-demand logic?
Ok, here is the deal..
I currently have 1 server, which has 4 pci slots.
2 of them are being used by my Raid controllers.. the other 2 are used by my tuners.
However, i have another 2 tuners and need the other 2 slots.
So, what i would like to do is take out the raid controllers and setup another PC as a NAS, but i want the NAS to follow the ON/STANDBY state of the server, like a slave so to speak.

cheers
Reply With Quote
  #10  
Old 04-27-2007, 02:07 PM
vvulture vvulture is offline
Sage Advanced User
 
Join Date: Apr 2007
Posts: 138
Quote:
Originally Posted by bcjenkins View Post
Using AutoIT, this should be able to be done. If nobody does it in the next few days, I'll set it up.

http://www.autoitscript.com/forum/in...dpost&p=186621

B
Thanks bcjenkins, i will have a look.
Reply With Quote
  #11  
Old 04-27-2007, 02:17 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Does your motherboard have SATA capabilities? I have found the windows built in RAID system to be much more than adequate for my 6 tuners on 4 drives. Even if your MB doesn't have enough ports, SATA port multipliers are a lot cheaper than a whole new system. I just feel NAS doesn't really make a lot of sense if it is mostly just used for sage.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #12  
Old 04-27-2007, 02:37 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by vvulture View Post
...but i want the NAS to follow the ON/STANDBY state of the server, like a slave so to speak.
Right, but the question is why? What makes this operationally better than just letting the NAS manage its own standby state?

Suppose someone is browsing the program guide or managing favorites in Sage, but not actually recording or playing back anything. Obviously the Sage server has to be up for that, but the NAS doesn't have to be. So why not let the NAS time out and go into standby on its own, regardless of what the Sage server is doing?

Or conversely, say someone wants to access the NAS directly from a client in order to copy off a video file or something. The Sage server doesn't need to be up for that, but you'd presumably want the NAS to come out of standby in order to serve other network clients.

I don't mean to be argumentative, but I'm just not seeing the advantage of slaving the NAS to the Sage server's power status.
__________________
-- Greg
Reply With Quote
  #13  
Old 04-27-2007, 03:25 PM
vvulture vvulture is offline
Sage Advanced User
 
Join Date: Apr 2007
Posts: 138
Quote:
Originally Posted by Fuzzy View Post
Does your motherboard have SATA capabilities? I have found the windows built in RAID system to be much more than adequate for my 6 tuners on 4 drives. Even if your MB doesn't have enough ports, SATA port multipliers are a lot cheaper than a whole new system. I just feel NAS doesn't really make a lot of sense if it is mostly just used for sage.
Ok.
I have 2 RAID 5 arrays, each made up of 6 SATA drives for a total of 12 drives and 3.5 TB's of storage capacity. They are controlled by 2, 6 port 2610SA hardware RAID controllers.
These arrays store my entire DVD collection plus family videos and valuable pictures, plus room for more.
So, i have the hardware, i just need to re-arrange the setup. I have a spare PC to use as NAS.


Quote:
Originally Posted by GKusnick View Post
Right, but the question is why? What makes this operationally better than just letting the NAS manage its own standby state?
Well, i can wake-up the NAS with WOL no problems when i turn on the client, but how does it know when to stand-by ? I could perhaps use a utility to stand-by the NAS at the same time every night, but it will be a problem if i am in the middle of watching a DVD.
What would be ideal, is a utility that will stand-by the NAS at a set time every night, but only if it is idleing, at which point it will keep checking every 15 minutes or so until it can finally stand-by.
There is no need for the NAS to be on when i am out of the house, as it does no recording. Only ther server does the recording and the wake-up stand-by is controlled by SageTv.

Does any one know of a utility that can do the above mentioned ?

thanks
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sage network Encoder and Sage failure? nyplayer SageTV Software 1 09-27-2006 06:47 AM
extender mvp stuck aoehlke SageTV Media Extender 72 01-18-2006 10:01 AM
what I don't understand: TS files and network encoders potpiejimmy Hardware Support 4 01-10-2006 02:28 PM
Dish Network Standby Trouble Hardware Support 1 01-09-2006 06:28 PM
EXETunerPlugin, Sage 4 and network encoder vuego SageTV Software 0 12-11-2005 02:47 PM


All times are GMT -6. The time now is 07:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.