Yak Shaving: VMWare Update Edition.
By Jesse Morgan
- Review nessus report, see Samba needs patching.
- Patch Samba.
- While retesting, I notice ESX has a patch that needs implementing.
- Find out they released 6.0 today. Rather than upgrading to 5.5.1 then 6.0, I look into upgrading directly to 6.0
- While looking to implement that I research updatemanager, which I can’t use since I don’t have a windows server to install it on.
- So I look at doing it manually, and find out that I need to upgrade vcenter first, since vcenter can’t manage esx hosts that are a higher version.
- I find https://www.youtube.com/watch?v=QXOkUVhIOA8 which seems to be exactly what I need.
- Spend half an hour looking for OVA file similar to what was used for 5.5. It does not exist.
- identify vcenter appliance download for 6.0. Download 3 gig ISO. Not an exact match, but close.
- mount ISO locally. Setup file says “vCenter Server Appliance installer cannot run on Linux. It must be run on Windows.”
- Spend half an hour searching for the friggen OVA.
- Someone clues me in that “vcsa/vmware-vcsa” on the iso is actually the OVA file. Copy that from readonly ISO to local disk, rename it as vmware-vsca-6.0.ova
- go to vcenter server web client, navigate to datastore.
- See coworker set off alarms on one datastore for being overused. Need to look into that later.
- Find out that I need to install a browser plugin to upload a friggen file to their web interface.
- Download plugin, install it.
- plugin doesn’t appear, realize that it installed in the wrong place.
- research how to uninstall the stupid plugin, then reinstall it to the right place. Still doesn’t show.
- Someone suggests using OVAtool. I don’t even remember what that does or if it’ll even help me. I don’t know if it works on linux, if I can install it on my workstation, or where to even find it.
- restart chrome; lose half of my tabs when the second window doesn’t reappear. plugin still doesn’t work.
Day two:
- retry chrome plugin, it fails to be detected again.
- research to find out that the plugin interface that VMware uses is deprecated, and their plugin only works with archaic versions of chrome
- Give up, load windows VM
- download the *deprecated* vsphere client for windows
- attempt to install vsphere. Installer disappears.
- try reinstalling, receive error that installer is in progress, then fails, then receive another failure message regarding .net 3.5
- installer refuses to run because an installer is already running.
- reboot windows
- run installer, installer disappears. Task manager shows background process “windows modules installer worker” using 99% of my disk bandwidth. maybe it’s still working?
- after 10 minutes, installer reappears. entire install takes 25 minutes.
- Upload OVA to datastore1 so it can be deployed.
- Attempt to deploy the OVA template through the web interface. Notified that “The CLient Integration Plugin must be installed to enable OVF functionality.” (note OVA and OVF are interchangeable at this point.)
- Unable to COPY said text from web interface because hell, why not. Text is not selectable; maybe it’s an image?
- Attempt to create a new virtual machine from OVA template. Datastores inaccessible.
- Attempt to deploy OVA from windows client. Am unable to deploy from datastore (i.e. I must reupload 1.8 gig file again).
- Upload template, click through menus and get a brand new “fill in the blank” screen that I don’t recall seeing before. Attempt to fill it out to the best of my ability.
- Start Appliance, fails due to password needing to be reset. Web interface does not respond.
- After 20 minutes of digging, I delete it.
- start over, leaving the form empty.
- Similar Message: “Root password is not set. vmdir.password is not set; aborting installation.” Web interface does not respond.
- review my notes from the 5.5 install.
- dry run installation of 5.5 OVA file; existing form has 5 fields.; Hostname is the only one really required.
- 6.0 OVA has 46 fields; It is unclear how many are required. Perhaps all of them.
- if host network mode is set to DHCP, ip address and host network prefix are not required. Default gateway, dns servers, and host identity don’t state if they are required.
- SSO Configuration talks about a directory password for replication partner. Is this the 5.5 instance I’m planning to mirror? I don’t think so- I’m pretending this is a stand-alone instance so I can follow the migration video later, which presumes the new instance is already installed but not configured. Setting temporary password for administrator.
- leaving the rest of the SSO configuration default
- leave database config set to Embedded.
- Setting root password in System Configuration (which is different than the Administrator account password set 3 steps ago).
- Leaving upgrade configuration blank.
- Leave networking properties blank
- After finally getting the vcenter 6.0.0 installed, it turns out 6.0.0 no longer uses port 5480, as seen in the first video, which was the only one that came up when searching for upgrades yesterday.
- Because, why would the upgrade process from 5.1 to 5.5 be the same as 5.5 to 6.0, right?
- Start searching again, find this video which appears to cover what I need.
- I install the vmware client integration plugin from the ISO I downloaded previously on the windows VM (which is nearly out of space at this point).
- run upgrader from ISO.
- Walk through all the options and get to step 4 before getting the message: “vCenterServer FQDN vcenter.foo.com does not match DNS servers “localhost.localdom,localhost” and ip addresses “192.168.2.220” from VC certificate. Examine the VC certificate and make sure it is valid and point to vCenter Server FQDN.”
- Which if I’m reading correctly, means that before I can upgrade, I have to install a properly signed certificate on 5.5 for…. I’m gonna guess the :5480 interface, which may be a totally different cert than the one for :9443.
- research and find that I can circumvent this by setting the cert regeneration flag in the :5480 interface and rebooting vcenter.
- try the upgrade tool again
- realize 3 seconds after clicking OK that I just started a process of unknown length at 2pm on a friday.
- process finishes at 3pm, warns me that my license is about to expire for vcenter(!)
- re-enter license, am told it is no longer valid.
- panic as I realize our license is for vcenter 5, not vcenter 6.
- research and am told that it’s a simple upgrade procedure in the vmware portal to get a new license key for 6.0
- go through motions, import new key, everything is awesome.
I owe a tremendous debt of gratitude towards the guys in #VMware on freenode. without their assistance, I’d probably be under my desk sobbing right now.
MONDAY: I’ll continue by upgrading the esx hosts. I’m sure it’ll go smoothly.