Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all 176483 articles
Browse latest View live

NSX Public IP block

$
0
0

I'm working to setup NSX in a lab with a public IP block and wondering if I can add a public IP block to my virtual machines without having to setup NAT on the edge gateway and use a 1:1 relation.

As currently I'm just using a VDS with forwarding the VLAN and in this way adding public ip's to vm's.


Assigning A Mac Address to a vm using python

$
0
0

Hi All

 

I am trying to assign a mac address to a vm using python module? do you have any suggestion or sample to do that?

 

Thanks in advance

What does the levels from "HAFailoverLevel" mean?

$
0
0

I'm curious what does the "int32" value from "HAFailoverLevel" represent?

 

From Cluster , it states HAFailoverLevel is a 32bit integer

 

HAFailoverLevelInt32

 

From vSphere 6.0 Documentation Center , i got more info

 

HAFailoverLevelInt32Specifies a configured failover level. This is the number of physical host failures that can be tolerated without impacting the ability to meet minimum thresholds for all running virtual machines. The valid values range from 1 to 4.

 

I know if I have no failover hosts designated, the value is 0

 

PS C:\Users\morgany\Downloads> get-cluster | select Name,HAEnabled,HAAdmissionControlEnabled,HAFailoverLevel,HARestartPriority,HAIsolationResponse

 

Name                      : test-demo

HAEnabled                 : True

HAAdmissionControlEnabled : True

HAFailoverLevel           : 0

HARestartPriority         : Disabled

HAIsolationResponse       : DoNothing

 

Does this represent 4 instances of host failures OR something else? I don't see this being clearly represented in the web-client UI.  Also, why 1 to 4 ?

 

Message was edited by: Morgan  Yang

Strange terminal output when running Invoke-VMScript in powershell in linux

$
0
0

I'm running "Invoke-VMScript" in a for loop against a list of VM's, however, toward the end of the script, I see a list of accumulated terminal codes,

 

 

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

acn3-pktbot-10

ScriptOutput

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

|  acn3-pktbot-10

|

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

acn13-pktbot-02

ScriptOutput

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

|  acn13-pktbot-02

|

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

acn13-pktbot-01

ScriptOutput

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

|  acn13-pktbot-01

|

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

 

 

 

 

8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;47R8;47R

8

1R8 : The term '1R8' 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 line:1 char:3

+ 8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;47R8;47 ...

+   ~~~

+ CategoryInfo          : ObjectNotFound: (1R8:String) [], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException

 

 

1R8 : The term '1R8' 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 line:1 char:7

+ 8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;1R8;47R8;47 ...

+       ~~~

 

I only see this with the "Invoke-VMScript" module. I'm also running powershell in linux, over a teraterm console, has anyone come across this before? Is this a terminal/powershell setting?

macOS 10.14 Mojave Developer Preview/Beta guest...

$
0
0

... Just to say that it works surprisingly well, in Fusion 10.1.2 (and probably also in 8.5.10): it's also rather snappy (on a 2013 MacBook Pro); and HiDPI works out of the box, after installing the Tools.

 

Only one major glitch: some persistent visual artifacts in the menu extras, in the Finder tabs and in Dashboard, both in normal and dark mode...

NSX Power Shell Script - Security Group

$
0
0

I am trying to extract the IP addresses from a particular security group using Power Shell API

Below is the power shell script I am using. Its not working

Any inputs what i need to change in the script to make it work.

 

 

$NSXUsername = "admin"

$NSXPassword = "VMware1!"

$auth =  [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($NSXUsername+":"+$NSXPassword))

$head = @{"Authorization"="Basic $auth"}

$uri = "https://192.168.110.15"

 

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}

Invoke-RestMethod -uri "$uri/api/2.0/services/securitygroup/securitygroup-16/translation/ipaddresses" -Body $body -Method:Get  $head

Web Client lockup with Edge Certificate

$
0
0

