Change the host for a virtual machine on a cluster and the host is not in accordance with the attached profile
Hi all
I have 02 questions.
1. we have a cluster which has 02 physical hosts (Host1 and Host2). We have 02 virtual machines on the Cluster. Active DRS on the cluster.
But the problem is that my 02 VMS are always stays on a Host2. A few weeks ago, each virtual machine carried out on each host. How can I place each virtual machine on each host to perform better.
How to do this?
2. I connect to the cluster using vSphere client 5.1, under summer host, I get the following message
"Configuration problems: host is not in accordance with the attached profile.
I suspect that this is the case for my question 1?
Thank you very much
Hello
I think I found the answer for the problem of home profile. I changed the following values to 1 for each host to > settings > under software > advanced settings >
Under Data Mover
HardwareAcceleratedInit
HardwareAcceleratedMove
Under VMFS3
HardwareAcceleratedLocking
Compliance status is returned to the green.
Thanks for the advice guys!
Thank you
Tags: VMware
Similar Questions
-
How to change network name for all virtual machines within the same cluster
We have recently changed name vswitch to take into account that something significant, in the past vCenter could change the labels of networh for all virtual machines... seems this time help labels are not changed (maybe its got something to do with the update vcenter for 2.5.U3)...
in any case, someone at - it a powershell script that could find all the virtual machines that are referring to the old label network and then changing again the name... ?
Enjoy the respponses...
Thanks in advance
A few things on this blog could help.
If you know the names you want to use, you could also just use something like:
Get-Cluster X | Get-VM | Get-NetworkAdapter | Where { $_.NetworkName -eq "OldNetwork" } | Set-NetworkAdapter -NetworkName "NewNetwork" -confirm:$false Get-Cluster X | Get-VM | Get-NetworkAdapter | Where { $_.NetworkName -eq "NewNetwork" } | Set-NetworkAdapter -Connected:$true -confirm:$false
-
change default location for new virtual machines programmatically
I know that you can change the default location for new virtual machines through the preferences GUI, but I want to be able to change it for all those who use VMWare Workstation in my company, so that it is more advanced to the personal folder of the user.
Where exactly is stored? I don't see in the registry.
Thank you!
WS does not use the registry to store settings.
Set the path in UNK for each user:
prefvmx.defaultVMPath = "F:\. » -
Creation of the virtual machine on a cluster using the vmcreate.pl script
Hello
I checked a few posts on this forum on how to create the virtual machine through vmcreate.pl, but responses was not so clear to me...
These are the topics I've read:
How to configure the managed object HostSystem
So, I would like to create a virtual machine on a Cluster, and not on a specific host. The vmcreate.pl script would have done the job? Or should I change it?
In the topic = >
I did not quite get, what I need to change...That's what I do:
vmcreate.pl - server 'ESX NAME' - username "LOGIN" - password 'PASS' filename - vmcreate.xml - schema vmcreate.xsd
Result:
Creation of the 'myTestMachine ': VM error
SOAP fault:
-----------
Error string: InvalidArgument
The fault detail: InvalidArgument
Here are the values of the XML file:
< name > myTestMachine < / name >
blah < Home > < / Host >
blah < Center > < / Center >
> Guest Id < Linioch < / comment-Id >
blah < Datastore > < / Datastore >
< > 2048 Disksize < / Disksize >
> 256 MB memory < < / memory >
< processor number > 1 < / number processor >
< Nic-network > < / Nic-network >
< Nic-Poweron > 1 < / Nic-Poweron >
The values are correct the cause I checked the other perl scripts.
Thanks in advance for your help
Michal
Thanks to xyz222 for the user and post Re: instance of VM to create the Cluster
I was able at the end of the problem. So simple... The value of the
in the xml file should be for example "rhel6_64Guest" and not a random word... that's all! sudo./vmcreate.pl--serveur SERVER - LOGIN - password PASS - filename... username/SampleData/vmcreate.xml - schema... /Schema/vmcreate.xsd
Successfully created the virtual machine: 'teeest2' under host HOST_NAME
-
I have problems with a client of VMware image-level in an EMC Avamar backup. So far, we have not been able to find information about this message in the backup log file. It is originally the backup to take a very long period of time (on average 10-11 hours).
2014-02-28 14:20:57 avvcbimage < 14681 > Info: change tracking (CTK) block is supported for this virtual machine, but was refused. This will increase the CPU proxy and consumption of IOP.
We cannot determine why CBT is "denied". Has anyone here run across this issue before or seen any other type of backup VMware image have denied CBT?
Everything I checked watch that CBT is successfully activated since the file vmx for the customer to the Avamar config.
ESXi host is Enterprise Plus 4.1.0 260247
After spending some time on this issue, the ultimate resolution withdrew the Avamar vm and then add it again. After that, CBT began to work properly. It seems that there is a parameter that has been 'stuck' pertaining to this virtual machine that wasn't behaving properly.
-
How to configure the CD driver on the host for a virtual machine?
After you create a virture machine and put the CD of driver on host, when powered on the vertual machine, may not start the drive form the CD only from NIC.
How to configure the CD driver on the host for a virtual machine?
Right-click on the virtual computer and go to edit settings. Click the Options tab and under the tip list, there should be Boot Options. Enter an amount of milliseconds to wait before your boot, so you can activate the CD-ROM. You can also activate the CD even if it boots to the NETWORK card option, and then reset the virtual machine. Get the focus of this virtual machine on the console session, and then press ctrl-alt-insert. Your CD-ROM will stay connected if you do not want to delay the startup process.
-
a simplistic way to change Mac for multiple virtual machines
Hi all
I was wondering, what is your perfered method to change MAC to a large number of virtual machines? I just cloned on 8 virtual machines to another host and VEEAM duplicated the MAC as well. So I need to change MAC 3 for each virtual computer and I got 8 of them to do so.
I wonder if there is a quick and easy way to do this and then enter the settings?
Thank you
Davy
Good afternoon
Following the line to change the mac address of a virtual machine, preferably if VMs are turned off.
Get - VM test | Get-NetworkAdapter-name "card1 network | Game-NetworkAdpater - MacAddress 00:50:56:3F:FF:FF - confirm: $false
-
Help - automation of the ad groups in assigning roles for a virtual machine
Hi all, I have this doubt.
We are the migration of vSphere 4.1 and 5.1
Not by update manager, but manually adding hosts an accumulation 5.1!
Here's the thing, each virtual machine that will be imported/created/deployed to this new vCenter 5.1 will have a corresponding pre configuration of group by our admin guy!
For — for example, if the virtual computer name is vm_0123, a group called "SVR_VM_0123" would be ready and waiting to be assigned to this specific virtual machine, and then to a role. And this permission will be set at the virtual machine level.
And now, all the virtual machines that will be added to 4.1 and 5.1 have their configuration of groups!
So can automate us the "attribution" permissions on each computer virtual imported/created (a role common to the respective groups) through PowerCLI?
Questions or suggestions are welcome!
Thank you
I assume you have the virtual computer name in the variable $vmName, then you could do
$vm = get-VM-name $vmName
New-VIPermission-body $vm - main ("SVR_" + $vmName) - role $role
You can place these lines in a loop.
This could be for example a loop, controlled by the content of a CSV file.
Something like that
Import-Csv C:\vmnames.csv | %{
$vm = get - VM - name _.vmName $
New-VIPermission-body $vm - main ("SVR_" + $_.vmName)-role $_.role
}
This means that the CSV file should look like this
"vmName"; "" role.
"vm1', 'administrator '.
"vm2', 'read only '.
-
WAIT % - % IDLE, what is the average for a virtual machine?
I did some research on performance of VM problems and worked with the media to see that there is maybe a bottle neck IO that occur with a virtual VMware machine I have performance problems on. The technician found that the WAITING % - % IDLE on average for this virtual machine is around 200%. The tech said it was abnormally high. I forgot to ask her what was normal but wanted to put a post to see if some people out there know what they are on average. What is an average number of see? I have the system done nothing right now and I see 579% waiting and 372% IDLE. The technology has been able to confirm that no IO queue was occurring in the VMkernel or on the HBA controller.
Some average % positions would be useful. Thank you.
gdewulf18480 wrote:
Supposibly the amount of time in a State of waiting for I/O is the WAIT - IDLE % difference. I was wondering if anyone had the numbers for this feeling. Is there anyone with some of them?
Q: How will I know the VCPU world waiting for I/O events?
A: WAIT - % IDLE % can give you an estimate on how much time processor is spent waiting for I/O events. It is an estimate only, because the world wait perhaps for other than the i/o resources. Note that we should do it only for the worlds of the WWW, not the other kind of worlds. Because the VMM worlds represent the best guest behavior. For the disk i/o, another alternative is to read the disk latency stats that we explain in the drive section.
WAIT % by itself cannot be used, you must develop and examine the individual vCPU % EXPECTATION values and subtract their idle time. You can't do it on the initial view of a single line by VM CPU in esxtop. If technology that you mentioned did not explain it, he doesn't know what it takes.
I have lots of virtual machines that are never less than 300% when I wait - % idle and I have no problems.
It is an example, I caught NimSoft server:
DHSNMS1 100 100 5 192.63 193,80 0.24 0.03 291,44 1.04
%EST USED (s) 192 - in other words, almost two processors are used 100%
The %Idle is 1.04% WAIT 291.44 - according to the calculation of waiting idle, I have a super serious problems of e/s past But this isn't the case, and expanding, I can see that.
5665 vmware-vmx 100 1 0.09 0.11 100.00 0.00 0.00 0.01
5667 100 vmassistant.566 1 0.62 0.65 99,63 0.00 0.00 0.00
5703 100 mks:DHSNMS1 1 0.01 0.01-100.00 0.00 0.00 0.00
5704 vcpu 100 - 0:DHSNMS1 1 32,35 32.88 67,28 0.28 0.11 67,14
5705 vcpu 100 - 1:DHSNMS1 1 31,58 32.05 68.11 0.00 67.85 0.12
So the changed values unfortunately because of ESXTOP bike when you develop... which is annoying, but anyway. In this you see % waiting is 67 and 68 with another respectively being 3 to 100% (which is normal) and the idle being %, 0, 0, 0, 67 and 67.8. Doing the calculation on the processors shows a wait - slowed virtually 0 - or very little IO wait past with processors. But if you add up all the expectations of % and % is idling, you have 434ish, and the 134ish and do the calculation is the difference of 300 - which is the 3 who are always 100%.
So there is no way we can answer your question, we can only help you to understand how the values should be interpreted.
Waiting for i/o States almost always go on the disc anyway, it is unlikely, therefore, the network or the user entered, looking at the stats of disc ESXTOP is a much better way to determine if there is a problem of e/s.
-
Script of PowerCLI to measure the number of host and its virtual machine in each cluster
Hello
I'm trying to create a script on regular which gives an output of the host and virtual machine into a cluster of vcenter as below counties.
Cluster: VMHost VM's
Cluster01 04 15
cluster02 02 35
Simply using a sample onliner
Get-VMHost | Select @{N = "Cl"; {E = {Get-Cluster - VMHost $_}} name, @{N = "NumVM"; E={($_ | Get - VM). County}} | Cluster of kind, name
any ideas? Thanks in advance
Kind regards
Subash.
Try this:
Get-Cluster | Select Name, @{N="Host Count"; E={($_ | Get-VMHost).Count}}, @{N="VM Count"; E={($_ | Get-VM).Count}}
-
How to find the age of a child and snapshot number snapshot for a virtual machine.
Hi all
How to find the age of a snapshot for a virtual machine child count and snapshot.
This code snippet should help... Assuming that you have the following entries:
VM (VC:VirtualMachine)
snapshot (VC:VirtualMachineSnapshot)
System.log("====== Snapshot details for VM: "+snapshot.config.name+" ======"); var snapshotTrees = vm.snapshot.rootSnapshotList; System.log("Snapshot Tree Count: "+snapshotTrees.length); for each (snapshotTree in snapshotTrees){ showSnapshotInfo(snapshotTree, snapshot); } function showSnapshotInfo(snapshotTree, selectedSnapshot){ if(selectedSnapshot == snapshotTree.snapshot){ System.log("===================="); System.log("Name: "+snapshotTree.name); System.log("Id: "+snapshotTree.id); System.log("Description: "+snapshotTree.description); System.log("createTime: "+snapshotTree.createTime); System.log("quiesced: "+snapshotTree.quiesced); System.log("replaySupported: "+snapshotTree.replaySupported); System.log("backupManifest: "+snapshotTree.backupManifest); System.log("snapshot id: "+snapshotTree.snapshot.id); System.log("state: "+snapshotTree.state.value); var childSnapshotList = snapshotTree.childSnapshotList; if(childSnapshotList != null){ System.log("childSnapshotList length: "+snapshotTree.childSnapshotList.length); } System.log(""); } if(snapshotTree.childSnapshotList != null){ System.log("Children found: "+snapshotTree.childSnapshotList.length); for each (childSnapshotTree in snapshotTree.childSnapshotList){ showSnapshotInfo(childSnapshotTree, selectedSnapshot); } } }
During the passage of one of my virtual machines, here is an example of output I get:
[2014-06-12 15:19:21.493] [I] Snapshot Tree Count: 1 [2014-06-12 15:19:21.493] [I] ==================== [2014-06-12 15:19:21.494] [I] Name: before upgrade to 5.0.1 [2014-06-12 15:19:21.494] [I] Id: 31 [2014-06-12 15:19:21.494] [I] Description: [2014-06-12 15:19:21.495] [I] createTime: Mon Mar 19 2012 13:48:57 GMT-0400 (EDT) [2014-06-12 15:19:21.495] [I] quiesced: false [2014-06-12 15:19:21.495] [I] replaySupported: null [2014-06-12 15:19:21.495] [I] backupManifest: null [2014-06-12 15:19:21.496] [I] snapshot id: snapshot-83 [2014-06-12 15:19:21.496] [I] state: poweredOff [2014-06-12 15:19:21.496] [I] childSnapshotList length: 1 [2014-06-12 15:19:21.496] [I] [2014-06-12 15:19:21.497] [I] ==================== [2014-06-12 15:19:21.497] [I] Name: Before 5.1 upgrade [2014-06-12 15:19:21.497] [I] Id: 36 [2014-06-12 15:19:21.497] [I] Description: [2014-06-12 15:19:21.498] [I] createTime: Fri Sep 21 2012 21:59:58 GMT-0400 (EDT) [2014-06-12 15:19:21.498] [I] quiesced: false [2014-06-12 15:19:21.498] [I] replaySupported: null [2014-06-12 15:19:21.498] [I] backupManifest: null [2014-06-12 15:19:21.499] [I] snapshot id: snapshot-84 [2014-06-12 15:19:21.499] [I] state: poweredOff [2014-06-12 15:19:21.499] [I] childSnapshotList length: 1 [2014-06-12 15:19:21.499] [I] [2014-06-12 15:19:21.500] [I] ==================== [2014-06-12 15:19:21.500] [I] Name: Before Named Instance [2014-06-12 15:19:21.500] [I] Id: 37 [2014-06-12 15:19:21.501] [I] Description: [2014-06-12 15:19:21.501] [I] createTime: Mon Nov 11 2013 13:40:46 GMT-0500 (EST) [2014-06-12 15:19:21.501] [I] quiesced: false [2014-06-12 15:19:21.501] [I] replaySupported: null [2014-06-12 15:19:21.502] [I] backupManifest: null [2014-06-12 15:19:21.502] [I] snapshot id: snapshot-236 [2014-06-12 15:19:21.502] [I] state: poweredOff [2014-06-12 15:19:21.502] [I]
-
Disable the clichés for individual virtual machines?
Hi all
Is it possible to disable support for snapshot for individual virtual machines, perhaps via a parameter for it? Or is the closest answer you to put all its virtual disks in independent mode? Try to see how to better meet the requirements that certain suppliers impose that the VM/device does not catch instant and thought that the best solution is to disable the feature for the specific VM (s) only. Thank you!
You can watch the snapshot.maxSnapshots configuration setting. See KB 1031280 for more information.
-
'Disable the alarm action' for a virtual machine
Hello
I want to disable all actions for a virtual machine alarm, while I have to disable FT to clone a virtual machine. My script are ready for cloning but I have a solution to disable the actions of alarm for a virtual machine via PowerCLI to can´t. Someone knows a solution for PowerCLI 5.1R1?
Thank you
Michael
-Entity parameter requires an inventory of PowerCLI as value object and does not have the names. You can try it like this:
Get-AlarmActionState-entity (Get-VM-name VMTEST1) - Recurse: $false
-
How to get the moref vCenter for a virtual machine
I use with the vCloud orchestrator plugin. I would like to understand how I can access the moref for a virtual machine identifier (as see vcenter) that is contained in a vCloud VAPP.
Thank you
Here is something I wrote to do. It uses the query service.
Note that to be able to do, you need your plugin vCD to be connected to the org of system and use the administrator credentials.
var vcdHost = vm.getHost(); var vApp = vm.parent; var vms = new Array(); var queryService = vcdHost.getQueryService(); expression = new VclExpression(VclQueryAdminVMField.CONTAINER, vApp.getReference().href, VclExpressionType.EQUALS); filter = new VclFilter(expression); params = new VclQueryParams(); params.setFilter(filter); var resultSet = queryService.queryRecords(VclQueryRecordType.ADMINVM, params); while (resultSet != null) { var records = resultSet.getRecords(new VclQueryResultAdminVMRecord()); System.log(records.length + " VM records found"); for each (var record in records) { if (record.name == vm.name) { return record.moref; } } resultSet = resultSet.getNextPage(); } return null;
Christophe.
-
Can join a Cluster of storage disk out of Maintenance DTS Mode to set up the profiles for a virtual machine storage policies?...
IE can you define the rules of affinity DTS depending on how the rules of storage of profiles are configured for a virtual machine?In my mind it seems there is disconnect from the DTS and storage profiles.
Thank you.
= NOTE =.
My lab at home, 2 organizes running ESXi 5.0
Dv01 has
Of startup vmfs 7200 RPM 160 G = dv01-BOOT
Vmfs 1 TB 7200 RPM = VM02-VMFS
VM02 has
Of startup vmfs 7200 RPM 160 G = VM02-BOOT
Vmfs 1 TB 7200 RPM = VM02-VMFS
Vmfs 5900 RPM 2 TB = VM02-TV01
I have (3) facility profiles of storage using 'User-defined storage Capablity' as shown below:
(160 @ 7200 RPM SATA) boot > Boot
Fast (160 7200 RPM SATA and 1 TB @ 7200 RPM SATA) > fast
Slow (2 TB @ 5900 RPM SATA) > slow
Then, I set up a storage Cluster with my local disks on dv01 (only to date)
LocalVM disc dv01-BOOT and dv01-VMFS disk of the 'cluster of storage.
I have a computer virtual called DC01 (HardDisk1) want to live on 'Boot' profile storage drive
His "Non-compliant" poster according to the storage profile, it should run on drive 'boot' on dv01To get to this point, I put the StorageCluster in Mode of Maintenace 'DTS' and forced a sVmotion of all virtual machines off dv01-BOOT
No disks are IO or claim of space.
But once I take the 'DTS Maintenacne mode' STARTUP dv01 floppy is now get the DTS to return him to satisfy the storage profile (rule) I install... IE do the 'storage profile' VM complient (without doing a few externall API, the PS script or the 3rd party software calls)... ??
Seems weird it is (or may be) such disconnection of a memory of the profiles and the StorageClusters and the DTS?
Thank you...
At this point, I think that storage DRS and storage profiles are two technologies to separate and work independently, but what you suggest is a great idea-
Maybe you are looking for
-
Songs on iTunes are grouped by everything except the artists?
I only came to this problem recently, but I've had no luck trying to fix it. I have triple-everything checked, made sure the album artists are composers is the exact same without hidden spaces or misspellings, I deleted tracks and re-uploaded, but th
-
Satellite P855 and Win8 - would like to delete the recovery partition
In fact, I would like to remove the recovery on my new P855 Satellite partition using diskpart. Now I have some problems/uncertainty (of course I have already created the recovery DVDs): 1: when I look in Disk Management on my Windows 8, there are 2
-
Stuck on error message-HP Officejet 7310 all-in - One Printer
I received a message "check color cartridge" on several occasions, so I disconnected power and reconnected. Now printer is stuck with flashing lights and following message: error: OxcO620004 _________________ 411:lib_micci2.c I will not erase and ret
-
When the touch screen will be available to customize the ENVY dv6t-7300 Quad Edition
I am a customer of long date HP and we ordered that several custom laptops as well as we have in our office workstations. I have 2 laptops, I am ready to replace, the two dv6t for about 3 years and touchscreen offered then. I don't want a ultrabook
-
AdobeGCClient.exe system error?
I have been using Adobe Creative Suite for the past three years and since the last adobe update I get this error message when I start my computer (System AdobeGCClient.exe error). It starts to get boring. Is that going to go away, find a special way