Dave Mishchenko wrote:
So you're following this process: 1) boot Dell ISO 2) install 3) reboot 4) configure esxi 5) reboot 6) loss config changes As suggested I would manually run the backup before step 4 or 5 and also check that bootbank is properly mounted at that point.
Yes, that's exactly the process we followed:
1) Boot Dell ESXi installable edition ISO
2) Install ESXi
3) When ESXi installation is completed, press enter to reboot
4) Configure ESXi: network, etc.
5) Reboot from ESXi DCUI with F12 key (let's call this first reboot from now on)
6) ESXi comes back up and all configuration appears to be lost
As per your suggestion, we also tried to run the /sbin/auto-backup.sh script between step 4 and step 5, it worked fine, but it didn't help with the problem.
Also, if after step 6, we reconfigure ESXi again and reboot, then the configuration stays in place: the issue appears to happen just for the first reboot (after the first time ESXi is booted on the system).
We've been able to reproduce the issue even by installing the Dell ESXi installable edition in a VM (on VMware Fusion).
If you want to give it a try, here is the Dell ESXi installable edition ISO:
http://support.dell.com/support/downloads/download.aspx?c=us&cs=555&l=en&s=biz&releaseid=R297945&SystemID=PWE_M610&servicetag=&os=EX41&osl=en&deviceid=25794&devlib=0&typecnt=0&vercnt=2&catid=-1&impid=-1&formatcnt=0&libid=47&typeid=-1&dateid=-1&formatid=-1&source=-1&fileid=447309
http://ftp.us.dell.com/esg%20solutions/VMware-VMvisor-Installer-4.1.0.update1-348481.x86_64-Dell_Customized_A01.iso
The issue doesn't happen with the VMware ESXi installable edition ISO, there is definitely something wrong with the Dell ISO.
We did some comparison between between ESXi from Dell installed on a VM and ESXi from VMware installed on another VM and we found some differences:
- On VMware ESXi, the initial /bootbank and /altbootbank partition remain the same after first reboot. On Dell ESXi, the initial /bootbank partition becomes the /altbootbank partition and the /altbootbank partition becomes the /bootbank partition after the first reboot (we verified this by creating a test file with a different name in each partition before the reboot).
- When ESXi is started for the first time after the installation, on VMware ESXi the /altbootbank partition is almost empty, it only contains the boot.cfg file, on Dell ESXi the /altbootbank partition appears to have all the files also in the to the /bootbank partition (even if running a recursive diff shows differences between two file sets)
- On Dell ESXi, when ESXi is started for the first time, it appears that the modified date of files in the /altbootbank partition are more recent than the files in the /bootbank partition, except the for the /bootbank/local.tgz file, that's also the file which gets updated if we manually run the /sbin/auto-backup.sh script, like if the /altbootbank partition was actually the active partition, except for the config file. Also, in the process above, if after step 5, we press Shift+R when ESXi is loading, ESXi comes back online with the correct configuration!
Any ideas on what's wrong with Dell ISO? How come the partitions gets switches at the first reboot?
How does ESXi pick up the partition that becomes active?
Thanks.