lkpfolio.blogg.se

Add standard network vmware 6.0
Add standard network vmware 6.0









$LicenseAssignmentManager = get-view ($LicenseManager.licenseAssignmentManager) $vCenter6License = "Replace by a valid vCenter 6 License"

add standard network vmware 6.0

I managed to assign a new license to a vCenter 6.0 with the API method "UpdateAssignedLicense" even if it is deprecated. Where can I get the correct TypeID for a vCenter license? I guess the TypeId I am using identifies the license as an ESXi license?Īm I one the right track otherwise? Is there an easier way of doing this? $licenseDataManager.UpdateAssociatedLicenseData($vCenterUuid, $licenseData)īut this fails as the TypeID of the license does not seem to be right. $licenseData.LicenseKeys += $licenseKeyEntry $licenseKeyEntry.LicenseKey = $vCenter6LicenseKey $licenseKeyEntry.TypeId = "vmware-vsphere" $licenseKeyEntry = New-Object .V1.LicenseKeyEntry $licenseData = New-Object .V1.LicenseData $LicenseDataManager = Get-LicenseDataManager -Server $VIServer I tried this (after finding the V1 hint until the patch for this is released): UpdateAssignedLicense has been deprecated. $vCenterLicenseAssignmentManager.UpdateAssignedLicense($vCenterUuid, $vCenterLicenseKey, $vCenterDisplayName) So I have read various articles and was able to add the license to the vCenter's License Manager. I tried with the vCenter 6 installer and providing the license key as part of the install parameters did not work. VMware-vcserver.exe /q /s /w /L1033 /v" /qr LICENSEKEY=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx DB_SERVER_TYPE=Bundled FORMAT_DB=1 SSO_ADMIN_PASSWORD=$SSO_ADM_PASS LS_URL=$LSURL IS_URL=$ISURL VC_ADMIN_USER=Administrators VC_ADMIN_IS_GROUP_VPXD_TXT=True /L*v c:\temp\vcinstall.log"

add standard network vmware 6.0 add standard network vmware 6.0

When installing vCenter 5.5 on Windows I was able to supply the license key as a parameter to license the vCenter instance at install time like so:











Add standard network vmware 6.0