This script is written using VMware Powercli module and its purpose is as similar as earlier written script Powershell vCenter server Rest API create and assign tag and tagcategory for creating and modifying Tag and TagCategory, only the difference is earlier script is written using vSphere API t…
Blog posts : "vcenter"
Powershell vCenter server Rest API create and assign tag and tagcategory
While working on one of the automation project I wanted to assign tags and tag category on VMware clusters using Powershell, It is easy task when done using PowerCLI module but the requirement was not to use PowerCLI module instead make use of vSphere vCenter Rest API.
Configure vCenter SSO Active Directory (Integrated Windows Authentication) as identity source
I have already written a article on Add a vCenter Single Sign On Identity Source Active Directory (Windows Integrated Authentication), there are 2 ways to configure vCenter SSO with Windows Integrated Authentication, In the earlier article I have shown how to Use Machine Account, and the settings d…
VMware Skyline Collector Password Recovery (KB52652)
After configuring few instances of VMware Skyline I found I am no longer able to login through ssh root or on web portal through admin, the default password was not working. Another thing was whenever logging through SSH tool I was getting root is locked up. For this skyline has simple and nice know…
PowerCLI Add a SCSI Controller to a Virtual Machine
My requirement was to write and automate adding a new virtual SCSI controller to virtual machines using PowerCLI. For this task there is cmdlet is already available New-ScsiController. But the problem with command is, standalone virtual SCSI controller cannot be added. It has to add new or existing…
Esxi Registration unregistration of third-party IO filter storage providers fails on a host
While installing and testing ESXi 7 on the summary page it was showing warning message in yellow Registration/unregistration of third-party IO filter storage providers fails on a host
VMware has already KB provided for this issue - https://kb.vmware.com/s/article/55774. According to VMware this …
PowerCLI Get-VMhost The operation on computer failed The WinRM client cannot process the request
I frequently get error winrm client cannot process the request while running few VMware PowerCLI commands for example: Get-VM, Get-VMhost etc. The complete error is highlighted as below in the Red, This generally happens due to duplicate cmdlet name in the another module.
Import-Module VMw…
Create a VMFS Datastore in the vSphere Client
This is a step by step procedure to create a new VMFS datastore on the ESXi server using vSphere Client, and same guide is applicable for both Local Disk as well as Shared remote storage. While using HTML5 based vSphere client you might find little difference creating a new Datastore. To start I hav…
PowerCLI one-liner Reporting, Assigning, Changing and Removing licenses on ESXi
I was looking for instant one-liner PowerCLI script to get licensing report of ESXi servers and also wanted one-liner commands to assign / remove licenses on ESXi servers, Below scripts help to do the tasks.
#Connect ESXi Server
$vmHost = Get-VMHost -Name ironman.vcloud-lab.com
#Assign / …
Install and Configure VMware UMDS on Linux
VMWare UMDS (VMware Update Manager Download Services) is feature and extra add on software included in VCSA ISO file, It helps downloading update metadata, patches, security fixes and latest drivers binaries from online VMware/Vendor hostupdate Repositories. It helps in way to make your VMware Updat…
VMware UMDS curl_easy_perform() failed: cURL Error: SSL peer certificate or SSH remote key was not OK, SSL certificate problem: unable to get local issuer certificate
After configuring VMWware UMDS (VMware Update Manager download service) in my environment, which downloads patches/update from online VMware repositories, I tried downloading patches/updates.but I was receiving below errors for multiple urls. (There are default 4 online VMware repositories from wher…
Patching the vCenter Server Appliance VCSA
VMware regularly releases security patches/fixes for its products, here I am patching vCenter server appliance (vcsa portal). Upgrade patches are downloaded from url https://my.vmware.com/group/vmware/patch#search (VMware Patch download center).
I have downloaded vCenter server patch ISO f…
Assign vSAN licenses in vSphere client
After writing Administrating licenses in vSphere client I missed to mention another way to assign licences to vSAN cluster. Whenever you build you a new cluster and if don't enable vSAN services, that cluster generally is not listed under licenses Assets, Unless you enable vSAN service on cluster. (…
Administrating licenses in vSphere client
Recently I deployed VMware vSphere 7, and after logging to vSphere Client the first message was popped up on the top middle screen is There are expired or expiring licenses in your inventory. [MANAGE YOUR LICENSES]. As I had licenses to for testing I decided to assign the same to vCenter and ESXi se…
Powercli Get vCenter licenses information
Recently I was testing vCenter and Esxi 7 - vSphere suite for my new project, I periodically ask my subordinate team to review and collect the licenses information to know and forecast licensing needs. To use this script first I fill and run information accordingly. (Temporarily remove/unload Hyper-…
VMware vcenter 7.0 A problem occurred during setup Services might not be working as expected 63%
As VMware vSphere 7 version is released recently, I thought of testing and have hands-on on the product, to get further on vCenter server 7.0, ISO file is downloaded from my.vmware.com. Here I am performing vCenter server deployment and installation steps on VMware workstation, OVA file is located u…
Managing ESXi SSL certificate properties from vCenter server
One of the way to manage esxi certificate properties is using vCenter server, This is good option where you don't have generate a certificate for every indivisual Esxi. You just need to configure valid SSL certificate once on the vCenter VMCA. Improving Esxi security by using vCenter server can ensu…
How to install Ansible on Linux for vSphere configuration
Part 2: Using Ansible for Managing VMware vsphere Infrastructure
Recently I took over a task to evaluate few DevOps configuration, automation and orchestration tools to configure VMware vSphere. There are many tools available in the market for DevOps automation. Personally I like and already…
Enable Access to the VCSA Bash shell or Appliance Shell
Currently, the vCSA is bundled with below supported shells - BASH Shell & Appliance Shell. The appliance shell can be used to update the VCSA, using the software-packages command and has some other use cases. When you log in for first time by default it shows appliance shell, below is the method to …
How to replace default vCenter VMCA certificate with Microsoft CA signed certificate
VMCA (VMware Certificate Authority) is a one of the components in PSC (Platform services controller) inbuilt into vCenter server 6.x. VMCA is Certificate Authority and works as same as Microsoft CA certificate. It can issue certificates to VMware components i.e. vCenter, ESXi servers. In my previous…
Blog Search
Page Views
11411976
Archive
- April 2024 (5)
- November 2023 (1)
- September 2023 (6)
- July 2023 (15)
- June 2023 (5)
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
Comments
-
MaasMarch 9, 2024 02:13AM
-
bazsFebruary 22, 2024 07:48PM
-
February 22, 2024 12:36AM
-
February 20, 2024 06:13PM
-
debbyFebruary 19, 2024 07:51PM