convert virtual machine with connected users

Hello world

Is is 'OK' to convert a small server terminal server on a virtual machine, while users are connected?

It does not, as I have done this several times, but wanted to know for sure... what may be the consequences.

I have more than one terminal Server and I want to keep a virtual copy, just in case tha hardware version breaks, so, I can get users upwards and while work on the virtual version while the equipment is repaired.

Thank you!!

Peter

P2V server will you get at first, then slowly increase on the farm of virtual machines that provide services Terminal Server.   You may want to decommission the p2v version if problems occur.

Kind regards

EvilOne

VMware vExpert 2009

NOTE: If your question or problem has been resolved, please mark this thread as answered and awarded points accordingly.

Tags: VMware

Similar Questions

  • How can I configure my imac to run a common virtual machine with 3 users?

    I am running Fusion 5.0 with OS 10.81 on my imac. Fusion works under windows 7 grand on my desk. When I go to start the virtual machine on the merger of office of my wife says that she doesn't have permission to open the virtual machine? I put an identical copy of the virtual machine in the shared file in the users folder so that all users on our imac family could see it, but it will not always be open.

    Help!

    Take a look at: sharing a VM between users on Mac OS (1005196)  

  • Basic commands to identify all the virtual machines with connected CDROMS

    Hi all


    I am totally new to PowerCLI but need to identity the easiest and the shortest way for me to list all virtual machines in my vCenter server that currently have an attached CDdrive.


    I if I would be able to do this with get - vm | Get-CDDrive but no results are displayed.

    I've seen many examples on the web page of the way people want to disconnect all drives in a single shot, but initially, I want only to identify them for a report.

    Can this be achieved in one line?


    Thank you

    Try something like this

    Get - VM | where {$_.cddrives} | Select Name, @{N = ' connected'; E = {(get-CDDrive-VM $_).} ConnectionState}}

    or if you only want to see who is connected, you could do that

    Get - VM | where {$_.cddrives} | Select Name, @{N = ' connected'; E = {(get-CDDrive-VM $_).} ConnectionState.Connected}} | where {$_.} Connected}

  • Tool to find virtual machines with connected CD-ROM or a SQL query?

    What is a good way to find all the virtual machines that have the cd player or datastore ISO file attached host?

    RV tools will also work.  http://www.robware.NET

  • How users share a virtual machine with the level of access under total control?

    Hello

    In our Lab Manager environment, we have created workspaces and users can create and share virtual machines in these workspaces. The problem is the level of access only I can see when users share virtual machines is read-only. How can users share their machines with other users with the full control access level?

    Thank you.

    It is a constraint of security designed to prevent the full control permission, being too easy accidentally to give everyone in a system.

    The answer depends on whether you have PF3 or LM4.

    Behavior of PF3: share to everyone in an org is read-only, while sharing a physical person should give you full read/write/control

    LM4 behavior: share in all the world in an org, individuals selected in an org or anyone in a different workspace == read-only, while in the same workspace gives you the opportunity.

    That said, total control: the ability to deploy/undeploy it or change the settings of the virtual machine, NOT if the specified user has write access the console.  The distinction is quite important.

    Also, page followed, but he had the wrong information, there may be an arbitrary number of connections of the competing console to the same VM (oh, I'm sure that there is a limit, but I did not deliberately try to find).  It does give the impression that several people are faced with the same mouse and keyboard...

  • How to export/import a virtual machine with ESXi 5

    I use the free version of ESXi 5 and have created a virtual machine that is configured with the software for our project. I would like to share this virtual machine with other members of the team, some of whom are in other places and have slow network connections.  I want to pack the VM in a reasonable size file or a set of files I could ftp (or put it on DVD for people in areas of slow network) that they could then import into their ESXi hosts. The virtual machine has a 60 GB drive that is implemented by using the option 'thin', so it contains only 6 or 7 GB of real data right now.  Is it possible to export the image to a file or set of files that can be imported to another people ESXI host?  Before when I used VM Player we could do this by upgrading backup files in virtual machine directory and copy them to the new machine. With the ESXi data store, I don't know that something like this can be done.  I used vCenter Converter to convert to ESXi Infrastructure VM in VM Player format (and vice versa), but it is extremely slow. I think I might point the Source to my ESXi host and the Destination to a co-workers ESXi host and run a 'conversion' to transfer the files, but I think it would be very slow and impractical for some people to 'slow-network '.  I tried with vSphere Client navigation data store and I see the download options, but when I tried to download a VM directory it just hung.  I enabled ssh on my server ESXi and I found the store of data under/vmfs/volumes and when I look in the folder that contains my VM, there a file myvmname - flat hard which is 60 GB in size, so if I tar the contents of this folder to move elsewhere it will be huge.

    Can anyone suggest a solution?  The licensed version of ESXi would offer better alternatives?

    You can watch export OVF available in the Client vSphere for this function.

  • Cloning a virtual machine with 2 hard drives!

    Hi all!

    I ran into a very annoying problem. I'm trying to Migrate/convert virtual machines to a host in the CR. Each virtual machine has 2 hard drives which are located on 2 different data stores. When I try to migrate or to clone virtual machines from the host on my Cluster I get an 'error of operation period.

    After scratching my head for a while, I discovered why. The virtual machine have 2 hard drives on 2 different data stores. Both flat.vmdk files are called eponymous because they are on different data warehouses (TTDC001.vmdk). I created a VM test on the cluster with 2 hard drives and flat.vmdk flies are named TTDC001.vmdk and TTDC001_1.vmdk.

    So my conclusion as to why I get "Opération Timeout Error" is that VC trying Migrate/Clone to the virtual machine but is mistake because his attempts to migrate/Clone 2 hard files with the same name!

    Can someone give me some pointers as to how I can get around this? I am currently copy the file hard 2nd to my deskop from the data store and rename it then copy him on the new cluster data store to see if it works as you cannot rename the file hard in the data store. It just seems long way round to migrate virtual machines with 2 hard drives, and I don't even know if it works!

    Please help!  :|

    Andy Hughes

    Andy of the evening,

    I do it well. Thank you for asking.

    So if I'm reading correctly it seems that you are trying to clone a virtual machine from a stand-alone host to a host that is part of a VMware Cluster. When you do this you get a network midway through the copy error. Is this correct?

    Can you confirm how fast is connected to the Service Console between the two servers? For this kind of work I would recommend making them run at 1000/full, assuming you're not already. Could you also post the entire message that you get when the clone fails.

    Kind regards

    Glen

  • Run a virtual machine with a graphical interface on a host without GUI

    Hallo

    I want to install a simple Windows 7 for some tasks bit where I need Windows on my server Ubuntu 14.04. This server has no GUI (no X) and should have any.

    Already, I've installed the virtual Windows machine on my workstation to 12, so I would just copy the vmdk on my linux server and run it, maybe put something in the vmx file.

    But I do not know is that it's all means possible.

    Is it?

    Is there any player or any application for ubuntu VMware when there is no X system (on ubuntu), where I can run virtual machines with GUI inside?

    Maybe another virtualization tool, vmware not?

    I think that this exact question already somewhere, but I haven't found much question where comments lacking a GUI, but not the host.

    I need a guest-gui on a host without gui (where I have only the terminal).

    So maybe it's not possible at all, so please tell me a 'no', so I won't expect more

    Thank you to

    Frank

    EDIT: oh, this seems to be another question unanswered it is too difficult or too stupid?

    Hi Frank,.

    Now that would be stupid, having a text Installer, and then not allow the virtual machine to run. I think it should work, but you must pass the nogui option.

    Vmrun help:

    beginning

    (Supported only on teams

    Workstation.)

    Starts a virtual machine (.vmx file) or team (file .vmtm).

    The default graphical user interface option starts the machine in an interactive way,

    What is necessary to display a user interface of VMware.

    Nogui option suppresses the user interface,

    including start-up, to allow dialog box not interactive

    writing scripts.

    [gui | nogui]

    refer to the manual of vmrun: VIX API Documentation

    Edit: hmm... Now, I see that you have already tried the nogui option. You might be able to install the package libxinerama, but he could hang out in a lot of dependencies.

    FWIW, vSphere is pretty much what you describe a system not GUI to run GUI invited, so it shouldn't be a problem at all.

    Unfortunately, I don't have a host linux without X installed handy here, so can't test here without the implementation of a server without head myself.

    You can also try to run the client via the command vmware:

    VMware Workstation 12 Pro Documentation Center

    --

    Wil

  • PowerCLI Script to migrate virtual machines with the same network Source for the new vCenter Server.

    Hi all

    I checked a few posts on the migration to the new vCenter Server virtual machine. But I'm not very good with Powercli and need some help here.

    We have a new vCenter server where we migrate virtual machines from one source vCenter server. Here are two things that I don't know how to connect together to make sure that bwfore we turn on the virtual machine to the virtual machine is connected to its source network.

    Part 1 - this script works well but do not get any network on the vCenter destination.

    cluster = Get-Cluster "clusterA.

    $inventory = get-Cluster $cluster | Get - VM | Add-Member - MemberType ScriptProperty-name "VMXPath" - value {$this.extensiondata.config.files.vmpathname}-Passthru-Force | Select-Object Name ResourcePool, folder, VMXPath |

    $inventory | Export-Csv c:\file.csv

    $inventory = import-csv c:\file.csv

    $cluster = get-group 'b '.

    {foreach ($vm to $inventory)

    $ESXHost = get-Cluster $cluster | Get-VMHost | Select - 1 first

    New-VM - VMFilePath $vm. VMXPath - VMHost $ESXHost - location $vm. Folder - ResourcePool (Get-Cluster $cluster |) Get-ResourcePool $vm. ResourcePool)

    }

    Part 2 - I want to preserve the Portgroup macaddress and the Ip of the virtual computers and connect them to the new vCenter. How can I do this with the script below. Or how can I combine them together?

    $vm_list = get-Cluster-name "clustera | Get - VM test * | Name sort

    $information = {foreach ($vm to $vm_list)

    $network_adapter_information = get-NetworkAdapter - VM $vm

    $vm | Select Name,PowerState,ResourcePool,@{N="Path; E=       {$_. ExtensionData.Summary.Config.VmPathName}},@{N="NetworkAdapter '; E = {[string]: join (":", ($network_adapter_information |))} %{$_. {{(Nom + "," + _.NetworkName $}))}}, @{N = "MacAddress"; E = {[string]: join (",", ($network_adapter_information | % {$_.}))} MacAddress}))}}

    }

    Step 2

    # Unsubscribe virtual machines

    Remove-VM - VM $vm_list-RunAsync Verbose - confirm: $false

    Step 3

    $cluster = get-group 'b '.

    {foreach ($vm to $inventory)

    $ESXHost = get-Cluster $cluster | Get-VMHost | Select - 1 first

    New-VM - VMFilePath $vm. VMXPath - VMHost $ESXHost - location $vm. Folder - ResourcePool (Get-Cluster $cluster |) Get-ResourcePool $vm. ResourcePool)

    }

    # Save virtual machines

    foreach ($info in $information)

    {

    $vmxpath = $info. Path

    $resource_pool = $info. ResourcePool.Name

    New-VM - ResourcePool (ResourcePool-Get-name $resource_pool) VMFilePath - $vmxpath - RunAsync-Verbose | Out-Null

    }

    Step 4

    # Put the network cards

    foreach ($info in $inventory)

    {

    foreach ($network_information in ($info.NetworkAdapter - split ":"))))

    {

    $virtual_machine = $info | %{$_. Name}

    $network_adapter = ($network_information-split ",") [0]

    $network_vlan = ($network_information-split ",") [1]

    Get-VM-name $virtual_machine | Get-NetworkAdapter-name $network_adapter | Together-NetworkAdapter - NetworkName $network_vlan-Verbose-RunAsync-confirm: $false | Out-Null

    }

    }

    # Start the virtual machines

    foreach ($vm to $vm_list)

    {

    Start-VM - VM $vm. Name-RunAsync Verbose - confirm: $false | Out-Null}

    }

    Thanks in advance for any help.

    Hi all

    I made some changes to the script and it worked for me. We have added a host on the destination with all exchanges and storage mapped vCenter.

    $vm_list = get-Cluster-name 'Site B - b | Get - VM | Name sort

    $information = {foreach ($vm to $vm_list)

    $network_adapter_information = get-NetworkAdapter - VM $vm

    $vm | Select Name,PowerState,ResourcePool,@{N="Path; E=       {$_. ExtensionData.Summary.Config.VmPathName}},@{N="NetworkAdapter '; E = {[string]: join (":", ($network_adapter_information |))} %{$_. {{(Nom + "," + _.NetworkName $}))}}, @{N = "MacAddress"; E = {[string]: join (",", ($network_adapter_information | % {$_.}))} MacAddress}))}}

    }

    # Unsubscribe virtual machines

    Remove-VM - VM $vm_list-Verbose - confirm: $false

    $cluster = get-Cluster "Site A - clustera.

    {foreach ($vm to $information)

    $ESXHost = get-Cluster $cluster | Get-VMHost | Select - 1 first

    New-VM - VMFilePath $vm.path - VMHost $ESXHost - location $vm. Folder - ResourcePool (Get-Cluster $cluster |) Get-ResourcePool $vm. ResourcePool)

    }

    # Save virtual machines

    foreach ($info in $information)

    {

    $vmxpath = $info. Path

    $resource_pool = $info. ResourcePool

    New-VM - ResourcePool (ResourcePool-Get-name "test1") VMFilePath - $vmxpath - RunAsync-Verbose | Out-Null

    }

    # Put the network cards

    .

    foreach ($info in $information)

    {

    foreach ($network_information in ($info.NetworkAdapter - split ":"))))

    {

    $virtual_machine = $info | %{$_. Name}

    $network_adapter = ($network_information-split ",") [0]

    $network_vlan = ($network_information-split ",") [1]

    Get-VM-name $virtual_machine | Get-NetworkAdapter-name $network_adapter | Together-NetworkAdapter - NetworkName $network_vlan-Verbose - confirm: $false | Out-Null

    }

    }

    # Start the virtual machines

    foreach ($vm to $vm_list)

    {

    Start-VM - VM $vm. Name-RunAsync Verbose - confirm: $false | Out-Null

    }

    Hope this will help many of you.

  • Cannot create a virtual machine with a vmdk file copied from another location, please find the attached error

    Hi all

    I copied a file from one place vmdk and try to make a new virtual machine with this vmdk file. But when I turn on after the creation of vm error is coming. Error in the text and the image below

    Power on the virtual machine: cannot open scsi0:0 disc: disc not supported or not valid type 7. Ensure that the disk has been imported.

    See the error of the stack for more details on the cause of this problem.

    Time: 31/03/2015-14:40:05

    Target: DBServer

    vCenter Server: vcsa

    Error stack

    An error was received from the ESX host turning on DBServer VM.

    Unable to start the virtual machine.

    Power DevicePowerOn module has failed.

    Unable to create the virtual SCSI device for scsi0:0, ' / vmfs/volumes/543d140b-feb33d52-7640-90b11c9796c3/vmdk/kapuatdb.vmdk'

    Could not open scsi0:0 disc: disc not supported or not valid type 7. Ensure that the disk has been imported.

    This error message generally if the hard files have been copied hosted as VMware Workstation product, which uses a format of sparse file that is not supported on an ESXi host. Instead of the hard copy, you can use VMware Converter, or - if you prefer - you can convert the hard using vmware-vdiskmanager (before transfer) or vmkfstools (after downloading). I deal to use vmkfstools you will need to load the mutliextent module (see for example "Clone or migration operations involving virtual discs non-VMFS on ESXi fail with an error" vSphere 5.1 Release Notes)

    André

  • Commissioning a virtual machine with vCAC

    I'm embarrassed to have to ask the question, but here goes.

    How to configure a virtual machine with vCAC?

    I have install the application.  Created the plan of action.  Has created the service.  Created the Group of companies.  Create the law.  Has created the catalog item.

    As far as I can tell, I did everything what to do to allow a computer virtual be put into service, but I can't find where in the application to access the catalog and run provisioning.

    Would be the logical place to do https://FQDN to vcac/shell-ui-app/org / < tenant > logged in as a standard user who is a member of the Business Group with access to appropriate and rights catalog items to the.

    What Miss me?  I'm sure that the answer is right in front of my face, but I can't.

    If you are a member of the right to the service and a member of the Group of companies, you should have a catalog tab when you log in. All the plans that you access it will be...

  • How to get the host name of the physical computer inside a virtual machine until the user logs in Windows?

    I don't know if this is the right place to post this question, I develop software to support VMWare PCoIP and need to know how to get the host name of the physical machine (which manages the virtual machine and View Client) within a virtual machine before the user logs in Windows of the virtual machine.

    I understand there are two ways to read the host name, via the HKEY_CURRENT_USER\Volatile Environment registry and environment variables, but they are available once the user is connected. I need info before the user connects.

    Is there a VMware API that can be called or asked the host name?

    Thank you.

    Not on the broker, but there are the startup scripts to log on to the computer virtual itself: http://pubs.vmware.com/view-52/topic/com.vmware.view.integration.doc/view_integration_startsession_script.9.2.html

    Note that these executed when a virtual desktop computer allocated connection, not to the point that the client connects - it is possible for the customer to not complete the connection (crash, cancel, network failure) and so any what solution you design must handle this.

    Mike

  • Create the virtual machine with the ISO mounted CDROM

    Community of hell!

    Working on the vmcreate.pl script to add the creation of CD-ROM with iso data store, I got stuck on the error

    ' Invalid device configuration: ' VirtualSCSIControllerOption.numSCSICdroms '.

    I'm sure I'm missing something obvious, or this option but may not understand how to deliver this.

    I created a cdrom as follows (below test I create any CDROM, no iso file to reduce the number of layers):

    my $ BPPRR m_backing_info = VirtualCdromRemotePassthroughBackingInfo->new)

    deviceName = > ' '.

    exclusive = > 0,

    );

    my $description = description->new(label = > 'CDROM', summary = > 'cdddrom');

    my $connectable = VirtualDeviceConnectInfo->new(allowGuestControl = > 1,)

    connected = > 0,

    startConnected = > 1,

    ( State = > inmates ' / ' );

    my $ BPPRR m = VirtualCdrom->new(backup = > $BPPRRm_backing_info,

    connectable = > $connectable,

    controllerKey = > 0,

    deviceInfo = > $description,

    key => 1,

    ( unitNumber = > 1 );

    VirtualDeviceConfigSpec->new(device = > $BPPRRm,

    operation = > VirtualDeviceConfigSpecOperation->new()'add'));

    Did anyone have working example to create the virtual machine with CDRom?

    Andrey

    If someone will find this useful I followed this route Re: vmreconfig.pl add the device CD/DVD fails if the virtual machine created with vmcreate.pl

    and also I found good examples of what I need to in VMUtil.pm in cmd vmsphere libraries.

    Andrey

  • Virtual machine with a multiple split files on disk.

    Hi all

    I downloaded Virtual Machine in which there are 2 disk file (hard) that has been split into several files to disk (joint screen shot... filename - disk_details.jpg). Now my concern is whenever I try to turn on the virtual machine it gives an error (attached screen shot... filename - Mapr VM Error.jpg). Need your help to solve this problem. I even tried to merge all split VMDK files in a single VMDK but who haven't worked too.

    5.1 ESXi

    CISCO UCS server

    The VM Ubuntu 64 OS.

    Let me know if you need additional information.

    Hello

    Try converting your vmdk 'sparse' a vmdk taken in charge.

    According to this KB:KB VMware: cannot power on a virtual machine with few disks mounted .

    Hope It helps,

    Kind regards

    Julien.

  • Average throughput of the network to a virtual machine with PowerCLI

    I would get average network throughput for a virtual machine with PowerCLI including all e-cards, the virtual machine has for the last week (not including NFS or storage of traffic-related).

    How best should add this report:

    Get - vm myvm | Select name, numcpu

    Thank you!

    Try like this

    Get-VM | Select Name, @{N="Avg Network Throughput MBPs";E={    [math]::Round((Get-Stat -Entity $_ -Start (Get-Date).AddDays(-7) -Stat "net.throughput.usage.average" |    where {$_.Instance -eq ""} |    Measure-Object -Property Value -Average | Select -ExpandProperty Average)/1KB,2)}}
    

    The script takes the aggregate value for all NICs for (the one where the Instance is an empty string).

    Then we take the average and converts the Kbps, Mbps.

Maybe you are looking for