Tag Archives: VCSA

upgrade VCSA6.7 to VCSA6.7u1

It seems there is a bug in vCenter 6.7 which caused the update check of VCSA is not working.
So to upgrade VCSA from 6.7 to 6.7u1, you need to

1. In the vCenter Server Appliance Management Interface, go to Update > Settings and configure the custom URL to https://vapp-updates.vmware.com/vai-catalog/valm/vmw/8d167796-34d5-4899-be0a-6daade4005a3/6.7.0.10000.latest/.
2.Re-try the upgrade.

Then you should be able to see all the patches.

Fix VCSA 6.0 disk issue — “unknow command shell.set”

In my home lab I’m using Lenovo M900 tiny to run ESX 6.0 and using Synology DS1813+ to provide the ISCSI LUN.
And I’m using VCSA as my vCenter server and put it on the iSCSI lun.

Today I updated my DS1813+ to DSM 6.0 update 1, during the update, I reboot my synology nas. And it seems ESX lost connecting to the iSCSI LUN and my VCSA was dead.

Tried to restart VCSA, it always failed and asked my to run fsck.
1

At first, I want to run fsck in VCSA shell. But the wired thing is that when I run command “shell.set –enable True”, it told me this command doesn’t exist..
2

It seems that the volumes are in read-only and the shell is dead.
Don’t worry, let’s fix it.
Please follow below steps:

  1. stop VCSA machine
  2. add the iso of RHEL7 installation CD to the (actually as CD/DVD of the machine and modified boot order to start from the CD
  3. boot from CD
  4. enter shell of LiveCD
  5. issue the following commands (to see that logical volumes are OK)
    pvscan
    lvscan
    fsck -fvy /dev/log_vg/log
  6. repeat step 5 to check all the volumes

3

After finished, remove the ISO and reboot the VM.
You will find VCSA is back:)

Upgrade vCenter Server Appliance (VCSA) and ESXi

Upgrade vCenter

Vcenter

Best practices is always to upgrade vCenter before your ESXi hosts. Download the ISO and upload to your Datastore.

Attach the ISO to the vCenter VM.

Mount ISO

Mount ISO

Use Putty to connect to your VCSA and run the following command:

software-packages install --iso --acceptEulas

step 3

4

reboot -r updates
exit

5
6

Update ESXi – Fast Method

This is the fastest way, but requires a decent internet connection.

Shut down all your running VM’s and enter Maintenance Mode.

Use Putty to connect to your ESXi host and run the following command:

esxcli network firewall ruleset set -e true -r httpClient
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli software profile update -p ESXi-6.0.0-20160104001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

updaet esxi

reboot
exit