Skip to main content

I broke my vCenter Server

So I was updating my home network now that I have a separate server to handle the pi-hole and DHCP/DNS requests, I decided to fix my VMWare setup. I was using IP addresses because I did not have a proper DNS setup and it caused all sorts of issues (i was running a pi-hole VM inside ESXi off my server), now that all that has been updated and sorted, ESXi was all happy and I could use its name in the web browser!
2017-08-13.png
However after updating my vCenter IP, I have run into the Error 503 page, after a quick google, the internet said I should check if the vSphere client service is running!
2017-08-13 (1).png
I went to the appliance page and that was running, so I enabled SSH and BASH then SSH into the appliance to check of the service was running.
2017-08-13 (2).png
service vSphere-client status
While I was in the shell, the internet said I should check the HOSTS file if the IP is correct and matches, turnout it does not match…
2017-08-13 (3).png
vi /etc/hosts
Using VI I changed the IP to match the one on the appliance page then stopped and restarted the services in the shell using
  1. service-control –stop –all
  2. service-control –start –all
After that and letting the VCSA restart the web service everything was back!
2017-08-13 (5).png

Article with checking services: https://rlevchenko.com/2016/03/24/vcenter-503-service-unavailable/
VMware KB article with IP solution: https://communities.vmware.com/thread/510669

Comments

Popular posts from this blog

OS solutions for my Gen8 NAS Part 1

Here is that post that I talked about, so in it ill be having a look at Open Media Vault and Nas4Free! The system I am testing on is an Intel sg2600gz, a pair of Xeon E5-2650 @ 2.0GHz with 32gig rddims @1600 and raid 1 10k 6gig SAS drives. I know the SAS drives will bottleneck the system so any performance tests are going to be a little lacklustre considering they are also running a few other OS on them. To test the transfer speed I will copy a single 20 gig VMDK file FROM an SSD to ensure the source is not the bottleneck. VM’s are running on ESXi-6.5.0-4564106. Open Media Vault Ver used: 3.0.86 vCPU’s=2 Ram=2gig 5 16 virtual disks (thin) The install process was super easy, just like installing a copy of Debian, once that was all done when to go check out the web UI was it was incredibly clean and responsive! The storage page was layout was simple and easy to understand however I tried to change some settings other than the default raid ones but I found myself unable to d...

MicroServer FreeNAS project Update! Part 3

So I've sat down and done a bit of research on some of the NAS like operating systems around. Originally Freenas Corral is what got me so interested in building my own. I’ve had a look today and iX have dropped Corral completely and have no intention of updating it. I thought the whole UI change was quite nice and its a shame to see all that effort gone to waste. Freenas 11.0 U3 is available right now however I’ve been using it in a VM and I can't say I like it over corral. Now I acknowledge that I don’t yet understand the key differences between corral and 11.0 but from a fresh set of eye and around 2 – 3 playing around with both of them corral felt so much more easy to achieve what I wanted. So as a result of this I’ve decided to have a bit of a poke around until FreeNAS 11.1 is out (hopefully with native docker support) and see what other systems have to offer! The list I have compiled is related to what interested me enough to download an ISO and have a play in ESXi t...

UPS and more…

So after having a poke around the unit i found out that “On buck” basically means that the incoming voltage from the wall was higher than the output voltage of the unit, so after reading the PDF manual I discovered that I had to set the rear switches to a specific way in order to accommodate the voltage and clear the “On Buck” warning. Switches are now set at 240V based on the conveniently placed diagram However upon testing the batteries of the unit and how long it would last I discovered that the “good” batteries were, in fact, no good! I tested them by putting my laptop charger on the UPS and then unplugged it from the mains, within 30 seconds it died and I was confused and assumed that the unit was dodgy. But I thought I should at-lease check the batteries when the unit was under load to check they were outputting the correct voltages! I pulled the front panel off the UPS and found the battery tray just slides out, handy! The batteries were stuck to the tray and each-other w...