1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

ESXi 4.0 and Ubuntu LTS VM Raw Drive Mapping/Software Raid

Discussion in 'Linux / BSD / Mac OS X' started by bpgt64, May 3, 2010.

  1. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    Ok, so as the title explains. My overall goal is map 4 1.5TB Drives to a Ubuntu LTS 10.04 VM, and create a software based raid 5 array and host that to the network inside an ESXi VM. Any idea if this is possible?
  2. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    you will be able to map those drives to an ubuntu system. from there when you setup your VM software just reference that mount point. i suggest using command line to mount those drives, not the GUI. i am pretty sure there is open source software for software based raid 5 but i have never set that up before. look into cloud software which is what you want to do essentially.
    bpgt64 says thanks.
  3. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    Thinking of checking out Open Filer, instead of Ubuntu...

    The main thing is making the drives available for Raw Device Mapping. We'll see how that goes tomorrow...
  4. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    there are pre-made operating systems for what you are looking to do. it would probably be easier!
  5. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    Easy Rhino says thanks.
  6. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    which version of vmware are you using?
  7. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    ESXi v4.0 Update 1
  8. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    hahaa. as i posted it i just remembered what you wanted to do. vmware server is also free and is a bit more powerful. you may want to give it a try once you get comfortable with your setup.
  9. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    I dunno, that sounds alot like ESXi, but it runs over a generic OS...where as ESXi is a stripped down version of ESX that is remotely controlled by vSphere. I am not sure what advantage could be gained from trying VMware Server over ESXi? ESXi 4.0 is also free, with its limitations..of course.
  10. Jizzler

    Jizzler

    Joined:
    Aug 10, 2007
    Messages:
    3,396 (1.33/day)
    Thanks Received:
    634
    Location:
    Geneva, FL, USA
    I don't really think of one as more powerful or not, they're just aimed at different situations.

    Server: computer -> host OS -> Server -> VMs.

    ESXi: computer -> ESXi -> VMs.

    If you, for example, wanted to use ICHxR or any other RAID controller not supported under ESXi, you could set up the array, install the host OS, then install VMware Server and create VMs.

    But if this way is working for you, then by all means go ESXi. It's "closer" to the hardware, so performance is a little better and there's no issues when rebooting a host OS for updates and whatnot.
    Easy Rhino and bpgt64 say thanks.
  11. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    Great points, certainly something to think about. I could host the soft raid in Win Server 08 or RHEL. It would allow me to make the raid normally, and then just host it over the v Switch to the other drives. Which would be fast enough. I figure since I have this in place, if I ever need to make a switch, I probably would switch to Vmware Server, but since this is in place....yea.
  12. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    ahh, that makes a lot more sense now. do you guys know how much vsphere costs?
  13. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    It's free, it's the ESXi licence that's limited with key. They limit you to a single CPU, and a certain amount of ram. Which is no biggie for home testing, but limits you in commercial application. Just do what I did and sign up at VMware.com, and pick your brand of fancy, ESX/ESXi/ESX server..They give you a free licence to it and Vsphere, but again its limited.
  14. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    i have been a member with vmware for several years now. i have never tried anything other than vmware server because of how well it runs with ubuntu and that it does not cost me a dime and is not limited. there is a pay version of vsphere which i am curious to know how much it costs.
  15. Jizzler

    Jizzler

    Joined:
    Aug 10, 2007
    Messages:
    3,396 (1.33/day)
    Thanks Received:
    634
    Location:
    Geneva, FL, USA
    I was looking at $20K+ to license three 2P servers and with all the 'goodies' a few months ago at my old job.

    Wasn't ready to drop that kind of cash and besides, as I was at an SMB, I wanted to wait until desktop solutions matured to really utilize the benefits.
  16. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    yea, it seems most of the benefit of using that stuff comes when you are a multinational enterprise.
  17. suraswami

    suraswami

    Joined:
    Apr 5, 2005
    Messages:
    6,077 (1.78/day)
    Thanks Received:
    794
    Location:
    Republic of Asia (a.k.a Irvine), CA
    I am working on a similar project at home. I am using the free VMWare 2.02. Last night I installed W2K8 Storage Server as a VM and configured it as my iSCSI Target to be used as storage on all VMs. Once you set it up I think all you need is to use the ip of the Storage Server, Folder, login info and you can use as regular windows storage. Or you can use Microsoft Initiator software and run on any 2K3 or 2K8 VMs to connect to the iSCSI targets.

    After struggling for last 4 days I finally made progress with this setup. I will see if I can open a separate thread to post my findings.

    I initially went with Openfiler in a VM route. I finished setting up the iSCSI targets but couldn't make a proper connection to those targets. I will try out this route one more time tonight and see if I can make it work. This is the simplest and less overhead route.
  18. Jizzler

    Jizzler

    Joined:
    Aug 10, 2007
    Messages:
    3,396 (1.33/day)
    Thanks Received:
    634
    Location:
    Geneva, FL, USA
    Yup. It's a little more work using Server/ESXi (you do all the backups, transfers of VM's to other machines) but free is free and I didn't have to manage dozens of servers, just a handful.

    The idea was to find out how much it would cost to only have three servers in the building and no desktops (all virtualized) with auto backup and failover for about 50 users. Would have been hella sweet, but there was no way we could swing the licensing and PCoIP monitor costs at that time.
  19. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    Well the shit hit the fan, I am going back in with Window's Server 08...the drive finished fine, but the permissions for it...won't work at all. Meaning Samba doesn't work at all. Meaning...yea.
  20. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    what samba permissions are you not figuring out? it is pretty easy once you get a hang of it.
  21. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    Sorry if I didn't clarify, the drive isn't acting properly, it won't let me alter any of the permissions on the drive, there's something inherently wrong with the drive(probably because of the way I am trying to configure it). But trying to access the drive outside of the VM box, isn't working at all. I have spent too much time on this for the results I am getting. And thus going back to 08.

    I have setup shares in with Samba before, and never had anything like this happen..
    Last edited: May 5, 2010
  22. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    My boss is convinced that we got that far, he can fix the issue with permissions...so it looks like I am going to rebuild the array tomorrow....*holds shotgun to foot*
  23. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    :roll: yea you can figure it out.
  24. bpgt64

    bpgt64

    Joined:
    Oct 5, 2008
    Messages:
    1,423 (0.67/day)
    Thanks Received:
    193
    Location:
    ATL, GA
    That and just to show off, he setup exactly what I was trying to do in his VM environment at work in 20 minutes with much smaller disks...So it does work...just yea.
  25. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,392 (4.75/day)
    Thanks Received:
    3,226
    well good to know it will work. why does your boss want to go with ubuntu over server 2008? i don't mind server 2008 for small businesses but it gets really bogged down after awhile.

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

Share This Page