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

Re: RVTOOLS Automation

$
0
0

Hi LucD,

 

I have mutiple VC with different username and password. The passthrough will not work. Please help me to work rvtools script across all the VCentre.

 

I want to use the accounts saved by New-VICredentialStoreItem -Host "vCenter1" -User "domain\useracnt" -Password "password"

 

Thanks,

Karthikeyan Raman


Re: DCUI Smart Card authentication not working

$
0
0

Sorry, not JAVA card. Only SafeNet and DoD are supported

ESXi 6.5 - Can't Increase Datastore Size

$
0
0

I have a server that I recently upgraded from 5.5 to 6.5 and later added an additional hard drive to the internal RAID array. When looking at the "Devices" tab in the storage section, the new increased virtual disk size is displayed. When I go to try to increase the size of the datastore, the popup page displays "Select a device on which to create a new VMFS partition" and hangs on loading indefinitely. Any assistance would be greatly appreciated.

 

Thank you,

Jason

Re: Support for USB 3.0 VW Workstation 12.5.5

$
0
0

You can change your VM->Settings->USB Controller setting to "USB Compatibility: USB 3.0", then it should work.

Re: Need help with PowerCLI Script to export ESXi Management PortGroup Name, Mgmt IP, VLAN ID of ESXi hosts that are part of Distributed Switch

$
0
0

correction, wherever there are Standard Switches, its fetching the vlan id fine. For Distributed Switches, it's blank. I understand Script needs to be updated to include DvSwitch logic?

Please help.

VCSA and PSC DNS Server settings

$
0
0

Hi,

 

Looking for a PowerCli way:

To run through a list of VCSA servers and generate report on the current DNS Servers configured on VCSA and PSC appliances.

 

Also, if possible (can be a second script) to update DNS Servers on VCSA and PSC.

 

Thanks in Advance.

 

Regards,

Uman

Re: Get list of plugins and versions installed from vCenter?

$
0
0

Thanks.  That works.  To refine it into one line, I'd think I could do something like

 

Get-View ExtensionManager | Where-Object Name -like "*ExtensionList*" | select @{N='Name';E={$_.Description.Label}},Version,Company

 

to make it into one line?

Manual Upgrade of Writable Volume

$
0
0

I am trying to get some instructions.

 

Current WV 2.11 and I want to test upgrading to 2.12.0.  Any idea how I can update just a single WV before I update the rest?


Shared RAW disk

$
0
0

Hi

 

I am trying to share a RAW disk between to VM's that are part of a 2 node vmware cluster.   I add in the disk as a raw volume to the first VM and set the scsi bus sharing to physical.   I then add the disk to the second VM using "use an existing disk".   However when I try to start the second VM i get the error

  "File system specific implementation of lookupAndOpen file failed.  Cannot open the disk or one of the snapshot disk it dpemds on, failed to lock the file"

 

Every guide i have read says ensure you set SCSI Bus Sharing to physical which I have but i still can share the LUN

 

Please can someone advise what i doing wrong.

 

Screenshots attached.

 

Thanks in advance 

Re: NSX 6.2 API to enable data collection on a VM

$
0
0

Thanks buddy. I realised this too. Lesson learned that VMID value is different between ESXi and NSX.

Re: VCSA and PSC DNS Server settings

$
0
0

Hi Uman,

 

 

This can be achieved with the vCSA REST API. If you had a list of vCenter Servers you could do something like the following;

 

$Credential = Get-Credential # vSphere SSO Credentials

$colvCenterServer = ("labvc1.pigeonnuggets.com","labvc2.pigeonnuggets.com") # Your vCenter server collection

 

$auth = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($Credential.UserName+':'+$Credential.GetNetworkCredential().Password))

$head = @{

  'Authorization' = "Basic $auth"

}

 

