Skip to content

[Feature]: Possibility to deploy version VCF 9.1.0.0 with the most current installable patches #141

Description

@freddyblue

Description

It takes much time to update from 9.1.0.0 to 9.1.0.0100, 9.1.0.0200 9.1.0.0300, etc. So I'd like to deploy 9.1.0.0 with the most current installable patches right away when setting up a new instance with new-holodeckinstance.

Use case / Motivation

saving time

Proposed solution

This is my workaround, I have tested successfully:
Prerequisite:
Offline Depot with version 9.1.0.0 and most current installable patches (e.g. 9.1.0.0100, 9.1.0.0300)

login to holo-router 9.1
cp -i /holodeck-runtime/templates/bom.json /holodeck-runtime/templates/bom.json.org

change to most current installable patch version for ESX and SDDC-Manager (VCF Installer)
vi /holodeck-runtime/templates/bom.json
"9.1.0.0" : {
"esx" : ["VMware-VMvisor-Installer-9.1.0.0100.25433460.x86_64.iso"],
"vcf-installer" : ["VCF-SDDC-Manager-Appliance-9.1.0.0300.25536191.ova"]

cp -i /root/.local/share/powershell/Modules/HoloDeck/Modules/PreCheck.psm1 /root/.local/share/powershell/Modules/HoloDeck/Modules/PreCheck.psm1.org
vi /root/.local/share/powershell/Modules/HoloDeck/Modules/PreCheck.psm1

elseif($Version -eq "9.1.0.0"){
    $requiredFilePatterns = @(
        @{Path = "/PROD/COMP/ESX_HOST/"; Pattern = "VMware-VMvisor-Installer-9.1.0.*.x86_64.iso"},
        @{Path = "/PROD/COMP/NSX_T_MANAGER/"; Pattern = "nsx-unified-appliance-9.1.0.0.*.ova"},
        @{Path = "/PROD/COMP/SDDC_MANAGER_VCF/Compatibility/"; Pattern = "VmwareCompatibilityData.json"},
        @{Path = "/PROD/COMP/SDDC_MANAGER_VCF/"; Pattern = "VCF-SDDC-Manager-Appliance-9.1.0.*.ova"},

cp -i /holodeck-runtime/templates/config.json /holodeck-runtime/templates/config.json.org
vi /holodeck-runtime/templates/config.json

"vcf-9-1": {
"management-domain-spec": {
"sddcId": "mgmt-a",
"vcfInstanceName": "instance-a",
"workflowType": "VCF",
"version": "",

"vcf-9-1": {
"management-domain-spec": {
"sddcId": "mgmt-b",
"vcfInstanceName": "instance-b",
"workflowType": "VCF",
"version": "",

cp -i /root/.local/share/powershell/Modules/HoloDeck/Modules/SddcMgmtDeployment.psm1 /root/.local/share/powershell/Modules/HoloDeck/Modules/SddcMgmtDeployment.psm1.org
vi /root/.local/share/powershell/Modules/HoloDeck/Modules/SddcMgmtDeployment.psm1

search for => Each component has versions[], we need to extract bundle info from the first/latest version
$latestVersion = $component.versions[0] => $latestVersion = $component.versions[-1]

Additional context

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions