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

Writable volume update (snapvol.cfg) does not get applied to writables

$
0
0

I am trying to update the snapvol.cfg file on all writable volumes using a .zip file containing the updated snapvol.cfg.

However, after uploading the file to the manager, the snapvol.cfg files on the wri don't get overwritten.

 

Is there a logfile that can tell me more about why the update is not applied?


Overlapping Partitions

$
0
0

Can't have overlapping partitions.

Unable to read partition table for device /vmfs/devices/disks/

VMware View API - Get more than 1000 Users

$
0
0

Hello guys,

 

how do I manage to get more than 1000 users via the View API? Our system runs on version 7.7.0 build-11038474.

I use Powershell to access the API.

My code is the following:

 

 

functionGet-AllHvUsers ($services) {

 

    $results=@();


    $queryService=new-object VMware.Hv.QueryServiceService;

    $queryDefinition=New-Object VMware.Hv.QueryDefinition;

    $queryDefinition.QueryEntityType="ADUserOrGroupSummaryView";

    $queryDefinition.Limit=1000;

    $queryDefinition.MaxPageSize=1000;

    while($true) {

        $queryDefinition.StartingOffset=$offset;

        [System.Array]$curResults=$queryService.QueryService_Query($services,$queryDefinition).Results

        if($curResults.Length-eq1000) {

            $offset+=1000;

            [System.Array]$results+=$curResults.PSObject.Copy();

        } else {

            [System.Array]$results+=$curResults.PSObject.Copy();

            break;

        }

    }

    return$results;

}

 

Error:

"ExceptionType : VMware.Hv.InvalidQuery

ErrorMessage : ADUserOrGroupQuery does not support a starting offset"

In Zeile:1 Zeichen:1