foreach($vCenterServer in $colvCenterServer){

  # Setup the API Session

  $SessionURI = "https://" + $vCenterServer + "/rest/com/vmware/cis/session"

  $request = Invoke-WebRequest -Uri $SessionURI -Method Post -Headers $head

  $token = (ConvertFrom-Json $request.Content).value

  $session = @{'vmware-api-session-id' = $token}

 

  # Get a list of the DNS Configuration

  $DNSURI = "https://" + $vCenterServer + "/rest/appliance/networking/dns/servers"

  $dnsRequest = Invoke-WebRequest -Uri $DNSURI -Method Get -Headers $session

  $DNSServers = (ConvertFrom-Json $dnsRequest.Content).value

 

  # Do something with the $DNSServers value returned ?

  $DNSServers

}

 

# To Amend the values use a POST Method replacing the IP as required

$strPOSTValue = @'

{

  "config": {

    "mode": "is_static",

    "servers": [

      "192.168.88.10"

    ]

  }

}

'@

 

foreach($vCenterServer in $colvCenterServer){

  # Setup the API Session

  $SessionURI = "https://" + $vCenterServer + "/rest/com/vmware/cis/session"

  $request = Invoke-WebRequest -Uri $SessionURI -Method Post -Headers $head

  $token = (ConvertFrom-Json $request.Content).value

  $session = @{'vmware-api-session-id' = $token}

  $DNSURI = "https://" + $vCenterServer + "/rest/appliance/networking/dns/servers"

  Invoke-WebRequest -Uri $DNSURI -Method Put -Headers $session -Body $strPOSTValue -ContentType "application/json"

}

 

