Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 176760 articles
Browse latest View live

how to increase SDDC limit for org to 6 SDDCs and 80 hosts

$
0
0

how to increase SDDC limit for org to 6 SDDCs and 80 hosts in AWS


ESXi 6.7 System Swap "Host Cache" vs "Local swap" vs "Datastore".

$
0
0

Hi, I can't seem to find an article which explain the difference between them, when to use them, impact... or one of them is already deprecated.

The setting appear in the webclient, Host | Manage | System | Swap | Enabled, Datastore, Host Cache & Local Swap. Current at default setting, Yes, No, Yes, Yes)

Got a ESXi 6.7 lab PC (128GB RAM, 2x Nvme, 2 x Sata SSD & 1 x HDD) which I run nested ESXi hosts (like VSAN lab). just curious what those settings are, though I think with the configuration of mainly flash setup, the setting make no difference. The hard disk is hardly used.. just to backup iso files.

Thanks.

[iOS] IPad & Merge with VMware vSphere Client for iPad

$
0
0

Hello Everybody,

 

I was waiting for a long time to see a mobile solution for vSphere Client.

This new App is perfect but it could be even better with a few ideas :

- A real iPad version

- A view per host Host as in vSphere Client for iPad

- Performance information per host (CPU / Memory / HD)

 

In one word, will it be merged with vSphere Client for iPad ?

vmk(n) -- portgroup (OpaqueNetwork NDVS)

$
0
0

Hi Expert

i would like to get the source code of this view (in attached )  ,i accpet (powershell, powercli, RestAPI,esxCLI, ...)

at least i need to get a table with first colomn vmk(number) and in the second colomn the port group name ( but i am using OpaqueNetwork NDVS managed by NSX-T)

i tryed a lot of things but no way

 

please Help

Automate Datastore creation with grep, awk, or sed

$
0
0

I am updating my post kickstart to layout my ESX datastore.  This is for my lab environment where I wipe and drop often. I got all of my drives type and label in a simple array

 

PHYSICAL_DRIVES="SATA_SSD-SSD_VM Samsung-SSD_VSAN HITACHI-SSD_HDD"

 

What is the proper syntax or tool (grep, sed, or awk) to read in for example "SATA_SSD-SSD_VM" as $input and break it up into two variable where the market is "-"

So $type = would be "SATA" or all character from the start of $input up to the character "-"

 

and $label = would be "SSD_VM" or all the character after "-" to the end of the $input string

 

And feedback would be appreciated.  Thank you in advance

ESXI 7.0u1 no disk present to install

$
0
0

Hi, please help me!

 

ESXI 7.0u1 no disk present to install flex system x240 (ibm blade system mt8721hc1)

Fusion and Citrix performance terrible (as in not even able to reboot VM)

$
0
0

Fusion Version 11.1.0 (13668589)

MBP2018 15 inch (discrete Gfx)

macOS Mojave 10.14.6

 

VM: is Win10 64bit Pro

6 cores, 6GB

Using remote desktop via Citrix, to a company Win10 machine

 

If Settings -> Accelerate 3D graphics is selected in VMWare Fusion then the remote desktop session in VMWare Fusion is UNUSABLE

It beachballs so hard that I cannot even send reboot or shutdown, I have to go back to Activity Monitor and kill vmware process

 

If Settings -> Accelerate 3D graphics is disabled then the remote desktop can be used, but still uses ENORMOUS amounts of CPU resources.

 

Any plans to fix this? I need the 3D Graphics acceleration for other (non-RDP) applications, so right now VMware Fusion is useless for me.

ovftool v4.4 failing on extra config even when passing --allowExtraConfig

$
0
0

After upgrading to ovftool v4.4, ovftool started breaking on a specific ExtraConfig parameter. It seems to be working correctly with all other ExtraConfigs, but adding a specific entry is causing it to break.

 

With a standard set of ExtraConfig parameters specified in envoy-proxy-bae.ovf. Conversion to OVA goes through perfectly.

 

<vmw:ExtraConfig ovf:required="true" vmw:key="guest.command.enabled" vmw:value="false"/>

 

```

ubuntu@cdm-node:~$ ovftool --allowAllExtraConfig envoy-proxy-base.ovf test.ova

Opening OVF source: envoy-proxy-base.ovf

The manifest validates

Opening OVA target: test.ova

Writing OVA package: test.ova

Transfer Completed

Warning:

- Wrong file size specified in OVF descriptor for 'envoy-proxy-base-1.vmdk' (specified: -1, actual 910012416).

Completed successfully

```

 

 

However, when we add the following entry to the list of ExtraConfigs, ovftool fails.

 

