Quantcast
Channel: VMware Communities : Unanswered Discussions - VMTN
Viewing all 61567 articles
Browse latest View live

get displayName from within guest OS?

$
0
0

I know this has been asked before, but all answers I have found date back to before ESXi 5.x was released.

 

Is it possible to learn the displayName of the running virtual machine from within the virtual machine itself?

 

I have tinkered around a bit with the vmtools --cmd but nothing really useful comes of that.   I see the displayName setting is there in the .vmx file.   I would like to offer virtual machines created from my .ova file to set their hostname to the displayName.

 

This would solve a basket of problems in my environment.   Thank you for any pointers.


Error using update manager: 'could not retrieve data from the update manager server'

$
0
0

Hi,

 

This seems like it might be a permissions issue but I'm unsure how to fix it.

 

We have a user here who has been given 'Administrator' access to a Datacentre (and child objects). When they try to run through remediation wizard they get the the section 'Host remediation options' and it returns the error 'could not retrieve data from the update manager server'. After clikcing on 'OK' they can continue but eventually they get an error which requests to report to Vmware.

I've gone through this process using my account (which has much higher privs) and I have no problem.

 

Can anyone tell me what might be causing it? It does seem to be a permission issue but I'm unsure what permissions are required to fix it.

 

Cheers,

 

Tim

The technical constraint of Storage vMotioning a Fault Tolerant vm

$
0
0

Hi VMware Gurus,

 

I have to explain to a customer why exactly you cannot do a storage vmotion a fault tolerant vm.

 

a) Is it because the secondary vm is on vlockstep mode and having a process running there or

b) Is it because the vm is on the fly and that it cannot associate its memory and processing with the vm??

 

Need your invaluable advice.

 

 

Cheers,

Rushdi

Health problem of vCenter

$
0
0

Dears,

 

I have an Alerts on vCenter Health Status. That is "Unable to retrieve health data from https://localhost:443/health.xml"

There are 4 Alerts. Screenshot is attached.

 

Kindly guide me how I can resolve it?

 

Regards,

 

Badr.

Set the number of licensed-HELP**

$
0
0

Hi

 

Is there another way to get the license number into the esxi 5.1 server???

I have a problem with the usual way:

 

configuration----licenced feathures-----edit   

I always get an error: Attached Image

 

There are other ways to get the license???

 

ero.png

MAC address of vmkernel on vSwitch

$
0
0

Hi all,

 

I just noticed something and would like to be sure about it.

 

Until now, all of our servers:

  • had two NICs, let's address them as 00:00:00:aa:bb:cc and 00:00:00:dd:ee:ff
  • a vSwitch0 with vmk0 for management network and vmk1 for vmotion
  • both vmks have both NIC active in IP hash mode
  • both vmk0 and vmk1 had vmware (00:50:56...) virtual MAC addresses.

 

But on the newly installed servers, vmk0 always gets the physical address of the first NIC (so 00:00:00:aa:bb:cc).

 

I found some discussions here, stating the same, but I could not find any statements if this is correct. Sure it works now, but what if the NIC1 dies?

 

The only hint I found was this: http://blog.eight02.com/2012/02/vmware-5-host-profiles-prompts-for-mac.html

 

According to the post, if I choose "User must explicitly choose the policy option" then the address will be randomly generated when applying a profile. Just like before. Weird.

VMWare 9 network speed issues

$
0
0

Im seeining a strange network problem in my VMWare 9 guest OS's.

Everything ws working fine, then all of a sudden all network access to a specific (real) server seems to be throttled to 200-300kb/s (in either direction).

Ive tried windows filesharing (explorer) ftp and other programs - they all seem to be suffering the same throughput problem.

 

My guest is OS Windows 7 x64 and I'm using bridged networking and have a 1Gbit connection.

My host OS is Windows 8 RTM, i5 2500 CPU, 16gb RAM, nVidia GT450

Traffic to other (real) hosts is still fine and i havnt touched the new VMWare network throttle settings.

 

I've tried rebooting the guest, rebooting the host, restarting the VMWare services on the host but still traffic to this one machine seems to be limited.

Other guest VM's also suffer the exact same problem to the same server while other servers are still fine. Its as if the VMware 9 has decided that all traffic to a specific IP will be limited.

 

Ive upgraded my host OS to windows 8 so I have been using the VMWare 9 trial while my company purchases liceses (which Im assuered will be here this week). I have used VMware 7 since it came out on Windows 7 and Windows Vista and have never had this problem.

 

This is causing me serious doubts about VMWare 9 - is it a known problem>? Is there any solution? Unfortunatly I cant go back to VMWare 7 as it does not play well with Windows 8 as the host OS.

 

