Solved

Cannot login through vSphere after upgrade

Posted on 2011-09-14
30
1,122 Views
Last Modified: 2012-05-12
Hi,

I've just finished an upgrade process on one of our hosts from ESXi 3.5 to 4.0. All seemed to go well, the vSphere upgrade utility crashed after the upgrade process reached 100% but it happened to me before so i ignored it. The host booted up fine but now i cannot logi in to it using the vSphere client. the message i get says "Cannot complete login due to an incorrect user name or password." I've changed the password few times and it works when I'm logged on locally to the server, i.e. I can shut it down or change config. The authentication doesn't work throught the host's website. Has any one eperienced similar issue and know how to reslove it?

Kind Regards

kiilaa
0
Comment
Question by:kiilaa
  • 17
  • 13
30 Comments
 
LVL 118
ID: 36538057
So, access through vSphere GUI is okay?

It's Web Access which is foo bar?
0
 

Author Comment

by:kiilaa
ID: 36538075
No, i cannot access it from vSphere GUI. I can access it from the host's http site but let's say when i try to see datastores i get an authentication box which then fails with th credentials i supply.
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 36538403
If you can login to the server locally, with the root password, it seems like the security permissions have been messed up.

Have you tried selecting Reset System Configuration? at the DCUI screen?

Personally I would either install ESXi to a USB flash drive or SD card. Once installed, this will recognise the current VMFS datastore, and then you can add the VMs to the Inventory by browsing the datastore, Right Click the VMX file and click Add to Inventory.

0
 

Author Comment

by:kiilaa
ID: 36538562
The current system is installed on a usb stick inside the server. Shall I remove it and intall it from another USB stick?
0
 
LVL 118
ID: 36538603
Okay, if you have installed ESXi on a USB stick, remove the current USB stick, and install again on a fresh good quality stick.

You may be interested in my article

How to Backup an ESXi installation on an USB Flash Drive or SD card, for security or redundancy.
0
 

Author Comment

by:kiilaa
ID: 36538743
Sorry for being a complete noob in the ESXi USB installation world but how do I install it on a USB memory. Do I burn an iso image of ESXi installation to a CD and then boot from it and choos an option to install it on the ne USB stick?
0
 
LVL 118
ID: 36538771
That is correct.

Here is the VMware KB on installing 4.1 on USB/SD:
http://kb.vmware.com/kb/1020655
0
 

Author Comment

by:kiilaa
ID: 36539277
Do i need to name the new server differently or can i use the same config details? i mean IP, name etc.
0
 
LVL 118
ID: 36539294
You can use exactly the same configuration details. The VMs on the datastore, have no knowledge of the original configuration.
0
 

Author Comment

by:kiilaa
ID: 36539367
Thanks. the new system is up and running. I'll try to add the data stores and vm's. are you sticking around for a bit? just in case i have more questions.
0
 

Author Comment

by:kiilaa
ID: 36539474
I've added the correct networks, rescanned it but still it cannot see the data stores.
0
 
LVL 118
ID: 36539517
Are these remote datastores?
0
 
LVL 118
ID: 36539521
e.g. non-local disk. yes. I'm around most hours!
0
 
LVL 118
ID: 36539634
Also check the best practices document here

http://www.vmware.com/pdf/ws7_performance.pdf

A couple of things, only use 1 vCPU, and Reserve Memory for use with VMs.
0
 
LVL 118
ID: 36539639
Whoops, wrong post!
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:kiilaa
ID: 36539653
yup. they sit on SAN.
0
 

Author Comment

by:kiilaa
ID: 36539716
I'm not sure if that helps but the iSCSI adapter doesn't have any targets connected
0
 
LVL 118
ID: 36539723
okay, is this an iSCSI SAN or FC SAN?

Added and Enabled iSCSI Software Initiator, VMKernel Interface?

can you vmkping the Storage if iSCSI?

if so you will need to add the new iSCSI Initiator name, to the existing LUNs.
0
 
LVL 118
ID: 36539727
Have you also specified the SAN IP address in the iSCSI Storage Adaptor?
0
 
LVL 118
ID: 36539733
you will need to add the new iSCSI Initiator name, to the existing LUNs, on the IP SAN.
0
 

Author Comment

by:kiilaa
ID: 36539774
I'm going to call it a night. I'll come back to it tomorrow morning. thanks for all your help so far.
0
 

Author Comment

by:kiilaa
ID: 36539787
it's an iscsi san
0
 
LVL 118
ID: 36539790
Check the following:-

1. iSCSI Initiator enabled.

2. VMKernel Interface added and IP address on same subnet as IP SAN.

3. Can you ping IP address of IP SAN from console of ESXi server.

4. Can you vmkping IP address of IP SAN from console of ESXi server.

5. Add IP address of IP SAN in iSCSI software initiator.

6. Add new iSCSI initiator name to LUNs on IP SAN.

0
 

Author Comment

by:kiilaa
ID: 36539842
I've got storage added now. still cannot see any VM's
0
 
LVL 118
ID: 36539849
Browse the datastore, can you see the folders?

Browse the folders, select the VMX and add Right Click and Add to Inventory?

(this is beyond the scope of original question!)
0
 
LVL 118
ID: 36539857
I thought you were going to bed!!!
0
 

Author Comment

by:kiilaa
ID: 36539863
I know, it is. Shall i create a new question then and assign some points? Does that work for you?
0
 
LVL 118
ID: 36539889
I believe the oiriginal question has been answered. If you are happy with the answer, please assign points, and create a new question, which can be a related question.

we can then discuss the missing VMs!?
0
 

Author Comment

by:kiilaa
ID: 36539914
new question created.
0
 
LVL 118
ID: 36539929
responded.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now