<vmw:ExtraConfig ovf:required="true" vmw:key="sched.mem.pin" vmw:value="true"/>

 

```

ubuntu@cdm-node:~$ ovftool --allowExtraConfig envoy-proxy-base.ovf test.ova

Opening OVF source: envoy-proxy-base.ovf

The manifest validates

Error: OVF Package is not supported by target:

- Line -1: Unsupported value 'sched.mem.pin' for attribute 'key' on element 'ExtraConfig'.

Completed with errors

```

 

Why is this specific ExtraConfig breaking ovftool? Is there something different about the naming that is causing the issue? Why do we only see this issue when this specific ExtraConfig is added to the ovf?


How to downgrade license from 7.0 to 6.5?

$
0
0

Hi,

I was having issues with 6.5 and rather than reinstalling, I stupidly upgraded to 7.0, which doesn't see much of the server's hardware, including the drive it's installed on as a datastore, even though under 6.5 it did.  My fault, I know.  I have now downloaded 6.5 and reinstalled it over 7.0 and it sees the hardware and datastore... but for some reason, I can't even see the 7.0 license, which I'm sure doesn't work for 6.5 anyway,.. but if doing the upgrade changed the license key to 7... how do I downgrade it to 6.5?  And if I don't need to downgrade it, but use my previous 6.5 license... how do I even get that back since when I click on anything that should point to my licenses the site just gives me an error and says that page isn't available.

Thoughts?

Thanks!

-Mark

Herramientas de seguridad que deben acompañar a un centro de datos principal y alterno

$
0
0

Estoy pensando en adquirir un nuevo Data Center, y necesito sabes las Herramientas de seguridad que deben acompañar a un centro de datos principal y alterno, teniendo en cuenta lo siguiente:

  • Licenciamiento.
  • Requisitos mínimos para instalación y funcionamiento.
  • Breve descripción de funcionalidades
  • Alcances y limitaciones según infraestructura conveniente

VCSA 6.5 with HA & 2 PSCs - VUM Service Can't Start

$
0
0

Hello All,

 

I am having an issue to start a VUM service based on VCSA 6.5 with HA & 2 PSCs.

 

Below are some info regarding the issue:

 

 

This is while I am trying to start the service.

 

[ ~ ]# service-control --start vmware-updatemgr

Perform start operation. vmon_profile=None, svc_names=['vmware-updatemgr'], include_coreossvcs=False, include_leafossvcs=False

2020-10-20T08:45:33.389Z   Service updatemgr state STOPPED

