Browsed by
Author: AB

Create ESXi Custom ISO

Create ESXi Custom ISO

If you are looking for a custom ISO creation process for your own automation purposes, follow the below steps. You would need the following applications for this process Powershell mkisofs VMware ESXi official ISO There are following high-level steps to accomplish this requirement Prepare the environment by installing the required application and downloading ISO Prepare the Kickstart file Extract the ISO file to the folder Copy the Kickstart file to the root folder in the extract Modify BOOT.CFG file Create…

Read More Read More

Create role and assign global permissions in vCenter or VCSA

Create role and assign global permissions in vCenter or VCSA

This script will help you to create a new role and assign permission to the role. Please create a JSON file before executing the script as below and then you can execute the script.

 

 

Install Identity Source Using Command Line in VCSA

Install Identity Source Using Command Line in VCSA

We can configure AD LDAP from UI but in case you are looking to configure Identity Source using the command then following is the procesure. Login to VCSA over SSH Switch to shell Navigate path /opt/vmware/lib64/ In case required, you can take a backup of the existing configuration by copying file “/opt/vmware/lib64/vmware-identity-sso-config.jar” Next, you can run the following command to create an identity source

Please update the parameters with the correct values

Install VCSA Using CLI

Install VCSA Using CLI

We can install or automate VCSA deployment using the CLI. VMware has already provided CLI option for the installation and completely documented solution. You can refer VMware documentation below. https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vcenter-installation/GUID-C17AFF44-22DE-41F4-B85D-19B7A995E144.html There are the following steps involved in installing VCSA using CLI JSON templates are available in the VCSA installation bundle which we have to use for the installation. Under the folder \vcsa-cli-installer\templates\install you can find the templates. embedded_vCSA_on_ESXi.json embedded_vCSA_on_VC.json embedded_vCSA_replication_on_ESXi.json embedded_vCSA_replication_on_VC.json vCSA_with_cluster_on_ESXi.json Copy the respective JSON template to the temp…

Read More Read More

Get Managed Object

Get Managed Object

We can easily gather all Managed Object information using vSphere SDK. We have seen in the earlier post about How to connect using SDK. Now, we will see how you can gather the Managed Object information using SDK. Once, we connect to vCenter, we will have an object called VMware.Vim.VimClientImpl and after connection, this object will help us to gather any Managed Object information. VimClientImpl object has the method FindEntityViews that can be used to get any Managed Object from…

Read More Read More

How to connect vCenter using SDK?

How to connect vCenter using SDK?

We can connect vCenter using VMware.Vim dll file in c# code easily. This file does exist in the PowerCLI folder in Windows. Using this connection, we can achieve almost all the tasks that we can perform using Web Client or vSphere Client. Please refer other posts to understand how we can perform tasks or gather inventory.This article mentions your favorite hats at super low prices. Choose from same-day delivery, drive-up delivery or order pickup.  

Next – Get Managed Object