I just upgraded my environment to 6.4.1, and am trying to update the certificate being used by an Edge that's providing SSL VPN Plus services. Unfortunately, every time I go to the edge and select Manage->Settings->Certificates, I get the 'greyed out' Flash/Flex "refresh" and the client locks up. This happens with every browser I've tried (that will run a version of Flash, that is) and several different systems, even after flushing cache, etc.

 

First, I'd like to know if I've got an isolated environment that's to blame (please: someone reproduce this!)

 

Second, if anyone has a work-around to get this working, it would be appreciated.

After upgrade to 6.5 update 1 broken AD authentication

$
0
0

I have upgrade VCSA to 6.5 Update 1 (from 6.5)

After this I can't login using AD credentials. administrator@vsphare.local is still working

Logs say:

Invalid credentials

exception 'com.vmware.identity.idm.IDMLoginException: Native platform error [code: 851968]

 

Network packects at port 389 are going. And i can add permissions at objects: vcenter sees users from AD.

"Identify Source" for domain is configured with "use machine account".

When i try to using SPN, I need type SPN as STS/domain.local, but i have error: SPN can't be found

 

Now i have configured AD as LDAP service, but it is not good way.

 

Does anyone know something about this problem ?


Ubuntu Host / Windows Bridge Guest Loses internet but allows LAN [FIX]

$
0
0

When a windows host is not shut down correctly in vmware on Ubuntu (16.x tested), it can corrupt the vmx file and cause the internet to stop working but you will still be able to access the LAN. Here's how to fix it:

 

shutdown your windows guest.

edit your windows guest .vmx file:

 

find your ethernet0 section in the vmx

add ethernet0.connectionType = "bridged" if it doesnt exist.

add ethernet0.vmnet = "/dev/vmnet0" if it doesnt exist. This /dev should point to the vmnet that you are using as a "bridged" adapter in the virtual network editor.

 

save the file and restart your host.

Routing issues with OSPF, ESG, DLR, and pfSense

$
0
0

Hi all,

 

I am working on a lab simulating a rather standard environment I'd imagine but am having issues getting out to the internet.  I had this working with static routes for 10.250.0.0/13 going through 192.168.250.254 - the static route was created on the firewall.  I have all the firewalling disabled for now so that I am not having issues with ACLs.  I attached a diagram so maybe someone can help.  I have Quagga installed and working (though OSFP/routing are not my forte).

 

I've attached a diagram to see if anyone can help me out.  Again, there are "allow all" rules on all firewall and routing interfaces to eliminate that.  From Test VM2 (10.251.251.15) I can ping everything on the network in every subnet/VLAN as listed in the ESG route table.  However, I cannot ping 8.8.8.8 and I can't figure out why!

 

Thanks for looking all!


Edit: I should also add, when I do a traceroute from 10.251.251.15, I get the following:

 

 

TestTraceRoute:~$ traceroute 8.8.8.8

traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets

1  10.252.252.1 (10.251.251.1)  0.237 ms  0.142 ms  1002.258 ms

2  10.250.250.1 (10.250.250.1)  0.166 ms  0.191 ms  0.185 ms

3  192.168.250.1 (192.168.250.1)  0.616 ms  0.618 ms  0.598 ms

4  * * *

5  * * *

6  * * *

7  * * *

8  * * *

Get-QADUser

$
0
0

Hi All

 

Get-QADUser needs to be download , i think this was Dell & then somone else mainat it. Any idea where i can dowload this, i did google but no luck.

 

Get-QADUser : The term 'Get-QADUser' is not recognized as the name of a cmdlet, function, script file, or operable

program.

 

Thanks

ESX 6.7 with HDMI pass through - partly working.

$
0
0

Hi All,

 

Using an Intel i7 4770 which has the Intel onboard HD 4600 graphics. I've passed this through to the Win10 VM and as a result I now have QuickSync/Hardware acceleration working for a CCTV tool I'm using.