Error executing start on service updatemgr. Details {

    "resolution": null,

    "detail": [

        {

            "args": [

                "updatemgr"

            ],

            "id": "install.ciscommon.service.failstart",

            "localized": "An error occurred while starting service 'updatemgr'",                                                                                                                                                        

            "translatable": "An error occurred while starting service '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

Service-control failed. Error {

    "resolution": null,

    "detail": [

        {

            "args": [

                "updatemgr"

            ],

            "id": "install.ciscommon.service.failstart",

            "localized": "An error occurred while starting service 'updatemgr'",                                                                                                                                                        

            "translatable": "An error occurred while starting service '%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

 

 

 

updatemgr-utility.log

 

[2020-10-20 11:44:57,995 ERROR] Unable to update CM service info

[2020-10-20 11:45:33,714 INFO] Install Key store for Jetty

[2020-10-20 11:45:35,427 INFO] Keystore installed successfully.

[2020-10-20 11:45:35,767 INFO] Updating VUM extension with VC

[2020-10-20 11:45:36,175 INFO] Updating CM service info

[2020-10-20 11:45:36,310 ERROR] CM ReRegisterService failure. Exception is (cis.cm.fault.ComponentManagerFault) {

   dynamicType = <unset>,

   dynamicProperty = (vmodl.DynamicProperty) [],

   msg = '',

   faultCause = <unset>,

   faultMessage = (vmodl.LocalizableMessage) [],

   errorCode = 0,

   errorMessage = 'UNKNOWN'

}

[2020-10-20 11:45:36,310 ERROR] Unable to update CM service info

 

 

 

cm.log (I have changed some specific information for security reasons)

 

2020-10-20T11:44:57.989+03:00 [pool-2-thread-1 [] ERROR com.vmware.cis.services.cm.service.ServiceManagerImplTemplate (cf3b9c43-81d5-4d1a-aad6-1bf3dd4b8971)] reRegisterService v1: Failed to re-register 70604e8d-0505-4ee9-ab0c-ad765d4cd1b7 (vpxd-extension-678b208e-5d5e-4c43-b100-bb0f3a079af6@domain.local, com.vmware.vcIntegrity/vcIntegrity 6.5.0)

com.vmware.vim.binding.vmodl.fault.InvalidArgument: null

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_162]

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_162]

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_162]

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_162]

        at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_162]

        at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:174) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:25) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:30) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:150) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:101) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:88) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:83) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:40) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.processNextElement(ResponseUnmarshaller.java:127) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:70) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:274) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:230) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.parseResponse(HttpExchangeBase.java:150) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:48) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingBase.executeRunnable(HttpProtocolBindingBase.java:226) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:110) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:613) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:594) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:345) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:305) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:179) ~[vlsi-client.jar:?]

        at com.sun.proxy.$Proxy100.set(Unknown Source) ~[?:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore$LsVmomiWrapper$3.execute(LsVmomiSiteStore.java:229) ~[service-cm.jar:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore$LsVmomiWrapper$3.execute(LsVmomiSiteStore.java:226) ~[service-cm.jar:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore$LsVmomiWrapper.callLs(LsVmomiSiteStore.java:302) ~[service-cm.jar:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore$LsVmomiWrapper.set(LsVmomiSiteStore.java:224) ~[service-cm.jar:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore.updateService(LsVmomiSiteStore.java:622) ~[service-cm.jar:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_162]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_162]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at com.vmware.cis.services.common.perfmon.PerfmonInterceptor.invoke(PerfmonInterceptor.java:31) ~[service-common.jar:?]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at com.sun.proxy.$Proxy67.updateService(Unknown Source) ~[?:?]

        at com.vmware.cis.services.cm.service.ServiceManagerImplTemplate.reRegisterService(ServiceManagerImplTemplate.java:306) [service-cm.jar:?]

        at com.vmware.cis.services.cm.service.ServiceManagerImpl.reRegisterService(ServiceManagerImpl.java:291) [service-cm.jar:?]

        at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source) ~[?:?]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at com.vmware.cis.services.common.perfmon.PerfmonInterceptor.invoke(PerfmonInterceptor.java:31) [service-common.jar:?]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at com.sun.proxy.$Proxy68.reRegisterService(Unknown Source) [?:?]

        at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source) ~[?:?]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162]

        at com.vmware.vim.vmomi.server.impl.InvocationTask.run(InvocationTask.java:65) [vlsi-server.jar:?]

        at com.vmware.vim.vmomi.server.common.impl.RunnableWrapper$1.run(RunnableWrapper.java:47) [vlsi-server.jar:?]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_162]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_162]

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]

2020-10-20T11:45:25.430+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:45:25.505+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:45:25.531+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:45:35.471+03:00 [pool-15-thread-1 [] INFO  com.vmware.cis.services.cm.service.ServiceManagerImplTemplate ()] search v1: Unauthorized, modifying search to only return SSO.

