SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-24-2008, 12:52 PM
m1abrams's Avatar
m1abrams m1abrams is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 445
Brainstorming about consolidating servers

So I was thinking about how to reduce the number of physical machines I run 24/7 in the house. I was thinking with quad core machines and memory so cheap one could build a rather nicely equipped machine for not too much money. Then use this machine to do XEN visualization to run multiple servers and OSes.

Now I have done XEN for a development environment and find it to be rather fast particularly if you do NOT use a loop back device for the filesystem but instead dedicate a partition or device to the guest. These systems have been paravirtual which is more efficient than full virtual.

My question is could one run SageTV server as a XEN guest? If you ran SageTV on linux you could do a paravirtual however Windows I am not sure you can do that paravirtual so you would have to do Full. You can easily put multiple NICs in the machine so you can dedicate a NIC just for the SageTV. The only obstacles I can see are Disk I/O performance and the Big one accessing the different tuner hardware.

Just remember in full virt you can not block off PCI devices to the guest so any PCI tuners would be a no go. Some USB devices could work, however probably not any tuners. HDHomerun though should work fine.

Last edited by m1abrams; 06-24-2008 at 12:56 PM.
Reply With Quote
  #2  
Old 06-24-2008, 04:16 PM
mikesm mikesm is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,293
I have thought about that too, but I think the tuner issues will probably hose you, unless everything is network based like the hdhomerun, or the tuners can be hosted on a windows machine (like the R5000).

In the end, I run Sage on a dedicated windows server, and the NAS on a separate system that also runs vmware on it, and can host a windows server environment for running commercial skip, transcoding, etc...

2 Servers is not all that bad after all. :-)
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2
Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV
Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV
Client 3: Media MVP to 15" Toshiba LCD
Client 4: HD100 connected to Samsung 23" 720P LCD
Client 5: HD100 connected to Vizio VX37L
Reply With Quote
  #3  
Old 06-25-2008, 06:37 AM
m1abrams's Avatar
m1abrams m1abrams is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 445
Quote:
Originally Posted by mikesm View Post
I have thought about that too, but I think the tuner issues will probably hose you, unless everything is network based like the hdhomerun, or the tuners can be hosted on a windows machine (like the R5000).

In the end, I run Sage on a dedicated windows server, and the NAS on a separate system that also runs vmware on it, and can host a windows server environment for running commercial skip, transcoding, etc...

2 Servers is not all that bad after all. :-)
Yep the more I think about it the tuner issue will probably cause me too many headaches. Some have done it with MythTV. What I could do though is have 2 machines like you said. 1 that is the XEN box that can run, Firewall, Asterisk, fileserver, NX server, Squeezecenter. Then a separate machine for SageTV. Also could have the XEN guest do comskip like you said. The XEN machine would probably be a pretty beefy machine, and the Sage machine could be a little lighter with just tuners attached disk storage for recording, movies can reside on the fileserver. However, I am not sure the fileserver will have the performance to handle 4-6 recordings and multiple playback so the recording drives may have to be local.
Reply With Quote
  #4  
Old 06-25-2008, 07:49 AM
perfessor101 perfessor101 is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: Vancouver, British Columbia, Canada
Posts: 246
Xen / linux noob ... would pci passthru work for the tuners?

I have a machine sitting here ready for an install and I too was considering loading Xen on it ... but I'm fairly new to both Linux and Xen (Okay ... I've played with various nix's over the years and can basically follow a howto) (and I've been trying to figure out which nix would have the most current xen and simplicity for Sage setup ...). The last time I tried a Xen Server iso on my machine I found they didn't have the driver for an Atheros Gigabit onboard nic on the disk. (attlantastic, attastic?)

I have a Phenom 9500 with an AMD 770 chipset motherboard (Asus m3a) and 2GB memory. I also have several PCI tuner cards and a USB one to play with (3 x Ati eHome wonder, Hauppauge WinTV-HVR-1600, Hauppauge WinTV PVR-USB2, 1 x UltraTV 1500 MCE). Eventually I would like to move my 2 x Hauppauge WinTV-PVR-500MCE's into the new computer / install from my SageTV server running XP. (Currently I have SageTV Server for Windows ... I have considered getting SageTV for linux, but wanted to know it would work on my hardware without too much trouble first)

With current Intel (quad-core) and AMD chips (phenom) you have hardware (i/o) / OS virtualization support on the processor. So you can use pci passthru with Xen on these processors even with a Xen Unaware OS (windows XP). Leaving a possibility for someone to run a Windows XP based SageTV server within Xen if pci passthru will work with TV capture cards.

http://wiki.xensource.com/xenwiki/VTdHowTo

rambling on, confusing the issues,
Bobby
__________________
SageTV Server: Windows 7 64Bit, Phenom II X6 1090T, Asus M4A89GTD-PRO/USB3 (AM3), ATI Radeon HD 4290, 2 x KHX1600C9D3/4GX, 4 x HD-PVR2 Gaming, , 4 x 320GB recording drives, 2 x USB-UIRT, SageTV Server Beta
SageTV Client & 2 x HD-300 Extender.
40.8TB unRaid 6.6.5 media server
Reply With Quote
  #5  
Old 06-25-2008, 08:09 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by m1abrams View Post
So I was thinking about how to reduce the number of physical machines I run 24/7 in the house.


So this is only tangentially addressing your question, but if saving money is the intent of reducing the machines running 24/7, you might have a *long* return on investment if you have to buy anything new. But I'm sure you've already thought of this.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #6  
Old 06-25-2008, 08:19 AM
m1abrams's Avatar
m1abrams m1abrams is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 445
Quote:
Originally Posted by matt91 View Post
So this is only tangentially addressing your question, but if saving money is the intent of reducing the machines running 24/7, you might have a *long* return on investment if you have to buy anything new. But I'm sure you've already thought of this.
Well I yet to wire my house so that I can even use a Server / Client setup for sagetv. However I have the plans in place to wire the house, but have a long honey-do list to complete before I am allowed to do that project .