Thanks,

Phil

 

 

 

 

Message was edited by: PhilGibbons, added host machine specs

how to create or clone vm without VC

$
0
0

Hi,

I want to clone vm with perl sdk ,but we don't have VC .We just use esxi ,could someone tell how to clone or create vm ?


Hardware monitoring service on this host is not responding ?

$
0
0

Its a HP ProLiant DL360p Gen8 server and it was working fine (A visual inspection of the server shows all lights are green).

 

How do I get it back? Is there a service I can safely restart (and how do I do it)?

 

 

The build is ESXi, 5.0.0, 623860

found more than one vmfs partition on disk

$
0
0

Hi Guys,

 

I was in a process of upgrading our blade server (Dell PowerEdge M610) from ESX 4.1 to VSphere 5.0 and after booting the server from ISO and I got the error message that Upgrade can't happen as system found more then onevmfs partition on the disk. I dont understand why this happen and how can we upgrade the server.

 

Any help be appreciated.

 

Hope to hear from you guys soon.

 

Thanks

 

Vikram

How do I find out the IP for a given MAC address in esxi-shell

$
0
0

How do I find out the IP for a given MAC address in esxi-shell ?

 

esxcli network ip neighbor list
does not list the MAC addresses I need to resolve

VUM - No ESX 4x download URL specified - Help ??!?

$
0
0

Hey all

 

I've been racking my brains as to figuring out where VUM downloads its patches from. I've got it configured OK but still cannot download the patches. I get the following

 

INFO -  [updateDownloader, 219] starting re-downloading updates...
INFO -  [UMDSHelper, 335]  Version1.txt:Min: 40 Version1.txt:Current :45
INFO -  [hostUpdateDownloader, 464] Re-downloading metadata and packages for ESX 3x updates
INFO -  [hostUpdate20Downloader, 395] Re-downloading metadata and packages for ESX 4x and third party updates
INFO -  [hostUpdateDownloader, 301] Downloading metadata for ESX 3x updates
INFO -  [hostUpdateDownloader, 186] Downloading metadata for ESX 3x updates.
WARN -  [hostUpdateDownloader, 204] No ESX 3x download URL specified
INFO -  [hostUpdateDownloader, 267] Downloading host update packages.
INFO -  [hostUpdatePackage, 504] Start reading new host updates from database.
INFO -  [hostUpdatePackage, 513] 0 new host updates found
INFO -  [hostUpdateDownloader, 278] 0 new host update packages downloaded.
INFO -  [hostUpdate20Downloader, 275] Downloading metadata and packages for ESX 4x and third party updates
INFO -  [hostUpdate20Downloader, 141] Downloading metadata for ESX 4x and third party updates.
WARN -  [hostUpdate20Downloader, 177] No ESX 4x download URL specified
INFO -  [hostUpdate20Downloader, 257] Downloading host update packages.
INFO -  [vibDownloaderImpl, 398] VIB download successful

 

I know this has 'possibly been answered before but cannot find the actual web link so can hand to our 'firewall' team. Have checked the UMDS Reporsitory it created the folders ok but still doenst DL any patches ??!? If any one can help it would be greatly appreciated.

 

thanks in advance

Munster

vmware view for windows RT (metro/start screen)

$
0
0

as the topic title indicates when is the vmware view client for winRT going to be released? many people want this. Businesses wishing to adopt MS surface tablets are going to need this. The pricing was announced and it may look like the Pro versions (windows 8 x86) may be too much for some businesses. As a result they may want to purchase the win RT versions, as they are much cheaper, however they lack the vmware view client since there is currently no way to make x86 applications to run on WinRT.

 

 

also are there any plans for a windows phone 8 version as well?

DNS records going missing during SRM failover

$
0
0

Hello,

We've got vCenter 5 and SRM 5.0U1 installed between two sites. I am testing failing over a couple of Windows virtual machines and have set SRM to change the IP address of the VM depending on which site its at. I keep finding that the DNS records going missing from our AD DNS servers though which seems to be around the time i perform a failover. Has anyone got any suggestions to troubleshoot this?

 

James

Is Counter id same for all vm?

$
0
0

We need to get performance counter(cpu,disk,memory usage) for all vm . So we are collecting performance counter at once to collect metric id for performance counter as like below

 

            PropertySpec propertySpec = new PropertySpec();
            propertySpec.setAll(Boolean.FALSE);
            propertySpec.getPathSet().add("perfCounter");
            propertySpec.setType("PerformanceManager");
            List<PropertySpec> propertySpecs = new ArrayList<PropertySpec>();
            propertySpecs.add(propertySpec);

 

 

