VMware

Below you can find all posts related to VMware solutions. For a better search, I have also added posts into subcategories like ESXi or vRA. Have fun!

All VMware posts:

Create WorkspaceOne Access local user or reset a password without SMTP server configured.

Sometimes you do not want to connect your WorkspaceOne Access to SMTP, but you need to create a local user or reset a local user password (for example, in a test environment or fast PoC deployment). Below you can find an instruction on how to use REST API to set/reset a password for a local user. Prerequisites: First of all, we need a local user. If you do not have…

Keep reading

vROPS Management Pack for vRealize Orchestrator stopped working with vRA/vRO 8.8 and later (Incorrect user name or password).

If you have a problem with the vRealize Operations Manager Management Pack for vRealize Orchestrator with the newest version of vRealize Orchestrator (standalone or embedded), you probably have not read vRO 8.8 release notes carefully. So, do I 🙂The main reason why that management pack stopped working is that vRO 8.8 has disabled Basic Authentication by default. That’s why we can see such message error in the vROPS integration as…

Keep reading

vRealize Operations Manager: Troubleshooting Cloud Proxy and Telegraf agents.

Cloud Proxy is a required component in vRealize Operations Manager if you use Telegraf agents to monitor operating systems or applications. However, I can see that many people don’t know what to do if their Cloud Proxies or Telegraf agents do not work correctly. That post describes basic commands, files location, etc., to help you solve the problems with Cloud Proxy and/or Telegraf agents. Check Cloud Proxy to vROPS connectivity…

Keep reading

How to exclude partitions from vRealize Operations Manager alerts

By default, vRealize Operations Manager alerts us when OS partition/disk is out of space. But sometimes want to exclude some disks or partitions from such alerts because they are full by design. For example, you have a separate partition for pagefile, rotated logs, or just userspace that can be full, and it’s ok to us. This post will show you how to exclude a specific partition, let’s say /home/user, from…

Keep reading

vRA 8.4+ Custom resource action: Remove virtual machine snapshots older than X days/hours for all VMs inside Deployment.

Introduction In my previous post, I presented you with a vRealize Orchestrator workflow to remove all snapshots older than X days/hours for a particular virtual machine (you can find and download it here). Today, I am going to use that workflow to create my custom resource action. But to make it a little more complicated, we will run this action in the vRA on deployment level, and the action will…

Keep reading

vRO workflow: Remove virtual machine snapshots older than X days/hours.

Introduction If you are familiar with the vRealize Orchestrator and vCenter plugin, you may know that a build-in workflow called: Remove old snapshots (Library->vCenter->Virtual Machine management->Snapshot) can be used to find and remove old snapshots. So, why do I need a new workflow? Because it is the first part of my plan to create vRealize Automation custom action o Deployments level. The second part I will publish in the vRealize…

Keep reading

Add vRO workflow as a custom resource action in vRealize Operations Manager

vRealize Operations Manager is a powerful tool that enables and simplifies performance, capacity, and cost optimization in our environment. Today I want to focus on actions that we can run from the vROPS console. By default, The actions available in vRealize Operations Manager allow us to modify the state or configuration of selected objects in vCenter. But what if you cannot find appropriate action on the list? We can use the vRealize…

Keep reading

vRA 8.4.x – How to attach disconnected persistent volume to virtual machine using API

Last time, someone asked me: what if I add a persistent disk to the virtual machine and remove it from deployment in the vRealize Automation portal. How can I attach it again? I was a little confused because I didn’t know that it could be a problem. So, I checked it on my lab, and I was surprised that there is no GUI option to attach that disk again. Instead,…

Keep reading

Configure Kerberos authentication in vRealize Identity Manager 3.3.4

A few weeks ago, I wrote an article that shows how to integrate vROPS with Identity Manager and create catalog apps (here). So if we are logged into vRIDM, we can access our apps without adding a username and password a second time. But what if we have our computer in the domain, are logged to the computer with a domain account, and want to access all apps using our…

Keep reading

How to add vRealize Operations Manager 8.x to vRealize Identity Manager Web Apps catalog

This article will demonstrate how to integrate vRealize Operations Manager with Workspace ONE Access (formally known as vRealize identity Manager) and add vROPS to Web Apps catalog. vRIDM gives us the ability to provides IDaaS (Identity as a Service). vRIDM acts as a broker between our identity providers and applications. It handles conditional-based access, SSO, unified apps catalog, and many other things. For example, when we install vRealize Automation, it…

Keep reading

vROPS Super Metric: VM OS Uptime in a given time

This time we are jumping to vRealize Operations Manager and looking for an answer to the question: How long was my VM powered on, for example, in the last 7 or 30 days? Sounds simple and it can be useful to show that on SLA reports. Yes, we have a built-in metric in vROPS called System|OS Uptime (Second(s)). So, where is the problem? When we power off VM and power…

Keep reading

vRO workflow: sleep or pause and wait? What’s the difference, and when to use these options?

Introduction Sometimes we need to stop processing our workflows and wait for example to check a process in a guest every few seconds. But vRealize Orchestrator gives us two options. We can use Sleep task or use Waiting timer/Wait until the date that will suspend workflow and schedule resume when you want. But what are the differences? When should we use the sleep tasks, and when suspend the workflow? In…

Keep reading

Create/Remove snapshots for all virtual machines inside VM folder using vRO Plugin

Have you ever tried to create snapshots for multiple virtual machines? You can select many VM and power on/off, migrate or delete, but there is no option to create or remove snapshots. When you need to do it on few servers, it is not a problem, but what if you need to make 20 snapshots? A lot of clicking. Below I show you how to extend vCenter functionality using vRO…

Keep reading

Register vRealize Orchestrator 8.3 as an extension of vCenter Server 7.0

vRealize Orchestrator is a great automation platform and can be used to automate many everyday tasks. Sometimes we don’t realize that we have the required license, and we can use it in our environment because it is included in the vSphere license (check vRO licensing here). We can build custom workflows or use out-of-the-box plugins to extend our vSphere environments’ functionality. For example, we are creating snapshots for 20 VMs…

Keep reading

How to shrink a thick VMDK disk on a virtual machine

Extending a virtual disk is a common task. Just grow VMDK disk on VMware and then on the operating system. Usually, you don’t need a maintenance window for that. But what if you need to shrink the disk. It is not so obvious. For example, we had a virtual machine that required 1000GB disk space on the first partition, but we moved all files to the second partition, and only…

Keep reading

How to build custom ESXi image

Introduction Sometimes you need to create your own ESXi image with additional content. In my case, I had to add the community-created ne1000 VIB. Below you will find a short instruction on how to do this. Create own image Install PowerCLI and import Image Builder module: Add an ESX software depot to the current PowerCLI session and get all available image profiles: Download image on disk then add local software…

Keep reading