VmWare, Ramdisk and script
#1
Posted 17 August 2009 - 01:25 AM
So down to the nity grity quest, i will be buying a new pc in a few weeks and i want to do someting that may or may not be unatainable.
using vmware's software i hope to (using a script?(auto run...lol) boot to esxi witch will then automaticaly take a vm (vmdk) and copy or place it on a ramdrive and boot that vm. then on shuting down that vm, place it back on the harddrive.
i beleve this should be posable i just have no idea how to go about setting this up. if anyone has an idea or if this has be descused before please let me know.
also could someone point me in the right direction for a tutorial on wrighting scripts.
(**good reason being that nowhere else realy try's to push the bar on getting a computer to do just what you want it to do.)
thanks all
#2
Posted 17 August 2009 - 01:36 AM
#3
Posted 17 August 2009 - 05:11 AM
If so, there are specific hardware requirements. Look here for a good description of the setup;
http://communities.v...m/docs/DOC-9000
For a more indepth explanation post your question at http://communities.v...top/workstation or http://sanbarrow.com/phpBB2/
Did not quite understand the part of copying to ramdisk the vm though..
Joakim
#4
Posted 17 August 2009 - 06:34 AM
my understanding of esxi (tho probaly wrong) is it was a sort of base os from witch you load/run your VM's, VMDK?
if my first asumchion is wrong please feel free to ignore all the rest of this post.
for arguments sake lets say the vmdk file is on the only harddrive in the computer, lets call it c:\VMs\PC1.VMDK (i know a linux based sys is diffrent) when esxi boots i would like it to start a ram disk(lets call it D:\) then copy the PC1.VMDK file from c:\VMs\PC1.vmdk to D:\ (ramdisk)and then run the VM D:\PC1.vmdk
then when i shut down pc1 the file d:\pc1.vmdk would over wright c:\VMs\PC1.vmdk
this is only how i think it might work tho i could just be insane.
In short i am looking for a way to dump the entire os on to ram and run from there, wile being able to install some apps or drivers with out loosing the changes on power off.
i maybe going realy far out of my way and i cerntly feel a little out of my depth...
any ideas are very welcome.
as for the pc Core i7 920/ga-ex58-ud5/12gb ddr3/2 30gb vertex ssd/sata control card/gtx285/psu/dvdrw/case/etc
#5
Posted 17 August 2009 - 08:11 AM
Yes it is an OS, but an enterprise solution for hosting large amounts of virtual machines.my understanding of esxi (tho probaly wrong) is it was a sort of base os from witch you load/run your VM's, VMDK?
There is no need to do so, because the all applications and drivers are still there in the vmdk after a reboot. If the performance is your concern, you may consider physical disks instead of virtual disks (but reported to not make any significant difference). You should consider VMware Workstation or Player for what you describe, and not esxi. It may still be possible to load it to a ramdisk as you said, but that would just eat up your system resources...without any gains.In short i am looking for a way to dump the entire os on to ram and run from there, wile being able to install some apps or drivers with out loosing the changes on power off.
Yes it could be done a little bit easier.i maybe going realy far out of my way and i cerntly feel a little out of my depth...
You did not say if it was for PE-mode (preinstallation environment) or not?
Joakim
#6
Posted 17 August 2009 - 09:27 AM
sad as that sounds I'd love my new computer to feel new all the time...
i was probably thinking of the preinstall but to be honest i don't know enough to say for sure.
no wait i bet you it was workstation...
as i say i don't know, but there really is nothing like jumping both feet in and finding out.
#7
Posted 17 August 2009 - 10:26 AM
Still only possible through a remote connection to a vm, either hosted by esxi or with rdp to a vm running inside player/workstation/server.
Having your laptop set up with esxi is possible, but it means you cannot use your laptop yourself for anything other than hosting vm's (The esxi OS is a stripped-down linux-similar derivative). But can also be achieved if installed inside a vm in workstation/player, but will suffer from bad performance, and may only be feasible for demonstration purposes.
That said, vmware workstation has a trial that also includes the free player, and with that hardware you could easily run multiple vm's at the same time.
Joakim
#8
Posted 17 August 2009 - 11:18 AM
i have never had a succinct explanation, yes workstation is the one ill look into.
sorry my brain works funny but ill get there. in the end.
i should say what has brought me hear clearly, with 12gb of ram i thought it would be nice to have my os run o the ram, i remember first doing this with knoppix live cd, and was awesome, everything was there before you even thought of asking for it, where it failed big time tho was the fact that it would not save changes made to it from one day to the next. you could install it to your hard drive but i could never get a way of making boot to ramdisk without the cd. so after a week or so of research (Google) i thought of using a vm and placing it on a ramdisk to run it,
wrong way to go about really but you live and you learn.
cheers for all the help & sorry for the confusing.
#9
Posted 17 August 2009 - 01:25 PM
It certainly is a little bit funny when working with virtualization.sorry my brain works funny but ill get there. in the end.
Instead of installing the linux OS to your harddisk, you install it inside a virtual machine to a virtual harddisk (.vmdk). Loading it the way you describe, with an iso to ramdisk, can still be achieved with changes saved. The procedure to do so differ from different distros, so you better check them out. I would recommend installing the os to the virtual machine though. It will be allocated its own resources and will be preatty fast on such a machine.i should say what has brought me hear clearly, with 12gb of ram i thought it would be nice to have my os run o the ram, i remember first doing this with knoppix live cd, and was awesome, everything was there before you even thought of asking for it, where it failed big time tho was the fact that it would not save changes made to it from one day to the next. you could install it to your hard drive but i could never get a way of making boot to ramdisk without the cd. so after a week or so of research (Google) i thought of using a vm and placing it on a ramdisk to run it,
Just jump into it!
Joakim
#10
Posted 20 August 2009 - 02:42 PM
Anyway - if you want to run VMware on a 12 Gb host - PE-based solutions don't make it. There is no PE that I know about that can handle 12 Gb RAM AND run a partly 32 bit app.
So you either can install a 64 bit Windows-system such as XP-64 or Win7-64 or use a 64bit Linux.
This can be a LiveCD if you want ...
Ulli
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users