Quantcast
Channel: VMware Communities: Message List
Viewing all 219998 articles
Browse latest View live

get Viserver from VM $_.

$
0
0

Hi,

is it possible to get the information of a VM on which VCenter the VM´s belongs?

I´m asking, because we have more vcenters....

 

connection to more vcenters example

$vmlist =  get-vm  | sort name

 

 

$myCol = @()

 

 

foreach ($vm1 in $vmlist)

 

 

{

 

   $vminfo =  $vm1 | Select name, Powerstate, NumCPU, MemoryGB,

 

 

    @{N="OS";E={$_.extensiondata.config.GuestFullName}},

 

 

    @{N="Cluster";E={$_.vmhost.parent}},

 

 

    @{N='vCenter';E={$_.get-viserverorsomethinglikethisName}}    # how can i get the vcenter back from the vm object?

 

 

    $myCol += $VMInfo

 

}

$mycol


Re: get Viserver from VM $_.

$
0
0

Try like this

 

@{N='vCenter';E={([uri]$_.ExtensionData.Client.ServiceUrl).Host }},

Fusion Pro 10: Disconnects Host Internet and Can't see display of VM

$
0
0

I've been having problems with VM Fusion Pro 10 on my MacBook. The two problems I'm having are:

 

1) When I launch VMWare (just the application not even a VM) it cuts out the Internet connection on the host machine (my MacBook), I can't connect to the internet either through my terminal or a browser.

2) When I launch a VM, it simply shows a black screen but in the library windows it shows the screen demonstrating that the VMs are working.

 

Device Info:

 

MacBook Air (13-inch, Early 2015), Processor: 1.6 GHz Dual-Core Intel Core i5 running 10.15 (macOS Catalina)

VMware Fusion Professional Version 10.1.6 (12989998)

 

Steps I have taken:

 

-Full reinstall of VMware Fusion (deleted the app and all associated application data) and did a full reinstall

 

Any help would be greatly appreciated, thanks in advance.

Re: get Viserver from VM $_.

Re: Problem with VMware ahci driver - ESXi 6.7

$
0
0

1TB Samsung Evo 860 SSD

 

Can you tell me before you disable vmw_ahci module, did the ESXi host detect the disk as a SSD datastore or not ?

 

Everytime I used Evo & Pro series, by default ESXi host (many version of vSphere that I exprienced) detects them as the Non_SSD Disk ...

can not use revise method. (NSX-T JAVA SDK)

$
0
0

Hi. I am developing a tool to control gateway rule using java sdk.

 

I use revise method because I would like to re-order gateway rule, but It doesn't work.

 

my code is below.

 

ApiClient apiClient = getApiClient(firewallInfo);

Rules ruleService = apiClient.createStub(Rules.class);

String ruleId = fwRuleInfo.getAssignedRuleId();

String location = fwRuleInfo.getOrderLocation();

Rule rule = ruleService.get(DEFAULT_DOMAIN_ID, DEFAULT_POLICY_ID, ruleId);      

// bottom

ruleService.revise(DEFAULT_DOMAIN_ID, DEFAULT_POLICY_ID, ruleId, rule, null, RulesTypes.REVISE_OPERATION_BOTTOM);

 

// after

ruleService.revise(DEFAULT_DOMAIN_ID, DEFAULT_POLICY_ID, ruleId, rule, location, RulesTypes.REVISE_OPERATION_AFTER);

 

// before

ruleService.revise(DEFAULT_DOMAIN_ID, DEFAULT_POLICY_ID, ruleId, rule, location, RulesTypes.REVISE_OPERATION_BEFORE);

 

 

ErrorMessage is below.

 

com.vmware.vapi.std.errors.InvalidRequest: InvalidRequest (com.vmware.vapi.std.errors.invalid_request) => {

    messages = [],

    data = struct => {error_message=Method is not allowed, error_code=282, module_name=common-services},

    errorType = INVALID_REQUEST

}

at com.vmware.vapi.std.errors.InvalidRequest._newInstance2(InvalidRequest.java:194)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.vmware.vapi.internal.bindings.convert.impl.JavaClassStructConverter.createStructBinding(JavaClassStructConverter.java:220)

at com.vmware.vapi.internal.bindings.convert.impl.JavaClassStructConverter.fromValue(JavaClassStructConverter.java:78)

at com.vmware.vapi.internal.bindings.convert.impl.JavaClassStructConverter.fromValue(JavaClassStructConverter.java:32)

