Found this link on Microsoft website. Just want to make a notes on my blog. Thanks community!
If you have VMware Workstation and VMware Remote Console both installed on Windows 10 you may see vCenter virtual machine console in vSphere Web Client is opened by VMware Workstation instead of VMware Remote Console. If you see same case your VMware Remote Console may be hijacked. I call it “hijack” since there is no easy way to revert it back.
如果你的Windows 10电脑上装了VMware Workstation和VMware Remote Console，当你在vSphere Web Client里打开运行在vCenter上的虚拟机控制台时，VMware Workstation可能会代替VMware Remote Console自动连接到控制台。恭喜！你的VMware Remote Console被劫持了。这个问题解决起来比较复杂所以我叫它“劫持”。
用vSphere Web Client打开虚拟机的控制台时可以会遇到报错 “Unable to connect to MKS: Could not locate vmware-authd executable“。
You may get error “Unable to connect to MKS: Could not locate vmware-authd executable” when open virtual machine console in vSphere Web Client.
Today my co-worker asked me a question about memory spec on ESXi hosts. There are two types of memory, LRDIMM and RDIMM available on hardware vendor’s list. Which one is best choice?
Size value is too long when I grab snapshot size of a VM. It’s something like the screenshots below.
I got a request few weeks ago. Reporting virtual machines that powered off more than 3 days. I didn’t find out-of-box report in vROps can do that. I had to create customized one. Following is how I did.
If you are multi-language IT Pro you may want to show articles in multiple languages just like me. I use Polylang in my blog to switch English and Chinese version. I used to add “Language Switcher” tag in my articles. It’s manual process that I had to remember the tag in somewhere, copy and past it to articles when I was writing. It’s frustration to repeat it in every article. Another problem was I have to add “Read More” tag in each article before I add “Language Switcher” tag. That’s because each post shows a switcher in home page if I don’t do that. It confuses Polylang which URL each article should goes. I want to find a perfect way to fix this problem! Here we go…
I just wrote a new post to show you how to create customized report of snapshot older than X days.
There are several ways to reporting snapshots. You can use PowerCLI, VRTools, or even vSphere Client itself. Today I will show you how to reporting by vRealize Operations Manager (vROps) 6.x. The benefit of vROps reports is you can schedule it by sending email with PDF & CSV reports. I found a post discuss how to reports by vROps. But it requests modify policy, it may impacts global calculation. What if your teams request different criteria for reports?
HPE SPP2016.04 is released. I usually test April version since it’s always stable than October or other earlier version.
HPE SPP2016.04 刚刚发布。我一般都测试4月份的版本，因为相对于10月份或者更早的版本要稳定一些。
I want to try make a remote control car by Raspberry Pi. The first question is how to power a portable Raspberry Pi? There are lot of solutions in internet. I want to find a simple, cheap and long battery life solution. Some articles introduced power bank but it overs $100 and only provides 5v output. I need some thing can provide not only 5v power for Raspberry Pi, but also more than 7v for L298N.
Cisco UCS blade system is the best blade system I used so far. Whatever the hardware, software or support is perfect. I recommend leverage the system for primary system of virtualization. UCS blade system architecture is different with HP. I feel it more likes a network system. Fabric Interconnect (FI) modules exchange data between uplinks and internal components. IOMs on each chassis controls data routing. Architecture is complicate, but it’s powerful to manage large datacenter. Talking about large datacenter, you may have hundred chassis or blades. Data goes through FIs, IOMs and blades, you could see issues on any layer. It’s hard to find out where exactly the problem is. UCS Manager provides statistics for ports just like how Cisco does on network switches. You can show statistics of a particular port. But it doesn’t tell you when and which layer it happened. I tested Cisco UCS adapter for vRealize Operation Manager before I reviewed NetApp adapter for vRealize Operation Manager. It’s developed by same company Blue Medora. I’d like to introduce few of this product, it’s just my personal review.
思科UCS刀片系列是我至今用过最好的刀片系统。无论是硬件、软件还是技术支持都堪称完美。个人推荐在大型虚拟化机房里把思科UCS作为主要设备。思科UCS刀片系统的架构和惠普的完全不同，感觉更像是个网络设备。Fabric Interconnect (FI)模块负责上联口和内部各组件之间的数据交换、IOM负责各刀箱数据路由。架构看起来很复杂，但是在管理大型数据中心时非常强大。说到大型数据中心，比如有 上百个刀箱和刀片服务器，数据要经过FI、IOM、刀片等，问题可能发生在任何层面，大型虚拟化数据中心很难找到问题的根源。UCS Manager有提供类似思科网络交换机一样的计数器功能，可以显示每一个端口的计数情况，但是这个监控工具不会告诉你什么时间、在哪个层面发生了问题 。在测试NetApp存储性能监控组件之前我有幸测试了vRealize Operations Manager 6的Cisco UCS性能监控组件。该组建同样由Blue Medora开发。以下简单介绍一下，只是我的个人观点 。
NetApp released Virtual Storage Console (VSC) 6.1 for vCenter 6.0. The solution is only support vSphere Web Client now. I did some testing on my lab, faced a very special case.
NetApp发布了Virtual Storage Console (VSC) 6.1 对应 vCenter 6.0。这个产品现在只支持vSphere Web Client了。我在实验环境下做了一些测试，遇到一个非常特殊的案例。
Today I got a strange problem about share folder. Some virtual machines cannot access network share path. It gave me Unspecified Error 0x80004005 when I opened a share folder on explorer. It gave me The network path was not found 0x80070035 when I opened same share folder by clicking Start – Run.
今天遇到了一个很奇怪的问题。有些虚拟机无法访问网络共享文件夹。当用文件浏览器打开共享文件夹时会弹出Unspecified Error 0x80004005错误。如果在开始 – 运行 里打开相同的文件夹又会提示The network path was not found 0x80070035。
vRealize Operation Manager 6 （又叫vROps）是vCenter Operation Manager的全新版本，我从vCenter Operation Manager还是1.0时就开始使用了，很喜欢自我学习和动态阀值这两个功能。但是这款产品只能监控虚拟层面，如果可以监控存储层面就完美了。在比较大的vSphere环境中虚拟机是共享ESXi数据存储（datastore）的，如果少数虚拟机产生很高的IO，可能会影响到其他处于同一个存储上的虚拟机。想象一下，如果你有100个LUN跑在一个NetApp存储上，300个虚拟机在使用这100个LUN，某日用户说他们的虚拟机很慢，但是他们并没有跑什么应用，这时候就会比较难判断到底是哪儿出了问题，因为虚拟机可能共享同一个数据存储（datastore），数据存储存建于LUN上，LUN 可能来自某个聚合（Aggregate），并且多个LUN可能来自同一个物理磁盘。vCenter Operation Manager 在5.x时代有提供一款NetApp存储监控组件，但问题是很难把vSphere的数据存储（Datastore）和NetApp存储的设备关联起来。
vRealize Operation Manager 6 (aka vROps) is new generation of vCenter Operation Manager. I started to use vCenter Operation Manager since version 1.0. I like the idea of self-learning and dynamic threshold. But the product only monitors virtualization layer. It would be perfect if it’s able to monitor under layer storage. In large vSphere environment, virtual machines share IO capacity of datastores. If few virtual machines running high disk IO it may lead to other virtual machines get performance degrading in same storage. Think about you have 100 datastores come from a NetApp filer, and 300 virtual machines running on its. One user says their virtual machine is slow but no workload from applications end. It hard to say where the latency comes from because multiple virtual machines may share same datastore, multiple LUNs share same aggregate, and maybe same physical disks. vCenter Operation Manager provided NetApp Adapter for 5.x few years ago. But the problem was it’s too hard to associate storage objects with vSphere datastore objects.
vRealize Automation 7 (vRA 7)和vRA6比起来有很多增强和改进。网上有大量的文章介绍这方面以及安装方法。vRA7的初始设置和vRA6有很大不同。以下是我的一些经验，可以帮你快速搭建实验环境。
vRealize Automation 7 (vRA 7) has lot of enhancements and changes compare with vRA 6. There are plenty of introductions available in internet. The initial configuration is different with vRA 6. I’m going to share my experience. You can easily build up LAB or POC by following this post.
错误提示 “To view this page ensure that Adobe Flash Player version 11.5.0 or greater is installed. “。登陆框依旧可见，但是登陆后页面成空白状。
You may see that error message “To view this page ensure that Adobe Flash Player version 11.5.0 or greater is installed. ” when you open vSphere Web Client 6.0 on IE 11 on Windows 8.1. The login fields still visible, but the page go to blank after you login.
某日，vCenter Server突然无法搜索虚拟机了。在vSphere Client中搜索时会提示 Unable to connect to web services to execute query. Verify that the ‘VMware VirtualCenter Management Webservices’ service is running on https://vCenter_Server_FQDN:10443。没过几个小时用户就开始抱怨vSphere Web Client也出问题了，总是提示错误 Client is not authenticated to VMware Inventory Service – https://Inventory_Service_FQDN:10443。
Best practices to manage enterprise Active Directory is organizing servers by particular properties. For example, servers maybe put into different OU by role, business group or function…etc. Following is a vRO workflow sample to automate provisioning computers in proper OUs according to user choice in vRA Service Catalog. I’ll just give brief of each step in this article, so please make sure you understand both products before read this post.
当创建虚拟机的时候你可能需要将虚拟机根据不同的属性放入不同的OU中，比如根据角色、组、用户组等。在vRealize Automation Center (vRA)中可以很轻易地创建一个下拉菜单实现这类属性的选择，但是这类属性的值往往都以字符串的形式传递到vRO中，而vRO的活动目录工作流中并没有提供字符串转OU对象的功能。
When you put virtual machine to particular OU, you may refer to virtual machine properties, such as ‘server role’, ‘server group’ or ‘user group’…etc. It’s easy to set a drop-list in blueprint of vRealize Automation Center (vRA) to let users choose this kind of properties but hard to create a computer account in corresponded OU location in vRO. That’s because vRA passes most of values to vRO as strings, Active Directory workflows in vRO do not provide a way to convert string to OU.
One day, my vCenter Server suddenly lost search. It popped me “Unable to connect to web services to execute query. Verify that the ‘VMware VirtualCenter Management Webservices’ service is running on https://vCenter_Server_FQDN:10443” when I did object search on vSphere Client. Few hours later people starting complaint they got error on vSphere Web Client, it show “Client is not authenticated to VMware Inventory Service – https://Inventory_Service_FQDN:10443“.
今天在vRealize Operation Manager 6.0创建了几个super metric，主要用来计算ESXi主机的物理链路吞吐量。结果发现这些super metric只是出现在部分主机里。估计是有什么bug。快速解决的办法是重启一下vROps vApp。
Today I created few super metrics on vRealize Operation Manager 6.0 to calculate throughput of physical links on ESXi host. The super metrics just present to part of the selected hosts. I guess it’s some kind of minor bug. A reboot of vROps vApp can works around it. Just heads up.
I don’t know why VMware doesn’t allow hidden default dashboards in VMware design vRealize Operation Manager (vROps). They also states no solution in current version. I searched internet, only thing I found was a community post that someone wants to delete the dashboards, but no proper answer.
微软刚刚发布了Windows Server 2016的技术预览3。新版本中有很多增强，看起来微软的软件定义的数据中心正在赶上VMware。一个稳定的虚拟层是软件定义数据中心的前提，但这是微 软的软肋。你不得不不停地打各种补丁和重启服务器，甚至有些企业有定期的重启计划。微软在Windows Server 2008 的时候引入了核心模式并且在Windows Server 2012 R2中得到增强。但是Windows Server 2012 R2瞄准的是中小企业市场，我不认为他们会使用核心模式，因为复杂度要提升很多。
First of all, this article is nothing related to PowerCLI. You probably know how to set Path Selection Policy (PSP) by vSphere Client, but how you can set up 100 LUNs manually? We have some script can make your life easy.
You almost can do everything as long as vRealize Automation Center (aka vRA) and vRealize Orchestrator (aka vRO) are integrated. I think that’s the hard part if you are newbie like me. After reading lot of articles, I learned how it works. Following is my experience, please let me know if you see anything wrong.
It’s frustration to check RDM information, you have to check across all ESXi hosts to make sure configuration is aligned. I just figured out two line commands to get path selection policy (aka PSP).