+ [System.Array]$curResults = $queryService.QueryService_Query($service ...

 

If I don't use an offset I am stuck at 1000 results which is less than 10% of all users.

Increasing the Limit or MaxPageSize also doesn't do anything.

 

I hope someone has an answer to this.

 

Thanks

HA issue in cluster

$
0
0

Hi,

 

I have two HP Proliant DL360 Gen10 hosts running ESXi 6.5 in a cluster (VCSA 6.7). Following a recent firmware update, the SD cards where ESXi resides, start behaving weird. Sometimes the SD cards won't be seen at boot time, sometimes they will but, after booting, /bootbank would be linked to /tmp, and sometimes will work fine. I noticed that, if I change the boot type from UEFI to Legacy BIOS, the SD cards behave normally so after the last tests I migrate the VMs from one host to another to avoid downtime, then reboot the hosts and change the boot type.

 

After the reboot, one of the host is fine, the other reports HA issues, basically the host is there, can communicate with vCenter but it times out when trying to reconfigure it for HA.

I check vpxa.log and fdm.log  especially and peek through the rest of the logs but I can't find anything obvious. I also reconfigure boot type to UEFI for the host but it didn't help.

 

Could anyone point me in the right direction to troubleshoot this?

 

Thanks,

 

Daniel

CRASH & purple screen on ESX 6.5.0 exception 14

$
0
0

Hello,

I'm using ESXi 6.5.0 Releasebuild 5310538 without any problems till now.

Today i got a purple screen with exception 14.

 

I used the search function of this forum, read through some threads and posts and i found out that sometines its a hardware problem , sometines a software failure but it also could be (on older versions) a problem with the network card.

 

How can i know how to follow up on this? Any suggestions what to check or what to do?

Screenshot attached.

esx_error_slavkali.JPG

A cold reboot of the system solved the problem for now but i want to find the root cause.

 

I'll now go and collect all neccessary log files.

 

Thank you for your help,

content_libray commands _powercli

$
0
0

Hi Luc,

 

i am observing some issues uisnf content lib commands .

 

i am doing following  to make commands available (and they are available)

Update-Module vmware.powercli

Import-Module vmware.vimautomation.core

 

 

however it does not work  sometimes

 

New-ContentLibrary : The term 'New-ContentLibrary' is not recognized as the name of

a cmdlet, function, script file, or operable program. Check the spelling of the

name, or if a path was included, verify that the path is correct and try again.

At C:\Users\Administrator\Desktop\BPI.ps1:271 char:9

+ $conlib=New-ContentLibrary -Name "siteA con lib" -Datastore (get-data ...

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

    + CategoryInfo          : ObjectNotFound: (New-ContentLibrary:String) [], Comma

   ndNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

vc_HA_powercli

$
0
0

HI Luc,

 

 

i am thinking to add vcenter high availability in folowing way but i did not find direct command to do that .can you please suggest some siple code to do this .

 

#vcenter HA configuration

write-host "checking vcenter High availabity solution"

$vcha=get-view failoverclusterconfigurator

$state=$vcha.getVchaConfig().state

 

 

 

 

if($state -eq "notconfigured")

{

write-host "configuring vcha cluster"

$activeip=Read-Host "provide active ip"

$activeip_mask=Read-Host "provide active ip mask"

$passivip=Read-Host "provide passive ip mask"

$passivip_mask=Read-Host "provide passive ip mask"

$witnessip=Read-Host "provide witness ip"

$witnessip_mask=Read-Host "provide witness ip net mask"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

}

vRealize Automation public signed certificate

$
0
0

Hello,

we have deployed vRA 7.6 and we have doubts for the public certificate to install on vRA appliances.

vRA appliances will be available from the public network with a registered DNS name, let's say vracloud.mycompany.com

IAAS server (Windows machines) and other servers are on a private network joined to the internal domain ad.mycompany.com

We need a public signed SSL certificate for our vRa appliances exposed on the internet and that certificate must contain the public DNS name vracloud.mycompany.com

The problem arises with the communication between the appliance and the IAAS servers, the communication fails because vRa appliances don't recognize the internal cert presented by the IAAS.

 

What is the correct way to configure the public certificate?

Of course we want our IAAS server to stai in the internal active directory domain


VMware Workstation 15 Player on Ubuntu Mate 18.04, every hour shuts down without a request

$
0
0

Доброе время суток!

 

комп:

uname -a

Linux k2-kab219 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

 

VMware® Workstation 15 Player 15.5.1 build-15018445

 

 

Запускаю VM windows 10 65bit, работает примерно 30 мин, и потом Workstation 15 Player закрывается, переводя VM в suspend mode.

Запускаю по новому, Workstation 15 Player выводит VM из suspend mode и продолжает работать. Но через минут 30 повторяется всё заново.

При этом не важно работаю ли я на основной машине или нет.

does Fusion 11.5 work with XP

$
0
0

Just downloaded 11.5 XP locks upon trying tpopen application. Task Manager is locked upon opening

Get IMEI on Android 10

$
0
0

Hi guys, as you know Google  restricted access to IMEI  on Android 10  (only device owner apps can get IMEI now),  who knows how we can get IMEI with Airwatch, it looks like that Airwatch Launcher is a top level app (probably device owner app), it can controll your device and block user on partical app, so it also should have access to IMEI, but no, is there any way to get IMEI on Android 10 now? Is there any way how Airwatch Launcher can make our app  “device owner” so we can get IMEI in our app?

Powercli command to enable host encryption

Failed to deploy OVF package. throwableProxy.cause A general sysem ocurred: Transfer failed: The OVF descriptor is not available

$
0
0

Hi,

 

I'm trying to install Skyline-Appliance-2.2.0.0-14617436_OVF10.ova ins a vcenter 6.7.0 Vcenter but im getting this error:

 

Failed to deploy OVF package. throwableProxy.cause A general sysem ocurred: Transfer failed: The OVF descriptor is not available

 

Captura.PNG

Captura2.PNG

I tried in IE, Chrome and Firefox but i always got the same error.

 

Do you have any idea which is the problem?

 

Thank you .

 

Best Regards.

Multihomed vCenter on Windows

$
0
0

Hello,

 

ist vCenter 6.7U3 on Windows supported on an multihomed VM ?

VRA 7.6 HA NOT ABLE TO ACCESS VRO HTML CLIENT FROM INDIVIDUAL NODE

$
0
0

I have upgraded vRA in my Lab from 7.4 to 7.6. Once that was done, I was trying to open the new HTML Client. But it was opening using LB only and not from individual Node IP.

I then check for any latest patch and found a cumulative patch HF2 for vRA 7.6. I installed the same but still was not able to open the VRO Client form individual node. (Redirecting the node IP to VIP)

Though I can open the Legacy Java Client from individual node but not the HTML one.

 

Any suggestions ??


VRO REST OPERATION SUPPORTING application/x-www-form-urlencoded

$
0
0

Use-Case

----------------------------------

I need to use Guardium REST API to get Login Token. The API has body uses Content-Type - application/x-www-form-urlencoded.

I have create a REST Operation for the same with same content type.

 

Issue

---------------------------------

The API works fine in Postman and gives the exact result but it's not working in vRO

 

I have used the below code to test the same:

 

var inParamtersValues = [];

var headerParams = [];

var acceptHeadersValue = "";

 

content = "client_id=oauth_client3&grant_type=password&client_secret=secret&username=xxxxxxx&password=xxxxxx"

 

var request = restOperation.createRequest(inParamtersValues, content);

//set the request content type]

 

if (System.getModule("com.vmware.library.http-rest.configuration").hasHttpMethodHasBodyPayload(request.getMethod())) {

//System.log("Setting defaut content type to:  " + defaultContentType );

request.contentType = defaultContentType;

}

 

var headerParamNames = restOperation.getHeaderParameters();

 

if (acceptHeaders && acceptHeaders.length > 0) {

    for (var k in acceptHeaders) {

acceptHeadersValue = acceptHeadersValue +  acceptHeaders[k] + ",";

}

 

var acceptHeadersStringSize = acceptHeadersValue.length -1 ;

acceptHeadersValue = acceptHeadersValue.substring(0, acceptHeadersStringSize);

// the accept header value shall start with lower-case letter "a" to override the default setted accept header type 

    request.setHeader("accept", acceptHeadersValue);

}

 

for (var k in headerParamNames) {

  System.log(" SET headers: " + headerParamNames[k] + " : " + headerParams[k]);

  request.setHeader(headerParamNames[k], headerParams[k]);

}

/request.setHeader("X-Requested-With", "message/http");

 

var response = request.execute();

System.log("Response: " + response);

contentAsString = response.contentAsString;

System.log("Content as string: " + contentAsString);

 

Response

--------------------------------

 

{"error":"unauthorized", "error_description":"Bad Credentials"}

 

Is anything wrong with the code ?

Skyline - 12-5-19 | Unauthorized Access

$
0
0

Skyline - 12-5-19

Unauthorized Access. Either your account is not registered with Skyline or you don't have necessary privilege to access Skyline Advisor.

Filling out form shortly

adding endpoint vROPS 7.5 with vIDM to skyline 2.1

$
0
0

Getting the following error, any ideas?

"endpoint test failed -> cannot retry due to server authentication, in streaming mode"

Persistent firewall rule

$
0
0

hey guys,

 

   I took over some ESXi servers and I noticed they were not logging correctly.  So I added the firewall rule to open port 10514 through esxcli using an article on git hub. However, when I reboot the rule disappears.  I tried added the firewall rule in a separate xml file and adding it directly to the service.xml file.  yet each time  I reboot the ESXi host the rule and the xml file is not there when it comes back up.   Is this normal behavior for the /etc/vmware/firewall/ directory or am I missing something here. Also if it is normal how do I a persistant firewall rule to allow port 10514 because all I can find in the docs is to edit the service.xml file.

Cannot register or deregister collectors - 'unknown' status

$
0
0

I'm trying to register two new collectors to one of our orgs, to cover two of our three geographic regions.  One has registered just fine, but the other two are failing.

 

When registering the token on the collector, it hangs for a while, eventually returning the error 'Technical error occurred while processing the request.  Please try again later'

 

However, a new collector entry *does* appear in Skyline Advisor, but with an 'Unknown' status, meaning I cannot deregister it.

 

Any ideas?

 

Thanks.

Viewing all 181132 articles
Browse latest View live


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