What is not working is the HDMI onboard of the motherboard and part of the HD4600 - if I cable this to an external display, I get no output at all.

 

Any thoughts as to what I can check?

 

Im using latest Intel drivers, Win10 updates and ESX

 

Thank you

Not able to extend D drive volume on my file server on a VM (vSphere Client version 6.5.0.20000)

$
0
0

Hello Guys,

 

I'm trying to extend the space on the D drive on my Fileserver, but not able to do it. There is a C drive & a D drive on it. The D drive is currently having all the shares & obviously data.

I have removed the snapshot on it, option used to be grayed out, after removing the snapshot, I can change it, but there is errors coming up not letting me do it. Although, I'm to create a different drive volume such as E drive, but since all the shares are point to D drive, I need to extend the D drive, please let me know how to go about it ASAP.

Как отвязать класстеры от HA

$
0
0

Доброго времени суток, всем форумчанам! Отключили свет и vcenter(5.5) упал(не работает tomcat). Теперь не знаю как отвязать класстеры от HA, чтобы поднять новый vcenter. В старом память не заполнена, один раз так лечил его. В vmware самоучка, строго не ругайте.  Waiting for vpxd to initialize ..... failed. если есть какое-то решение, лучше бы восстановить старый. Подскажите куда копать?

Is there a global setting to prevent VMs from automatically connecting to new USB devices?

$
0
0

Just now, I plugged in a (Windows-formatted) external HDD. The (Linux) VM proceeded to try and take control of it, resulting in the host freezing for several minutes until I gave up and literally pulled the plug.

 

I understand that this can be configured on a VM-by-VM basis under Settings -> USB Controller -> uncheck the "Automatically connect new USB devices" checkbox, but is there a global override where I can disable this for all VMs, regardless of what the VM-specific setting says?


Most elegant way to handle intermittent datastore?

$
0
0

I have a situation where I need to place a temporary datastore on a VM.  The datastore obviously won't become available until after the ESXi host has been online for a few minutes and the VM has started.

 

Is there a configuration to help ESXi deal with this situation by not hanging for a long time on boot-up and shutdown?  Perhaps adjusting timeouts to some low value?  Also is there a way to have ESXi periodically retry datastore mounts?  Would NFS work better than block for something like this?

ESX6.5 unexplained boot error on new server

$
0
0

Hello All,

 

ESXi 6.5.0 Update 2 (Build 8294253)has been installed to run from a USB thumbdrive on a brand new Lenovo ThinkSystem SR630server (in the ESXi certified list) however there is an unknown error reported (see attached) in Navigator->Host->Monitor->Hardware->System sensors. Any ideas if this an ESXi side driver/configuration issue or a Lenovo firmware update issue?

 

Notes:

No changes made to the BIOS settings except for the allow boot from USB.

No DVD drive.
3 x HDD is in RAID 5 configuration.

 

Any assistance offered will be much appreciated!.

 

Regards,

New user!

 

Which VMware tools and interfaces are used for fault determination and recovery?

$
0
0

What are the typical faults and how to deal with them (from fault detection, demarcation, recovery, which tools and interfaces are used for fault determination and recovery, how many minutes to complete fault demarcation, how many minutes to complete fault recovery

vim-cmd diskaddexisting scsi1 1 attempts to add existing vmdk into scsi0 and fails

$
0
0

For automation, I use vim-cmd  utility to add existing devices as hot add into VMs.

Before running below command there are disks attached to ScsiController 0 with unit id 1,2,3,4,5,6 and when i try to add a next device for Scsi controller 1 with unit id 1 it fails,

Cmd - vim-cmd vmsvc/device.diskaddexisting 3  /vmfs/volumes/esx_ld7/esx_ld7_1527840895.vmdk scsi1 1

Failed: Reconfigure failed

 

When I started looking for exact issue as per the hostd.log,

2018-06-01T13:22:12.563Z warning hostd[2099399] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5b10f081-1bc2e1d0-c444-98f2b3f236a6/Deploy_VMWin/Deploy_VMWin.vmx opID=vim-cmd-5e-3819 user=root] The specified controller slot is already occupied by Hard Disk 2: (vim.vm.device.VirtualDisk) {

-->    key = -1,

-->    deviceInfo = (vim.Description) null,

-->    backing = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) {

-->       fileName = "[] /vmfs/volumes/esx_ld7/esx_ld7_1527840895.vmdk",

-->       datastore = <unset>,

-->       backingObjectId = <unset>,

-->       diskMode = "persistent",

-->       split = <unset>,

-->       writeThrough = <unset>,

-->       thinProvisioned = <unset>,

-->       eagerlyScrub = <unset>,

-->       uuid = <unset>,

-->       contentId = <unset>,

-->       changeId = <unset>,

-->       parent = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) null,

