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

Re: Vmware harddisk about 8 times slower than virtualbox

$
0
0

Hi,

 

You mentioned that it is a Surface Pro, so no room for an additional harddisk to also install windows on (which is what I would normally try).

You might be able to do a separate install on a different partition after resizing the main partition, just to try and isolate the issue some more.

 

There's been some cases in the past where specific driver software caused issues, for instance an ASUS motherboard tool that caused instabilities.

A while ago now, there was also some issues with the antipiracy protection of games interfering being reported.

Besides the antivirus products mentioned (both AVG and Avast) I'm a bit at a loss as to why you are bumping into this.

 

--
Wil


Re: vmware cmdlet to access a vm and set an ssh credential

$
0
0

hmmm, that is the output of the script you ran. It is not saying that the script itself exists.

 

Can you post your script you created to enable ssh?

Re: Incompatible after 5.5 host upgrade

$
0
0

Welcome to the Community,

 

"Service Console"? Is this a host that was upgraded from ESX 4, or did you just rename the "Management Network" port group?

Anyway, check whether different VMkernel port groups (e.g. Management, and vMotion) are configured with the same subnet, and consider to modify your setup.

If you are unsure, please explain your current network configuration.

 

André

ingress and egress traffic shaping

$
0
0

Dear all

Hi

 

are these correct about ingress and egress traffic shaping?

 

1- ingress = traffic from vm to vds and vds to wan or lan

2- ingress is output traffic

3- egress = traffic from wan or lan to vds and from vds to VM

4- egress is input traffic

 

are these correct ?

Re: How to redirect "C:\Users\%username%\Documents" to NFS using UEM?

$
0
0

I tried using UEM folder redirection instead of GPO, and ended up deciding to stick with GPO.  UEM folder redirection doesn't point the explorer.exe favorites navigation pane to the network share locations, so users were inadvertently storing files locally and on the network share.  GPO folder redirection points the favorites locations in explorer.exe correctly.

Re: Appstack and Horizon USB issues when UEM in installed but not configured

Re: VCSA 6.5 - overall health Status unknown

$
0
0

Similar issue.  Mine new VCSA was an upgrade from Windows 6.0.

 

I deployed a new VCSA in my second datacenter and it shows fine.  Thinking about deploying another new VCSA 6.5 and migrating everything over from current one as potential fix.

Re: ingress and egress traffic shaping


Re: macOS 10.12.4 -- black/blank screen

$
0
0

Same problem for me, same hardware and running Windows 10.

 

Windows is reported as crashed by VMWare, the Mac itself has crashed and has had to be forcibly restarted twice.

 

The problem only occurs when running on the internal display, when attaching external monitors, the problem goes away. Workaround with disabling graphics switching has not yet been tried...

 

<stefan>

Re: ingress and egress traffic shaping

$
0
0

Moderator note: Moved to the relevant sub-forum area, VMware vSphere vNetwork.

Re: What does ProvisionedSpaceGB Include?

$
0
0

You could look at the each of the individual files that constitute a VM.

I did something like that in my Yadr – A Vdisk Reporter post.

In it's current form the script looks at all VMs, but it shouldn't be too hard to only look at a specific set of VM, or at all the VM on a specific datastore.

vSAN 2-node direct connect dvswitch design

$
0
0

Can someone elaborate on the dvswitch design for the vSAN data traffic in a 2-node direct connect scenario? The goal is to make the dvswitch design as highly available as possible using two direct connected cables between the hosts. For example, which load balancing policy should one use on the distributed portgroup? Use Active and Standy uplink?

 

Any help is highly appreciated.

Re: Kernel panic and "SMC returned incorrect key" when attempting to install 10.12 sierra from recovery partition

$
0
0

Just tried this, not having any issues with my various 10.12.4 + 8.5.6 setups...

Can you post the output of your Help > Collect Support Information?

Re: cloning operation is slow on VSAN

