Solved

after power outage , when i log in to vsphere client, there are couple of virtual machines that whoes unknown and i can tturn them on..

Posted on 2011-02-21
56
1,635 Views
Last Modified: 2012-06-22
I am very new to virtual server, new to the company and on my own. Please provide detail steps how should i troubleshoot this. i check in the event log for those machines that shown unknown and it says configuration file can not be found for those machines.
0
Comment
Question by:touchsonic
  • 33
  • 23
56 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
The first thing you need to do, is to raise a purchse order for a suitablelty sized UPS.

Okay, unknown means that the virtual machine has become detached from the inventory.

Do you know if you are missing any storage datastores, because unknown would happen if datastores are missing, e.g. NFS, FC, iSCSI datastores.

Do you have a SAN, where are your virtual machines located?

Are all you virtual machines listed as unknown and greyed out, or just some?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Do you notice any datastores in the Summary of the host server, they are also greyed out?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
In the picture below, you can see a server called Test NFS Server which is greyed-out and unknown

But if you look to the right of the properties, you can also see that the Datastore cyrus-nfs is also greyed-out, that's because the datasstore is not contatable, in this example it's down.

 Unknown Servers Missing from vSphere
0
 

Author Comment

by:touchsonic
Comment Utility
Thanks for your reply, we do have the UPS attached to it but power outage was for 2 days due to some storm. I have few servers on virtual server that's running fine as you can see in the screen shot. we do have SAN. I am not sure which server is it located but i can not ping it. Also its not showing anything under data store and network . Please help...
touchsonic-412033.flv
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
okay, I can see a datastore called datastore, which 3/4 VMs maybe/are located on.

four VMs are Unknown, inaccessible, and there is no datastore attached, it's missing.

Do you know where you VMs should be located?

Are these missing VMs located on your SAN?

What is you SAN?

Please check Inventory, Datastores?

Send me a screenshot?
0
 

Author Comment

by:touchsonic
Comment Utility
I am not sure where these are located, i got all these machines IP addresses and host names with passwords, I think they are located on SAN. but i dont know how to access my SAN. i dont how to get through inventory..
touchsonic-412050.flv
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
can you give me a screenshot, in detail, I cannot make out anything.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
what is the SAN, what is the SANs IP address?
0
 

Author Comment

by:touchsonic
Comment Utility
we use openfiler...,ip address is 172.16.0.251
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
ok, is the openfiler SAN up and running?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Can you ping 172.16.0.251 from the ESX server?

Can you send me screenshots of your Storage Configuration Tab?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
whoops, didn't see the enlarge button! (!!!)

Can you show me Configuration, Storage and Storage Adaptors?
0
 

Author Comment

by:touchsonic
Comment Utility
where do i need to go to to show you those setting? can you please tell me step by step.. i have never used this vsphere and virtual server before..

thanks
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
If you select the

1. The host Server
2. Select the Configuration Tab
3. left hand side Storage Adaptors
4. left hand side Storage
0
 

Author Comment

by:touchsonic
Comment Utility
here we go thanks
touchsonic-412081.flv
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Okay, from the information you've provided, the current VMs that are working and on, are stored on the local datastore called DATASTORE, which is on local disk.

it's possible that the "missing" machines are on the SAN which is currently not connected.

Can you click and highlight storage adaptor vmhba33, right click and click Rescan, ensure both tick boxes are ticked.

and see if any luns appear.

if they don't can you also check the following and send screen shots

Highligt iSCSI software adaptor and select Properties, and send me the screenshots.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Could you also check the Openfiler is running?

Can you ping 172.16.0.251 from any machine on your network?

and can you also test with telnet 172.16.0.251 3260

does the above command connect?
0
 

Author Comment

by:touchsonic
Comment Utility
i was not able  ping t openfiler from any of my network computer, however after restarting the swich that was connected to the server 172.16.0.251 i am able to ping that now but when i try to open that thorugh web browser url its not opening i am typing http://172.16.0.251:3260

do i need to restart the virtual server or anything..?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
okay, can you ping, check and rescan as above.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Can you click and highlight storage adaptor vmhba33, right click and click Rescan, ensure both tick boxes are ticked.

and see if any luns appear.

if they don't can you also check the following and send screen shots

Highligt iSCSI software adaptor and select Properties, and send me the screenshots.
      
0
 

Author Comment

by:touchsonic
Comment Utility
I am sorry it is not pinging the 172.16.0.251, i was mistakenly pinging 172.16.0.254  i do know the physical location of this server, i check the network cables and everything seems fine. do i need to log in to the openfiler locally? i dont know any command for this...
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
oh, this is the issue, if the server is not up, your ESX server will not be able to connect.

okay login to openfiler console, with your username and password, do you know Linux?
0
 

Author Comment

by:touchsonic
Comment Utility
no i dont know anything about linux..
please provide detailed steps i will follow these.. i am not able to open openfiler remotely.. i guess i have to connect the keyboard and mouse locally to the server.. what i need to do after that?
thanks for ur response
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
okay

1. login to console with root username and password.
2. type ping followed by the ip address of you ESX server? do you get response?
3. type ifconfig

report the details for eth0
0
 

Author Comment

by:touchsonic
Comment Utility
when i try to log in locally it says this interface has not been implemented yet..

