Solved

VM (inaccessable) on one Host but not another

Posted on 2010-09-22
13
842 Views
Last Modified: 2013-11-08
We have 3 VMWare VMserver 2.0 Hosts.  2 are running on Centos5 and 1 on Windows 2008.  We have setup the 2008 box for testing running vmware server on that platform/hardware as it don't support ESXi.  All boxes are running same Vmware build and version.

I have several virtual machines and I can add them to the hosts that are running on Centos but when I try to add the machine to the 2008 host the VM is tagged (inaccessible).

The vm guests are stored on an SAN box run via Openfiler.  I have used the same credentials used on the Centos box to add the datastore to the 2008 box.  I can browse the datastore without a problem and I can access the vmware web administration console from my workstation without a problem.

While searching for an answer I will try to copy the vm guest to the local drive of the 2008 box to eliminate some sort of permission conflict but I don't really think that is the issue. Windows firewall is disabled to eliminate that as an issue.

Any Ideas?
0
Comment
Question by:PlazaProp
  • 7
  • 6
13 Comments
 
LVL 5

Expert Comment

by:Marinertek
ID: 33736841
Any chance you're moving from 64-bit Centos to 32-bit 2008? If your 2008 box does not support ESXi than it probably is not an x64 processor - what are the VM OS's you're trying to move?

Do new VM's run correctly on the 2008 host (is it only migrated VM's that are the issue)?
0
 
LVL 1

Author Comment

by:PlazaProp
ID: 33737045
All OS's are 32bit.  The 2008 box is dual Xeon procs on an intel Mobo.  The ESXi installer fails with and error about unsupported hardware.

Migrated/Moved VM's.

Update,  after copying the VM guest files to the local drive on the 2008 box it successfully added to the console. It does appear to be some sort of permissions issue.  Haven't tried to run it yet but I didn't get the tag (inaccessible).  

Maybe I need to change the account that VMWare Server run under.   ?????
0
 
LVL 5

Expert Comment

by:Marinertek
ID: 33737516
In VI Web Access make sure the account you are trying to use is listed as an admin in the permissions tab. Does this correspond to the local admin/domain admin account used to install the software? Also be sure to check the security permissions on the VM files themselves.
0
 
LVL 5

Expert Comment

by:Marinertek
ID: 33737596
do you get any useful output using vmrun in the command line? I believe this works with VMServer (I'm a workstation user personally):

vmrun -T ws start "c:\my VMs\myVM.vmx"

http://www.vmware.com/products/beta/ws/vmrunCommand.pdf
0
 
LVL 1

Author Comment

by:PlazaProp
ID: 33737670
Apparently I cannot create new vm's on the 2008 box.  My guess is that the added guest would not run either because it does appear to be a permissions issue.  I can use windows explorer to create folders and files so I know the share is writable, just not from the VMWare server console.

Thanks for the link to the pdf.  it says it is for workstation 6 and vmware server 2.  I will have to take a look at it in a bit.
0
 
LVL 5

Expert Comment

by:Marinertek
ID: 33737844
No problem - have you checked your BIOS to make sure Virtualization Technology is enabled on your CPU?
0
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
LVL 1

Author Comment

by:PlazaProp
ID: 33738643
Hyper-Threading Technology was enabled. HT technology in MPS was not enabled.  However, this should not affect VMware Server 2.0 as that is software virtualization.  

This may have prevented ESXi from installing but I believe that I tried enabling this once before.
0
 
LVL 5

Expert Comment

by:Marinertek
ID: 33739062
HT technology is different from VT technology - even software hypervisors like virtual-box need it. If your processor does not support VT you may not be able to host virtual machines.
0
 
LVL 1

Author Comment

by:PlazaProp
ID: 33739295
That is an invalid statement.  As I said earlier that after copying the vm files to the local drive I can add the vm in the console just fine, and the vm even boots the guest os. So the issue has nothing to do the the HT or VT settings.  
0
 
LVL 5

Expert Comment

by:Marinertek
ID: 33739526
Sorry PlazaProp - I think my understanding of your issue is confused from what you're saying. My understanding (until your last comment) was this:

1. You have Centos running VMWare Server
2. You have Server 2008 running VMWare Server
3. VM's are fine on Centos
4. Migrated VM's to 2008 do not run
5. Migrated VM's to the local storage on the 2008 box do not run
6. You cannot create new VM's on local storage in VMWare Server.

Given this data it sounds like Virtualization-Technology is missing from your 2008 server's CPU or it's a permissions issue. If you had verified the permissions issue then that leaves VT. For example if you were running Virtual-Box the program would install just fine, but you wouldn't be able to create new VM's unless VT is enabled in your BIOS.

From your last statement you're saying that VM's copied to the local storage now boot fine. This is different from what I took in your third comment.

Please correct my understanding of your issue so I can help solve the problem.

0
 
LVL 1

Author Comment

by:PlazaProp
ID: 33739789
Incorrect on number 5. Migrated vm's to local storage on the 2008 box DO run. I cannot run vm's on the 2008 box that are stored on the openfiler nas device. On the centos boxes I just mount the share in /mnt using a domain account using CIFS. The 2008 box is part of the domain and I can browse the share manually. It just seems that the vmware server is running under an account that cannot write to the nas. It can browse to select the vm, but it gets tagged as inaccessible.
0
 
LVL 5

Accepted Solution

by:
Marinertek earned 500 total points
ID: 33740603
Got it - I assume you've done this already, but have you fired up services.msc and checked the authentication for the VMWare services?

For VMWare Server I believe there's a "VMware Authorization Service" and a "VMware Virtual Mount Manager Extended" service. I can't say I've seen this issue before, but seeing the account used for those services may be a good place to start.

If you do an ls -al on the VM files on the mounted NAS share what are the permissions that come up? If the services.msc account looks good you could try a chmod to a VM file to 755 or 777 as a test for the NAS permissions. Since the VM was originally created on CentOS it might have some attribute settings that are blocking things.
0
 
LVL 1

Author Closing Comment

by:PlazaProp
ID: 33862617
What I noticed was that when I copied, edited, moved files from my windows workstation the new files had the permissions of my user.  The Virtual host uses a different user to access and create machines.  If the owner of the file is different, VMWARE has issues, even though both users are part of the same group.  It is def. a permissions issue I just need to find the sweet spot.
0

Featured Post

Will my email signature work in Office 365?

You've built an email signature using raw HTML code in Office 365, but you can't review how it looks with Transport Rules. So you have to test it over and over again before it can be used. Isn't this a bit of a waste of your time? Wouldn't a WYSIWYG editor make it a lot easier?

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

863 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

22 Experts available now in Live!

Get 1:1 Help Now