$
0
0

Well, the mystery is solved... The customer was comparing VSAN performance to Simplivity using VM cloning process. On Simplivity, the clone operations appear to be "instant" from the vCenter point of view, since no data is being copied. On a VSAN, the cloning is actually copying the data, so it takes 30 mins to clone a 400 GB. Thanks, all!.

Re: cloning operation is slow on VSAN

$
0
0

Thanks for the update. 400GB (800GB as is FTT=1 or were you including that?) in 30 minutes, not bad, assuming it is thick or fairly full VM though.

Hehe...funny that it was a case of "Those are some nice apples, but why do they not look like those oranges?"

 

Bob


Re: cloning operation is slow on VSAN

$
0
0

400GB total (thick provisioned), FTT=1 is taken into account, but still is a good number. HCIBench default easyrun 70%/30% random read/write test showed an amazing 65,000 IOPs.

VMware Workstation requiring AVX2 / AVX

$
0
0

On my Windows 10 Home I am getting an error message saying "This virtual machine requires AVX2 but AVX is not present. This virtual machine cannot be powered on."

 

VMWare Workstation 12.5.5

Lenovo ideapad 310

AMD A12 - 9700P RADEON R7

10 COMPUTE CORES 4C+6G

Re: vcsa 6.5 trying to automate the backup - authentication failure

$
0
0

Sorry, I've been unable to stick with this ticket as more pressing matters came up.

 

Total speculation so far, but my gut reaction is this is probably a certificate issue. I have no evidence to support this theory, but with VMware, it's usually a good place to start.

 

I looked at it a little bit more today and delved a little deeper into the API. I used a Chrome extension called Postman to test the API.

 

For those new to this, I'll try and provide enough detail so you can reproduce:

Establish Session:

POST: https://vc/rest/com/vmware/cis/session

Authorization: Basic Auth

Username: administrator@vsphere.local

Password: <your password>

Check "Save helper data to request" (not sure if this is necessary)

Click Send

This will generate a SAML token and spit it back in a cookie -- it's not obvious in Postman, but the cookie is "vmware-api-session-id" and you can see the value in a json the POST returns.

 

Once you establish this authentication you can use the API documented here:

Online Documentation - vSphere Automation SDK for REST 6.5 - VMware {code}

 

When I use the "vcenter" or "cis" API it works fine. When I try anything under the "appliance" API it fails:

So these work:

GET: https://vc/rest/vcenter/vm

GET: https://vc/rest/vcenter/vm/vm-100

POST: https://vc/rest/com/vmware/cis/session?~action=get

 

These do not, and get that vapi.security.authorization.invalid error:

POST: https://vc/rest/appliance/recovery/backup/job

HEADER: Content-Type: application/json

HEADER: Accept: application/json

BODY: raw: JSON (application/json):

{ "piece":

      {

          "location_type":"FTP",

          "comment":"Automatic backup",

          "parts":["seat"],

          "location":"ftp://backup/vcsa-test",

          "location_user":"backup",

          "location_password":"yourpassword"

      }

}

 

GET: https://vc/rest/appliance/monitoring

 

The full error response in JSON is:

{

  "type": "com.vmware.vapi.std.errors.unauthorized",

  "value": {

    "messages": [

      {

        "args": [],

        "default_message": "Unable to authorize user",

        "id": "vapi.security.authorization.invalid"

      }

    ]

  }

}

 

I did not see anything in the vpxd logs. When monitoring them, they didn't even appear to have a response to my attempts.

I did however stumble across this in the /var/log/vmware/applmgmt/vapi.log and vami.log. The list is the attempted GET for monitoring, and the create is the attempted POST for the backup:

2017-04-04T16:08:11.094 [3000]INFO:vmware.appliance.vapi.auth:Authorization request for service_id: com.vmware.appliance.monitoring, operation_id: list

