Quantcast
Viewing all 178040 articles
Browse latest View live

event log file

Hi Team,

 

I have use export option to download event in CSV format but time is in some numeric format cant share with client  how can i convert it to normal date and time as shows in actual event please help

 

 

TimestampSeverity
1555170903000High

The BIG VMware Webinar thread - What topic is being presented when? Find out here!

Seems like you can fill your days with joining webinars these days.

The amount of knowledge and information being shared is just astounding!

 

I'll try my best to capture them all here so you can pick and choose the ones you like.

Feel free to include your students wherever applicable!

 

Happy learning!

Hardware incompatability

I am trying to test vmaware ESXi 6.7 but I am having trouble getting all of it to work.

 

I have the console up and running and can build the vm but I can not get it to power up.

 

I get the message

 

Failed to power on virtual machine linux 64 bit fedora. This host supports Intel VT-x, but the Intel VT-x implementation is incompatible with VMware ESX. Click here for more details.

 

I am using a laptop with a intel i5-6200 is there a version I can get that will be compatible with this chip set?

 

This the latest hardware I have.

How are you continuing to work with your students despite to the various measures that are in place?

The coronavirus is forcing a lot of academic and educational institutions to rethink their strategy on how to give their students access to content, knowledge and practical exercises.

In this topic we would like to ask the 2500+ institutions active in both the VMware IT Academy program and the Academic Software License program to share best practices with each other.

 

So how is your institutions handling the current situation?

And what challenges do you still face?

vRA8 - Can't add vCenter

Hey everyone,

 

I'm getting this error every time I try to add any of my vCenters to vRA8.

 

Unable to validate the provided access credentials: Failed to validate credentials. Error: Failed to connect to vCenter: Your certificate may be untrusted. To trust the certificate validate your account credentials and accept the untrusted certificate. Save your cloud account after validation succeeds. Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Cloud account: null Task: /provisioning/endpoint-tasks/261cdb286c4ad07559d52415ad8

 

I have tried restarting the vRA appliance. I've also tried a couple of vCenters and both throw the same error. Nothing pops up to validate any certificate. Curious if anyone else has encountered this?

 

Thanks,

 

Nick

NSX-v edge Internal and external interfaces

When I configuring interfaces - I can to setup type of it: internal, uplink and trunk.

Image may be NSFW.
Clik here to view.

 

When I configuring firewall rules - I can to use different vNIC groups: internal and external.

I think that internal interfaces compiles to internal vNIC group in firewall,

uplink is external vNIC group (is it true??), but whats groups compiles  trunk interface and subinterfaces?

Image may be NSFW.
Clik here to view.

Ubuntu VM crashes upon startup

Hi,

 

An Ubuntu VM was restarted by HA to another host however it keeps crashing during bootup (CPU at 100%).

 

From console I see a list of processes Started but all have the green OK

 

I checked the VM log file but could not see any specific error but might need some guidance on what to look for to troubleshoot cause?

 

Common steps you recommend?

 

Thanks

propertyConditions problems with plugin for 6.7.u2

I found an older post on these forums containing example code for filtering extensions that isn't working for me in 6.7.u2 for my HTML5 plug-in.  The plug-in is never visible even when customProperty returns true.  Could you tell me where the mistake is?

 

   <extension id="com.violin.violinplugin.datastore.configureView">

      <extendedPoint>vsphere.core.datastore.manageViews</extendedPoint>

      <object>

         <name>Violin Storage</name>

         <contentSpec>

            <url>/ui/violinplugin/resources/datastore-edit.html</url>

         </contentSpec>

      </object>

      <metadata>

          <objectType>Datastore</objectType>

          <propertyConditions>

              <com.vmware.data.query.CompositeConstraint>

                 <nestedConstraints>

                     <com.vmware.data.query.PropertyConstraint>

                       <propertyName>customProperty</propertyName>

                       <comparator>EQUALS</comparator>

                       <comparableValue>

                          <Boolean>true</Boolean>

                       </comparableValue>

                     </com.vmware.data.query.PropertyConstraint>

                 </nestedConstraints>

                 <conjoiner>AND</conjoiner>

              </com.vmware.data.query.CompositeConstraint>

          </propertyConditions>

       </metadata>    

   </extension>  

 

PropertyProviderAdapter code (with a slightly modified constructor signature) copied off these forums:

 