Hopefully this helps; I would recommend that you check out the API Explorer for vCenter (https://vCenter.tld/apiexplorer/) for more methods. Let me know if you need any further info and please mark this as helpful if it has been. Cheers,

 

Adrian

NSX Flow Monitoring API issue

$
0
0

I have tried to follow the API guide 6.2 example 10-51 in page 338 for flow monitoring but it never work. Can anyone assist to verify my POST URL script?

The document state as follow:

GET https://NSX-Manager-IP-Address/api/2.1/flow/flowstats?contextId=datacenter-2538\&flowType=TCP_UDP\&startTime=1327405883000\&endTime=1327482600000\&startInd

ex=0\&pageSize=2

 

I obtain my datacenter ID from API below.

                <scope>
                    <id>datacenter-2</id>
                    <objectTypeName>Datacenter</objectTypeName>
                    <name>LAB1</name>
               

</scope>

 

When I execute the API, it did not work.

GET https://192.168.0.250/api/2.1/flow/flowstats?contextId=datacenter-2\&flowType=TCP_UDP\&startTime=0\&endTime=1327482600000\&startInd

ex=0\&pageSize=2

or

https://192.168.0.250/api/2.1/flow/flowstats?contextId=datacenter-2\&flowType=TCP_UDP

 

the response status is "500 Internal Server Error"

<html>

    <title>NSX Manager</title>

    <body>Invalid Operation</body>

</html>

 

I have no issue with some other APIs like traceflow, VXLAN, controller, etc but this one does not work for me.

Am i missing something here?

 

regards,

Robin

Re: VMWare GUI Workstation crashes when restoring to Snapshot or Reset from VM\power menu

$
0
0

There have been a number of problems with hosts using Windows 10 version 1703 (Creators Update).

 

Could you go to Help > About, note of the UI log file location, reproduce the crash, and then send me the UI log?

Re: Having problems with bridged connections using ANY USB 3.0 Adapter with Realtek chipset in Workstation 12.5.2

$
0
0

I'm assuming you're on the "Creator's Update" since that killed my Alfa external network card on VMWare as well.

 

I'm not sure if this is more of a VMWare issue or a Microsoft one (probably the latter), but yeah, there are some things I need to do that I can't until this gets resolved or I can find a workaround.

Re: Why does vmware.exe 12.5.5 display as VMware Workstation (32 bit)

$
0
0

Based on what you stated; I checked vmware-vmx.exe and it shows in Task Manager with the (32 bit) suffix. Right-clicking it and selecting Open file location, takes me to VMware\VMware Workstation\x64, which supports the conclusion that it's 64-bit. However, there are two files in that x64 folder, which imply that they're 32 bit: libeay32.dll and ssleay32.dll.

 

This appears to be lazy packaging on the part of VMware! If you're going to create a folder (x64) to, presumably, contain your 64 bit executables, why muddle in some 32-bit executables? No wonder we support technicians are starting to get as frustrated with VMware as we are with Microsoft - neither company appears to apply any professionalism (other than making the most $$$ they can) to their products. Shame on them!

That is not quite correct.

 

Task Manager should list vmware.exe as a 32-bit process and should list vmware-vmx.exe as a 64-bit process.  We do not ship a 32-bit version of vmware-vmx.exe.

 

Also, do not be misled by the naming of libeay32.dll and ssleay32.dll.  Those are third-party libraries (from OpenSSL), and those are their default filenames, even for 64-bit versions.  I assure that we have not "muddled in some 32-bit executables" into the x64 folder (64-bit processes generally cannot use 32-bit DLLs) and that absolutely strive for professionalism.


Re: Running vm as a service, always on in background

$
0
0

It's bad enough that I can't do an online snapshot if there are independent disks in the guest.

You think it's bad, but it is the only sensible choice.  An independent disk is a disk that is not affected by snapshots.  If we allowed a snapshot to be taken of a running virtual machine with independent disks, what would happen if you made changes to the independent disk and then restored that snapshot?  From the perspective of the guest OS, the contents of one of its local disks would have suddenly changed from under it.  Contents of the disk that the guest OS cached in memory would no longer valid, and the guest OS could potentially corrupt the contents of the disk when writing to it.  This is really not what you want.

 

Also, all examples I've seen show a shared vm being able to start up with any user logging in; what I need is the VM running as long as the computer is on, regardless of any users being logged into the host

That is not correct.  Shared VMs configured to autostart do not require users to log in because shared VMs are run via a system service.  You also can edit the %ProgramData%\VMware\hostd\vmAutoStart.xml file and configure autostart VMs to automatically suspend (or shut down) when the host shuts down.

UEM and writable volumes(UIA+profile)

$
0
0

Hi all,

 

we're currently trying to migrate to App Volumes + UEM with Horizon 7.1 instant clones. UEM is configured to capture user profile and data to a file share. We have a lot of issues with applications settings not being captured. Using UEM profiling to pre-configure the applications is very tedious. We're considering adding a writable volume+profile template in the mix to capture things that UEM does not capture, however someone mentioned that it's not supported?

 

Have anyone had any success using writable volumes (UIA+profile) with UEM? Any caveats going this route?

 

Thanks!

Re: Having problems with bridged connections using ANY USB 3.0 Adapter with Realtek chipset in Workstation 12.5.2

$
0
0

Since i have NO issues with the Adapter in the HOST, same version of Windows 10. It's without question a VMWare issue.

Re: NSX Flow Monitoring API issue

$
0
0

Hi,

 

In p.217 in NSX-v 6.3 API manual, flow monitoring API is written as the below.

 

https://pubs.vmware.com/nsx-63/topic/com.vmware.ICbase/PDF/nsx_63_api.pdf

Working With Flow Monitoring Statistics

GET /2.1/app/flow/flowstats

This monitoring feature can be used if "collectFlows" is true by using "PUT /2.1/app/flow/config" API.

My tests (in using 6.2.7) are the followings.

 

==========

1. Check the current configuration

# curl -sk -u <USER NAME>:<PASSWORD> -X GET https://<NSXMGR ADDR>/api/2.1/app/flow/config

<?xml version="1.0" encoding="UTF-8"?>

<FlowConfiguration>

  <collectFlows>false</collectFlows>

  <ignoreBlockedFlows>false</ignoreBlockedFlows>

  <ignoreLayer2Flows>false</ignoreLayer2Flows>

  <sourceIPs/>

  <destinationIPs>224.0.0.0/24,255.255.255.255</destinationIPs>

  <destinationContainer>

    <name>system-generated-broadcast-macset</name>

    <id>macset-1</id>

    <type>MACSet</type>

  </destinationContainer>

  <destinationPorts>138,137</destinationPorts>

</FlowConfiguration>

---

2. Change "collectFlows" to "true" (POST API or Web UI: [Networking & Security] -> [Flow Monitoring] -> [Configuration] -> Change "Global Flow Collection Status" to "Enabled")

# curl -ik -u <USER NAME>:<PASSWORD> -H "Content-Type: application/xml" -X PUT https://<NSXMGR ADDR>/api/2.1/app/flow/config -d "<FlowConfiguration>

  <collectFlows>true</collectFlows>

  <ignoreBlockedFlows>false</ignoreBlockedFlows>

  <ignoreLayer2Flows>false</ignoreLayer2Flows>

  <sourceIPs/>

  <destinationIPs>224.0.0.0/24,255.255.255.255</destinationIPs>

  <destinationContainer>

    <name>system-generated-broadcast-macset</name>

    <id>macset-1</id>

    <type>MACSet</type>

  </destinationContainer>

  <destinationPorts>138,137</destinationPorts>

</FlowConfiguration>"

---

3. Get meta-data

# curl -sk -u <USER NAME>:<PASSWORD> -X GET https://<NSXMGR ADDR>/api/2.1/app/flow/flowstats/info

<?xml version="1.0" encoding="UTF-8"?>

<FlowStatsInfo>

  <flowStatsInfoTcpUdp>

    <minimumStartTime>1493273464</minimumStartTime>

    <maximumEndTime>1494646469</maximumEndTime>

    <totalCount>13</totalCount>

  </flowStatsInfoTcpUdp>

  <flowStatsInfoLayer3>

    <minimumStartTime>0</minimumStartTime>

    <maximumEndTime>0</maximumEndTime>

    <totalCount>0</totalCount>

  </flowStatsInfoLayer3>

  <flowStatsInfoLayer2>

    <minimumStartTime>0</minimumStartTime>

    <maximumEndTime>0</maximumEndTime>

    <totalCount>0</totalCount>

  </flowStatsInfoLayer2>

</FlowStatsInfo>

---

4. Get flow information

# curl -sk -u <USER NAME>:<PASSWORD> -X GET https://<NSXMGR ADDR>/api/2.1/app/flow/flowstats?contextId=datacenter-2\&flowType=TCP_UDP\&startTime=1493273464\&endTime=1494646469

<?xml version="1.0" encoding="UTF-8"?>

<FlowStatsPage>

  <pagingInfo>

    <contextId>datacenter-2</contextId>

    <flowType>TcpUdp</flowType>

    <startTime>1493273464</startTime>

    <endTime>1494646469</endTime>

    <totalCount>10</totalCount>

    <startIndex>0</startIndex>

    <pageSize>256</pageSize>

  </pagingInfo>

  <flowStatsTcpUdp>

    <startTime>1494556024000</startTime>

    <endTime>1494647361000</endTime>

    <ruleId>1007</ruleId>

    <blocked>0</blocked>

...

    <destinationPort>22</destinationPort>

  </flowStatsTcpUdp>

</FlowStatsPage>

===========

 

Regards,

mizo

VMware tools not downloading

$
0
0

Hi, I am Windows 98 on VMware and I have Windows 8 as host pc. I need to share folder between my host to win 98. When I am trying to download VMware tools it's not downloading. A massage is coming and its massage is "Unrecognized data on the update server (4007). Try again later and if the problem persists, contact  VMware support or your system administrator." Please help me. thank you.

Viewing all 185049 articles
Browse latest View live




Latest Images