System Center Virtual Machine Manager版本列表

找到SCVMM版本列表,在博客记录一下。

Continue reading

Advertisements

Virtual Machine Console in vCenter is Opened by VMware Workstation

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.

Continue reading

VMware Workstation自动打开vCenter虚拟机的控制台

如果你的Windows 10电脑上装了VMware Workstation和VMware Remote Console,当你在vSphere Web Client里打开运行在vCenter上的虚拟机控制台时,VMware Workstation可能会代替VMware Remote Console自动连接到控制台。恭喜!你的VMware Remote Console被劫持了。这个问题解决起来比较复杂所以我叫它“劫持”。

Continue reading

2016年三亚亲子度假

2014年在泰国度假后,我们有了小宝宝Vinny,过去两年里老婆和我都忙于照顾小家伙,没有太多时间考虑外出。眼看着Vinny从刚出生时的弱不经风到今天一岁三个月的活泼好动,是时候尝试带Vinny看看世界了。正好我和老婆都有假期,于是计划了这趟旅行。

Continue reading

整合PowerCLI与PowerShell

早先我有写一篇文章关于如何手工整合PowerCLI和PowerShell。最近重装了系统,不得不再做一次。以前我习惯用PowerGUI写脚本,但不知道怎么搞的PowerGUI总是丢失菜单界面,这困扰了我很久一直没办法完全解决,所以这次我在想能不能把PowerCLI和PowerShell整合了一劳永逸,毕竟内置的好用一些啊。

Continue reading

Add Language Switcher in Posts Page Automatically by WordPress plugin Polylang

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…

Continue reading

用WordPress插件Polylang实现在博客文章页面自动显示语言切换开关

也许你和我这种挨踢砖家一样奇葩,用多种语言写博客。我的WordPress使用Polylang显示文章的中英文版本。一般我需要在文章里加一个”Language Switcher”标签来显示语言切换。添加这个标签不是那么容易,我得把它记在某个地方,需要的时候复制、粘贴到文章里。在每篇文章里添加这个标记有点儿麻烦。另外,这个标记必须配合”Read More”标记之后使用,如果语言切换标记出现在”Read More”之前会导致首页上出现多个语言切换标记,每个语言切换标记无法知道每篇文章对应的URL是多少。看看我是如何完美解决这个问题的吧…

Continue reading

在vROps中报表n天以前创建的快照

有很多种方法可以用来做虚拟机快照报表。比如PowerCLI、VRTools、甚至vSphere Client本身也可以。今天我会分享如何使用vRealize Operations Manager (vROps) 6.x做自定义天数以前创建的虚拟机快照的报表。用vROps做表表的好处是可以通过计划任务自动以邮件形式发送报表,并提供PDF和CSV两种格式的表。 我在网上找到了一篇文章谈到如何用vROps实现类似报表。但要求修改vROps的规则,这可能会影响到vROps的全局计算模型。如果你的团队们需要为各自的报表设置不同的条件怎么办?

Continue reading

Report snapshots older than X days in vROps

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?

Continue reading

Power Raspberry Pi by Portable Chargers

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.

Continue reading

用移动电源支持树莓派

一直想要用树莓派做个遥控小车,最先碰到的问题是如何给移动的树莓派供电?网上有很多方案,想找一个简单、便宜、可以长时间供电的解决方案。有文章介绍用移动电源,但是价格都高于100美元并且只提供5v电力输出。我需要一个不但可以给树莓派供电,还可以给L298N至少供7v的电力系统。

Continue reading

vRealize Operations Management Pack for Cisco UCS Review

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.

Continue reading

vRealize Operations Manager 6之Cisco UCS性能监控组件介绍

思科UCS刀片系列是我至今用过最好的刀片系统。无论是硬件、软件还是技术支持都堪称完美。个人推荐在大型虚拟化机房里把思科UCS作为主要设备。思科UCS刀片系统的架构和惠普的完全不同,感觉更像是个网络设备。Fabric Interconnect (FI)模块负责上联口和内部各组件之间的数据交换、IOM负责各刀箱数据路由。架构看起来很复杂,但是在管理大型数据中心时非常强大。说到大型数据中心,比如有 上百个刀箱和刀片服务器,数据要经过FI、IOM、刀片等,问题可能发生在任何层面,大型虚拟化数据中心很难找到问题的根源。UCS Manager有提供类似思科网络交换机一样的计数器功能,可以显示每一个端口的计数情况,但是这个监控工具不会告诉你什么时间、在哪个层面发生了问题 。在测试NetApp存储性能监控组件之前我有幸测试了vRealize Operations Manager 6的Cisco UCS性能监控组件。该组建同样由Blue Medora开发。以下简单介绍一下,只是我的个人观点 。

Continue reading

vRealize Opertion Manager 6之NetApp存储性能监控组件介绍

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存储的设备关联起来。

Continue reading

NetApp Management Package for vRealize Operation Manager 6

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.

Continue reading

Inventory Service无法启动

某日,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

Continue reading

如何在vRA中在指定的OU创建虚拟机

在管理企业级活动目录时最好根据某个特殊属性来组织服务器。比如,服务器可以根据角色、部门、功能等放在不同的OU中。以下是一个vRO工作流例子,可以实现根据vRA中用户的选择把服务器创建在不同的OU中。以下是大概的步骤,不是特别详细,在读之前最好对vRO和vRA有所了解。

Continue reading

Create VM on specified OU on vRA

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.

Continue reading

在vCO中将字符串转为对象

当创建虚拟机的时候你可能需要将虚拟机根据不同的属性放入不同的OU中,比如根据角色、组、用户组等。在vRealize Automation Center (vRA)中可以很轻易地创建一个下拉菜单实现这类属性的选择,但是这类属性的值往往都以字符串的形式传递到vRO中,而vRO的活动目录工作流中并没有提供字符串转OU对象的功能。

Continue reading

Convert string to OU object in vRO

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.

Continue reading

Inventory Service Cannot be Brought Up

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“.

Continue reading

Windows Server 2016 技术预览3内核模式 – 远程管理技巧

微软刚刚发布了Windows Server 2016的技术预览3。新版本中有很多增强,看起来微软的软件定义的数据中心正在赶上VMware。一个稳定的虚拟层是软件定义数据中心的前提,但这是微 软的软肋。你不得不不停地打各种补丁和重启服务器,甚至有些企业有定期的重启计划。微软在Windows Server 2008 的时候引入了核心模式并且在Windows Server 2012 R2中得到增强。但是Windows Server 2012 R2瞄准的是中小企业市场,我不认为他们会使用核心模式,因为复杂度要提升很多。

Continue reading

How to call customized vRealize Orchestrator workflows in vRealize Automation Center

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.

把vRA和vRO结合在一起几乎可以做任何事情。如果你和我一样是新手,和uijuede 得整合这块比较难,最近阅读了一些这方面的文章,算是有所了解了。以下是我的见解,如果有问题留言给我。

Continue reading