|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Virtualize with ESXi 4.0
I have upgraded my setup now which you can see what I have below . I am considering switching my setup to ESXi since I am familiar with it at my work and I want to be able to run other test OS's on the occasion. I also have plenty of horsepower that is not being used. I have done a test run and I can pass my A180 and a NIC directly to a VM. I think this will give me the best chances of working and the least amount of hiccups. I want to also connect my 1.5TB drive directly to the VM rather than creating a virtual disk file. Does anyone have any experience with passing hardware like this to a VM? Anything I should avoid before making the jump?
TIA, Jayson
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk, A180 using VMDirectPath, 1 xHDHR Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15 Sun JRE 1.6.0_20 Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated Clients: 1 Media MVP and 2 STX-HD100 |
#2
|
|||
|
|||
There is at least one other thread about doing this, although it was in the context of using ESX to get Solaris to manage the storage, the poster wanted ZFS.
As long as the tuner is a network or USB tuner, this should work just fine. I'm very familiar with VMware as well and while I haven't done this yet, I'm thinking about it.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM |
#3
|
|||
|
|||
I've had issues directly attaching storage, but that was a couple of years ago, they hopefully have worked out the kinks now. Mounting a virtual disk as a physical drive still has issues, but they are getting less and less every revision as well.
|
#4
|
|||
|
|||
Hosting a Linux SageTV VM on ESX(i)
Quote:
Quote:
Quote:
IN such a config, you would have a VMFS partition (presumably on the smaller drive) with the Sage OS VMDK, and then a second virtual drive would be added that would be RDM (virtual if you want snapshots and the like, physical if you want SCSI commands to passed directly to the drive; virtual is best-practice if not using MSCS or other clustering) I can definitely see the advantages of this config. I am thinking the only hangups would be hardware compatibility and device pass-thru. If pass-thru works without too much overhead; the I/O is fast enough for HD capture requirements; and the target system is HCL "close" then it would be a reasonably clean config. Keep us posted! John |
#5
|
|||
|
|||
The RDM path is well tested, it works fine in the field. The common problem people run into running ESX at home is making sure your storage is recognized. Historically, ESX hasn't had great support for SATA or SAS on the motherboard. Recently that's gotten much better. If you can make it a datastore, then it'll work.
The PCI passthru will only work with motherboards which have an IOMMU. If you have an network attached encoder (like the A180 or the HDHR), this isn't a problem.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM |
#6
|
||||
|
||||
I have been testing this extensively (raw disk mapping) over the last few months. It works fine for passing the disks through to every os I threw at it (Ubuntu, Windows 7, 2008, XP, 2003) with one exception. You cannot successfully create a software based RAID array with Windows 7 or 2008 R2. There seems to be a compatibility issue with ESX and how it lets the guest os write to "disks". Note this is also true if you are mapping virtual disks, not just raw disks, to these OS's. RAID works fine in Ubuntu and 2008 (R1) and below.
Here's a link to a quick and dirty tutorial for mapping raw LUN's: http://www.vm-help.com/forum/viewtopic.php?f=14&t=1025 BTW: I have also tested SageTV by just using standard virtual drives, and recording from a HDHR over the network. It works very well, with no glitches so far (two weeks). I do not have VT-H capability so all of my testing can only happen with my HDHR's and Hava HD Wireless.
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#7
|
|||
|
|||
If you created your RDM volumes using that guide, perhaps you should try using -z instead of -r to create physical compatibility mode mappings rather than virtual mode.
I have an ESXi 4 setup and its running perfectly. I'm using virtual NIC's and performance has been spectacular, so I see no need to use passthru on them. I do have my arrays set up using RDM (virtual mode). One of these days I would love to see how many tuners and clients it would be able to handle. Tuners and clients are on separate physical NICs and the Sage VM has 3 virtual NICs in it. Quote:
|
#8
|
||||
|
||||
Thanks for the tip, I will give it a try. Didn't know about -z. Do you think it will make a difference if VMDKs will not do RAID either in 2008 R2 or Win7?
[Update: That worked, thanks again!! I'm gonna test performance now]
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 Last edited by mikejaner; 02-14-2010 at 09:07 AM. |
#9
|
||||
|
||||
OK guys, I put ESXI 4 u1 on a spare PC so I could play with it, but I've run into a snag that has me utterly baffled.
I'm attempting to install Linux Mint 8 (KDE) in a VM. I downloaded the ISO, uploaded it to an ESXi datastore, setup a VM (picked ubuntu 64 as the linux version). The LiveCD boots just fine into KDE and it all appears to be running fine. Problem is, whenever I try to "install" Mint, my ESXi machine (the whole machine) just powers off. Somewhere between it creating the file system and copying the files. Like I said I'm baffled, I haven't run it a lot, but I've put a few hours on another VM with Windows Server 2003 (enough to install Sage and a SP2). Anyone have any ideas what would cause the whole system to pack up? |
#10
|
||||
|
||||
Quote:
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#11
|
|||
|
|||
Quote:
Uhh, wow crashing the host is pretty bad. The way you phrased it, it sounds like you can consistently reproduce this. If that's the case, can you do it again and grab the vmware.log file from the VM directory on the ESXi host?
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM Last edited by kbyrd; 02-14-2010 at 06:37 PM. |
#12
|
||||
|
||||
How much ram did you assign to the VM?
I just went through the install of Mint 64 KDE, but only after increasing the ram from 512MB to 2048MB. At 512 MB, the VM kept crashing the installation program, and it was very slow. I bumped up the memory, and now the VM is installing smoothly. Quote:
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#13
|
||||
|
||||
Quote:
Quote:
Quote:
|
#14
|
|||
|
|||
Does your processor have virtualization enabled in the bios?
|
#15
|
||||
|
||||
I'm pretty sure I did. Like I said, it's weird, it will run Mint (off the live CD) just fine, and it runs Windows Server 2003 and XP just fine, but for some reason the Mint installer kills it dead every time.
|
#16
|
|||
|
|||
I just ran into an ESXi issue now where I installed it, but I forgot to turn on virtualization. I flipped it after I installed ESXi, but I couldn't use VMWare converter to put a 64bit OS into the ESXi server, it kept saying it doesn't support 64 bit. I had to reinstall to get it to support 64bit. Granted it was a new server, so it was easy to reinstall, there's probably some console setting to do it as well.
|
#17
|
|||
|
|||
If you're running 64-bit guests, enable VT or whatever AMD calls it in the BIOS first.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM |
#18
|
|||
|
|||
I got everything switched over and it is running pretty good. I ran into a couple problems along the way but mainly due to the way ESXi works. I decided to pass my NIC directly to the VM since the motherboard I am running has 2 NIC's on it but ESXi would only recognize one of them. I passed the disks in physical mode and was able to mount them back into ubuntu without any issue or data loss. I am able to access my PCI HD tuner (A180) without any issue and I do not see any kind of performance problems yet. as of now so far so good but I will let you know if anything changes. Thanks for everyones input.
Jayson
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk, A180 using VMDirectPath, 1 xHDHR Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15 Sun JRE 1.6.0_20 Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated Clients: 1 Media MVP and 2 STX-HD100 |
#19
|
|||
|
|||
Are you RAIDing the disks? If so, are you doing this in the Ubuntu guest or in hardware or something else?
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM |
#20
|
||||
|
||||
I've got a question... I see the new i5's have VT-d, but I'm having a heck of a time finding a motherboard that supports it to go with it. Does anyone know if any of the intel H55 or H57 board support VT-d? Or any i5 boards with confirmed VT-d?
-er scratch that maybe. Looks like the DQ57TM officially includes VT-d. Last edited by stanger89; 02-20-2010 at 04:54 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV using HD-PVR and VMware ESXi | radioman | Hardware Support | 29 | 10-13-2010 04:45 PM |
Currently have Sagetv working with ESXi and hvr 1600 | itzatol | Hardware Support | 5 | 07-09-2010 06:50 PM |