Solved

Cannot login through vSphere after upgrade

Posted on 2011-09-14
30
1,139 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 17
  • 13
30 Comments
 
LVL 121
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 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 121
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 121
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 121
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 121
ID: 36539517
Are these remote datastores?
0
 
LVL 121
ID: 36539521
e.g. non-local disk. yes. I'm around most hours!
0
 
LVL 121
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 121
ID: 36539639
Whoops, wrong post!
0
 

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 121
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 121
ID: 36539727
Have you also specified the SAN IP address in the iSCSI Storage Adaptor?
0
 
LVL 121
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 121
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 121
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 121
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 121
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 121
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:

617 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