cforest's Posts

LucD, it works! Thank you so much!
Hello, I am trying to get a custom attribute value for my datastore, but bumping into an issue with type incompatibility. Is there anything I am doing wrong below, and how to fix it?     Po... See more...
Hello, I am trying to get a custom attribute value for my datastore, but bumping into an issue with type incompatibility. Is there anything I am doing wrong below, and how to fix it?     PowerCLI C:\> $ds = Get-Datastore -Name YK     PowerCLI C:\> $ds        Name                               FreeSpaceGB      CapacityGB     ----                               -----------      ----------     YK                                  14,528.467      14,901.750           PowerCLI C:\> Get-Annotation -Entity $ds -CustomAttribute ykcustattr_global     Get-Annotation : Cannot bind parameter 'Entity'. Cannot convert the "YK" value of type "VMware.VimAutomation.ViCore.Impl.V1.DatastoreManagement.VmfsDatastoreImpl" to type "VMware.VimAutomation.ViCore.Types.V1.Inventory.InventoryItem".     At line:1 char:24     + Get-Annotation -Entity $ds -CustomAttribute ykcustattr_global     +                        ~~~         + CategoryInfo          : InvalidArgument: (:) [Get-Annotation], ParameterBindingException         + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetAnnotation Note 1: I am able to get a custom attribute for a virtual machine, cluster and host. The problem is with the Datastore only. Note 2: I guess the problem is that Get-Datastore returns Datastore object, while Get-Annotation expects InventoryItem object for -Entity. It is not clear if it is possible to do a cast/transformation or anything like that. VMware vCenter version: 6.5 Any thoughts? Thank you!
Ranchuab, it seems to work. Thank you!
Hi there, I tried to google this issue, but didn't find any relevant cases, despite the fact that I observe this issue for several years. In vSphere Client, it takes significant delay to ge... See more...
Hi there, I tried to google this issue, but didn't find any relevant cases, despite the fact that I observe this issue for several years. In vSphere Client, it takes significant delay to get to a given virtual machine's console. A typical use case: уou open vSphere Client, get to your virtual machine and click Console tab. It takes some time to get the console. Sometimes, the following trick helps: you move from one virtual machine to another, click Console tab for this machine, then get back to you first machine. From time to time, it helps to get the console. Sometimes, it does not help, and you have to try this trick one more time. There is no specific for any given virtual machine. The same behavior for any virtual machine on several ESXi hosts I am using. The question: what is the reason for this slowness, and is it possible to cope with it? Any settings in configs? Anything else? P.S. Some more info: Versions: vSphere Client: 6.0.0, vSphere ESXi: 6.0.0 ESXi servers are powerful, no shortage on memory or CPU The desktop with vSphere Client is powerful, as well. Attached is the screenshot in case my message is unclear. Thanks, cforest
MBreidenbach0, thank you!
Thank you! One more related question, if possible. In regards of the performance of virtual machines located at SSD drive: is it important that ESXi determines my SSD disk as non-SSD? Will it ... See more...
Thank you! One more related question, if possible. In regards of the performance of virtual machines located at SSD drive: is it important that ESXi determines my SSD disk as non-SSD? Will it affect virtual machine performance? Should I do something like described in this article: VMware Knowledge Base Or, it just doesn't make sense in the context of my goal (better performance of virtual machines located at SSD)?
MBreidenbach0, thanks for the answer. Honestly, I have no idea if Dell RAID controllers can do it. As to installing ESXi on SSD disk, will I get performance increase in comparison with ESXi... See more...
MBreidenbach0, thanks for the answer. Honestly, I have no idea if Dell RAID controllers can do it. As to installing ESXi on SSD disk, will I get performance increase in comparison with ESXi installation on HDD RAID 5, or virtual machine performance depends on where the virtual machine itself is installed (SSD or HDD), not the ESXi operating system itself?
Hi there, I have a DELL PowerEdge R630 server with the following disks: 1. HDD RAID 5 built from three HDD disks 1 TB each (in total, it provides 1.9 TB) 2. A separate SSD disk (900 GB) ... See more...
Hi there, I have a DELL PowerEdge R630 server with the following disks: 1. HDD RAID 5 built from three HDD disks 1 TB each (in total, it provides 1.9 TB) 2. A separate SSD disk (900 GB) There going to be lots of machines on this server, and for some of them, I would like to provide the highest performance. With this goal in mind: 1. Does it make sense to install ESXi on a SSD disk, or I'd better install it on HDD RAID 5? 2. Does it make sense to place on SSD those virtual machines from which I have the highest performance? For p.2, I think it makes sense, but I am not that sure about p.1. Or, maybe I wrong for p.2, as well? Thanks, cforest