2017-04-04T16:08:11.094 [3000]ERROR:vmware.appliance.extensions.authorization.authorization_sso:FindAllParentGroups Failed {[Errno 2] No such file or directory}

2017-04-04T16:08:11.094 [3000]ERROR:vmware.appliance.extensions.authorization.authorization_sso:FindAllParentGroups Failed {[Errno 2] No such file or directory}

2017-04-04T16:08:11.094 [3000]INFO:twisted:"127.0.0.1" - - [04/Apr/2017:16:08:10 +0000] "POST /api HTTP/1.1" 200 332 "-" "vAPI http client"

2017-04-04T16:10:50.094 [3000]INFO:vmware.appliance.vapi.auth:Authorization request for service_id: com.vmware.appliance.recovery.backup.job, operation_id: create

2017-04-04T16:10:50.094 [3000]ERROR:vmware.appliance.extensions.authorization.authorization_sso:FindAllParentGroups Failed {[Errno 2] No such file or directory}

2017-04-04T16:10:50.094 [3000]ERROR:vmware.appliance.extensions.authorization.authorization_sso:FindAllParentGroups Failed {[Errno 2] No such file or directory}

2017-04-04T16:10:50.094 [3000]INFO:twisted:"127.0.0.1" - - [04/Apr/2017:16:10:49 +0000] "POST /api HTTP/1.1" 200 332 "-" "vAPI http client

 

 

No idea if this is related, as the timing didn't seem to work out. But I did find these entries in /var/log/vmware/vapi/endpoint interesting:

2017-04-04T15:32:00.500Z | INFO  | state-manager1            | DefaultStateManager            | Invoking rebuild cis-api-connections-builder

2017-04-04T15:32:00.633Z | INFO  | state-manager1            | ApiConnectionsCisUtil          | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl : http://localhost:16666/cls/

2017-04-04T15:32:00.633Z | WARN  | state-manager1            | ApiConnectionsCisUtil          | Cannot find metadata source definitions in VAPI endpoint Service Endpoint of type com.vmware.cis.data.provider with protocol vapi.json.http at http://localhost:16666/cls/

2017-04-04T15:32:00.633Z | WARN  | state-manager1            | ApiConnectionsCisUtil          | Unable to find metadata endpoint in service Service with localization key cis.content-library.ServiceDescription and id 5e812b2e-01b8-49c7-9184-9e9782d8e86e.

2017-04-04T15:32:00.633Z | INFO  | state-manager1            | ApiConnectionsCisUtil          | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl : http://localhost:16666/cls/

2017-04-04T15:32:00.633Z | INFO  | state-manager1            | ApiConnectionsStateBuilder     | Cannot resolve protocol priorities between the following services. Will use the first one.

        First: 5e812b2e-01b8-49c7-9184-9e9782d8e86e\com.vmware.cis.cls.vapi at http://vc:80/cls/

        Second: 5e812b2e-01b8-49c7-9184-9e9782d8e86e\com.vmware.cis.cls.vapi at http://localhost:16666/cls/

2017-04-04T15:32:00.633Z | INFO  | state-manager1            | ApiConnectionsCisUtil          | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl : http://localhost:16666/cls/

2017-04-04T15:32:00.633Z | WARN  | state-manager1            | ApiConnectionsCisUtil          | Cannot find metadata source definitions in VAPI endpoint Service Endpoint of type com.vmware.cdc.provider with protocol vapi.json.http at http://localhost:16666/cls/

2017-04-04T15:32:00.633Z | WARN  | state-manager1            | ApiConnectionsCisUtil          | Unable to find metadata endpoint in service Service with localization key cis.content-library.ServiceDescription and id 5e812b2e-01b8-49c7-9184-9e9782d8e86e.

2017-04-04T15:32:00.633Z | INFO  | state-manager1            | ApiConnectionsCisUtil          | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl : http://localhost:10080/invsvc/vapi

