Customization of waste calculation to a subset of virtual machines

I have a subset of the 100 mV running strongly for 1 hour per day, then idle for 23 hours.  They have all 8 GB of RAM and 4vCPUs.   If their prime time, they use only 4 GB of RAM and 2 vCPUs, I want the extra cost must be provided by waste.  But I don't want these virtual machines reported that because of inactivity.

I want to customize vCOps reporting on these virtual machines specifically based on their behavior.  If I go into the UI vSphere in "Configuration."

1 should I create a new strategy and apply just to those virtual machines?

2. do I need to create a new 'Group Type' for these virtual machines in "Configuration".

(2) you can only assign a group policy - then Yes, you need a (new) group.

Tags: VMware

Similar Questions

  • Customization of the comments for the virtual machines deployed from model has stopped working

    Hi all

    (Environment: vCenter and ESXi 10 5.1 hosts running Build #3070626)

    We have a model 2012R2 and a file specification of customization that allows us to deploy the VMs 2012R2 server. It worked well for a while. After the Christmas break, it seems more work correctly and we havn't knowingly changed anything to cause this. We have fixed our ESXi hosts Build #3070626 October 6, but have deployed VMs of model since, without problem.

    We have all staged for the VM in advance (IE AD entry of objects and DNS). And then powered the deployed virtual computer, sysprep runs, but does not seem to apply settings in the customization file (IE rename the virtual computer, set the Admin password, join the domain etc.). If feed us the cycle of the VM, sysprep is running again, but even once, does nothing.

    I have attached the contents of my file guestcust.log of a computer deployed virtual (see below), but I do not see the clues about the problem. I thought initially the error on the first line was important, until I've found it is also present on the virtual machines that have been successfully deployed from this template in the past, so it's maybe a Kipper.

    Does anyone have advice for troubleshooting this?

    TIA

    Mark

    ==========

    guestcust.log

    ==========

    Could not query value reported in the registry (the system cannot find the file specified.)

    Sysprep from Windows Respecialize operating detected.

    Copy the files from C:\Windows\TEMP\vmw7DEB.tmp to C:\Windows\TEMP\vmw8A3E.tmp.

    Rescheduling of customization of the guest operating system.

    "Executing command C:\Windows\system32\schtasks.exe / create /sc ONSTART $ more HIGH/np/z v1 /ru SYSTEM /tr" C:\Windows\TEMP\vmw8A3E.tmp\guestcustutil.exe customize - sealparam \"/quiet/generalize/oobe /reboot\ ' NIC - 4000 - schedulenativeunobfusc ' /tn"VMware Guest OS task of customization.

    At the request of guest OS customization task invoked.

    Remove scheduled task of customization of the guest operating system.

    Execution of command C:\Windows\system32\schtasks.exe, /f/delete /tn "VMware Guest OS task of customization"

    Personalization current 2016 to 1 - Feb - 11 18:32:42

    RPCI: Send request = 'deployPkg.update.state 4 C:\Windows\TEMP\vmware-imc\guestcust.log 0'

    RPCI: Envoy = 'deployPkg.update.state 4 C:\Windows\TEMP\vmware-imc\guestcust.log 0' request, response = ", len = 0, status = 1

    Key successfully open SYSTEM\CurrentControlSet\Control\Session Manager\

    Size of 27 reg_multi_sz.

    Read the multi_sz registry autocheck autochk/q/v value *, size 27.

    value chain of registry autocheck autochk/q/v *.

    1 items back

    Obtained the session mgr BootExecute.

    Native App sysprepDecrypter.exe, arguments "

    Copied file sysprepDecrypter.exe to C:\Windows\system32\sysprepDecrypter.exe

    Update boot run value.

    Created / opened key \Guest Customization\ SOFTWARE\VMware, Inc. successfully.

    New shoe, run:

    autocheck autochk/q/v *.

    sysprepDecrypter.exe

    System drive: C:

    Move the folder "sysprep" to "C:".

    Select * from win32_networkadapter where manufacturer! "Microsoft" and ServiceName =! = "VMnetAdapter" and the manufacturer is not null and MACAddress is not null

    1 objects found. Pointer f049a8. return code 0(0x0)

    "" "0 items found." " Pointer to 0. return code 1(0x1)

    00:50:56:B0:70:46 the value for the property return system

    Setting dhcp for nic # 0

    Return value \\VMT-W2K12R2\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="10' for the system property

    ASSOCIATORS OF {\\VMT-W2K12R2\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="10"} where ResultClass = Win32_NetworkAdapterConfiguration

    1 objects found. Pointer eee290. return code 0(0x0)

    "" "0 items found." " Pointer to 0. return code 1(0x1)

    Clear the gateway ip addresses.

    Enabling DHCP on the computer

    Returns the value for the system property \\VMT-W2K12R2\ROOT\CIMV2:Win32_NetworkAdapterConfiguration.Index=10

    DNS server IP configuration

    Execution of command C:\windows\system32\sysprep\sysprep.exe/quiet/generalize/oobe/reboot /unattend:C:\sysprep\sysprep.xml

    Successfully executed the command C:\windows\system32\sysprep\sysprep.exe/quiet/generalize/oobe/reboot /unattend:C:\sysprep\sysprep.xml

    Try to connect network interfaces, try 1

    RPCI: Send request = 'deployPkg.update.state 4 103 C:\Windows\TEMP\vmware-imc\guestcust.log@4000'

    RPCI: Envoy = 'deployPkg.update.state 4 103 C:\Windows\TEMP\vmware-imc\guestcust.log@4000' request, response is "queryNicsSupported", len = 18, State = 1

    Got answer VMX 'queryNicsSupported '.

    RPCI: Send request = 'deployPkg.update.state 4 104 C:\Windows\TEMP\vmware-imc\guestcust.log@4000'

    RPCI: Envoy = 'deployPkg.update.state 4 104 C:\Windows\TEMP\vmware-imc\guestcust.log@4000' request, response = 'connected', len = 9, State = 1

    Got VMX response "connected."

    Network interfaces are connected to 0 seconds

    =============================================

    OK, I myself fixed the end.

    I created a new customization file with exactly the same settings as the old file, and it worked. I can only assume that the old customization file has been altered somehow.

  • the virtual machine customization: Customize not

    Hi all

    When I create a model for w2k8r2 I follow these steps:

    -create a virtual machine

    -install w2k8r2

    -install the required patches

    -install all the software business for our build

    -stop the machine (no sysprep is run)

    -model of the virtual machine

    Now, when I deploy a vm' in this model and select: Customize will not... machinery recently deployed still would be Sysprep and made unique?

    Thank you

    Dryv

    How can I make sure my get sysprep machines would be?

    very simple.

    Use vCenter customization specification Manager, PR Cutomization Spec File for Windows, specify the Hostname of the virtual machine, the license key, network settings and check generate new largest SID.

    See next post where someone has explained how to do this step by step activity.

    Creation and use of VMware Guest customization Specification"blog of Adrian Costea

    now, when deploying the new VM model of yours, please check customize Guest OS-> select spec file. customization you created. and continue with the deployment.

    Rest will be done for you, as your newly deployed machine will be syspreped,

    This way you won't have to worry about SID, but at the same time many other things will be also supported.

  • Database SQL query to get all virtual machines with comments enabled customization?

    Hello

    Does anyone know of a SQL query that can be executed against the vCloud Director DB for all virtual machines who invited enabled customization?

    I can't have PowerShell to pull these data on a global scale.

    Thank you

    jkasal

    Has taken a quick...

    Select top 10 v.id, v.name, v.vapp_name, v.vc_id, v.moref, ui_vapp_vm_list_view v.guest_customize_enabled v with (NOLOCK)

    seems to have if the setting is enabled or not.

  • Impossible to deploy the virtual machine with customization.

    Hi all

    I have a model Winodws 2008 R2 Std and Ent.  I use to deploy virtual machines with the model using the Customization Wizard.  All of a sudden since 2 days I can't provision VMS with the wizard of customiation.  Earlier, there seems to be no problem with the customization, but when I turn on the virtual machine, I see errors, attached is the screen shot for your reference.

    After the error 2 the vm keeps restarting without end time.

    I don't know what is the cause.  Please help me with the problem.  Let me know if you need additional information.

    Thanks in advance.

    Hey there,

    Have you tried to get the Microsoft Windows product key? And maybe the password in the profile customization.

    If this does not work, try using a new profile customization.

    Let us know how things work!

    See you soon,.

    René

  • Deploy multiple virtual machines from one model to the help of customization of the OS and a text file for hostname and IP

    Hi all

    Not sure if this has already been answered, I did a search on the forums, but couldn't find an answer to what I'm looking for.

    I want to fully automate the deployment of multiple VMs of a model using a customization file, but also to retrieve the host names and IP addresses from a text file / spreadsheet.

    for example:

    I need to deploy a test environment of 30 virtual machines using the template file and customizing TestVM. I have a spreadsheet with the VM host names and IP addresses. The process now is to manually enter the host name and IP when the customization file invites to do while deploying them in each virtual machine. The customization file takes care of the rest (license key, admin password, add to the domain etc.) can I automate entry of the name of host and IP addresses in reading from a text file?

    Thanks in advance!

    Take a look on the deployment, customization and modification of virtual machines to a csv file

    There are many more examples of this community on the same subject,

  • PowerCLI script for the deployment of virtual machines via the model using customizations comments

    Hello... I hope someone can give me a script that will do the following:

    (1) provision VMs in vCenter template (I need 125 + VMs created in the next day or two)

    (2) use the existing customizations of comments in vCenter

    (3) let me enter data warehouses available to be created on the virtual machines.  Example: I want that VMs on warehouses of specific data as LUN2, LUN5, LUN6, LUN12, LUN1, etc...  However, the script must have the ability to know when a data store is near the threshold of capacity, say 90%, so it can use one of the other warehouses available, identified in the script... similar to storage profiles.  We still have to adopt profiles storage but plan to do so once upgraded us to v5.1 in the next month or two.  We hope that this will help us keep our replicated LUN more organized during the use of SRM and copy to remote groups, our team of storage's configuration on 3PAR.


    Additional information: I will use 2 styles... Windows XP and Win7.  Their respective sizes are 40 and 60 GB due to all applications for stable DR.  Data warehouses are ea 500 GB.

    Please let me know if additional information is necessary... Thank you!!!

    Charles

    No, unfortunately you cannot specify a folder like this.

    You'll have to do a

    $folder = get-file-name WinXP

    New-VM-$folder file...

    Remove the line of New - VM WhatIf switch if you really want to start creating virtual machines.

  • Deployment, customization and modification of virtual machines to a csv file

    Hello

    With lots of help from Eco91, I realized the script below.  He deploys a series of virtual machines at the same time, waiting that they to initialize and make customization of the OS, and then changes the basis of networking within the OS and also changes in the Description of the network:

    $esxName = 'esxqac4s01. MYDOMAIN.local ".
    $template = "TEST_W2K8R2ENTSP1".
    $datastore = "NFS_VM_Storage01".
    $newVmList = @)
    @{"Name" = 'TESTSVR1'; 'IP' = "10.244.186.136"; 'Mask' = "255.255.255.0". "Gateway" = "10.244.186.1"; "DNS" = @("10.244.37.25", "10.244.37.26"); "NetworkName" = "VLAN186_QA"; },
    @{"Name" = 'TESTSRV2'; 'IP' = "10.244.186.137"; 'Mask' = "255.255.255.0". "Gateway" = "10.244.186.1"; "DNS" = @("10.244.37.25", "10.244.37.26"); "NetworkName" = "VLAN186_QA"; },
    @{"Name" = 'TESTSRV3'; 'IP' = "10.244.186.138"; 'Mask' = "255.255.255.0". "Gateway" = "10.244.186.1"; "DNS" = @("10.244.37.25", "10.244.37.26"); "NetworkName" = "VLAN186_QA"; },
    @{"Name" = 'TESTSRV4'; 'IP' = "10.244.186.139"; 'Mask' = "255.255.255.0". "Gateway" = "10.244.186.1"; "DNS" = @("10.244.37.25", "10.244.37.26"); "NetworkName" = "VLAN186_QA"; }
    )
    $custSpec = "TEST_W2K8R2ENTSP1".
    $location = "_Tobedeleted".
    $taskTab = @ {}
    SE connect-VIServer-Server vvcqa01yyz. MYDOMAIN.local - user 'MYDOMAIN\MYACCOUNT' - password MYPASSWORD
    # Create all virtual machines specified in $newVmList
    {foreach ($VM to $newVmList)
    $taskTab [(nouvelle-VM-nommez $VM.)] Name - VMHost (Get-VMHost-name $esxName) - model $template - $datastore - OSCustomizationSpec $custSpec Datastore - location $location - RunAsync). ID] = $VM. Name
    }

    # Start each virtual machine that is over
    $runningTasks = $taskTab.Count
    While ($runningTasks - gt 0) {}
    Get-job | % {
    If ($taskTab.ContainsKey ($_.)) (ID) - and $_. State - eq 'Success') {}
    Get - VM $taskTab [$_] ID] | Start-VM
    $taskTab.Remove ($_.) ID)
    $runningTasks-
    }
    else if ($taskTab.ContainsKey ($_.)) (ID) - and $_. State - eq "Error") {}
    $taskTab.Remove ($_.) ID)
    $runningTasks-
    }
    }
    Start-Sleep - seconds 5
    }


    # START HERE
    # Wait for customization of the OS
    Start-Sleep - seconds 300
    # Customize network
    {foreach ($VM to $newVmList)
    Get-NetworkAdapter - VM $VM. Name | Together-NetworkAdapter NetworkName - $VM.NetworkName - confirm: $false
    Get-VM-name $VM. Name | 'Administrator' Get-VMGuestNetworkInterface - Guestuser - GuestPassword ' R! m2009 |? {$_.name - eq "Connect to network Local 4"} | Game-VMGuestNetworkInterface - Guestuser 'Administrator' - GuestPassword ' R! m2009"- IPPolicy - static IP $VM. $VM.Netmask - IP-Gateway $VM subnet mask. Gateway - DNS $VM. DNS
    }

    I would now like to replace the $VMlist variable and put rather information eVM th to a .csv file.  Any suggestions?

    Hello

    assuming this is your csv file

        "name","ip","netmask","gateway","dns","networkName"    "TESTSRV1","10.244.186.136","255.255.255.0","10.244.186.1","10.244.37.25;10.244.37.26","VLAN186_QA"
    

    you have a problem. Impossible to save all the tables in a csv file and do powershell natively recognize them.

    Instead, use a delimiter custom (not the same csv uses!) and split - to import - in a table. Look at the semicolon between two dns servers.

    $newVmList = import-Csv test.csv | Select-Object - property 'name', 'ip', 'mask', 'bridge', @{Name = "dns"; {Expression = {$_ .dns-split ';'}}, "networkName".

    The object resulting looks like this

        name       : TESTSRV1    ip         : 10.244.186.136    netmask    : 255.255.255.0    gateway    : 10.244.186.1    dns        : {10.244.37.25, 10.244.37.26} <-- Array    networkName: VLAN186_QA
    

    Concerning

    Emanuel

  • Customization of a Windows virtual machine fails - Crush Down vSphere Client

    Hi guys,.

    I met a very delicate problem.

    I tried to customize the Windows VM I cloned from the model (win2008R2), and I simply run the workflow 'Customize vm' in vCO, I think all the settings I gave should be correct (I tried to manually customize the virtual machine by using these settings, and it worked) and there is also no "naming problem" since I followed the rules here : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 2009315

    But once the workflow is started, I saw "customization is underway" in vSphere client, a minute later, this watch:

    Capture.PNG

    And then it is reconnected, as if nothing ever happened...

    Anyone will throw some lights on it?

    Thank you very much

    He proved it to be: it seems that I couldn't customize a vm cloned from a template directly.

    I passed the entrance as a virtual machine, the problem disappeared.

    Or there could be something wrong with the model gave me, but my solution is deployed this model first as a virtual machine and clone out that vm for customization later.

    Thank you

  • Model of the virtual machine - based model to customize

    Hello

    Am currently adapting this script (thanks Alex) http://www.jasemccarty.com/blog/?tag=powercli is a script all encompassing.

    I want to be able to deploy virtual machines to a CSV file and customize the model with a static IP address, attach it to the domain etc etc, attached is my current effort (poor)... If anyone can help me then that would be really appreciated.

    Thank you


    Dan

    The error message explains, run the PowerCLI 32-bit version.

  • Need a solution to customize virtual machines deployed from models

    Here's the problem:

    When I deploy virtual machines from a template, the guest of the new virtual machine operating system takes the same size of hard drive than the model between what was created.  It is very fast to increase the size of the virtual hard disk after deployment.  But the size of the partition in the guest operating system is unchangeable.  This means that, for each virtual machine, I have to start the virtual machine and either extend the guest operating system by using an operating system disk management tool or a third-party for the partition management application.

    It takes a lot of time to do during the deployment of a large number of virtual machines.  Another option is to create a template for each size of hard drive - but the problem with this is that all of these models for each operating system must be maintained, that takes a lot of time.

    Does anyone have ideas for another or better solutions?  For example, is there such a thing as a tool that integrates with VMware to enable not only the size of the virtual hard disk, but also the size of the partition of the guest operating system to customize when you create a virtual model of computer?

    Any contribution is appreciated-

    Thank you

    It resizes the disk partition inside the virtual machine to the guest OS uses the complete virtual disk capacity.

  • Virtual machines not passing is not by at the junction of area after customization

    Hi, we are established in a lab environment.

    Creating virtual machines on XP (SP3), based on templates (WITHOUT link clones)-provision virtual machine, cross 'customization' - but only some of them appear to be joined to the domain after that customization is complete!

    Any thoughts?

    --

    Mark Lomas

    The first thing that comes to mind is that you deploy all your model since the same VM and your model of XP have been set to DHCP? If you have different models, see label of network NIC, you might have a few pointing to a network where DHCP is not available, and so the virtual machine, you make the deployment has not any network connectivity or a wrong IP address that cannot resolve to your domain controller or the VLAN different.

    MP

  • How do I customize the resolution of Windows XP so I can do full screen in a virtual machine?

    OK, so I'm using Ubuntu Linux, but I want to kind of run Netflix. Given that Netflix only works on Mac OS X and Windows, I found a way to run Netflix inside a virtual box. Since I am under GNOME, which has a range of tool up and down * I replaced the bottom panel with a well dock, so it gives him more room * I can not afford to make the maximum resolution. Is there a way to customize the resolution of Windows XP, so I can watch Netflix easier? Otherwise, I stay with 1024 x 768

    Hello

    Windows Virtual PC on Linux is not supported. For more information on the supported operating system, see this link.

    http://www.Microsoft.com/Windows/Virtual-PC/support/requirements.aspx

    In addition, also refer to this link.

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/thread/01cf6367-AA42-4351-93F6-6c7db5f6e532

    Hope the helps of information.

  • Customize the virtual machine guest operating system crashes

    I'll put a guest operating system XP very basic in a pool of utter connected auto. After a good market the checklist in the admin manual the pool begins to create guests. When he got to the customization step machine virtual guest operating system, it failed. The error was:

    A specified parameter was not correct.

    spec.identity.userData.computerName

    No idea what this means and how to fix it?

    Hi dTardis,

    Using special characters in the hostname?

    Good luck.

    Concerning

    Franck

  • calculation of the space of time machine

    I'm not to give lectures on safeguards. Before yesterday I made a backup on a disk IDE 80 GB about 2 years ago, and I got my MBP since I bought it in mid-2009. Recently, I tried a new backup on the same drive, but my data were passed to about 150 GB, so TM reported that there was not enough space. This is why I bought a 250 GB SATA drive and started the backup. TM was told he had 150 GB for backup and that it would take about 5 hours. In an hour or two it was over and the amount of space occupied on the SATA was just below 80 Gb. Strange - I think - but everything seemed ok. I used the disk utility to check the SATA and he said it was ok. Then, I connected the HDD IDE 80 GB, erased all the data and set as the backup in MT and Mt finally told me that he had 150 GB for backup and the 80 GB drive has been insufficient. What is going on? Is it possible that I can check that the SATA drive contains a full backup? (Note that I did not exclude anything to save.)

    I've seen similar and I suspect the backup that you did on the largest disk is correct. Time Machine backup of data, applications and operating system, but there are a lot of things, he's not back until - caches, mobile backups and other files of the operating system or applications can recreate. Algorithm of TM to estimate the amount of space required does not appear, however, to take into account the files, it won't save.

Maybe you are looking for

  • Upgrade to Firefox 10.0.2 and lost all THE passwords DATA, bookmarks, settings ect...

    Yesterday, I've upgraded to Firefox 10.0.2 and worked fine... When I turned on my Mac Book Pro today he says I would like to import from Safari? Huh? No.... When it opened I had nothing! It's like a pure installation of firefox. I searched and everyt

  • files in folders Fxx show in my itunes directory.

    can someone link me to an explanation of the Fxx files on my ipod. When I scan the itunes directory on my PC I see music in a directory on my disk c/ipod_control/music/Fxx - so I'm curious what the hell.

  • Why can I I is no longer the scrolling of the message?

    I have a wireless mouse and allows to scroll all suddenly is no longer within the e-mail. I have to up and down instead of the arrow keys. I am able to scroll outside the e-mail. Is there any solution for this?

  • 4500 HP ENVY OXB05BB254 error code.

    Using a Macbook pro laptop computer with a wireless router and try to implement it with the HP ENVY 4500 wireless.  The printer has an error showing on the LED screen OXB05BB254 code.  I went through the procedure of download from the HP Web site.  I

  • Change the icons of the folders

    I know that to change a folder icon, you will need to get to the level of the record the long way - Start / computer / users / username / My documents / work stuff / etc... But why can't you just change when you get the file via a shortcut, so you ca