2020-10-20T11:45:35.472+03:00 [pool-15-thread-1 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:45:35.588+03:00 [pool-2-thread-1 [] INFO  com.vmware.identity.token.impl.SamlTokenImpl (54d7ec2e-40eb-41cf-959f-7fd13f89ecf0)] SAML token for SubjectNameId [value=vpxd-extension-678b208e-5d5e-4c43-b100-bb0f3a079af6@domain.local, format=http://schemas.xmlsoap.org/claims/UPN] successfully parsed from Element

2020-10-20T11:45:35.590+03:00 [pool-2-thread-1 [] INFO  com.vmware.cis.services.common.sso.LoginHelper (54d7ec2e-40eb-41cf-959f-7fd13f89ecf0)] loginByToken: Successfully authenticated 'vpxd-extension-678b208e-5d5e-4c43-b100-bb0f3a079af6@domain.local' on session 01fcfd00-95fa-4a5f-a67e-a98dc60b9560

2020-10-20T11:45:35.594+03:00 [pool-15-thread-2 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:45:36.184+03:00 [pool-2-thread-1 [] INFO  com.vmware.identity.token.impl.SamlTokenImpl (6a4f8100-0b95-4429-8d8b-969c0726fdec)] SAML token for SubjectNameId [value=vpxd-extension-678b208e-5d5e-4c43-b100-bb0f3a079af6@domain.local, format=http://schemas.xmlsoap.org/claims/UPN] successfully parsed from Element

2020-10-20T11:45:36.185+03:00 [pool-2-thread-1 [] INFO  com.vmware.cis.services.common.sso.LoginHelper (6a4f8100-0b95-4429-8d8b-969c0726fdec)] loginByToken: Successfully authenticated 'vpxd-extension-678b208e-5d5e-4c43-b100-bb0f3a079af6@domain.local' on session a18aa98c-07b9-4cdf-920c-4b3b9f3f2949

2020-10-20T11:45:36.189+03:00 [pool-15-thread-3 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:45:36.229+03:00 [pool-2-thread-1 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider (da3d8caa-7207-4af8-8782-934dca2833f0)] Site affinity is disabled

2020-10-20T11:45:36.256+03:00 [pool-2-thread-1 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider (da3d8caa-7207-4af8-8782-934dca2833f0)] Site affinity is disabled

2020-10-20T11:45:36.270+03:00 [pool-2-thread-1 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider (da3d8caa-7207-4af8-8782-934dca2833f0)] Site affinity is disabled

2020-10-20T11:45:36.305+03:00 [pool-2-thread-1 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider (da3d8caa-7207-4af8-8782-934dca2833f0)] Site affinity is disabled

2020-10-20T11:45:36.305+03:00 [pool-2-thread-1 [] WARN  com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore (da3d8caa-7207-4af8-8782-934dca2833f0)] Call to lookup service failed; uri::https://PSC01.domain.com/lookupservice/sdk [(vmodl.fault.InvalidArgument) {

   faultCause = null,

   faultMessage = null,

   invalidProperty = Invalid certificate

}]

2020-10-20T11:45:36.305+03:00 [pool-2-thread-1 [] ERROR com.vmware.cis.services.cm.service.ServiceManagerImplTemplate (da3d8caa-7207-4af8-8782-934dca2833f0)] reRegisterService v1: Failed to re-register 70604e8d-0505-4ee9-ab0c-ad765d4cd1b7 (vpxd-extension-678b208e-5d5e-4c43-b100-bb0f3a079af6@domain.local, com.vmware.vcIntegrity/vcIntegrity 6.5.0)

com.vmware.vim.binding.vmodl.fault.InvalidArgument: null

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_162]

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_162]

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_162]

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_162]

        at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_162]

        at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:174) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:25) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:30) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:150) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:101) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:88) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:83) ~[vlsi-core.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:40) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.processNextElement(ResponseUnmarshaller.java:127) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:70) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:274) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:230) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.parseResponse(HttpExchangeBase.java:150) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:48) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingBase.executeRunnable(HttpProtocolBindingBase.java:226) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:110) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:613) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:594) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:345) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:305) ~[vlsi-client.jar:?]

        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:179) ~[vlsi-client.jar:?]

        at com.sun.proxy.$Proxy100.set(Unknown Source) ~[?:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore$LsVmomiWrapper$3.execute(LsVmomiSiteStore.java:229) ~[service-cm.jar:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore$LsVmomiWrapper$3.execute(LsVmomiSiteStore.java:226) ~[service-cm.jar:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore$LsVmomiWrapper.callLs(LsVmomiSiteStore.java:302) ~[service-cm.jar:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore$LsVmomiWrapper.set(LsVmomiSiteStore.java:224) ~[service-cm.jar:?]

        at com.vmware.cis.services.cm.service.impl.LsVmomiSiteStore.updateService(LsVmomiSiteStore.java:622) ~[service-cm.jar:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_162]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_162]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at com.vmware.cis.services.common.perfmon.PerfmonInterceptor.invoke(PerfmonInterceptor.java:31) ~[service-common.jar:?]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at com.sun.proxy.$Proxy67.updateService(Unknown Source) ~[?:?]

        at com.vmware.cis.services.cm.service.ServiceManagerImplTemplate.reRegisterService(ServiceManagerImplTemplate.java:306) [service-cm.jar:?]

        at com.vmware.cis.services.cm.service.ServiceManagerImpl.reRegisterService(ServiceManagerImpl.java:291) [service-cm.jar:?]

        at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source) ~[?:?]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162]

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at com.vmware.cis.services.common.perfmon.PerfmonInterceptor.invoke(PerfmonInterceptor.java:31) [service-common.jar:?]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) [spring-aop-4.3.9.RELEASE.jar:4.3.9.RELEASE]

        at com.sun.proxy.$Proxy68.reRegisterService(Unknown Source) [?:?]

        at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source) ~[?:?]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_162]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_162]

        at com.vmware.vim.vmomi.server.impl.InvocationTask.run(InvocationTask.java:65) [vlsi-server.jar:?]

        at com.vmware.vim.vmomi.server.common.impl.RunnableWrapper$1.run(RunnableWrapper.java:47) [vlsi-server.jar:?]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_162]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_162]

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]