Is it correct? Because we are getting wrong cpu.usage.average value like 340 . But needs to be below 100 rt?

 

 

Note, we are having 2vCPU for a vm which gets 340 as cpu usage.

 

 

 

Thanks,

Alex


Can't create VXLAN

$
0
0

Hi,

 

I'm trying to set up VXLAN but it doesn't get created.

 

Network  Virtualization > Preparation > Connectivity > Edit

 

I choose clusters and teaming policy.

 

When I click Finish button nothing happens. No error. No nothing. Mouse turns into clock icon very briefly. I've tried with multiple browsers. I'm running 5.1.

 

What I might be missing?

View PowerCLI cmdlets not working

$
0
0

Hello guys,

 

I would like to ask for a little help. I'm trying to write a script which will get some infromation from the Vmware View environment, but I have a problem with the powershell cmdlets. All of them are reporting same error when I try to run them. Hele is a little example what's not working:Capture.JPG

All my attempts failed. I've checked the path to the DLL file containing the cmdlets. I've also checked if the DLL file loads correctly into powershell, but everything looks fine.

Do you have any idea what should be wrong?

 

Thank you very much for your help.

 

Martin

Cannot mount Debian NFS to esxi 5.1 - Please Help

$
0
0

I have tried everything. I am extremely frustrated on how to get past this beginner step...

 

Idea was, setup a debian box for nfs and use the nfs share as a datastore in esxi.

 

 

install debian, setup nfs-kernel-server

 

tried to mount via vshpere

 

i keep getting the following mesage:

 

Call "HostDatastoreSystem.CreateNasDatastore" for object "ha-datastoresystem" on ESXi "192.168.1.95" failed.
NFS mount 192.168.1.97:/esxi failed: The mount request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it.

 

Ive looked everywhere and found very little on this subject.....I think its fairly beginner so no one will go into depth about how to do it step by step.. i think the share is good and the permissions are good however i dont know how to check either via the host or client side....

 

any help would be appreciated... I have tried alot of online how tos with no luck.

 

jon

Get a value of a metric within java Class MyMeasurementPlugin

$
0
0

Hello,

I need to get a value (result) of the next metric in my Java Class MyMeasurementPlugin

 

 

This is the metric: <metric name="Availability" units="percentage" collectionType="dynamic"
            category="AVAILABILITY"
            template="sql:SELECT Status FROM HostsBean, DSLStatsBean where HostsBean.id=DSLStatsBean.hostid AND    HostsBean.serialno='%serial%' order by time DESC limit 1:Status"
            indicator="true" />

 

I want to get value of the request in my class java MyMeasurementPlugin and according to the value returned I want to set a new MetricValue.

 

I have done the next steps but I did not get it and it shows a  NullPointerException.

 

public class MyMeasurementPlugin extends MeasurementPlugin

 

{
    public MetricValue getValue(Metric metric) throws PluginException,
            MetricNotFoundException, MetricUnreachableException {
        if (metric.getAttributeName().equals("Availability"))
        {
            System.out.println("Availabilty");
            if (metric.equals("Up"))
            {
                return new MetricValue(Metric.AVAIL_UP);
            }
            else if (metric.equals("Down"))
            {
                return new MetricValue(Metric.AVAIL_DOWN);
            }
        }
           throw new MetricNotFoundException("");
       
    }
}

 

Best Rgards

Users logged in for days, despite Session timeout.

$
0
0

Good morning all,

 

I have a pool of linked clones that is for student use in residence halls.  These units are available 24x7 for student use, but i am noticing some weird activity.  I have the systems set-up in global settings to timeout after 720 minutes(12 hours).  I know this is working because I have a persistent desktop that I login to every morning, use for the day, then lock at night.  When I come in the next morning, I am presented with the Zero Client login screen and a message saying that my session was disconnected.

 

In the labs with users on Zero Clients and using linked clones, I am noticing that some users have a duration of many many days, one was even 20 days.  If a user was up for 20 days straight, I commend him and think he should buy stock in red bull and 5 hour energy, but I am doubting that is the case.  I have the pool itself set to loggoff after disconnect after 10 minutes.  On logoff I also have it set to refresh immediately.

 

So my question is how is it possible for a user to be logged into one of these machines for 20 days?  Shouldn't the 12 hour timeout have caught the user if they left the machine logged in?  After the timeout, shouldn't the VM have been refreshed and the users session logged off?

 

These VM's are all running windows 7 and I am using View 5.1.1.  Any thoughts or suggestions on setting changed would be appreciated.

 

Joe

Viewing all 61567 articles
Browse latest View live




Latest Images