and it dont do anything
when i press enter again it start asking me login and password again..
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
do you have a login prompt?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
are you using the root account?
0
 

Author Comment

by:touchsonic
Comment Utility
yes..i have a login prompt, and i enter my user name there, and then it ask me my password after entering my password , it says this interface has not been implemented yet.
also it shows above log in web administrator gui interface https;//172.16.0.251:446

there is only one user name and password documented for this server, so i assume this one root account...
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
and you definately cannot ping 172.16.0.251?

normally the accont could be root, unless it's been changed, or is using ldap authentication, but if there is a network issue with the openfiler server, and it cannot reach the ldap server you'll not be able to login.


 this interface has not been implemented yet.

the above is normally displayed on an incorrect username and password, or you are trying to remotely use ssh to access the server.

without access to this server, we cannot check it.

have you tried restarting it. Now it's connected to the switch.




0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
does it say which version of openfiler?
0
 

Author Comment

by:touchsonic
Comment Utility
it says version 2, i tried to restart the server too but no luck.., i m trying to log in through ssh using putty, but not coonnecting, yeah i can not ping the server from my computer by typing ping 172.16.0.251
it says reply from 172.16.0.109 destination not reachable

but when i try to ping it from different computer it just say destination not reachable...

i dont know why from my computer it says reply from different ip address...



0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
okay, few things to check.

1. try a different network port on the switch.
2. try a different network cable.
3. is there a light on the switch port that the server is connected to?
4. is there a light on the network interface card in the openfiler server?

if you cannot ping the openfiler server, you'll not be able to ping, ssh, or browse to web interface
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
reply from 172.16.0.109 destination not reachable

this is probablt your ip address, maybe on vista or windows 7.

Windows XP, WIndows 2003, don't say that.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
you are definately using a username called root and not openfiler.
0
 

Author Comment

by:touchsonic
Comment Utility
i m using openfiler as user name , but i dont know the password for root user...? is there any deault password for root user, i tried user root password root and user root password empty no luck...
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
ah, this is the incorrect username for the console.

you must use root

try openfiler as the password, or pasword
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
or blank password
0
 

Author Comment

by:touchsonic
Comment Utility
i need to go home now, will come up early morning tomorrow and will check out the suggested things u advise me , meantime i will see if i can get user name and password.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
otherwise, there is a way, we can change the password.

what's your Time Zone?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
okay, I see it's the end of your day. It's late here in the UK (GMT)
0
 

Author Comment

by:touchsonic
Comment Utility
i am here sir, please let me know how can we change the password for the server
0
 

Author Comment

by:touchsonic
Comment Utility
I am able to log in to the root now.. the  guy who used to work here provided me the password, what is our next step
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
okay, can you ping the ESX server?
0
 

Author Comment

by:touchsonic
Comment Utility
yeah i can ping the esx server.., i am using  vsphere client and go to esx server
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
login to the openfiler server using username - root, and your password.

and then while logged into the console on the openfiler server, type ping <ip address> of the ESX server.
0
 

Author Comment

by:touchsonic
Comment Utility
it says destination host unreachable
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
okay type the following


ifconfig eth0

0
 

Author Comment

by:touchsonic
Comment Utility
This is the output for the ifconfig eth0

link encap; ethernet hardware address .....
inetaddress: 172.16.0.251 BCAST address 172.16.0.255 Mask 255.255.255.0
UP Broadcast Running Slave Multicast MTU 1500 Metric 1
Rx packets 126 error 0 dropped 0 over run 0 frame 0
TX packets 34    ''               ''                ''     ''       carrier 0
RX Bytes 11987(11.7kb) Tx Byte 3024( 2.9kb)
Interupt 37
0
 

Author Comment

by:touchsonic
Comment Utility
I want to mention that after i reboot there was one failed thing comes up everything else was ok in green , it is so fast i can only read can not find quota file on /rmt/tstsan maper/tstsan nasl to turn quota on/off
can not find quota file on rmt/tstsan/ (devmapper/tstsan-ms ...

you think that can be related to this...?
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
okay, few things to check.

1. try a different network port on the switch.
2. try a different network cable.
3. is there a light on the switch port that the server is connected to?
4. is there a light on the network interface card in the openfiler server?
0
 

Author Comment

by:touchsonic
Comment Utility
there are two netwrok cables going out of server, one side of those network port its solid green, other side its blinking orange. on the swtich its solid green with blinking green. i tried to put it on different port on the switch. still not wotking...
0
 

Author Comment

by:touchsonic
Comment Utility
i got it , i can ping the openfiler server now...what is next...
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
very good.

can you ping openfiler from the esx server or from a computer on the same LAN?
0
 

Author Comment

by:touchsonic
Comment Utility
yes, actually i went ahead and go to storage adapter from configuration and rescan . after that it find the san on openfiler and it start giving me the option to start those servers. its all running now and i am able to open the openfiler through web browser. Thanks alot... you are the best...., I was little nervous about this. I never dealt with Linux and virtual server before.

Thanks a lot again...
0
 

Author Closing Comment

by:touchsonic
Comment Utility
He was very responsive. hats off to himmmm
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
thanks, glad it's all fixed.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

763 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

10 Experts available now in Live!

Get 1:1 Help Now