2020-10-20T11:48:27.891+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:27.968+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:27.994+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:28.239+03:00 [pool-15-thread-1 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:28.273+03:00 [pool-15-thread-2 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.191+03:00 [pool-2-thread-1 [] INFO  com.vmware.cis.services.common.sso.LoginHelper (af898b09-76d9-4ab5-94b5-18d287f29cd0)] loginByToken: User 'vsphere-webclient-678b208e-5d5e-4c43-b100-bb0f3a079af6@domain.local' is already authenticated

2020-10-20T11:48:35.193+03:00 [pool-15-thread-3 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.204+03:00 [pool-15-thread-3 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.230+03:00 [pool-15-thread-3 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.493+03:00 [pool-2-thread-1 [] INFO  com.vmware.cis.services.common.sso.LoginHelper (0feecd59-fdc2-4631-9849-e6349adf3e0a)] loginByToken: User 'vsphere-webclient-678b208e-5d5e-4c43-b100-bb0f3a079af6@domain.local' is already authenticated

2020-10-20T11:48:35.521+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.639+03:00 [pool-15-thread-1 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.783+03:00 [pool-15-thread-2 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.828+03:00 [pool-15-thread-3 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.853+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.882+03:00 [pool-15-thread-1 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.922+03:00 [pool-15-thread-2 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:48:35.955+03:00 [pool-15-thread-3 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

2020-10-20T11:49:47.847+03:00 [pool-15-thread-4 [] INFO  com.vmware.vim.lookup.client.SiteAffinityServerEndpointProvider ()] Site affinity is disabled

 

 

After I checked these details and did a quick search, I found these articles below:

 

https://kb.vmware.com/s/article/76298

https://communities.vmware.com/thread/598354

 

There is some mention regarding:

 

The SSL certificate of STS service cannot be verified

 

But I couldn't find it in my log.

 

 

This is the output from the suggest command: Openssl s_client -connect <PSC/VCSA-FQDN/IP>:7444 | less

 

Openssl s_client -connect psc01.domain.com:7444

CONNECTED(00000194)

depth=0 CN = psc01.domain.com, C = XX, ST = XX, L = Palo Alto, O = XX, OU = VMware Engineering

verify error:num=20:unable to get local issuer certificate

verify return:1

depth=0 CN = psc01.domain.com, C = XX, ST = XX, L = Palo Alto, O = XX, OU = VMware Engineering

verify error:num=21:unable to verify the first certificate

verify return:1

---

Certificate chain

0 s:CN = psc01.domain.com, C = XX, ST = XX, L = Palo Alto, O = XX, OU = VMware Engineering

   i:CN = psc01.domain.com, DC = XX, DC = local, C = XX, ST = XX, O = psc01.domain.com, OU = VMware Engineering

---

Server certificate

-----BEGIN CERTIFICATE-----

XXXXXXXXXXXXXXXXXXXXXXXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXXXXXX

-----END CERTIFICATE-----

subject=CN = psc01.domain.com, C = XX, ST = XX, L = Palo Alto, O = XX, OU = VMware Engineering

 

 

issuer=CN = psc01.domain.com, DC = XX, DC = local, C = XX, ST = XX, O = psc01.domain.com, OU = VMware Engineering

 

 

---

No client certificate CA names sent

Peer signing digest: SHA256

Peer signature type: RSA

Server Temp Key: ECDH, P-256, 256 bits

---

SSL handshake has read 1592 bytes and written 451 bytes

Verification error: unable to verify the first certificate

---

New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384

Server public key is 2048 bit

Secure Renegotiation IS supported

Compression: NONE

Expansion: NONE

No ALPN negotiated

SSL-Session:

    Protocol  : TLSv1.2

    Cipher    : ECDHE-RSA-AES256-GCM-SHA384

    Session-ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Session-ID-ctx:

    Master-Key: XXXXXXXXXXXXXXXXXXXXXXXXXXXX

    PSK identity: None

    PSK identity hint: None

    SRP username: None

    Start Time: 1603185518

    Timeout   : 7200 (sec)

    Verify return code: 21 (unable to verify the first certificate)

    Extended master secret: yes

---

read:errno=0

 

 

 

I made bold some possible errors/issues. The problem looks quite similar with the one I am dealing with but still couldn't find any solution yet. Any help would be much appreciated.

Issue with In app Tunnel configuration

$
0
0

Hi all,

 

So I am testing out in app vpn on WS1. I created the UAG and is all setup as it should. Tunnel is installed on my android device and show green and "Connected"

 

Now my issue is here.. I have a policy which pushes the web app onto my device which has the vpn creds binded to it it so it connect directly to the UAG and eventually access the internal app required. This is not happening for some reason. When I looked at the tunnel logs I get the following:

 

Tunnel Session connected

Tunnel DNS servers: 127.0.0.53

Tunnel Session successfully established.

 

Now on my UAG i have my proper DNS settings configured so the question is: Is the 127.0.0.53 not allowing me to access my internal apps?

 

Also I went to the path where the 1270.0.53 is and I changed it but after a reboot it goes back to default. What am I doing wrong here?

 

Any help and guidance would be appreciated!         

Citrix Viewer incompatible with "Accelerate 3D Graphics" option

Shared VM gone in workstation 16!

$
0
0

After installing version 16, I realized that the Shared-VM feature was removed and there is no "hostd" service on Linux but in windows "hostd" exist but there is not any section for configuration in GUI or CLI!

this a bug or completely removed!?

Content Gateway - No files from DFS shares - Admin Repository

$
0
0

Share is \\company.corp\folder\destination\ all exists on DFS, used to work fine a couple of years back on the old windows version.

 

Deployed UAG 3.8 and when trying to access the repository from the Content app we just get "There are no files to view" we have tried different users and different shares and see the same result. When testing it in the admin console you get "Connection Succeeded". No errors in the logs that I can see either. I am a bit stuck now.

 

i am sure I have seen this before but cannot remember how we got past it.

 

Thoughts?


Copy-VMGuestFile gives errors with new VMware Tools

$
0
0

Hi,

Our VMops team who deploys new VMs has some scripting in place that after deployment of the VM, copies some files into the VM.

 

They now run in to an error when doing a CopyVMGuestFile to a Windows 2019 VM with VMware Tools 11.0.5. Strangely enough other combinations DO work:

- Win 2012 / Win 2016 with VMware Tools 11.0.5 = WORKS

- Win 2012 / Win 2016 with VMware Tools 10.5 = WORKS

 

- Win 2019 with VMware Tools 10.5 = WORKS

- Win 2019 with VMware Tools 11.0.5 = DOESN'T WORK

 

The command they run:

Get-Item $SupportingFilesPath\* | Copy-VMGuestFile -Destination "C:\Temp\" -vm $VM_Deploy.DEP_VmName -localtoguest -GuestUser $Cred_LocalAdmin.UserName -GuestPassword $Cred_LocalAdmin.Password

 

The error:

Warning after command:

WARNING: The guest OS for the virtual machine 'xxxx' is unknown. The operation may fail.

 

 

Powercli exception:

Copy-VMGuestFile : 23-1-2020 10:32:03   Copy-VMGuestFile                A specified parameter was not correct.

 

At line:1 char:35

+ ... lesPath\* | Copy-VMGuestFile -Destination "C:\Temp\" -vm $VM_Deploy.D ...

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Copy-VMGuestFile], InvalidArgument

    + FullyQualifiedErrorId : Client20_VmGuestServiceImpl_DirectoryExistsInGuest_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Copy

   VMGuestFile

 

 

Any ideas?

Gabrie

vps

$
0
0

Many hosting providers offer ‘Unlimited Bandwidth’, but it often ends with some certain terms and conditions as per company standard. Hosting Bandwidth means the amount of traffic can handle the website. So make sure that, go through the terms and conditions of the hosting provider.

I hope this information is beneficial to know what web hosting and how to find the best web hosting provider.

You also get better security when you get your own hosting plan. Cheap Shared Hosting, Dedicated Hosting, and cheap VPS Hosting Reviews and Coupon Codes - https://www.waikey.com/

Shared hosting is the most suitable option for beginners, small websites like personal blogs, simple websites as well as it is the most elementary form of web hosting available. VPS Hosting can be chosen when a client website starts growing (attracts bigger traffic). A virtual private-service mimics a dedicated server (your web host allocates a separate partition for you on the server) but within a shared hosting environment.

PowerCLi script to Upload files into datastores for multiple hosts in parallel

$
0
0

Hello Friends,

 

Recently i've got a scenario where i have to upload the files into multiple hosts in their local datastores around 2000+ boxes. I'm trying below scripts to upload the files to selected 50 hosts in parallel. but somehow script is not running as per our expectation. Any help would be highly appreciated here.

 

Script object: master script should initiate both file upload scripts in parallel for multiple hosts at a time.

 

Master script:

===========

$hosts= Get-Content "C:\HostList.txt"

 

 

foreach ($esx in $hosts) {

 

Write-Host "Running File upload1 script on host: $esx ..."  -ForegroundColor Yellow

#.\Test_FileUpload.ps1 -HostName $esx -User "XXXX"  -Pswd "XXXX"  

Write-Host "Running File upload2 script on host: $esx ..."  -ForegroundColor Yellow

#.\Test_FileUpload2.ps1 -HostName $esx -User "XXX"  -Pswd "XXXX"

}

 

script2:Test_FileUpload.ps1

===========

Param(

[string]$HostName,

[string]$User,

[string]$Pswd

)

 

$fileName = "C:\Users\New folder\DELL-T330\ESXi670-202008001.zip"

#$tgtFolder = 'ISO'

$StartTime = Get-Date

 

 

Write-Host "************************************************" -ForegroundColor Cyan

Write-Host "Please wait while connecting the host: $HostName " -ForegroundColor Yellow

Write-Host "************************************************" -ForegroundColor Cyan

 

 

Connect-VIServer -Server $HostName -user $User -Password $Pswd

Write-Host "connected to the server: $HostName" -ForegroundColor Green

 

 

$datastores = Get-VMHost $HostName | Get-Datastore | where{$_.name -like "datastore*"}

 

 

    foreach($ds in $datastores){

   

    New-PSDrive -Location $ds -Name DS -PSProvider VimDatastore -Root "\" > $null

    Write-Host "New ISO folder has been created under DS: $ds " -ForegroundColor Green

     New-Item -Path DS:\ISO -ItemType Directory

    

     $tgtFolder ='ISO'

     New-PSDrive -Location $ds -Name DS1 -PSProvider VimDatastore -Root "\" > $null

  

    if(!(Test-Path -Path "DS1:/$($tgtFolder)")){

        New-Item -ItemType Directory -Path "DS1:/$($tgtFolder)" > $null

    }

    Write-Host "DS copy is in-progres.. Pls wait" -ForegroundColor Yellow

    Copy-DatastoreItem -Item $fileName -Destination "DS1:/$($tgtFolder)"

   

    Remove-PSDrive -Name DS -Confirm:$false

    Remove-PSDrive -Name DS1 -Confirm:$false

}

 

Write-Host " DS copy task has completed for host: $fileName" -ForegroundColor Green

 

$EndTime = Get-Date

$TotalTime = New-TimeSpan –Start $StartTime –End $EndTime #| select -expandproperty Seconds

Write-Host "************************************************" -ForegroundColor Cyan

Write-Host "Total time taken to complete the ISO copy: $TotalTime " -ForegroundColor Green

Write-Host "************************************************" -ForegroundColor Cyan

 

 

script3:Test_FileUpload2

==========

Param(

[string]$HostName,

[string]$User,

[string]$Pswd

)

 

$fileName = "C:\Users\New folder\DELL-T330\VMware-VMvisor-Installer-6.7.0.update03-16316930.x86_64-DellEMC_Customized-A06.zip"

#$tgtFolder = 'ISO'

$StartTime = Get-Date

 

 

Write-Host "************************************************" -ForegroundColor Cyan

Write-Host "Please wait while connecting the host: $HostName " -ForegroundColor Yellow

Write-Host "************************************************" -ForegroundColor Cyan

 

 

Connect-VIServer -Server $HostName -user $User -Password $Pswd

Write-Host "connected to the server: $HostName" -ForegroundColor Green

 

 

$datastores = Get-VMHost $HostName | Get-Datastore | where{$_.name -like "datastore*"}

 

 

    foreach($ds in $datastores){

   

    New-PSDrive -Location $ds -Name DS -PSProvider VimDatastore -Root "\" > $null

    Write-Host "New ISO folder has been created under DS: $ds " -ForegroundColor Green

     New-Item -Path DS:\ISO -ItemType Directory

    

     $tgtFolder ='ISO'

     New-PSDrive -Location $ds -Name DS1 -PSProvider VimDatastore -Root "\" > $null

  

    if(!(Test-Path -Path "DS1:/$($tgtFolder)")){

        New-Item -ItemType Directory -Path "DS1:/$($tgtFolder)" > $null

    }

    Write-Host "DS copy is in-progres.. Pls wait" -ForegroundColor Yellow

    Copy-DatastoreItem -Item $fileName -Destination "DS1:/$($tgtFolder)"

   

    Remove-PSDrive -Name DS -Confirm:$false

    Remove-PSDrive -Name DS1 -Confirm:$false

}

 

Write-Host " DS copy task has completed for host: $fileName" -ForegroundColor Green

 

$EndTime = Get-Date

$TotalTime = New-TimeSpan –Start $StartTime –End $EndTime #| select -expandproperty Seconds

Write-Host "************************************************" -ForegroundColor Cyan

Write-Host "Total time taken to complete the ISO copy: $TotalTime " -ForegroundColor Green

Write-Host "************************************************" -ForegroundColor Cyan

 

 

Regards,

Swamy Naveen

Can't start ANY! virtual machine on VMWorkstation 16 after a few days of usage it (Windows 10)

$
0
0

I have a problem on Windows 10. Yesterday I just closed virtual machines on my notebook as usual (I use Workstation 16 for some time already)

and today no any virtual machine is able to start. It shows all the time spinning logo of VMWare bios. 

mksSandbox.log has old date and contents. Tail of vmware.log has new date/time and is below...

 

2020-09-24T10:27:08.047+02:00| vmx| I005: VMXAIOMGR: Using: simple=Compl

2020-09-24T10:27:08.049+02:00| vmx| I005: WORKER: Creating new group with maxThreads=1 (20)

2020-09-24T10:27:08.053+02:00| vmx| I005: WORKER: Creating new group with maxThreads=16 (36)

2020-09-24T10:27:08.056+02:00| vmx| I005: FeatureCompat: No VM masks.

2020-09-24T10:27:08.056+02:00| vmx| I005: TimeTracker host to guest rate conversion 699561783 @ 2592001000Hz -> 0 @ 2592001000Hz

2020-09-24T10:27:08.056+02:00| vmx| I005: TimeTracker host to guest rate conversion ((x * 2147483648) >> 31) + -699561783

2020-09-24T10:27:08.056+02:00| vmx| I005: Disabling TSC scaling since host does not support it.

2020-09-24T10:27:08.056+02:00| vmx| I005: TSC offsetting enabled.

2020-09-24T10:27:08.056+02:00| vmx| I005: timeTracker.globalProgressMaxAllowanceMS: 2000

2020-09-24T10:27:08.056+02:00| vmx| I005: timeTracker.globalProgressToAllowanceNS: 1000

2020-09-24T10:27:08.056+02:00| vmx| I005: MKS PowerOn

2020-09-24T10:27:08.058+02:00| mks| I005: VTHREAD 8580 "mks"

2020-09-24T10:27:08.058+02:00| mks| I005: MKS thread is alive

2020-09-24T10:27:08.058+02:00| svga| I005: VTHREAD 14744 "svga"

2020-09-24T10:27:08.058+02:00| svga| I005: SVGA thread is alive

2020-09-24T10:27:08.058+02:00| mks| I005: MKS: SSE2=1, SSSE3=1, SSE4_1=1

2020-09-24T10:27:08.062+02:00| mouse| I005: VTHREAD 14736 "mouse"

2020-09-24T10:27:08.062+02:00| mks| I005: MKS-HookKeyboard: RegQueryValueEx(LowLevelHooksTimeout) failed: The system cannot find the file specified (2)

2020-09-24T10:27:08.062+02:00| kbh| I005: VTHREAD 14732 "kbh"

2020-09-24T10:27:08.064+02:00| mks| I005: MKS Win32: Registering top level window (0x307a8) to receive session change notification.

2020-09-24T10:27:08.064+02:00| mks| I005: Current Display Settings:

2020-09-24T10:27:08.064+02:00| mks| I005:    Display: 0 size: 1920x1080  position: (0, 0) name: \\.\DISPLAY1

2020-09-24T10:27:08.065+02:00| mks| I005: MKS Win32: MIL: 0x4000

2020-09-24T10:27:08.065+02:00| mks| I005: MKS-RenderMain: PowerOn allowed MKSBasicOps DX11Renderer DX11BasicRenderer ISBRenderer

2020-09-24T10:27:08.065+02:00| mks| I005: MKS-RenderMain: Collecting RenderOps caps from ISBRenderer

2020-09-24T10:27:08.066+02:00| mks| I005: MKS-RenderMain: Starting ISBRenderer

2020-09-24T10:27:08.067+02:00| mks| I005: ISBRendererComm: mksSandbox command-line: C:\Program Files (x86)\VMware\VMware Workstation\x64\mksSandbox.exe --logFile C:\VMWare\Manjaro\mksSandbox.log --pipeInfo \\.\pipe\vmware\mksSandbox\mksSandbox-52 6a e4 5e 3f 55 c8 b7-86 30 1e d7 5d 41 12 3a

Get-hvlocalsession for multiple users

$
0
0

Hi guys,

 

I am trying to make a script which should give session details of multiple users such as username,login time and logout time.

 

I could get the required details for all the users by below script. But dont know how to get it for multiple users. ie by importing limited no of usernames in a text file.

 

Get-hvlocalsession | ForEach-Object -Process {

$dtformat = "dd-mm-yy HH:mm"

$ls = $_

'' | select @{N="Emp Id";E={$ls.NamesData.UserName.Replace("Domainname\","")}},

  @{N="Login Time";E={$ls.sessiondata.StartTime.ToString($dtformat)}},

  @{N="Logoff Time";E={$ls.sessiondata.DisconnectTime.ToString($dtformat)}}

}

 

Any help?

Viewing all 176760 articles
Browse latest View live


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