However once I finish the wiring project I will need to get some new machines to run as servers. I have some old hardware I can throw together, however I have found that some of my older motherboards are less than stable (blown caps). So buying new gear is kinda of needed, buying fewer machines and running XEN would make it cheaper even if I build up the XEN machine a bit.

However money is not the only reason to do this, other is because I want to. Also if I have fewer physical machines I have less hardware to maintain. Course when that hardware fails I do lose a good bit of services until it is fixed.

But please understand that this post is more of a thinking ideas out loud post. It will be awhile before I get this far in my list of projects. Hoping to be able to get the house wired before the end of the year!
Reply With Quote
  #7  
Old 06-25-2008, 04:09 PM
mikesm mikesm is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,293
Quote:
Originally Posted by m1abrams View Post
Yep the more I think about it the tuner issue will probably cause me too many headaches. Some have done it with MythTV. What I could do though is have 2 machines like you said. 1 that is the XEN box that can run, Firewall, Asterisk, fileserver, NX server, Squeezecenter. Then a separate machine for SageTV. Also could have the XEN guest do comskip like you said. The XEN machine would probably be a pretty beefy machine, and the Sage machine could be a little lighter with just tuners attached disk storage for recording, movies can reside on the fileserver. However, I am not sure the fileserver will have the performance to handle 4-6 recordings and multiple playback so the recording drives may have to be local.
Interesting, we run similar apps. Personally, I would never combine firewall functionality with my primary storage server. I never want a server at home touching the public internet directly. And I run asterisk as well, but on another server still. that server has an extended run UPS on it, and the phones in the house are all POE powered. So I keep that on separate VLAN and hardly ever update it. So for me, I have 4 servers. Everytime I think about consolidating Sage, pfsense (which is freebsd based), and Trixbox, I run into some issue, either security, power, drivers, etc... that keep everything separate.
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2
Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV
Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV
Client 3: Media MVP to 15" Toshiba LCD
Client 4: HD100 connected to Samsung 23" 720P LCD
Client 5: HD100 connected to Vizio VX37L
Reply With Quote
  #8  
Old 06-25-2008, 04:21 PM
motobarsteward's Avatar
motobarsteward motobarsteward is offline
Sage Aficionado
 
Join Date: Dec 2005
Location: Swindon
Posts: 311
I consolidated my system last week (see my signature). It's pretty nerve-racking but I'm saving quite a lot of power and I now back up to a 2TB NAS that I bought from E-Bay for £250. The server is still slow by todays standards but I tink it's twice the speed of what came before!
__________________
Setup: - Server - Intel 3.4G D + XP, 2Gig ram, 3TB of raid. All running in service mode with 2 Hauppauge HVR4000 Running v7 with LMGestion's XMLTV and DG2XML. I also have the web server running.
Client - x2 plus PlaceShifter on various machines including eeepc Ubuntu 8.04. I am streaming Live TV to my PocketPC.
Stable but can use DVB-S on second HVR400.
Reply With Quote
  #9  
Old 06-25-2008, 07:52 PM
m1abrams's Avatar
m1abrams m1abrams is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 445
Quote:
Originally Posted by motobarsteward View Post
I consolidated my system last week (see my signature). It's pretty nerve-racking but I'm saving quite a lot of power and I now back up to a 2TB NAS that I bought from E-Bay for £250. The server is still slow by todays standards but I tink it's twice the speed of what came before!
Did you use XEN? Or did you just put all your services on one windows machine?
Reply With Quote
  #10  
Old 06-25-2008, 08:29 PM
flavius flavius is offline
Sage Icon
 
Join Date: May 2004
Location: New Hampshire
Posts: 1,257
When I replaced my Sage server last summer I was left with yet another door stopper, so, since I hadn't toyed around with FreeBSD in a long time I took a couple left-over ATA drives and voila, there was my second server, hosting ripped DVD's. It's been almost a year now.

Not that I really need that box, though.
Reply With Quote
  #11  
Old 06-26-2008, 10:22 PM
Slipshod's Avatar
Slipshod Slipshod is offline
Sage Aficionado
 
Join Date: Feb 2008
Location: San Francisco Bay Area
Posts: 474
I'm in the process of doing this with VMWare server on WHS. I'm running Sage on host OS, and will be running several ubuntu guests as VMs for Email, LAMP, and the wifi NMS app from work.

It's free, and works really well. You can do the dedicated drive trick for performance if you like, and I think you can also dedicate NICs as well.

In theory you might be able to run Sage in a VM using an HD-PVR, R5000, or some other USB tuner. I don't think I'd try it personally, but it might work.

Cheers,
Slipshod
__________________
SageTV V7 (WHS), Diamond UI
Server: WHS with Xeon X3350, 4GB ECC, ASUS P5BV-C/4L, recording into a 6.6TB Drive pool
Tuners: 4 (2x HDHR)
Clients: 2x HD300, 1x HD200 Extenders, 1x Placeshifter
2x Roku XD
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
Switching Servers soccerdad SageTV Media Extender 3 05-25-2008 10:32 PM
SageTV java issues jayemdae SageTV Linux 3 05-20-2007 02:55 PM
Can you use the Media Extender with 2 seperate servers? HelixSky SageTV Media Extender 1 01-18-2006 07:09 AM
Feature request: A way to switch servers dadams SageTV Software 2 01-05-2006 03:25 PM
Changing servers with the client dadams SageTV Software 3 11-07-2005 10:56 AM


All times are GMT -6. The time now is 05:06 AM.


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