Skip to main content

VMware critical notification alarm

The title looks scared, is it? Actually I don't want to talk about any problem of VMware product but just a feature.

标题看起来吓人吧?其实这次打算只谈谈功能。



I noticed an alarm "VMware critical notification alarm" on my vCenter Server today, I never saw this before vCenter Server 5.5 U1. I did some research on internet but nothing. I'm not sure is that a new feature, or not.

今天在vCenter Server 上看到这么个报警“VMware critical notification alarm”,在vCenter Server 5.5 U1以前从来没见过。网上搜了一下也没找到任何信息,不知道是不是个新功能。

[caption width="300" id="attachment_564" align="alignnone"]VMware critical notification alarm VMware critical notification alarm[/caption]The alarm indicates a critical event in VMware patching system. You will see the detail if you go to Home - Update Manager - Notification on vSphere Client.

这个报警表示VMware补丁系统中有一个严重事件。在vSphere Client打开Home - Update Manager - Notification 就可以看到事件详情。

[caption width="300" id="attachment_563" align="alignnone"]Patch recall details Patch recall details[/caption]I think this is a good feature and probably can be enhanced. As you may know HP send monthly firmware/driver newspaper, they category it by Critical, Recommended, or Optional. Critical usually means the bug fixed on this release breaks production services. It's easy for customer to know what it is and how to fix it. VMware does not have such communication, they just release KB on their website, it's hard to know which KB is more critical, you have to go through all articles and make your own decision. It's time consuming. I hope VMware can leverage this alarm to give customer more light of patch severity.

这个功能挺好,也许可以增强一下。比如,惠普每个月都会发布固件和驱动的邮件订阅。它把这些固件和驱动分为要命推荐可做可不做 三种类型要命 表示此版本修复的问题可能会影响生产环境的业务,一旦有问题包你通宵夜场。对于用户来说这样分类很好理解孰重孰轻。VMware并无类似的,只是提供知识库文章,你不得不大量阅读这些文章并自己判断哪个是要命的,非常浪费时间。希望VMware可以利用这个警报功能给客户更好的补丁级别管理体验。

Popular posts from this blog

Connect-NsxtServer shows "Unable to connect to the remote server"

When you run Connect-NsxtServer in the PowerCLI, it may show "Unable to connect to the remote server".  Because the error message is a little bit confusing with other login issues. It's not easy to troubleshoot. The actual reason is the NSX-T uses a self-signed certificate, and the PowerCLI cannot accept the certificate automatically. The fix is super easy. You need to set the PowerCLI to ignore the invalid certificate with the following command: Set-PowerCLIConfiguration -Scope User -InvalidCertificateAction:Ignore -Confirm:$false

Setup Terraform and Ansible for Windows provisionon CentOS

Provisioning Windows machines with Terraform is easy. Configuring Windows machines with Ansible is also not complex. However, it's a little bit challenging to combine them. The following steps are some ideas about handling a Windows machine from provisioning to post configuration without modifying the winrm configuration on the guest operating system. Install required repos for yum. yum -y install https://repo.ius.io/ius-release-el7.rpm yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm yum -y install epel-release yum -y install yum-utils yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo Install  Terraform . sudo yum -y install terraform Install  Ansible . sudo yum -y install ansible Install  Kerberos . yum -y install gcc python-devel krb5-devel krb5-libs krb5-workstation

How to List All Users in Terraform Cloud

Terraform has a rich API. However, the API documentation does not mention how to list all users. We can leverage the organization membership API and the PowerShell command  Invoke-RestMethod  to get a user list. 1. Create an organization token in Terraform Cloud. 2. Create the token variable ( $Token ) in PowerShell. $Token = "abcde" 3. Create the API parameters variable in PowerShell. $params = @{ Uri = "https://app.terraform.io/api/v2/organizations/ZHENGWU/organization-memberships?page%5Bsize%5D=100" Authentication = "Bearer" Token = $Token ContentType = "application/vnd.api+json" } Note: You need to replace ZHENGWU with your own organization name. And I used 100 at the end of the URI to retrieve the first 100 users. It can be any number.  4. Retrieve the API return and list the user's email address. $Test = Invoke-RestMethod @params $Test.data.attributes.email