vThinkBeyondVM's Posts

PowerCLi script had worked for me without any change.  In my case, both ESXi and vCenter were on 6.0 release Recently I have written Java SDK script for the same requirement: Refer my blog pos... See more...
PowerCLi script had worked for me without any change.  In my case, both ESXi and vCenter were on 6.0 release Recently I have written Java SDK script for the same requirement: Refer my blog post : http://vthinkbeyondvm.com/want-to-vmotion-a-vm-from-one-vcenter-server-to-another-vcenter-using-vsphere-api-here-you-go/
PowerCLi script had worked for me without any change. Recently I have written Java SDK script for the same requirement: Refer my blog post: http://vthinkbeyondvm.com/want-to-vmotion-a-vm-from... See more...
PowerCLi script had worked for me without any change. Recently I have written Java SDK script for the same requirement: Refer my blog post: http://vthinkbeyondvm.com/want-to-vmotion-a-vm-from-one-vcenter-server-to-another-vcenter-using-vsphere-api-here-you-go/
Hi Hari, Good point. DRS behavior can be changed to consider consumed memory as well. From 5.5 U2c and above, DRS does consider consumed memory as well. How much it considers is specified... See more...
Hi Hari, Good point. DRS behavior can be changed to consider consumed memory as well. From 5.5 U2c and above, DRS does consider consumed memory as well. How much it considers is specified in below KBs. Refer: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2059868 There is one more KB linked into above KB. Please have look into that as well. As per me, alarm is bit generic, it works even without DRS. It seems, alarm is designed a way that it is not aware that host is part of DRS enabled cluster. DRS comes with enterprise license and alarm will work with basic licenses as well. are you suggesting that Alarm should be aware of the hosts those are part of DRS enabled cluster and only raise alarm as per the memory metric configured on DRS?
Yes, Active memory is nothing but the amount of memory being actively used by VM at that point of moment. It can happen that some time back VM was actively using lets say 10 MB but at the moment,... See more...
Yes, Active memory is nothing but the amount of memory being actively used by VM at that point of moment. It can happen that some time back VM was actively using lets say 10 MB but at the moment, nothing is being actively used. Another metric is consumed memory: I could see consumed memory is 250+MB, As per me, it shows that ESXi host did allocate  memory to the VM some time back and VM had active memory more than 0 MB.  Whether your VM was powered OFF? Below article can help you more on this. vCenter Memory Metrics Further read: Some of my articles on memory/DPM/ballooning etc. http://vthinkbeyondvm.com/part-1-vmware-dpm-vs-esxi-memory-ballooning/ http://vthinkbeyondvm.com/part-2-vmware-dpm-vs-esxi-memory-ballooning/ Updated bit:
Yes, It should be possible. Sometime back I had written a blog on editing VM-VM affinity rule (Java SDK). : http://vthinkbeyondvm.com/how-to-edit-drs-vm-vm-affinity-rules-using-vsphere-api-bit-tr... See more...
Yes, It should be possible. Sometime back I had written a blog on editing VM-VM affinity rule (Java SDK). : http://vthinkbeyondvm.com/how-to-edit-drs-vm-vm-affinity-rules-using-vsphere-api-bit-tricky-solution/ I will give a try to achieve your requirement in PowerCLI.
Correct me if I my understating is wrong 1. You have a Gold VM (base VM) with several tags attached. 2. Now when you clone that Gold VM, you do not see any tags assigned to cloned VM. Ba... See more...
Correct me if I my understating is wrong 1. You have a Gold VM (base VM) with several tags attached. 2. Now when you clone that Gold VM, you do not see any tags assigned to cloned VM. Based on your response, I will try in my environment.
Correct. Below post from William will help you as well. Easily retrieve VM memory overhead using the vSphere 6.0 API | virtuallyGhetto
Hi John, This is known issue and VMware KB is published on the same issue For more details refer KB:VMware KB: Restarting VMware vCenter Server causes loss of vSphere Flash Cache reservation v... See more...
Hi John, This is known issue and VMware KB is published on the same issue For more details refer KB:VMware KB: Restarting VMware vCenter Server causes loss of vSphere Flash Cache reservation values Let me know if you need any help on workarounds specified in KB.
Below 2 blogs I had written some time back and it will be very good read for you to understand How DPM/DRS considers memory metric etc. 1. http://vthinkbeyondvm.com/part-1-vmware-dpm-vs-esxi-m... See more...
Below 2 blogs I had written some time back and it will be very good read for you to understand How DPM/DRS considers memory metric etc. 1. http://vthinkbeyondvm.com/part-1-vmware-dpm-vs-esxi-memory-ballooning/ 2. http://vthinkbeyondvm.com/part-2-vmware-dpm-vs-esxi-memory-ballooning/
Can you use default user administrator@vsphere.local and see if it works.? I never faced such issue when used this user.
Yes, I do agree with workarounds specified in last response.
can you post the inventory screenshot? Try changing the inventory view from host and clusters to VMs and Template etc.
As pointed in KB in last comment, you will get the difference. I would like to specify that 60 days evaluation gives you enterprise plus license features. 
Both ways I have tried earlier and both worked for me and I believe it will work for you as well. Storage vMotion would be preferable. You can create a sample dummy vm (mem 10 MB, and cpu 1vCP... See more...
Both ways I have tried earlier and both worked for me and I believe it will work for you as well. Storage vMotion would be preferable. You can create a sample dummy vm (mem 10 MB, and cpu 1vCPU) and test this as well
Please refer this: VMware ESXi 5.5 Update 3b Release Notes VMware vCenter Server 5.5 Update 3b Release Notes I will come back with some more details@TLS for the build number you specified.
Hi All,    I just over-viewed PowerCLI 6.0 reference and I do not see any CMDLETs for managing vFRC. Below are the ESXCLI commands to manage the same Monitoring vSphere Flash Read Cache ... See more...
Hi All,    I just over-viewed PowerCLI 6.0 reference and I do not see any CMDLETs for managing vFRC. Below are the ESXCLI commands to manage the same Monitoring vSphere Flash Read Cache ESXCLI Commands Some time back, I have written Java samples using vSphere API@vFRC. It may help you. vThinkBVM-scripts/GetvFlashReadCacheRunTimeInfoForVM.java at master · vThinkBeyondVM/vThinkBVM-scripts · GitHub vThinkBVM-scripts/GetvFlashResourceInfoOnHost.java at master · vThinkBeyondVM/vThinkBVM-scripts · GitHub If you must need this management using PowerCLI, we can write scripts using View-Objects. Also, I will take this feedback and pass to the PowerCLI team in order to add cmdlets. Let me know if you want me to write vFRC management scripts using View-Object, I would be happy to help.
There is no automated way to make memory utilization equal on all the hosts. As DRS is enabled on the cluster, you need not to worry about memory and CPU load across hosts. Also, it is recomm... See more...
There is no automated way to make memory utilization equal on all the hosts. As DRS is enabled on the cluster, you need not to worry about memory and CPU load across hosts. Also, it is recommended to have DRS migration threshold as 3 (middle). You may want to read: VMware KB: DRS performs unwanted memory load balancing moves or DPM excessively consolidates memory.
did not you pass this parameter as well?   <urn:datacenter type="?">?</urn:datacenter>
Please also refer: https://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.VirtualDiskManager.html#extendVirtualDisk This is API reference and <urn:datacenter type="?">?... See more...
Please also refer: https://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.VirtualDiskManager.html#extendVirtualDisk This is API reference and <urn:datacenter type="?">?</urn:datacenter> is required to be set if you specify Disk Name the way I told you in screenshots. To get <urn:datacenter type="?">?</urn:datacenter> value wrt to your vCenter, you can refer MOB of you vCenter.  : VMware KB: Looking up Managed Object Reference (MoRef) in vCenter Server
Hi Nagendra, Try giving the same as specified in my screenshots attached (Highlighted). vSphere Management APIs are internally will be sending SOAP request. As per me , it should work. I neve... See more...
Hi Nagendra, Try giving the same as specified in my screenshots attached (Highlighted). vSphere Management APIs are internally will be sending SOAP request. As per me , it should work. I never tried using directly through SOAP though.