at com.vmware.vapi.internal.bindings.TypeConverterImpl$ValueToJavaVisitor.visit(TypeConverterImpl.java:346)

at com.vmware.vapi.bindings.type.ErrorType.accept(ErrorType.java:31)

at com.vmware.vapi.internal.bindings.TypeConverterImpl.convertToJava(TypeConverterImpl.java:688)

at com.vmware.vapi.internal.bindings.Stub.convert(Stub.java:417)

at com.vmware.vapi.internal.bindings.Stub.convertError(Stub.java:434)

at com.vmware.vapi.internal.bindings.Stub.access$300(Stub.java:57)

at com.vmware.vapi.internal.bindings.Stub$2.setResult(Stub.java:239)

at com.vmware.vapi.internal.bindings.Stub$2.setResult(Stub.java:230)

at com.vmware.vapi.internal.protocol.client.rest.DefaultRequestExecutorFactory$DefaultHttpResponseHandler.onResult(DefaultRequestExecutorFactory.java:86)

at com.vmware.vapi.vmc.client.authz.AuthzRefreshingRequestExecutorFactory$AuthzRefreshingRequestExecutor$AuthzRefreshingHttpResponseHandler.onResult(AuthzRefreshingRequestExecutorFactory.java:160)

at com.vmware.vapi.internal.protocol.client.rpc.http.ApacheClientRestTransport.execute(ApacheClientRestTransport.java:79)

at com.vmware.vapi.vmc.client.authz.AuthzRefreshingRequestExecutorFactory$AuthzRefreshingRequestExecutor.authorizeAndExecute(AuthzRefreshingRequestExecutorFactory.java:112)

at com.vmware.vapi.vmc.client.authz.AuthzRefreshingRequestExecutorFactory$AuthzRefreshingRequestExecutor.access$100(AuthzRefreshingRequestExecutorFactory.java:58)

at com.vmware.vapi.vmc.client.authz.AuthzRefreshingRequestExecutorFactory$AuthzRefreshingRequestExecutor$1.onComplete(AuthzRefreshingRequestExecutorFactory.java:98)

at com.vmware.vapi.vmc.client.authz.AuthzRefreshingRequestExecutorFactory$AuthzRefreshingRequestExecutor.refreshContext(AuthzRefreshingRequestExecutorFactory.java:188)

at com.vmware.vapi.vmc.client.authz.AuthzRefreshingRequestExecutorFactory$AuthzRefreshingRequestExecutor.refreshContextIfNeeded(AuthzRefreshingRequestExecutorFactory.java:171)

at com.vmware.vapi.vmc.client.authz.AuthzRefreshingRequestExecutorFactory$AuthzRefreshingRequestExecutor.execute(AuthzRefreshingRequestExecutorFactory.java:105)

at com.vmware.vapi.internal.protocol.client.rest.RestClientApiProvider.invoke(RestClientApiProvider.java:70)

at com.vmware.vapi.internal.bindings.Stub.invoke(Stub.java:225)

at com.vmware.vapi.internal.bindings.Stub.invoke(Stub.java:206)

at com.vmware.vapi.internal.bindings.Stub.invokeMethodAsync(Stub.java:170)

at com.vmware.vapi.internal.bindings.Stub.invokeMethod(Stub.java:138)

at com.vmware.nsx_policy.infra.domains.gateway_policies.RulesStub.revise(RulesStub.java:226)

at com.vmware.nsx_policy.infra.domains.gateway_policies.RulesStub.revise(RulesStub.java:213)

Re: Adding static route for second management interface

$
0
0

Can you check it please, with the old CLI esxcfg-route and give me the result?

esxcfg-route -d target_network_IP netmask default_gateway

vmware virtual machine exclusion from time machine on an iMac

$
0
0

As recommended I want to exclude my virtual machines from macOS Time machine backups.

 

Previously this seems to have worked but I have noticed that because I had renamed the virtual machine file names  Time Machine was backing them up and eating all of my system resources.

 

I have now put the new fiel names into the time machine using the standard GUI procedure but for some reason the names get changed automatically and there is nothing it would seem I can do to avoid this.

 

So the Virtual machine

     /Documents/Virtual Machines/Win 10 develop.vmwarevm

gets changed to:

     /Documents/Virtual Machines.localized/Win 10 develop.vmwarevm

 

This happens to all three  of my virtual machines.

 

When I look in time machine to check I can see the backups using the original names and even though OSX offers me the option to delete these backups nothing changes. They are always there.

 

Could somebody explain to me what is happening?

 