public class ViolinPropertyAdapter implements PropertyProviderAdapter {

 

private Log _logger = LogFactory.getLog(ViolinPropertyAdapter.class);

private static final String CUSTOMPROPERTY = "customProperty";

 

public ViolinPropertyAdapter(DataService dataService,

     ObjectReferenceService objectReferenceService,

     DataServiceExtensionRegistry extensionRegistry,

     UserSessionService userSessionService) {

 

     TypeInfo vmTypeInfo = new TypeInfo();

     vmTypeInfo.type = "Datastore";

     vmTypeInfo.properties = new String[]{CUSTOMPROPERTY};

     TypeInfo[] providerTypes = new TypeInfo[]{vmTypeInfo};

     extensionRegistry.registerDataAdapter(this, providerTypes);

}

 

@Override

public ResultSet getProperties(PropertyRequestSpec propertyRequest) {

     _logger = LogFactory.getLog(ViolinPropertyAdapter.class);

     _logger.info("getProperties()");

     ResultSet result = new ResultSet();

     try {

     List<ResultItem> resultItems = new ArrayList<ResultItem>();

     if(propertyRequest.properties != null && propertyRequest.properties.length > 0) {

     String[] listPropertyNames = propertyRequest.properties[0].propertyNames;

     for(String propertyName : listPropertyNames) {

          for(Object dsRef : propertyRequest.objects) {

          ResultItem resultItem = getDsProperties(dsRef, propertyName);

          if(resultItem != null) {

          resultItems.add(resultItem);

     }

     }

     }

     } else

     result.items = resultItems.toArray(new ResultItem[]{});

     } catch(Exception e) {

     // Passing the exception in the result allows to display an error

     // notification

     // in the client UI.

     result.error = e;

     }

     return result;

}

 

private ResultItem getDsProperties(Object dsRef, String propertyName) throws InvalidPropertyFaultMsg, RuntimeFaultFaultMsg {

     ResultItem ri = new ResultItem();

     ri.resourceObject = dsRef;

     PropertyValue pvCustomProperty = new PropertyValue();

     pvCustomProperty.resourceObject = dsRef;

     pvCustomProperty.propertyName = CUSTOMPROPERTY;

     boolean val = new Random().nextBoolean();

     _logger.info(CUSTOMPROPERTY + "=" + val);

     pvCustomProperty.value = val;// here taken the random boolean value which will load in

     // plugin.xml. On true return you can filter the extension

     // point using property

     ri.properties = new PropertyValue[]{pvCustomProperty};

     return ri;

}

}

 

And finally, the entries in my log file, that shows the PropertyProviderAdapter  being called:

 

[2020-04-08 23:02:58] [INFO] com.violin.violinplugin.adapters.ViolinPropertyAdapter:44 - getProperties()

[2020-04-08 23:02:58] [INFO] com.violin.violinplugin.adapters.ViolinPropertyAdapter:76 - customProperty=false

[2020-04-08 23:03:14] [INFO] com.violin.violinplugin.adapters.ViolinPropertyAdapter:44 - getProperties()

[2020-04-08 23:03:14] [INFO] com.violin.violinplugin.adapters.ViolinPropertyAdapter:76 - customProperty=false

[2020-04-08 23:03:15] [INFO] com.violin.violinplugin.adapters.ViolinPropertyAdapter:44 - getProperties()

[2020-04-08 23:03:15] [INFO] com.violin.violinplugin.adapters.ViolinPropertyAdapter:76 - customProperty=true

[2020-04-08 23:03:17] [INFO] com.violin.violinplugin.adapters.ViolinPropertyAdapter:44 - getProperties()

[2020-04-08 23:03:17] [INFO] com.violin.violinplugin.adapters.ViolinPropertyAdapter:76 - customProperty=true

 

If you could give me a working code example of filtering based of a datastore property for 6.7, or tell me what needs to be fixed in the simple example I've included, that'd really help me out.  Thanks!


NSX-T v2.4.1 corfu DB logs issues

Struggling with NSX issues. Need to fix corfu DB and the logs (it was corrupted after lack of space in /var/log),

 

In the a previous blog post by Niram he explain to use a command corfu_logReader display that could fix my problem, but in v2.4.1 cannot find it. Anyone knows a different command or an alternative to fix the issue?

 

