failed start with update mac OSX MOJAVE
Move-VM or Move-Inventory won't move VM to another folder - "The request refers to an unexpected or unknown type."
Move-VM with -destination produces generic error
Move-VM with -inventorylocation appears to work but VM stays in the same location
Move-Inventory produces generic error
Really frustrating this one and no idea of how to troubleshoot this error further. Tried many variations of both commands piping and not piping and nothing works. Anyone seen this before?
Get-VM & Get-Folder work fine on those variables.
Folder is top level.
VM is powered off but same results on a powered on VM.
Can anyone reproduce this? PowerCLI version on screeny. VC version 6.5.0, build 5973321.
Thx
Guy
issue with validating your login credentials against our backend database
Hi, I'm am getting the below error when I attempt to access Skyline Advisor. Please let me know any information I can provide. Any assistance would be appreciated.
There was an issue with validating your login credentials against our backend database.
For Premier Services entitled customers (BCS/MCS/HCS/Telco), please file a Support Request under Product "Skyline Advisor" to get assistance:https://www.vmware.com/group/vmware/get-help/
For Production entitlement support customers, please proceed to the Skyline communities for assistance: https://communities.vmware.com/community/vmtn/skyline
Thank you
vCenter server is dead- Emergency Mode
I'm not sure what's happened, but I may have had power issues and I think my vCenter VCSA server has corrupted drive(s). This website shows exactly what happened to me and after implementing the suggestions, the vCenter server now boots to the logon prompt. When I log in using the root credentials, I get this:
[ERROR] Failed to connect to service.
Use service-control command to manage applmgmt service.
...
...
...
I have tried the suggestions on this website https://tsmith.co/2016/vcsa-wont-boot-fsck-failed/ and it still does not boot. Here is a screenshot of my VCSA:
What can I do to fix this?
Inital network setup on standalone ESXi
Right now, we have a fresh install of ESXi 6.5 on a standalone server. It has a configured IP on our management network, connected by one NIC to the vSwitch. There are the default 2 port groups for management and VM Network. We want to spin up a VM but that VM is on another VLAN subnet and may have interfaces on possibly other VLAN subnets as well. What is the best approach to this? Do I establish a trunk to an external switch using another NIC, then connect that to a new vSwitch? The same vSwitch? How do I configure the VLAN? It's been a while since establishing new network connectivity, especially on a new and standalone host. Any help for best or common practice would be appreciated. Thanks.
Unable to change the AWS AMI ID programatically
Hello Everyone,
I have a use case for creating an AWS IaaS Blueprint to deploy a vendor provided AMI Image (public from AWS Marketplace). The user would then be presented an option to choose a subnet in a vpc for the image to be deployed. As it is mandatory to specify an AWS AMI Image ID during the IaaS Blueprint creation, the user will not be able to select any subnet outside of the region where the image (that is defined in the blueprint) is available. So for instance if I specify an image that is available in us-west-1 and if the user selects to deploy in a subnet in us-east-2 then the blueprint fails at the "Allocate request" for reservations.
[Infrastructure service provider error: A server error was encountered. Error requesting machine. No reservation is available to allocate within the group AAAAAA. Selected reservation policy was [AWS Res Policy].].
The above error is weird but goes away if I specify the correct AWS AMI ID for the region associated with the reservation policy.
I've tried multiple methods to change the AMI ID programatically but in vain:
- Using EBS (PRE -> BuildingMachine): This does not work as the Allocate for Reservations is executed before the Machine provisioning lifecycle begins.
- Using a XaaS Blueprint to request a catalog Items: I couldn't pass the Amazon Image ID in the JSON payload for the catalog item as it threw the below error... I tried to hack passing the properties "amazon_image" and "__amazon.Image.ID" but resulted in validation errors:
- The value for the field id amazon_image is fixed and cannot be overridden
- [Custom property '__amazon.Image.ID' cannot be from predefined custom properties]
Another solution that I was made aware was to have multiple IaaS Blueprints (or catalog items) for each region with respecitve Amazon Image ID... and have a XaaS blueprint wrapper that can invoke the appropriate catalog item based on the user's request. This mean I need to create multiple catalog items for each region which seems bit messy... Is there a better way to handle this use case scenario?. Any thoughts?
My environment: vRA version 7.4.0 (build 8182598), vRO 7.4.0.8071781
thanks, hari
How to start?
Hello,
I'm new to python and I'm starting using it to automate some common vcenter/esxi tasks
I've downloaded and installed python 3.6 for windows
I've downloaded and installed git 2.12 for windows
I've installed pyvmomi using: pip install pyvmomi
I've imported pyvmomi-community-samples using git clone https://github.com/vmware/pyvmomi-community-samples.git
I see the samples into C:\Users\Administrator\pyvmomi-community-samples
Now it's time to start but I do not know (and I do not find doc) how to start with a basic script that, for example, lists all the VMs in my vcenter/host.
How to do it?
VSAN Performance service issue
Hello VSAN community
I have strange issue on one my customer production environment, since last week, i git Red error on VSAN health Performance services" State Master election Failed"
when I try to turn off the Vsan performance services also it shows in task name "the object or item referred to could not be found"
i update all ESX servers from 6.5 U1 to 6.5 U2 with the latest patch and also Vcenter is 6.5 U2 , but still same error
I used the below commands for fix the issue but not working
On each host in the cluster from a ssh session run:
/etc/init.d/vsanmgmtd restart
/etc/init.d/vsanvpd restart
ON vCenter through an ssh session restart VSAN Health:
service-control --stop vmware-vsan-health
service-control --start vmware-vsan-health
service-control --stop vmware-sps
service-control --start vmware-sps
I really don't know what to do, is any recommendation or help from you guys?
Thanks
Alex
DynamicTypes Plugin - Unable to set properties
Hi All, I've configured a DynamicTypes (created a namespace, types and relations) and all went well. I'm able to create an Dynamic Types object as well sucessfully however when I attempt to set one of the properties within the Dynamic type I get the below exception (when trying to invoke to the Find by ID Workflow stub):
java.lang.IllegalArgumentException: Invalid ScriptModule FQN 177356e0-3dfc-4a52-a540-15433795f856 at ch.dunes.model.dunes.ScriptModule.parseFullyQualifiedName(ScriptModule.java:463) at com.vmware.o11n.plugin.dynamictypes.util.CommonUtil.couldBeActionName(CommonUtil.java:85) at com.vmware.o11n.plugin.dynamictypes.repository.DynamicTypesRepository.getTypeBinding(DynamicTypesRepository.java:415) at com.vmware.o11n.plugin.dynamictypes.repository.DynamicTypesRepository.find(DynamicTypesRepository.java:168) at com.vmware.o11n.plugin.dynamictypes.model.DynamicTypesManager.find(DynamicTypesManager.java:112) at com.vmware.o11n.plugin.dynamictypes.DynamicTypesPluginFactory.find(DynamicTypesPluginFactory.java:83) at sun.reflect.GeneratedMethodAccessor422.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at ch.dunes.vso.sdk.DirectInvoker.invoke(DirectInvoker.java:57) at ch.dunes.vso.sdk.SDKPluginFactoryInvoker.fetchObject(SDKPluginFactoryInvoker.java:162)
.......
....
From my investigation I can see that all the workflow stubs for this DynamicTypes object are correctly configured... From the above exception it looks like the vro is attempting to reference the workflow id as a script action and fails. The ID referenced in the exception above refers to the correct workflow ID that maps to the Find by ID workflow stub but no idea why it's invoking it as a script action!.
Any clues here would be appreciated...
Many thanks, hari
vCloud director license query along with NSX/VSAN
Hi All,
I have few queries about vCloud director licensing.Could any one please help me out ?
We are going to use vSAN for this vCloud director. In vCloud director,we are going to create multiple VDCs.Each VDC belongs to one client.
License is as follows:-
1) Vcenter server-->Going to purchase instance based license.
2) VSAN--> Going to purchase CPU based(enterprise)
3) ESXi host-->Going to purchase CPU based(enterprise)
4) VROPS--->Going to purchase OS instance based license.
vCloud director:-
We are going to use Centos machine.On top of Centos,we are going to install vcloud director software.In this case,we can go and get one instance based license. Am i right ? or any separate license is available to get per VDC or any others?
Please note:- Multiple clients VMs will be located in vCloud director.
NSX manager OVA:- We are going to use NSX manager appliance for vCloud director(version 9.1.0).In this case,which license we should purchase ?
NSX also CPU based license? If i have 3 ESXi hosts with 4 sockets each,then i need to get 12 sockets license ?
Please check and share your valuable feedback on this.
Thanks,
Manivel Rajarathinam
Unable to create Reservations in non-VPC mode
Hello Everyone,
I'm trying to create a reservation for my AWS account using non-VPC mechanism where I specify the location (i.e. us-west-1a, us-west-1c, etc,.) during creation of Reservations... However as I select these locations am unable to see any Security Groups or Load Balancers... Also there is no provision to manually enter the Security Groups... attached is the screenshot. I expect the Security Groups to be auto-populated when I select the location but that doesn't seem to be the case.
I'm able to see the SecurityGroups and subnets for the same regions in a VPC mode (i.e. when 'Assign to a subnet in a VPC' is selected). Is there any way to troubleshoot this?.
And another issue is that I don't see LoadBalancers (that are already created in the AWS regions) in either of the scenarios (VPC or non-VPC mode)...
Do I miss anything here?.
My environment: vRA version 7.4.0 (build 8182598)
Thanks, hari
VM Startup/Shutdown edit button missing
Hi,
we have a strange issue at a customer site with vCSA 6.5U2b (and also previous versions).
There are two hosts with local storage, no HA, on one of those the Edit button in the VM Startup / Shutdown section is missing making it impossible to change the sequence.
It seems a vCSA issue because on the host web client you can edit the vm startup sequence.
Despite all my Googling, I've not been able to resolve this. Can anyone help please?
DELL R930 install esxi6.5u1, vmnic1 is separately invisible
Unable to change the AWS AMI ID programatically
Hello Everyone,
I have a use case for creating an AWS IaaS Blueprint to deploy a vendor provided AMI Image (public from AWS Marketplace). The user would then be presented an option to choose a subnet in a vpc for the image to be deployed. As it is mandatory to specify an AWS AMI Image ID during the IaaS Blueprint creation, the user will not be able to select any subnet outside of the region where the image (that is defined in the blueprint) is available. So for instance if I specify an image that is available in us-west-1 and if the user selects to deploy in a subnet in us-east-2 then the blueprint fails at the "Allocate request" for reservations.
[Infrastructure service provider error: A server error was encountered. Error requesting machine. No reservation is available to allocate within the group AAAAAA. Selected reservation policy was [AWS Res Policy].].
The above error is weird but goes away if I specify the correct AWS AMI ID for the region associated with the reservation policy.
I've tried multiple methods to change the AMI ID programatically but in vain:
- Using EBS (PRE -> BuildingMachine): This does not work as the Allocate for Reservations is executed before the Machine provisioning lifecycle begins.
- Using a XaaS Blueprint to request a catalog Items: I couldn't pass the Amazon Image ID in the JSON payload for the catalog item as it threw the below error... I tried to hack passing the properties "amazon_image" and "__amazon.Image.ID" but resulted in validation errors:
- The value for the field id amazon_image is fixed and cannot be overridden
- [Custom property '__amazon.Image.ID' cannot be from predefined custom properties]
Another solution that I was made aware was to have multiple IaaS Blueprints (or catalog items) for each region with respecitve Amazon Image ID... and have a XaaS blueprint wrapper that can invoke the appropriate catalog item based on the user's request. This mean I need to create multiple catalog items for each region which seems bit messy... Is there a better way to handle this use case scenario?. Any thoughts?
My environment: vRA version 7.4.0 (build 8182598), vRO 7.4.0.8071781
thanks, hari
USB Arbitrator problems
Hi,
I am running VMWare 12.5.9 on a brand new pc/Windows 10 system. The USB arbitrator service never fully starts, it shows status as starting in the Service Control Manager. The same issue was also present in version 12.5.8 - which is why I upgraded!
The log (below) doesn't mean much to me, so I've no idea how to resolve this issue, As this fails before I even try running a VM, I guess it is some incompatibility with my system.
Any thoughts on how I might get this to work?
2018-10-26T16:43:14.294+01:00| usbArb| I125: Log for VMware USB Arbitration Service pid=9472 version=12.5.3 build=build-5097610 option=Release
2018-10-26T16:43:14.294+01:00| usbArb| I125: The process is 64-bit.
2018-10-26T16:43:14.294+01:00| usbArb| I125: Host codepage=windows-1252 encoding=windows-1252
2018-10-26T16:43:14.294+01:00| usbArb| I125: Host is Windows 8 Enterprise, 64-bit (Build 9200)
2018-10-26T16:43:14.281+01:00| usbArb| I125: VTHREAD initialize main thread 3 "usbArb" host id 2976
2018-10-26T16:43:14.283+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.283+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware USB Arbitration Service): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.283+01:00| usbArb| I125: DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware USB Arbitration Service\config.ini": The system cannot find the file specified.
2018-10-26T16:43:14.283+01:00| usbArb| I125: PREF Optional preferences file not found at C:\ProgramData\VMware\VMware USB Arbitration Service\config.ini. Using default values.
2018-10-26T16:43:14.283+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.284+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware USB Arbitration Service): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.284+01:00| usbArb| I125: DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware USB Arbitration Service\settings.ini": The system cannot find the file specified.
2018-10-26T16:43:14.284+01:00| usbArb| I125: PREF Optional preferences file not found at C:\ProgramData\VMware\VMware USB Arbitration Service\settings.ini. Using default values.
2018-10-26T16:43:14.284+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.284+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware USB Arbitration Service): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.285+01:00| usbArb| I125: DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware USB Arbitration Service\config.ini": The system cannot find the file specified.
2018-10-26T16:43:14.285+01:00| usbArb| I125: PREF Optional preferences file not found at C:\ProgramData\VMware\VMware USB Arbitration Service\config.ini. Using default values.
2018-10-26T16:43:14.287+01:00| usbArb| I125: DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.
2018-10-26T16:43:14.287+01:00| usbArb| I125: PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini. Using default values.
2018-10-26T16:43:14.288+01:00| usbArb| I125: PREF Disabling user preferences because disableUserPreferences is set.
2018-10-26T16:43:14.288+01:00| usbArb| I125: PREF Failed to load user preferences.
2018-10-26T16:43:14.288+01:00| usbArb| I125: POLL Using the WSAPoll API Implementation for PollDefault
2018-10-26T16:43:14.293+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Windows): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.293+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Windows\TEMP): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.293+01:00| usbArb| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Windows\TEMP\vmware-SYSTEM): Cannot create a file when that file already exists (183)
2018-10-26T16:43:14.295+01:00| usbArb| I125: Hostinfo_OpenProcessBits: OpenProcess access bits are 1000.
2018-10-26T16:43:14.312+01:00| usbArb| I125: DICT --- GLOBAL SETTINGS C:\ProgramData\VMware\VMware USB Arbitration Service\settings.ini
2018-10-26T16:43:14.312+01:00| usbArb| I125: DICT --- NON PERSISTENT
2018-10-26T16:43:14.312+01:00| usbArb| I125: DICT --- USER PREFERENCES
2018-10-26T16:43:14.312+01:00| usbArb| I125: DICT --- USER DEFAULTS C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini
2018-10-26T16:43:14.312+01:00| usbArb| I125: DICT --- HOST DEFAULTS C:\ProgramData\VMware\VMware USB Arbitration Service\config.ini
2018-10-26T16:43:14.312+01:00| usbArb| I125: DICT --- SITE DEFAULTS C:\ProgramData\VMware\VMware USB Arbitration Service\config.ini
2018-10-26T16:43:14.312+01:00| usbArb| I125: VMware USB Arbitration Service Version 15.2.0
2018-10-26T16:43:14.313+01:00| vthread-4| I125: VTHREAD initialize thread 4 "vthread-4" host id 6004
2018-10-26T16:43:14.313+01:00| vthread-4| I125: USBArb: Starting VMUSBArbService args:'VMUSBArbService'
2018-10-26T16:43:14.317+01:00| vthread-4| I125: USBGW: Host controller #0 hc= "\\?\HCD0"
2018-10-26T16:43:14.317+01:00| vthread-4| I125: USBGW: Host controller #0 rootHubName="USB#ROOT_HUB30#4&233f764e&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}"
2018-10-26T16:43:14.317+01:00| vthread-4| I125: USBGW: Host controller #0 rootHubDevInst="USB\ROOT_HUB30\4&233f764e&0&0"
2018-10-26T16:43:14.317+01:00| vthread-4| I125: USBArbW: Connected to HCMON version 3.12
2018-10-26T16:43:14.332+01:00| vthread-5| I125: VTHREAD initialize thread 5 "vthread-5" host id 9872
2018-10-26T16:43:14.332+01:00| vthread-5| W115: USBArbW: Error setting autoconnect flag: A device attached to the system is not functioning (31)
Vmware Patching for ESXi the portal site not working as it did a few weeks ago
When I tried to sort patch site for newest version to apply; it gives me "No results. Revise the search and try again." For any version
The notice above the version search doesn't really tell me what is different for patching although it mentions patches. These are standalone ESXi without vcenter servers. I hope they didn't change the "update profile" zip file method unless I am missing another option to get patches
Thanks ahead for any help!
Mike
patching portal shows nothing
Dont understand what happened to patch portal for ESXi and the notice is useless to explain searches for any version show no results
Edge ECMP and Reverse Path Filtering
Challenge:
I have multiple customers running NSX on ECMP and below is the typical deployment for ECMP
Ping between DLR to Edge, Edge to Core works and dynamic routing is established.
However, applications does not seem to work and the customer is wondering what is the issue.
In ECMP, there would be asymmetric routing and stateful services cannot work in asymmetric traffic.
So the first obvious thing that need to be checked is firewall on NSX Edge, I did helped them to check the firewall on all Edge and it is already disabled
So what would be the issue?
Solution:
Turned out the RPF (Reverse Path Filter) in the Edges are dropping some traffic. We checked this by logging into the NSX Edge CLI and use the show rpfstats command.
The show rpfilter also shows the reverse path filter configuration for each vNICs.
To fix this, we go to every Edges that participate in ECMP routing and changed the vNIC RPF settings to Loose or Disabled
Relevant links for references:
Reverse path forwarding - Wikipedia
Reverse Path Forwarding in NSX 6.x and vCNS 5.x Edge (2127073)
Troubleshooting NSX for vSphere 6.x Edge appliance (2140009)
Determine disk type inside Workstation
I see several posts about determining disk type inside vCenter and several post on converting disk from Thick to Thin and visa versa, but is there a way inside Workstation Pro to determine the disk type without loading it into vCenter or converting it?
How to create full clone from a linked clone
Using VMware Workstation 14.1.2
I thought I had created a full clone a couple months back but not it appears as though I created a linked clone.
Found out while digging through the vmdk files to resolve a CID issue.
Oops. So now that it is all straightened out, I am looking for some advice on how to create a independent clone from my existing linked clone?
Thanks in advance,
Me