I fear it might be because I changed the file names to make the files more obvious to me which file is which version of windows.

 

TIA

-Paul-


Re: Переустановил ESXI поверх хранилища. Возможно ли восстановление ВМ?

$
0
0

Метаинформацию VMFS разбомбило свежей установкой. Таблицы размещения файлов больше нет.

Если диски у виртуалок были тонкие - то им полная хана.

Толстые же виртуальные диски лежат по физике подряд, цельным линейным куском - их начало можно поймать по сигнатурам партишен-тейбла и сигнатурам начала логических томов внутри виртуалок.

Их можно поймать сканированием, а потом выдернуть содержание линейным дампом фрагмента.

 

Короче, прогноз - не очень.

Re: Network Settings options greyed out in Fusion Pro 7.1.0

$
0
0

Sofware version: VMware Fusion Professional 11.5.0 (14634996)

 

I had the problem when reinstalling from fresh my Mac Pro with MacOS Mojave and restoring my profile.

Historically I have a vmnet4 host-only network for all my machines.

I noticed that the problem of Network Settings options greyed out is due to all the specific interfaces we create in addition to the default interfaces.

 

Here is the solution I did. I:

 

1) Manually deinstalled VMware Fusion VMware KB: Manually uninstalling VMware Fusion

2) Reinstalled VMware Fusion

3) Stopped VMware immediately

4) Killed all the different "vmnet" processes (like vmnet-bridge, vmnet-dhcpd, vmnet-natd, vmnet-netifup)

3) For an unknown reason (normally I erased all before reinstalling!!) my vmnet4 interface was declared with its directory and in the networking file presents in /Library/Preferences/VMware\ Fusion

4) Removed the vmnet4 directory

5) Edited networking and removed all the lines containing "answer VNET_4"

6) Restarted VMware Fusion

7) Recreated my vmnet4 interface (Possible! Network Settings is now not greyed!!)

 

Hope it can help!

Re: 15.5 Update Will Not Install

$
0
0

Hi,

 

I got the same issue during the installation of version 15.5. On the previous versions this was not a issue. Hopefully VMware fixes this in an upcoming release.

 

The issue is that every time I started the WS installer, it mentiones that due to a VC C++ redist update I needed to restart. After rebooting and trying again, every time the same error. The error during the WS install mentions VMware KB article KB55798.

 

I solved it by:

  • Installing the VC C++ 2015-2019 update, which can be found here.
  • Reboot
  • Start the WS 15.5 installer.

 

Happy upgrading!

 

Cheers, Daniel

Re: Please fix the installer!

$
0
0

Hey,

 

thanks for the investigation and the reply.

 

I'm using "Vipre Internet Security" since all those years too. It could be possible that it causes the issues with the Installer.

I will try and disable it next time before I update VMware and see if it solves the issues.

 

Thanks!

Re: Mac Catalina and Fusion Has Black Screen

$
0
0

VMware Fusion (10.1.6) never asks for Screen Recording permissions. There is no "+" button to add anything myself either. This is so frustrating.

 

Re: VSAN Product Specification

Re: Does VMWare converter support Windows Server 2019 as source officially?

$
0
0

No, it's not officially supported as of yet.


Re: vmware virtual machine exclusion from time machine on an iMac

$
0
0

Honestly, the best approach is to keep your VMs in a single directory and just exclude that entire directory from Time Machine. This is what I've been doing for years without issue.

Re: can not use revise method. (NSX-T JAVA SDK)

Re: vRA 7.3 - Change VirtualMachine.Disk0.StorageReservationPolicy with vRO

$
0
0
...or using PRE Approval stage to change custom properties related to resource allocation...

Solved: Failed to power on any virtual machine - Workstation 15.5 (Windows 10)

$
0
0

Hello

 

I just want to post this because I had this problem before, but I finally found the solution. If you still have this problem and haven't found a fix for it this might help you.

 

1. Make sure your firewall or anti-virus is off

2. Uninstall your anti-virus if the first doesn't help

3. Reinstall Windows if nothing else helps

 

For me VMware workstation was getting blocked by my Anti-virus software called "Avira".

 

More specifically this feature in Avira:

 

Hope this helps for any of you that still have this problem.

Re: Cloning a template from one vCenter to another in ELM

$
0
0

Expected result:

Clone task is created using template from vCenter1 for VM being created in vCenter 2

 

Actual result:

Clone task is created using a running VM as clone source in vCenter 2 for VM being created in vCenter 2

Viewing all 219998 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>