Hello, is there a way to know the computername where my image is being hosted ?
I want assign computername base on their main host, for instance, if system 2rrvm01 is the main host then i want my virtual machines to be 2rrvm01x01, x02 and so on....
Thanks.
I guess that depends on how you provision VMs. If you use a script, then it would be entirely possible.
However, it begs the question - what if you migrate the VM to another host? Can you absolutely say that you will not use this feature, it underpinning much of the benefit of a virtual infrastructure?
Chris
Thanks Chris, however, it won't really matter if the image get's moved to a different host because the idea is just to take the main host name (2rrvm01) and just add x01, x02, etc.
For a better explanation my plan is to:
1- prepare a system with 2k3 syspreped with 4 vm's ( 2 x86, 2 x64 ) syspreped also. the vm's have the setting to turn on automatically once the host starts.
2- Save this image and restore it on 30 systems ( same hardware type )
3- When every system boots up the first time it will generate a new SID for the host, then it will start the vm's and also generate a SID for those.
That's why i would like to assign names of vm's base on their host.
That way i can have 30 physical systems with 4 vm's each which potentially will give aprox. 120 systems.
By the way, if I start a VM from vmware-cmd command line and if it is the first time it will pop a window to generate and Id, is there a way in the script i can respond the create, that way everything will run automatically.
Thanks for the help again.