2017-04-04T15:32:00.633Z | INFO  | state-manager1            | ApiConnectionsCisUtil          | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl : http://localhost:8900/vmonapi

2017-04-04T15:32:00.633Z | INFO  | state-manager1            | ApiConnectionsCisUtil          | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl : http://localhost:9090/ds/vapi

2017-04-04T15:32:00.634Z | WARN  | state-manager1            | ApiConnectionsCisUtil          | Cannot find metadata source files/URLs in VAPI endpoint Service Endpoint of type com.vmware.vapi.endpoint with protocol vapi.json.http at http://vc:80/site/api

2017-04-04T15:32:00.634Z | WARN  | state-manager1            | ApiConnectionsCisUtil          | Unable to find metadata endpoint in service Service with localization key cis.vapi.endpoint.serviceDescriptionResourceKey and id e0cc58e8-7ce4-48f9-9426-61648da55b2d.

2017-04-04T15:32:00.634Z | INFO  | state-manager1            | ApiConnectionsCisUtil          | Unsupported source (metadata) type in metadata source entry cis.common.ep.localurl : http://localhost:12346/site/api

2017-04-04T15:32:00.634Z | WARN  | state-manager1            | ApiConnectionsCisUtil          | Cannot find metadata source definitions in VAPI endpoint Service Endpoint of type com.vmware.vapi.endpoint with protocol vapi.json.http at http://localhost:12346/site/api

2017-04-04T15:32:00.634Z | WARN  | state-manager1            | ApiConnectionsCisUtil          | Unable to find metadata endpoint in service Service with localization key cis.vapi.endpoint.serviceDescriptionResourceKey and id e0cc58e8-7ce4-48f9-9426-61648da55b2d.

2017-04-04T15:32:00.634Z | INFO  | state-manager1            | DefaultStateManager            | Invoking rebuild vim-adapter-settings-builder

2017-04-04T15:32:00.709Z | INFO  | state-manager1            | DefaultStateManager            | Invoking rebuild vapi-vcenter-servlet-builder

2017-04-04T15:32:00.710Z | INFO  | state-manager1            | DefaultStateManager            | Invoking rebuild api-interfaces-builder

2017-04-04T15:32:00.727Z | INFO  | state-manager1            | DefaultStateManager            | Invoking rebuild metadata-sync-builder

Re: how to update to vcsa 6.5 b

$
0
0

My apologies! I missed that in your first post. As I understand, if you don't have an active license for the product, you will receive those entitlement errors you are getting.

Re: vcsa 6.5 trying to automate the backup - authentication failure

$
0
0

I think I found the file that is generating the errors in applmgmt/vapi.log. The file is:

/usr/lib/applmgmt/lib/extensions/py/vmware/appliance/extensions/authorization/authorization_sso.py

 

    def getGroups(self, user):

        """

        Return groups containing (directly or via nested groups) user.

 

 

        @type  user: str

        @param user: A user name.

 

 

        @rtype: str[]

        @return: Array of groups (empty array if user does not exist).

        """

        dom = self._systemDomain

        userId = Sso.PrincipalId()

        userId.name,userId.domain = utils.decomposePrincipal(user, dom)

        try:

            grpIds = self.groupcheck.groupCheckService.FindAllParentGroups(userId)

        except Sso.fault.InvalidPrincipalFault, e:

            # Ignore invalid users.

            logger.error("FindAllParentGroups Failed {%s}" % str(e))

            return []

        except vmodl.fault.InvalidArgument, e:

            # Ignore empty user names.

            logger.error("FindAllParentGroups Failed {%s}" % str(e))

            return []

        except Exception as e:

            logger.error("FindAllParentGroups Failed {%s}" % str(e))

            return []

        return [utils.generatePrincipal(g.name, g.domain, dom) for g in grpIds]

 

Haven't found the "FindAllParentGroups" method yet, but I could try throwing in some more logging to see what userId looks like when it's called.

Viewing all 229567 articles
Browse latest View live


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