Thank You

 

LP

esxi_locks-powercli

Hi Luc,

 

if you could suggest some powercli way to check on following scenrio.

 

there is one vcenter vm (linux appliance) for which consolidation is needed alarm is triggered .

if we try to consolidate it failed giving

Image may be NSFW.
Clik here to view.

 

any script that can give the esxi owner of the lock

de-Appled my life, is a credit or license transfer to Linux Workstation Pro possible?

Purged all Apple products from my life and no longer need my Fusion Pro v11.5 license.  I know this is a long shot, but is there a credit or transfer program where I could switch over to Linux Workstation Pro and pay the difference?

 

I could run the VMWare Linux Player for free, but typically need 3-6 VMs at any time.  VirtualBox is always an option, but prefer the speed and rock solid reliability of VMWare products.

 

Any suggestions?

 

Jim

PowerCLI Invoke-VMScript Error

Hello,

 

When running the Invoke-VMScript commandlet I receive an error similar to the following:

 

Invoke-VMScript :    Invoke-VMScript         An error occurred while sending the request.

At line:1 char:1

+ Invoke-VMScript -ScriptText "get-service" -VM $VM -GuestUser Administ ...

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

    + CategoryInfo          : NotSpecified: (:) [Invoke-VMScript], ViError

    + FullyQualifiedErrorId : Client20_VmGuestServiceImpl_DownloadFileFromGuest_DownloadError,VMware.VimAutomation.ViC

   ore.Cmdlets.Commands.InvokeVmScript

 

My code is as follows:

 

add-type @"

using System.Net;

using System.Security.Cryptography.X509Certificates;

 

public class TrustAllCertsPolicy : ICertificatePolicy {

    public bool CheckValidationResult(

        ServicePoint srvPoint, X509Certificate certificate,

        WebRequest request, int certificateProblem) {

 

        return true;

    }

}

"@

 

$AllProtocols = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'

