Solved

Issue with VM machine on ESXi 4.1

Posted on 2016-11-09
19
38 Views
Last Modified: 2016-11-10
I am unable to remove permission (eg. permission to access console) from a specific virtual machine.
Also, "edit settings", "migrate", and other menu are greyed, so I can't use them.
How can I solve this issue?

Thank you
0
Comment
Question by:Armitage318
  • 10
  • 9
19 Comments
 
LVL 117
ID: 41880281
Is there a current task in progress on that virtual machine ?

1. Restart Network Management Agents on the Host.
2. Restart vCenter Server service if you have vCenter Server.


if the above do not solve the issue, restart the host.

and maybe it's time to upgrade to a supported current version of ESXi e.g. 5.5 or 6.0.
0
 

Author Comment

by:Armitage318
ID: 41880311
Hi, is it safe to restart network agent when several VMs are running on the host?
Do you mean this command?

/etc/init.d/hostd restart

/etc/init.d/vpxa restart

service vmware-vpxa restart

?

Thank you
0
 
LVL 117
ID: 41880324
it is completely safe, to do the above, it does not affect VMs.

you can do what you have typed or

services.sh restart

or if you feel more comfortable you can do it at the Console from the menu.
0
 

Author Comment

by:Armitage318
ID: 41880331
Hi get this messages;

~ # services.sh restart
Running vmware-aam stop
Stopping vmware-aam: success

Running sfcbd-watchdog stop
Running vmware-vpxa stop
Stopping vmware-vpxa:success

Running wsman stop
Stopping openwsmand
Running slpd stop
Stopping slpd
Running vprobed stop
watchdog-vprobed: Terminating watchdog with PID 5752
vprobed stopped.
Running vobd stop
watchdog-vobd: Terminating watchdog with PID 5725
Vobd stopped.
Running storageRM stop
watchdog-storageRM: Terminating watchdog with PID 5703
storageRM module stopped.
Running sensord stop
sensord is not running.
Running lbtd stop
watchdog-net-lbt: Terminating watchdog with PID 5657
net-lbt stopped.
Running hostd stop
watchdog-hostd: Terminating watchdog with PID 5635
Running usbarbitrator stop
watchdog-usbarbitrator: Terminating watchdog with PID 5619
usbarbitrator stopped.
Running TSM-SSH stop
Stopping tech support mode ssh server
Running ntpd stop
Stopping ntpd
Running DCUI stop
Disabling DCUI logins
Running TSM stop
Hiding TSM login
Running TSM restart
Displaying TSM login: runlevel =
su -
Running DCUI restart
Enabling DCUI login: runlevel =
Running ntpd restart
Starting ntpd
Running TSM-SSH restart
Starting tech support mode ssh server
Running usbarbitrator restart
Rescanning all adapters..
usbarbitrator started.
Running hostd restart
Running lbtd restart
[81171904] Begin 'hostd ++min=0,swap,group=hostd /etc/vmware/hostd/config.xml', min-uptime = 60, max-quick-failures = 1, max-total-failures = 1000000
net-lbt started.
Running sensord restart
sensord started.
Running storageRM restart
storageRM module started.
Running vobd restart
Vobd started.
Running vprobed restart
vprobed started.
Running slpd restart
Starting slpd
Running wsman restart
Starting openwsmand
Running vmware-vpxa restart
Starting vmware-vpxa:success

Running sfcbd-watchdog restart
Running vmware-aam restart
Starting vmware-aam:vmware-aam already running - failed

host results "disconnected" in vCenter.
I am connected to this host through SSH, anyway.
What can I do ?
Thank yo
0
 

Author Comment

by:Armitage318
ID: 41880332
Sorry, host is UP again.
It seems I still have same issue with this specific VM.
Restarting vCenter Server service is it safe too ?
0
 
LVL 117
ID: 41880344
That looks normal...

yes, restart vCenter Server agents is safe.
0
 

Author Comment

by:Armitage318
ID: 41880393
Hi, I rebooted host, but I get same behavior.
It could be and issue with vmx file corrupt, in your opinion?
If so, how can I solve it?
Thank you
0
 
LVL 117
ID: 41880406
Can you unregister the VM ?

remove from inventory ?

can you browse the datastore the VM is located ?

if you connect direct to the ESXi host, hosting the VM, are the settings still greyed out ?

is the VM powered On ?
0
 

Author Comment

by:Armitage318
ID: 41880476
I halted this VM, but I am still unable to unregister it.

If I access through vSphere to specific host, menu "remove from intentory" is clickable.

I am able to browse datastore.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 117
ID: 41880561
okay, so the issue is possible a datastore is unavailable ?

check your datastores?
0
 

Author Comment

by:Armitage318
ID: 41880607
Hi, I don't think it's a datastore issue. I have other VMs which are running fine (and they are "editable") on same datastore.
I was referring to an issue to specific VM (in particulary, with it's .vmx file)
0
 
LVL 117
ID: 41880827
if you browse the datastore (which you stated, you cannot), can you look at the VM folders and it's VMs ?
0
 

Author Comment

by:Armitage318
ID: 41881934
Hi,
as I said, I have no datastore issue.
I am able to browse datastore, browse VMs folder.
I have other VMs that are running fine on same datastore.
I have issue only with one specific VM, I mean: I am unable to unregistered, edit settings, and so on.
The only things that it seems I am able to do, is "remove from inventory" from specific HOST on which this specific VM is running (not through vCenter).
I don't know if, remove VM in this manner, could cause problem, anyway.
0
 
LVL 117
ID: 41881955
if you access the host directly, not via vCenter Server, do you have the same issue.
0
 

Author Comment

by:Armitage318
ID: 41882005
Hi, when accessing to host directly, I can use "edit settings" menu.
If the machine is powered off, I can use "remove from inventory" menu too.
My doubt is: is it safe to remove from inventory in this manner (I mean: directly from host, not through vSphere)?
Thank you very much
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 41882007
My doubt is: is it safe to remove from inventory in this manner (I mean: directly from host, not through vSphere)?

Yes, no problems, and then you will likely see it disappear from the vCenter inventory, or appear as inaccessible, which you can then select remove from inventory.

Would appear there is something not correct with vCenter Database.
0
 

Author Comment

by:Armitage318
ID: 41882188
Hi,
I succesfully removed affected VM from host, but now on vCenter I get "orphaned" status.
It is not a major issue, anyway, if you know how can I solve this cosmetic issue, it would be appreciated !
0
 
LVL 117
ID: 41882228
Right Click and select DELETE
0
 

Author Comment

by:Armitage318
ID: 41882372
Hi,
I have no such option in vSphere, and I don't want to delete this virtual machine from datastore.
My goal was to options (like edit settings, user permission, and so on) available again.
Anyway, probably, as you said, there is something wrong in that vCenter database.
Thank you
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

706 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

14 Experts available now in Live!

Get 1:1 Help Now