Hi,
I have upgraded to a higher build # than intended to. I am trying to use this command in conjunction with the --allow-downgrades parameter to make it work, but nothing I try works.
Each time I try it I get various errors. Can you tell me what I might be doing wrong? Keep in mind, I'm trying to downgrade to: (Somehow I ended up at build # 16316930)
For example, I found this on a blog:
Put host in Maintenance Mode
1. Run this Command
# esxcli network firewall ruleset set -e true -r httpClient
2. Run this Command (I've tried so many variations - but I keep getting errors)
#esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20191201001-standard --allow-downgrades
3.Reboot
4. Reconfigure the Firewall:
# esxcli network firewall ruleset set -e false -r httpClient
This is based on VMware ESXi 6.7, Patch Release ESXi670-201912001
https://docs.vmware.com/en/VMware-vSphere/6.7/rn/esxi670-201912001.html
I really don't want to re-install the OS. If anyone can help me, I'd be grateful.
Thank you in advance! If you know a different or alternative way to achieve this, please do share.
to list all valid image profiles use:
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i esxi-6.7.0
or have a look here: https://esxi-patches.v-front.de/vm-6.7.0.html
but in your link you gave the profiles are also listed
can you tell us which errors you get ?
btw: there is no image profile with name ESXi-6.7.0-20191201001-standard - it is named ESXi-6.7.0-20191204001-standard
I see this:
VMware ESXi 6.7, Patch Release ESXi670-201912001
How do you know which profile to use from below? The 4001's confused me because the patch name. I guess the s patches are for security only, and the other patch numbers include everything. Is that right? The # 4001 confused me because I didn't quite understand it was part of the same patch.
Image Profile Name |
ESXi-6.7.0-20191204001-standard |
ESXi-6.7.0-20191204001-no-tools |
ESXi-6.7.0-20191201001s-standard |
ESXi-6.7.0-20191201001s-no-tools |
It makes sense why it was failing before. I added the patch repot to update manager and found the 4001-standard just fine.
to list all valid image profiles use:
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i esxi-6.7.0
or have a look here: https://esxi-patches.v-front.de/vm-6.7.0.html
but in your link you gave the profiles are also listed
Thank you for your assistance, it was helpful.