<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									VMware vSphere help - VHT Forum				            </title>
            <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/</link>
            <description>Virtualization Howto Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 27 Apr 2026 23:00:45 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Any real backup solution that can handle complex, mixed environments without falling short</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/any-real-backup-solution-that-can-handle-complex-mixed-environments-without-falling-short/</link>
                        <pubDate>Thu, 31 Jul 2025 06:02:09 +0000</pubDate>
                        <description><![CDATA[Hi everyone,
I’m evaluating backup solutions for our environment, and honestly, I’m hitting walls with most of the tools we’ve tried so far.
The setup is fairly complex and diverse:

Aro...]]></description>
                        <content:encoded><![CDATA[<p><span style="font-weight: 400">Hi everyone,</span></p>
<p><span style="font-weight: 400">I’m evaluating backup solutions for our environment, and honestly, I’m hitting walls with most of the tools we’ve tried so far.</span></p>
<p><span style="font-weight: 400">The setup is fairly complex and diverse:</span></p>
<ul>
<li style="font-weight: 400"><span style="font-weight: 400">Around 120 VMs split between VMware and Hyper-V, spread across multiple sites</span><span style="font-weight: 400"><br /><br /></span></li>
<li style="font-weight: 400"><span style="font-weight: 400">A handful of physical Linux and Windows servers still in production</span><span style="font-weight: 400"><br /><br /></span></li>
<li style="font-weight: 400"><span style="font-weight: 400">70TB+ of Microsoft 365 data across Exchange, SharePoint, OneDrive, and Teams</span><span style="font-weight: 400"><br /><br /></span></li>
<li style="font-weight: 400"><span style="font-weight: 400">Hybrid storage: some local disk, NAS, cloud (S3-compatible), and SAN</span><span style="font-weight: 400"><br /><br /></span></li>
<li style="font-weight: 400"><span style="font-weight: 400">Proxmox and Nutanix used in R&amp;D, with potential to expand</span><span style="font-weight: 400"><br /><br /></span></li>
<li style="font-weight: 400"><span style="font-weight: 400">Strong compliance requirements and need for immutable backup and granular recovery</span><span style="font-weight: 400"><br /><br /></span></li>
<li style="font-weight: 400"><span style="font-weight: 400">Limited resources for managing heavy infrastructure or additional proxies</span><span style="font-weight: 400"><br /><br /></span></li>
</ul>
<p><span style="font-weight: 400">Every solution I’ve tested either lacks proper platform coverage, becomes too resource-intensive, or fails to deliver flexible storage and full backup/recovery for everything we need. I’m trying to avoid stitching together 2–3 products just to make this work.</span></p>
<p><span style="font-weight: 400">Has anyone here faced similar challenges and found one solution that can truly cover it all, across physical, virtual, cloud, and Microsoft 365, with reasonable resource demands?</span></p>
<p><span style="font-weight: 400">Appreciate any real-world input!</span></p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Kavid Nair</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/any-real-backup-solution-that-can-handle-complex-mixed-environments-without-falling-short/</guid>
                    </item>
				                    <item>
                        <title>How to add Broadcom download token for new VMware update URL depot change</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/how-to-add-broadcom-download-token-for-new-vmware-update-url-depot-change/</link>
                        <pubDate>Mon, 24 Mar 2025 17:13:02 +0000</pubDate>
                        <description><![CDATA[In case you are not aware, VMware by Broadcom has moved to a SiteID validation token now to allow you to download updates for VMware products and solutions. You will need to change over to u...]]></description>
                        <content:encoded><![CDATA[<p>In case you are not aware, VMware by Broadcom has moved to a SiteID validation token now to allow you to download updates for VMware products and solutions. You will need to change over to using the new SiteID as part of your download depot configuration before you will be able to download updates after <span style="color: #ff0000"><strong>April 23, 2025</strong></span>.</p>
677
<h2>Generate the download token</h2>
<p>First, we need to generate the download token on the Broadcom support site. To do that, follow the steps below. To do that, after you login, navigate to the quick links section in your Dashboard and click the <strong>Generate Download Token</strong> button.</p>
678
<p>Next, pick your SiteID from the dropdown, and click the button <strong>Generate Token</strong>.</p>
679
<p>You will be asked <strong>Are you sure you want to Generate Token?</strong></p>
680
<p>Once you confirm, you will see your download token generated.</p>
681
<h2>Download the Depot Changer Script</h2>
<p>Now, we need to download the Depot changer script that is provided by VMware. You can find that at this KB:</p>
<p><a href="https://knowledge.broadcom.com/external/article/389276">Authenticated Download Configuration Update Script</a></p>
682
<h2>Running the script</h2>
<p>Now that we have the token and the script, just extract the .zip file and you will have the folder containing the script and relevant sample JSON files that we will need to modify.</p>
<p>First, set your PowerCLI configuration to ignore certificate validation:</p>
683
<p>In the folder you downloaded, you will see several "sample" JSON files.</p>
684
<p>I am using a vcenter configuration and not VCF, so if you open the "sample-vcenters.json" file, you will see the example of what you need to configure/modify with your own vCenter Server name, username and password:</p>
<pre contenteditable="false"></pre>
<p>I modified the file name to just "vcenter.json" and only a single vCenter connection. You will use the command to feed in your JSON file:</p>
<pre contenteditable="false">VCF: ./VMwareDepotChange.ps1 -Connect -Endpoint Vcf -JsonInput &lt;path to JSON file&gt;

vCenter: ./VMwareDepotChange.ps1 -Connect -Endpoint vCenter -JsonInput &lt;path to JSON file&gt;</pre>
685
<p>Now that we have connectivity established using the JSON file, we can start running commands like checking where our repository is pointed currently:</p>
<pre contenteditable="false">Check Depot
./VMwareDepotChange.ps1 -Check</pre>
686
<h2>Adding the Download Token</h2>
<p>Now that we have a feel for the script, we can add the download token and have it reconfigure the URLs along with the token:</p>
<pre contenteditable="false">Update Depot
./VMwareDepotChange.ps1 -Update -DownloadToken &lt;32 character token&gt;</pre>
687
<p>After running the update parameter, we can run the check parameter again to check and make sure it is now pointed to the <strong>dl.broadcom.com </strong>link:</p>
688
<p>Hopefully, this forum post helps any who are struggling with introducing the new method of authenticating the downloads for the new Broadcom download URL. You can read the official KB from Broadcom here:</p>
<p><a href="https://knowledge.broadcom.com/external/article/390098">VCF Authenticated downloads Configuration Update Instructions</a></p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/how-to-add-broadcom-download-token-for-new-vmware-update-url-depot-change/</guid>
                    </item>
				                    <item>
                        <title>How To Manage and Audit vSphere Permissions with PowerCLI</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/how-to-manage-and-audit-vsphere-permissions-with-powercli/</link>
                        <pubDate>Wed, 29 Jan 2025 13:50:56 +0000</pubDate>
                        <description><![CDATA[PowerCLI is a great way to automate processes and activities in vSphere. You can use PowerCLI for to manage and audit vSphere permissions, which is a great way to pull these using scripts, e...]]></description>
                        <content:encoded><![CDATA[<p>PowerCLI is a great way to automate processes and activities in vSphere. You can use PowerCLI for to manage and audit vSphere permissions, which is a great way to pull these using scripts, etc.</p>
<h2 id="what-are-vsphere-permissions" class="wp-block-heading">What are vSphere Permissions?</h2>
<p>What exactly are vSphere Permissions, and what do they allow you to do? They detail what a user can do in the vSphere environment. When you create permissions, these get assigned to roles. You can then assign these to users or groups.</p>
<h2 id="vmware-powercli-install" class="wp-block-heading">VMware PowerCLI install</h2>
<p>To work with permissions, roles, etc, you will need to install VMware.PowerCLI module. It is easy to install with the command:</p>
<pre class="wp-block-code" contenteditable="false"><code>Install-Module VMware.PowerCLI</code></pre>
<p>We will use this module and associated cmdlets in the rest of the walkthrough below.</p>
<h2 id="connect-to-vcenter-server" class="wp-block-heading">Connect to vCenter Server</h2>
<p>First let’s connect to vCenter Server.</p>
<pre class="wp-block-code" contenteditable="false"><code># Connect to vCenter Server
Connect-VIServer -Server vcenter-server-address -User username -Password password</code></pre>
<h2 id="list-roles-and-vsphere-permissions-powercli" class="wp-block-heading">List roles and vSphere permissions PowerCLI</h2>
<p>Let’s list the available roles in vSphere using the cmdlet:</p>
<pre class="wp-block-code" contenteditable="false"><code>Get-VIRole</code></pre>
<div class="wp-block-image">
<figure>
485
<br />
<figcaption class="wp-element-caption">get-virole</figcaption>
</figure>
</div>
<p>PowerCLI provides a command to list all available privileges in vCenter. This can be a helpful command for understanding privileges.</p>
<pre class="wp-block-code" contenteditable="false"><code># List all available privileges
Get-VIPrivilege</code></pre>
<div class="wp-block-image">
<figure>
486
<br />
<figcaption class="wp-element-caption">get-viprivilege</figcaption>
</figure>
</div>
<p><strong>Checking Specific User Permissions</strong></p>
<p>To check the permissions assigned to a specific user, use:</p>
<pre class="wp-block-code" contenteditable="false"><code># Check permissions for a specific user
Get-VIPermission -Principal "User1"</code></pre>
<h2 id="assigning-privileges-to-roles" class="wp-block-heading">Assigning Privileges to Roles</h2>
<p>Assigning privileges to roles is important. You can create a new role and assign specific privileges using PowerCLI. As always you don’t want to assign more privileges than needed. Below, we are assigning the permissions to power on VMs to a new role called “<strong>CustomRole</strong>“.</p>
<pre class="wp-block-code" contenteditable="false"><code># Create a new role with specific privileges 
New-VIRole -Name "CustomRole" -Privilege (Get-VIPrivilege -Id "VirtualMachine.Interact.PowerOn")</code></pre>
<div class="wp-block-image">
<figure>
487
<br />
<figcaption class="wp-element-caption">creating a new vi role using the new-virole cmdlet in powercli</figcaption>
</figure>
</div>
<h2 id="changing-existing-roles" class="wp-block-heading">Changing Existing Roles</h2>
<p>To modify an existing role, adding or removing privileges, use the commands that follow:</p>
<pre class="wp-block-code" contenteditable="false"><code># Add a privilege to an existing role
Set-VIRole -Role "CustomRole" -AddPrivilege (Get-VIPrivilege -Id "VirtualMachine.Interact.PowerOff")

# Remove a privilege from an existing role
Set-VIRole -Role "CustomRole" -RemovePrivilege (Get-VIPrivilege -Id "VirtualMachine.Interact.PowerOn")</code></pre>
<div class="wp-block-image">
<figure>
488
<br />
<figcaption class="wp-element-caption">setting the vi-role using PowerCLI</figcaption>
</figure>
</div>
<h2 id="assigning-and-propagating-permissions" class="wp-block-heading">Assigning and Propagating Permissions</h2>
<p>Permissions link roles with users or groups. To create a permission and assign it in your environment:</p>
<pre class="wp-block-code" contenteditable="false"><code># Assign a role to a user at a specific level
New-VIPermission -Entity (Get-VM -Name "VM1") -Principal "User1" -Role "CustomRole" -Propagate:$true</code></pre>
<div class="wp-block-image">
<figure>
489
<br />
<figcaption class="wp-element-caption">adding permissions using powercli new-vipermission cmdlet</figcaption>
</figure>
</div>
<p>When assigning permissions, you will likely want to propagate them to child objects in the environment. Here’s how you do that:</p>
<pre class="wp-block-code" contenteditable="false"><code># Assign and propagate permissions to child objects
New-VIPermission -Entity (Get-Cluster -Name "Cluster1") -Principal "User1" -Role "CustomRole" -Propagate:$true</code></pre>
<div class="wp-block-image">
<figure>
490
<br />
<figcaption class="wp-element-caption">propagating permissions using powercli</figcaption>
</figure>
</div>
<h2 id="managing-user-and-group-permissions" class="wp-block-heading">Managing User and Group Permissions</h2>
<p>To manage local users, groups, and policies in vSphere using PowerCLI, you need to leverage an open-source module called<span> </span><strong>VMware.vSphere.SsoAdmin</strong>. Check out the official VMware blog here:<span> </span><a href="https://blogs.vmware.com/PowerCLI/2020/10/new-open-source-powercli-module-for-managing-vcenter-single-sign-on-sso.html">New Open Source PowerCLI Module for managing vCenter Single Sign-On (SSO) – VMware PowerCLI Blog</a>.</p>
<p>By default, if you just install the<span> </span><strong>VMware.PowerCLI</strong><span> </span>module, you can’t manage local SSO users and groups and policies. This SSOAdmin module includes cmdlets to manage Single Sign-On (SSO) users and groups within the vSphere environment.</p>
<p>To install the module, you can use the cmdlet:</p>
<pre class="wp-block-code" contenteditable="false"><code>Install-Module VMware.vSphere.SsoAdmin</code></pre>
<div class="wp-block-image">
<figure>
491
<br />
<figcaption class="wp-element-caption">installing the module needing to work with the vi sso domain</figcaption>
</figure>
</div>
<p><strong>Connecting to the SSOAdmin Server</strong></p>
<p>This module has its own connect command that needs to be used in the form of:</p>
<pre class="wp-block-code" contenteditable="false"><code>connect-ssoadminserver -server vcsa.cloud.local -user administrator@vsphere.local -skipcertificatecheck</code></pre>
<div class="wp-block-image">
<figure>
492
<br />
<figcaption class="wp-element-caption">connecting to the ssoadminserver using the new powercli module</figcaption>
</figure>
</div>
<p><strong>Creating a new SSO user</strong></p>
<p>With the new module installed, we can create a new user in the SSO domain, using the cmdlet<span> </span><strong>New-SsoPersonUser</strong>:</p>
<pre class="wp-block-code" contenteditable="false"><code>New-SsoPersonUser -User mytestadmin -Password 'MyStrongPa$$w0rd' -EmailAddress 'mytestadmin@vsphere.local' -FirstName 'My' -LastName 'Admin'</code></pre>
<div class="wp-block-image">
<figure>
493
<br />
<figcaption class="wp-element-caption">creating a new sso user</figcaption>
</figure>
</div>
<div class="wp-block-image">
<figure>
494
<br />
<figcaption class="wp-element-caption">viewing the new user in the vsphere client</figcaption>
</figure>
</div>
<p><strong>Creating a New Group</strong></p>
<p>Also, you can create a new group using the<span> </span><strong>New-SsoGroup</strong><span> </span>cmdlet:</p>
<pre class="wp-block-code" contenteditable="false"><code># Create a new group in the local SSO domain 
New-SsoGroup -Name 'myGroup' -Description 'My Group Description'</code></pre>
<div class="wp-block-image">
<figure>
495
<br />
<figcaption class="wp-element-caption">creating a new sso group using powercli</figcaption>
</figure>
</div>
<p><strong>Assigning Users to Groups</strong></p>
<p>Once you have created users and groups, you can assign users to groups using the<span> </span><strong>Add-SsoGroupMember</strong><span> </span>cmdlet:</p>
<pre class="wp-block-code" contenteditable="false"><code>#Get the group details
$administratorsGroup = Get-SsoGroup -Name 'Administrators' -Domain 'vsphere.local'

#Add the user to the group
Get-SsoPersonUser -Name 'TestUser' -Domain 'MyDomain' | Add-UserToSsoGroup -TargetGroup $administratorsGroup</code></pre>
<h4 id="assigning-roles-to-users-and-groups" class="wp-block-heading">Assigning Roles to Users and Groups</h4>
<pre class="wp-block-code" contenteditable="false"><code># Assign a role to a user 
Set-VIPermission -Entity (Get-Datacenter -Name "Datacenter1") -Principal "vsphere.local\newuser" -Role "CustomRole" 

# Assign a role to a group 
Set-VIPermission -Entity (Get-Datacenter -Name "Datacenter1") -Principal "vsphere.local\newgroup" -Role "CustomRole"</code></pre>
<h2 id="roles-with-powercli" class="wp-block-heading">Roles with PowerCLI</h2>
<p>Creating custom roles for your permissions needs:</p>
<pre class="wp-block-code" contenteditable="false"><code># Create a new role with specific privileges
New-VIRole -Name "BackupAdmin" -Privilege (Get-VIPrivilege -Id "Datastore.AllocateSpace", "Datastore.Browse")</code></pre>
<h3 id="deleting-roles" class="wp-block-heading">Deleting Roles</h3>
<p>You can also delete roles this way:</p>
<pre class="wp-block-code" contenteditable="false"><code># Delete an existing role
Remove-VIRole -Role "BackupAdmin"</code></pre>
<h2 id="importing-and-exporting-permissions" class="wp-block-heading">Importing and Exporting Permissions</h2>
<p>You can export permissions as well for backup, as an example:</p>
<pre class="wp-block-code" contenteditable="false"><code># Export permissions to a file
Get-VIPermission | Export-Csv -Path "permissions.csv"</code></pre>
<h3 id="importing-permissions" class="wp-block-heading">Importing Permissions</h3>
<p>To import permissions from a file:</p>
<pre class="wp-block-code" contenteditable="false"><code># Import permissions from a file
Import-Csv -Path "permissions.csv" | ForEach-Object {
    New-VIPermission -Entity (Get-View -Id $_.Entity) -Principal $_.Principal -Role $_.Role -Propagate:$_.Propagate
}</code></pre>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/how-to-manage-and-audit-vsphere-permissions-with-powercli/</guid>
                    </item>
				                    <item>
                        <title>How to use Dell System Update DSU utility for VMware ESXi firmware updates</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/how-to-use-dell-system-update-dsu-utility-for-vmware-esxi-firmware-updates/</link>
                        <pubDate>Sat, 25 Jan 2025 04:21:06 +0000</pubDate>
                        <description><![CDATA[The Dell System Update Utility is a command line utility that can be installed in many different operating systems. However, one you may not be aware of is VMware ESXi. You can install the D...]]></description>
                        <content:encoded><![CDATA[<p>The Dell System Update Utility is a command line utility that can be installed in many different operating systems. However, one you may not be aware of is VMware ESXi. You can install the DSU in VMware ESXi so you have an easy way at the command line to pull all the available system updates for your Dell PowerEdge servers. Let’s see how you can install the Desll System Update Utility in<span> </span>VMware ESXi<span> </span>and the steps involved.</p>
<h2 id="install-dell-system-update-utility" class="wp-block-heading">Install Dell System Update Utility</h2>
<p>The steps to install the utility in VMware ESXi are fairly straightforward. It is a simple .ZIP file that you download from Dell and then use the command line<span> </span><code>esxcli software vib install</code><span> </span>command to install the package.</p>
<p>First, download the utility from Dell from the link here:<span> </span><a href="https://www.dell.com/support/home/en-us/drivers/driversdetails?driverId=290RW">DELL System Update (DSU) | Dell US</a>.</p>
<p>Choose the package that matches your ESXi version. Once you download the .ZIP file, you<span> </span><strong>do not have to extract it</strong>. The<span> </span><code>esxcli software vib install</code><span> </span>command will take the ZIP file as it is to install.</p>
<p>Once you have downloaded the .ZIP file, copy it to the<span> </span><strong>/tmp</strong><span> </span>directory on your target ESXi server.</p>
<div class="wp-block-image">
<figure>
453
<br />
<figcaption class="wp-element-caption">move the dsu install file to the tmp directory after copying to your vmware esxi host</figcaption>
</figure>
</div>
<p>The command you need to run to install the Dell system update utility in VMware ESXi is the following. Be sure to replace the file name with the filename you download from Dell.</p>
<pre class="wp-block-code" contenteditable="false"><code>esxcli software vib install -d /tmp/DEL-dell-system-update_2.0.2.0.820-DEL.800.0.0_21376842.zip</code></pre>
<div class="wp-block-image">
<figure>
454
<br />
<figcaption class="wp-element-caption">installing the dell system update utility with esxcli software vib install command</figcaption>
</figure>
</div>
<p>Finally, after installing it in VMware ESXi, just reboot your host:</p>
<pre class="wp-block-code" contenteditable="false"><code>reboot</code></pre>
<h2 id="running-the-dell-system-update-utility-in-vmware-esxi" class="wp-block-heading">Running the Dell System Update utility in VMware ESXi</h2>
<p>Running the Dell System Update utility in VMware ESXi is very easy. You simply establish an SSH session and type the command:</p>
<pre class="wp-block-code" contenteditable="false"><code>dsu</code></pre>
<p>When you type the dsu command it will automatically start scanning your system and running an inventory of hardware and possible updates.</p>
<div class="wp-block-image">
<figure>
455
<br />
<figcaption class="wp-element-caption">run the dsu command in vmware esxi</figcaption>
</figure>
</div>
<p>Once the initial scan is complete, you just select the updates you want to apply. There are a few things to note:</p>
<ul class="wp-block-list">
<li>Typing “a” means you are accepting all available updates</li>
<li>Typing the “number” at the front of the listed update means you are selecting that update specifically</li>
<li>Updates that appear with a “-” in the box at the front means you have the latest version</li>
<li>When you select an update, it will place a “*” in the box at the front</li>
</ul>
<div class="wp-block-image">
<figure>
456
<br />
<figcaption class="wp-element-caption">entering your choice for which packages to update using dell dsu on vmware esxi</figcaption>
</figure>
</div>
<p>After you use one of the means to select updates, you need to<span> </span><strong>confirm</strong><span> </span>the updates you have selected by simply typing:</p>
<pre class="wp-block-code" contenteditable="false"><code>c</code></pre>
<div class="wp-block-image">
<figure>
457
<br />
<figcaption class="wp-element-caption">confirm your update options on which packages you want to update using dell system update utility</figcaption>
</figure>
</div>
<p>Here another look at confirming the updates.</p>
<div class="wp-block-image">
<figure>
458
<br />
<figcaption class="wp-element-caption">another look at confirming your options</figcaption>
</figure>
</div>
<p>Below, you can see the asterisk that is place in front of selected updates.</p>
<div class="wp-block-image">
<figure>
460
<br />
<figcaption class="wp-element-caption">selecting only a few of the updates granularly with dell system update utility in vmware esxi</figcaption>
</figure>
</div>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/how-to-use-dell-system-update-dsu-utility-for-vmware-esxi-firmware-updates/</guid>
                    </item>
				                    <item>
                        <title>VCSA 8 Upgrade Error in method invocation Errno 1 Unknown host</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/vcsa-8-upgrade-error-in-method-invocation-errno-1-unknown-host/</link>
                        <pubDate>Thu, 23 Jan 2025 15:06:27 +0000</pubDate>
                        <description><![CDATA[I wanted to post a quick one to cover a troubleshooting topic that many I know have run into in their VMware vSphere environment. When trying to run the upgrade to vCenter Server 8, some see...]]></description>
                        <content:encoded><![CDATA[<p>I wanted to post a quick one to cover a troubleshooting topic that many I know have run into in their<span> </span>VMware<span> </span>vSphere environment. When trying to run the upgrade to vCenter Server 8, some see the Error in method invocation Errno 1 Unknown host message. This is a fatal message that doesn’t allow you to continue with the upgrade. Let’s see what the error is and how to resolve it.</p>
<h2 id="error-in-method-invocation-errno-1-unknown-host-details" class="wp-block-heading">Error in method invocation Errno 1 Unknown host details</h2>
<p>The error comes at the beginning of the<span> </span><strong>Stage 2</strong><span> </span>process:</p>
<div class="wp-block-image">
<figure>
444
<br />
<figcaption class="wp-element-caption">beginning stage 2 of the vcsa 8 upgrade process</figcaption>
</figure>
</div>
<p>This is an error that ones see at the beginning of<span> </span><strong>Stage 2</strong><span> </span>of the Upgrade process. When you click<span> </span><strong>Continue</strong><span> </span>on the screen shown above, it begins its first prerequisite check after the new VCSA appliance has been deployed, you will see the error pop up, that has the messaging:<span> </span><strong>Error in method invocation Errno 1 Unknown host.</strong></p>
<div class="wp-block-image">
<figure>
445
<br />
<figcaption class="wp-element-caption">Error in method invocation Errno 1 Unknown host</figcaption>
</figure>
</div>
<h2 id="the-cause-of-the-issue" class="wp-block-heading">The cause of the issue</h2>
<p>If you note closely below, instead of a hostname being used for the<span> </span><strong>ESXi host or vCenter Server that manages the source vCenter Server</strong>, we see an IP address.</p>
<div class="wp-block-image">
<figure>
446
<br />
<figcaption class="wp-element-caption">ip address used for the esxi host or vcenter server name that manages the appliance</figcaption>
</figure>
</div>
<p>The upgrade process evidently has an issue with the use of an IP address here, even if the vCenter Server Installer and all appliances involved can connect to the ESXi or vCenter Server by IP address.</p>
<h2 id="the-resolution" class="wp-block-heading">The resolution</h2>
<p>Instead of using an IP address for the ESXi host or vCenter Server that manages the source vCenter Server, you need to use a hostname instead. If you are targeting an ESXi host that you typically don’t have in DNS, just create a temporary DNS record for the upgrade process and use that DNS name in the wizard instead of the IP address.</p>
<div class="wp-block-image">
<figure>
447
<br />
<figcaption class="wp-element-caption">resolution is to use a hostname instead of an ip address in the esxi host or vcenter server name</figcaption>
</figure>
</div>
<p>After entering in the FQDN/hostname of the ESXi host or vCenter Server that manages the appliance, you will be able to get past the error message. I am not sure what the requirement is here for FQDN vs IP address, especially if targeting the ESXi host directly.</p>
<p>However,<span> </span>VMware<span> </span>vCenter Server upgrades have historically been sensitive to DNS being correct and making sure you had the DNS records in place before running an install, etc. So, I am guessing this is more of the same underlying pickiness on DNS being setup correctly, even if connectivity is successful to an IP address.</p>
<p><strong>**Note**<span> </span></strong>Also, you do not have to start all the way back over. Instead, close out of the vCenter Server Installer wizard and then connect to the<span> </span><strong>temporary IP address</strong><span> </span>of the new appliance<span> </span><strong>port 5480</strong>. When you do this, it will let you change the values of what you want to target to recontinue the wizard.</p>
<p>Hopefully this little quick tidbit will help any who may be struggling with the Error in method invocation Errno 1 Unknown host error message when upgrading their vCenter Server VCSA appliance to VCSA 8. The workaround is fairly simple in using the FQDN vs IP address. I just wish<span> </span>VMware<span> </span>would make this part of the preflight checks instead of just throwing a generic error message.</p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/vcsa-8-upgrade-error-in-method-invocation-errno-1-unknown-host/</guid>
                    </item>
				                    <item>
                        <title>NVMe drive shows 0 size for VMware datastore</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/nvme-drive-shows-0-size-for-vmware-datastore/</link>
                        <pubDate>Tue, 21 Jan 2025 04:19:36 +0000</pubDate>
                        <description><![CDATA[If you have installed an NVMe drive in your mini PC or home lab server running VMware ESXi that maybe you had used for something else, you may see the NVMe drive shows 0 size. Why is this an...]]></description>
                        <content:encoded><![CDATA[<p>If you have installed an NVMe drive in your mini PC or home lab server running<span> </span>VMware ESXi<span> </span>that maybe you had used for something else, you may see the NVMe drive shows 0 size. Why is this and how do you fix it?</p>
<h2 id="when-i-saw-this-issue" class="wp-block-heading">When I saw this issue</h2>
<p>Just a quick background of when I saw this issue. I had a Kingston 1 TB NVMe drive that I have used on my home lab bench for quite some time for various testing, etc. I noticed that when I put it in my mini PC I wanted to do some testing with, I saw an issue where when I went to create a datastore in<span> </span>VMware vSphere, it saw the drive ok, but the VMFS datastore size was showing as 0, and there was no way to increase the size.</p>
<p>Here is a screenshot of what I saw in my environment when selecting the drive.</p>
<div class="wp-block-image">
<figure>
433
<br />
<figcaption class="wp-element-caption">selecting the kingston 1 tb nvme drive</figcaption>
</figure>
</div>
<p>After selecting the drive that I wanted to use, the next screen, I chose VMFS 6.</p>
<div class="wp-block-image">
<figure>
432
<br />
<figcaption class="wp-element-caption">selecting vmfs 6 for the datastore.png</figcaption>
</figure>
</div>
<p>And for the issue. Under the partition configuration there was nothing available in the dropdown. Also, the slider bar, even though it looks active, you can’t move it over to increase the size of the datastore.</p>
<div class="wp-block-image">
<figure>
431
<br />
<figcaption class="wp-element-caption">partition configuration shows 0 size for vmfs datastore.png</figcaption>
</figure>
</div>
<h2 id="what-caused-the-issue" class="wp-block-heading">What caused the issue?</h2>
<p>I am not 100% sure, but I had recently tested with the NVMe drive in a RAID configuration on the MS-A1 that I have been using in a lot of testing recently over the past week or so. After creating the array with the NVMe disk, and then destroying the array created. I assumed the NVMe drive was ok to use immediately following the RAID array creation.</p>
<p>Let’s look at the resolution to the NVMe drive showing the 0 size. It is actually pretty simple actually, but not necessarily intuitive or obvious.</p>
<h2 id="resolution-for-the-nvme-drive-showing-0-size" class="wp-block-heading">Resolution for the NVMe drive showing 0 size</h2>
<p>As is the case with many issues that we may need to solve in the datacenter or in the home lab, I had to resort to the command line to resolve the issue.</p>
<p>To find your NVMe disk identifier you need to run the command:</p>
<pre class="wp-block-code" contenteditable="false"><code>esxcli storage core path list</code></pre>
<div class="wp-block-image">
<figure>
430
<br />
<figcaption class="wp-element-caption">get the nvme disk identifier.png</figcaption>
</figure>
</div>
<p>Copy the identifier that is listed for the<span> </span><strong>Device</strong>.</p>
<div class="wp-block-image">
<figure>
429
<br />
<figcaption class="wp-element-caption">copy the disk identifier for the nvme drive.png</figcaption>
</figure>
</div>
<p>Now that you have the device identifier for the NVMe drive that is showing up as a 0 size, we need to initialize the disk with a GPT (GUID Partition Table) partition table.</p>
<pre class="wp-block-code" contenteditable="false"><code>partedUtil mklabel /vmfs/devices/disks/t10.NVMe____KINGSTON_O
M8PGP41024Q2DA0________________8595183038B72600 gpt</code></pre>
<div class="wp-block-image">
<figure>
428
<br />
<figcaption class="wp-element-caption">initializing the disk with a GPT (GUID Partition Table) partition table</figcaption>
</figure>
</div>
<p>Now, after we run the command to initialize the disk with the GPT partition table, if we go back through the wizard, the NVMe disk will show the proper size:</p>
<div class="wp-block-image">
<figure>
427
<br />
<figcaption class="wp-element-caption">nvme disk shows the full size available after creating a partition</figcaption>
</figure>
</div>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/nvme-drive-shows-0-size-for-vmware-datastore/</guid>
                    </item>
				                    <item>
                        <title>PowerCLI script to create role and permissions needed for VMware Aria Operations Manager</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/powercli-script-to-create-role-and-permissions-needed-for-vmware-aria-operations-manager/</link>
                        <pubDate>Tue, 14 Jan 2025 16:26:40 +0000</pubDate>
                        <description><![CDATA[If you look at the Broadcom KB article that defines the permissions needed for your vrops user that you use to connect your vrops environment with vCenter Server, there are quite a few permi...]]></description>
                        <content:encoded><![CDATA[<p>If you look at the Broadcom KB article that defines the permissions needed for your vrops user that you use to connect your vrops environment with vCenter Server, there are quite a few permissions needed.</p>
<p>You can find the Broadcom KB here: <a href="https://docs.vmware.com/en/VMware-Aria-Operations/8.14/Configuring-Operations/GUID-3BFFC92A-9902-4CF2-945E-EA453733B426.html">Privileges Required for Configuring a vCenter Adapter Instance</a>.</p>
<p>Creating a custom role with these permissions by hand can be cumbersome. Below is a script to create the role with the permissions needed for VMware Aria Operations.</p>
<p>Hopefully, this will allow you to shortcut the process of creating permissions manually:</p>
<pre contenteditable="false"># Variables
$vcenterServer = "vcenter.yourdomain.com" # Replace with your vCenter server
$roleName = "vROps Role" # Replace with the desired role name

# Permissions list (from VMware documentation)
$permissions = @(
    "Global.Diagnostics",
    "Global.Licenses",
    "Global.Settings",
    "Host.Config.Network",
    "Host.Config.Storage",
    "Host.Inventory.AddHostToCluster",
    "Host.Inventory.AddStandaloneHost",
    "Host.Inventory.CreateCluster",
    "Host.Inventory.DeleteHost",
    "Host.Inventory.EditCluster",
    "Network.Assign",
    "Resource.AssignVMToPool",
    "Resource.HotMigrate",
    "Resource.ModifyQuota",
    "Resource.Move",
    "Resource.Rename",
    "System.Anonymous",
    "System.Read",
    "System.View",
    "System.Write",
    "Task.Create",
    "Task.Update",
    "VirtualMachine.Interact.PowerOff",
    "VirtualMachine.Interact.PowerOn",
    "VirtualMachine.Inventory.Create",
    "VirtualMachine.Inventory.CreateFromExisting",
    "VirtualMachine.Inventory.Delete",
    "VirtualMachine.Inventory.Register",
    "VirtualMachine.Inventory.Unregister",
    "VirtualMachine.Provisioning.Clone",
    "VirtualMachine.Provisioning.CloneTemplate",
    "VirtualMachine.Provisioning.Customize",
    "VirtualMachine.State.Reset",
    "VirtualMachine.State.Suspend"
)

# Connect to vCenter
Connect-VIServer -Server $vcenterServer

# Check if the role already exists
$role = Get-VIRole | Where-Object { $_.Name -eq $roleName }
if (-not $role) {
    # Create the role with the specified privileges
    Write-Host "Creating role: $roleName"
    $role = New-VIRole -Name $roleName -Privilege (Get-VIPrivilege | Where-Object { $_.Id -in $permissions })
} else {
    Write-Host "Role $roleName already exists"
}

Write-Host "Script execution completed! The role '$roleName' has been created or verified. Assign the role manually to the desired user."
</pre>
<p>Once you have created the role and name it what you want, you can assign this role to your user in vCenter Server permissions.</p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/powercli-script-to-create-role-and-permissions-needed-for-vmware-aria-operations-manager/</guid>
                    </item>
				                    <item>
                        <title>Fix Open Remote Console opening in VMware Workstation instead of VMRC</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/fix-open-remote-console-opening-in-vmware-workstation-instead-of-vmrc/</link>
                        <pubDate>Fri, 20 Dec 2024 16:52:46 +0000</pubDate>
                        <description><![CDATA[If you run VMware workstation on the same workstation that you use to manage your VMware vSphere environment, you may notice that when you upgrade VMware Workstation, it will automatically t...]]></description>
                        <content:encoded><![CDATA[<p>If you run VMware workstation on the same workstation that you use to manage your VMware vSphere environment, you may notice that when you upgrade VMware Workstation, it will automatically take over opening virtual machine consoles on VMware Workstation instead of the VMware Remote Console tool. </p>
<p>This can be an irritating byproduct of updating VMware Workstation Pro. However, there is a simple and quick fix for this. If you have updated VMware Workstation and it is now opening all your console sessions in VMware Workstation instead of the VMRC, run the following two commands in PowerShell:</p>
<pre contenteditable="false">Set-Item HKLM:\SOFTWARE\Classes\vmrc\DefaultIcon -Value '"C:\Program Files (x86)\VMware\VMware Remote Console\vmrc.exe",0'

Set-Item HKLM:\SOFTWARE\Classes\vmrc\shell\open\command -Value '"C:\Program Files (x86)\VMware\VMware Remote Console\vmrc.exe" "%1"'</pre>
<p>No reboot is required after running the commands. Simply run the commands in Powershell and your consoles will immediately be returned back to opening in VMRC.</p>
<p>Hopefully this quick tip will help!</p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/fix-open-remote-console-opening-in-vmware-workstation-instead-of-vmrc/</guid>
                    </item>
				                    <item>
                        <title>Add vCenter Server SSL alias hostnames or short name configuration</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/add-vcenter-server-ssl-alias-hostnames-or-short-name-configuration/</link>
                        <pubDate>Thu, 19 Dec 2024 19:15:44 +0000</pubDate>
                        <description><![CDATA[If you need to add SSL hostnames to vCenter or have it work as a different hostname than when you installed vCenter, you can take advantage of a configuration file called webclient.propertie...]]></description>
                        <content:encoded><![CDATA[<p>If you need to add SSL hostnames to vCenter or have it work as a different hostname than when you installed vCenter, you can take advantage of a configuration file called <strong>webclient.properties</strong>. Before we begin. Take a backup of this file.</p>
<p>Stop your vCenter UI service:</p>
<pre contenteditable="false">service-control --stop vsphere-ui</pre>
<p>Then open the file located at <strong>/etc/vmware/vsphere-ui/webclient.properties</strong> and look for this line. Uncomment it and place your alias after the equals sign. Then save it.</p>
<pre contenteditable="false">sso.serviceprovider.alias.whitelist=&lt;your fqdn or shor hostname&gt;</pre>
<p>After saving the file, start your vsphere-ui service back up:</p>
<pre contenteditable="false">service-control --start vsphere-ui</pre>
<p>Make sure you have your DNS configured to point this new hostname to your vCenter IP address or a proxy that is sitting in front of it that is handling SSL termination.</p>
<p><strong>Troubleshooting</strong></p>
<p>If the service doesn't start, make sure <strong>vsphere-ui</strong> is the owner of the webclient.properties file. As a side note, I was able to put vCenter Server behind a Traefik proxy for SSL certificates in front of vCenter using this method.</p>
<p> </p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/add-vcenter-server-ssl-alias-hostnames-or-short-name-configuration/</guid>
                    </item>
				                    <item>
                        <title>Set vCenter Server root password to never expire</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/set-vcenter-server-root-password-to-never-expire/</link>
                        <pubDate>Fri, 18 Oct 2024 19:54:30 +0000</pubDate>
                        <description><![CDATA[Especially in the home lab, you may not want your vCenter Server VCSA root password to expire as you would do in production. This can be a pain and usually happens at the worst time, when yo...]]></description>
                        <content:encoded><![CDATA[<p>Especially in the home lab, you may not want your vCenter Server VCSA root password to expire as you would do in production. This can be a pain and usually happens at the worst time, when you are upgrading, etc. To see if your root account is set to age, you can use this command from the command line:</p>
<pre contenteditable="false">chage -l root
</pre>
<p>Then we can set it to not expire using the following command:</p>
<pre contenteditable="false">chage -I -1 -m 0 -M 99999 -E -1 root
</pre>
412
<p>That's it, now you can enjoy not having to reset your root password for your VCSA appliance again.</p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/set-vcenter-server-root-password-to-never-expire/</guid>
                    </item>
							        </channel>
        </rss>
		