-->       deltaDiskFormat = <unset>,

-->       digestEnabled = <unset>,

-->       deltaGrainSize = <unset>,

-->       deltaDiskFormatVariant = <unset>,

-->       sharing = <unset>,

-->       keyId = (vim.encryption.CryptoKeyId) null

-->    },

-->    connectable = (vim.vm.device.VirtualDevice.ConnectInfo) null,

-->    slotInfo = (vim.vm.device.VirtualDevice.BusSlotInfo) null,

-->    controllerKey = 1000,

-->    unitNumber = 1,

-->    vDiskId = (vim.vslm.ID) null,

-->    virtualDiskFormat = <unset>,

-->    nativeUnmanagedLinkedClone = <unset>

--> }

2018-06-01T13:22:12.564Z warning hostd[2099399] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5b10f081-1bc2e1d0-c444-98f2b3f236a6/Deploy_VMWin/Deploy_VMWin.vmx opID=vim-cmd-5e-3819 user=root] Method fault exception during reconfigure: N3Vim5Fault17InvalidDeviceSpec9ExceptionE(Fault cause: vim.fault.InvalidDeviceSpec

--> )

--> [context]zKq7AVICAgAAAJz7cgAVaG9zdGQAAEyZNWxpYnZtYWNvcmUuc28AAADAGwBgsBcB/1r9bGlidmltLXR5cGVzLnNvAIGiMRYBgc6GFgGBoLIWAYEutBYBgX6fEgECYotlaG9zdGQAAsoZuwJe6a4Cw+2ugTVDAQECkcLBAonLwQD1LygA0zMoAAsPNgNrgABsaWJwdGhyZWFkLnNvLjAABJ2ZDmxpYmMuc28uNgA=[/context]

2018-06-01T13:22:12.579Z info hostd[2099399] [Originator@6876 sub=Vimsvc.TaskManager opID=vim-cmd-5e-3819 user=root] Task Completed : haTask-3-vim.VirtualMachine.reconfigure-2656923718 Status error

 

Surprisingly,

When I ran below command it passed and added the disk against SCSI controller 0, not 1

vim-cmd vmsvc/device.diskaddexisting 3  /vmfs/volumes/esx_ld7/esx_ld7_1527840895.vmdk scsi1 8

 

As per .vmx file entries are,

scsi0:8.deviceType = "scsi-hardDisk"

scsi0:8.fileName = "/vmfs/volumes/5b10f551-104555a6-b83b-98f2b3f236a6/esx_ld7_1527840895.vmdk"

scsi0:8.present = "TRUE" 

scsi0:8.redo = ""      

 

Can anyone please guide me here, there seems to be some issue.

OSK keyboard's host freezes when used with vmware guest

$
0
0

Dear,

I was using VirtualBox and now I think it is the time to move to a professional solution like vmware, however I have a question, I was trying vmware trial, and I faced a problem, I am using windows 10 x64 as host, and windows xp as guest, when I run on screen keyboard on host, and try to use the keyboard from host to control guest, OSK keyboard freezes, any solution for that?

Thanks

Viewing all 176483 articles
Browse latest View live


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