[System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols

[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy

 

Invoke-VMScript -vm "test centos7" -scripttext "ls" -guestuser root -guestpassword #####

 

I tried the resolution outlined in the following thread with no success:

Error running Invoke-Vmscript - An error occurred while sending the request. FullyQualifiedErrorId : Client20_VmGuestServiceImpl_DownloadFileFromGuest_DownloadError,VMware.VimAutomation.ViCore.Cmdlets.Commands.InvokeVmScript

 

I'm running PowerCLI 12.0 on vSphere 6.5.0.30000 with VMware Tools version 10346.

 

Is my code sound or is there something that I missed?

 

Thanks in advance.

No network in Virtual Machine

So thanks to the lockdown due to covid-19, I've been building a new home lab. (ESXi 6.7u3) with two HP Z600's with additional NIC cards etc. etc.

 

Anyhow, all 3 NICs show up in the ESXi Networking screen in Physical NICs. vSwitch0 shows 2 port groups, 3 uplinks.  I have VM Network (vmk1) and Management Network (vmk0) in the port groups showing with Active ports and connected to vSwitch0.  TCP/IP stack shows VMKernel NICs.

 

At this stage all looks good, I can access the esxi on the IP set in the Management Network (vmk0).  I configured vmhba64 in storage adapters, configured the Software iSCSI, and connected my NAS, and it shows up fine in Storage as a Datastore, which I can browse. and upload ISO image to.  All looking good still.

 

So, go to create a new Virtual machine, Select name, compatibility 6.7 virtual machine, Guest OS, OS family, Guest OS version, select datastore (local VMFS6), virtual hardware.  This is where I hit a brick wall.  Network Adapter 1 is greyed out, no drop-down.  I can expand and select Status, Adapter type and MAC address bits, bit no drop down not the Network Adapter to select VM Network.

 

On the iSCSI NAS, I placed a previously build and used VM and then imported that, and in the Network adapter if shows as "VM Network (Disconnected)" .  If I got to edit the VM under network adapter this is now also greyed out an has no value in there.

 

This is the same on both boxes.  I tried a reset of the netowrking, and then just adding a VM with the default DHCP on the server management address and again got the same issue.

 

Given the access to ESXi and that the iSCSI connection to the NAS works, iI don't think it's a problem with the physical NICs, and one of these actually worked fine before on ESXi 6.5x (I did a clean install to 6.7 and not an upgrade - silly me!).

HMAC : HMACAuthErrorCode - Unable to get HMAC Token

Does anyone else see this a lot in device logs and know how to resolve them?


 


We seem to get this recurring 100's of times a day, mainly for the same devices over and over again, when I check back through the troubleshooting option for certain devices, they've been doing this for over a year! Spanning multiple console and Agent versions, currently all devices are on Agent v8.3.2 and console is SaaS v9.7.


 


' HMAC : HMACAuthErrorCode - Unable to get HMAC Token Request Url: http://ds500.airwatchportals.com/deviceservices/firedeviceevent'


 


' HMAC : HMACAuthErrorCode - Unable to get HMAC Token Request Url: http://ds500.airwatchportals.com/deviceservices/awmdmsdk/v1/platform/5/uid/d52e79aa441e1dc7910829f74731b27e/appmanagement/systemapplication/bundleid/com.airwatch.sampler'


 


' HMAC : HMACAuthErrorCode - Unable to get HMAC Token Request Url: http://ds500.airwatchportals.com/deviceservices/awmdmsdk/v3/appcatalog'

Error Code 1005 Could not install app

Trying to install Microsoft Teams on an iPad Air running iOS 12.4.6 and keep getting "Error Code 1005 Could not install app." These are device-based licenses pushed for automatic install with or without assuming management of the app it is failing. Rebooted, and it is communicating with the console fine and responding to Queries fine.


Farm provisioning Permissions error - with vCenter 6.5

Error during Provisioning View Composer Fault: Unexpected VC fault from View Composer (Unknown) - Unknown - &lt;NoPermissionFault xmlns=&quot;urn:internalvim25&quot; xsi:type=&quot;NoPermission&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance"><object type=&quot;VirtualMachine&quot; serverGuid=&quot;F12E5DA4-5FB4-44EE-8DE8-EE611B5266CA&quot;&gt;vm-71288&lt;/object&gt;&lt;privilegeId&gt;VirtualMachine.State.CreateSnapshot&lt;/privilegeId&gt;&lt;/NoPermissionFault&gt;

 

VirtualMachine.State.CreateSnapshot permission is from vCenter 5.x

 

I believe the equivalent in vCenter 6.5 is VirtualMachine.SnapshotManagement.CreateSnapshot  which i have set as per the documentation.  But i'm still getting the error when trying to provision a RDSH server farm.

 

Any ideas ?

vRA 7.5 -We have deployed a VM from the blueprint with 8 CPU, But when we logged into the machine we can see only 4 cores available.

Hi,

 

Currently i am facing one issue in vRA 7.5.

Issue:  We have deployed a VM (Windows 10 enterprise build 15063)  -from the blueprint which allows for 4-16 CPUs. When we modifies it to i.e. 8 the VM gets created with 2 sockets x 4 cores, but guest os can use only 4. This issue happens only this blueprint.

 

but in Device Manager 8 CPUs are visible also there is a red warning in vcenter. if I shutdown the VM, change the CPUs to 4 then again to 8 and start the VM - it is fixed.

 

From the template i have deployed a VM with 8 CPU and i did not face any issues in vCennter. While deploying VM from the vRA we will get this issue.
Requesting you to please help me on this issue to fix.

 

My VMWare ESXi says my license key has expired.

Hello, I am a newbie and have been playing with ESXi on and off for a lab environment. I would like to keep using ESXi and my understanding is a standalone server is free. I cant seem to find a license though. If I sign up for a new eval, there is no license key generated. Does anyone have a suggestion for how to get a working license key just for ESXi standalone server? 

How to extend eager zero disk online.

How to extend eager zero disk online, for windows 2016 cluster.

VM Workstation 11 Continually freezes while using Wind River Workbench

I am using Wind River Workbench, a Java based IDE, on a VM that is Windows 7 with Workstation 11. While I type in the IDE, very, very often, the entire display freezes. It is only when I move the mouse that it unfreezes and seems to redraw.  I have used the exact same VM/Workstation combo on a different PC with no problems. I understand it may be this new (well, technically old) PC that I am now using, but was wondering if anyone had any ideas why either my display or graphics driver seems to go to sleep occasionally while I type out code, only to be awoken when I move the mouse.

Viewing all 178040 articles
Browse latest View live


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