Hi Expert ,
i just want to know that can i downgrade the license of vSAN Enterprise to vSAN Advanced .
does it impact on the Cluster or not , because both license support All Flash .
Thanks
Hi Expert ,
i just want to know that can i downgrade the license of vSAN Enterprise to vSAN Advanced .
does it impact on the Cluster or not , because both license support All Flash .
Thanks
I realize that it is not in the core deliverables, but wonder if you have an offline system capability.
For example I have few systems that are not connected thus not able to currently use the collector. Is there an ability to run a "dump" or similar on the host and then upload the "dump" to skyline and it then analyze.
I am working on the approvals and paperwork to get it connected to be able to upload to skyline, but not sure of that outcome/timeline. Our main environment is connected - just a small side one.
I know Runecast was advising they did offline and on-prem DC but have not looked enough at the solution.
Thanks.
Hi,
I am trying to create one small script to check datastore utilization percent, but if condition is not working. Can any one help me on this.
Connect-VIServer -Server VC001
$size = Get-Datastore -Name Datastore001 | Select-Object name, @{name="CapacityGB";Expression={[math]::Round($_.capacitygb,2)}}, @{name="FreeSpaceGB";Expression={[math]::Round($_.freespacegb,2)}}, @{name="PercentFree";Expression={[math]::Round(($_.freespacegb / $_.capacitygb * 100),2)}}
If(percentFree -gt 50)
{
'Datastore freespace is morethan 50%'
}
else
{
'Datastore freespace is lessthan 50%'
}
Thanks in advance
Hello, Im on an internal audit and one of the point that they mark to me is that i have to secure the bios access with a 12 characters lenght, but when im on the bios I only can use 8 characters. Is there any way to change that setting or is only 8 characters option?
hope you can help me thankyou.
Hi Guys,
I've been given the task to migrate all of our running VMs(approx. 2000) from one datacenter to another.
As usual, I've started to test the corresponding cmdlets I'd like to use for my script, however I don't quite get the usage of Move-VM.
What I'd like to do is move the VMs to:
- a specified folder
- a specified ESXiCluster
- a specified DatastoreCluster
I would import all of these info from a .csv file.
I encountered the following errors when I tested the cmdlet:
Refering to the 6.5 PowerCLI documentation found at VMware vSphere 6.5 Documentation Library there should be a parameter called -InventoryLocation, however when I tried,my PowerCLI couldn't find this parameter.
When I specified the ESXiCluster with the parameter -Destination, I got the following error:
Get-VM -Name Test_HB1 | Move-VM -Destination TEST-ESXi-CLU -Datastore test-dsc -PortGroup $portg
Move-VM : 2019.06.24. 14:08:50 Move-VM Cannot move the specified virtual machine 'Test_HB1' to the destination DRS cluster. Turn the virtual machine On or specify a VM Host within that cluster.
Alright, I turned the VM on, then I got the following:
Get-VM -Name Test_HB1 | Move-VM -Destination TEST-ESXi-CLU -Datastore test-dsc -PortGroup $portg
Move-VM : 2019.06.24. 14:13:41 Move-VM Cannot move the specified virtual machine 'Test_HB1' to the destination cluster and datastore. The destination cluster is a DRS cluster and a destination datastore cannot be specified.
If I specify an exact ESXi host the command runs just fine.
Get-VM -Name Test_HB1 | Move-VM -Destination tst-esx-a-009 -Datastore tst-dsc -PortGroup $portg
After many failed attempts at googling the answer I couldn't find anything related to this (or maybe my googling skills failed me), so that's why I'm asking for your help to clarify what I'm doing wrong.
Some answers to the future questions which might come up:
The 2 datacenters are in 1 vCenter.
The target ESXiCluster is connected to the target DatastoreCluster.
PowerCLI version:
PowerCLI Version
----------------
VMware PowerCLI 6.5 Release 1 build 4624819
---------------
Component Versions
---------------
VMware Cis Core PowerCLI Component 6.5 build 4624453
VMware VimAutomation Core PowerCLI Component 6.5 build 4624450
VMWare ImageBuilder PowerCLI Component 6.5 build 4561891
VMWare AutoDeploy PowerCLI Component 6.5 build 4561891
VMware Vds PowerCLI Component 6.5 build 4624695
VMware Cloud PowerCLI Component 6.5 build 4624821
VMware HA PowerCLI Component 6.0 build 4525225
VMware HorizonView PowerCLI Component 7.0.2 build 4596620
VMware Licensing PowerCLI Component 6.5 build 4624822
VMware PCloud PowerCLI Component 6.5 build 4624825
VMware Storage PowerCLI Component 6.5 build 4624820
VMware vROps PowerCLI Component 6.5 build 4624824
VMware vSphere Update Manager PowerCLI 6.5 build 4540462
Thank you in advance for your reply,
Goshin
Hi
I'm very new to vmware, installed 3x nucs with 3xESXI hosts 6.7
Want Vcenter so installed VCSA 6.7 release but i'm not allowed to https://x.x.x.x:5480
It gives me errors when using a web browser. The connection is interupted according to the web browser.
I've created a DNS zone and the A-record works
reverse zone is created and works
I can SSH to the device, I can ping it etc etc.
Now, the installer gives error during the phase 2 of the VCSA installation and this it the logs
2019-06-28T12:08:38.889Z - info: ******cvLog END******
2019-06-28T12:08:38.889Z - debug: cvLog got ipv4 line:DEFAULT_IPV4: 10.255.2.11, guestIpv4Set: 10.255.2.11
2019-06-28T12:08:38.889Z - debug: cvLog got ipv6 line:DEFAULT_IPV6:, guestIpv6Set: null
2019-06-28T12:08:38.889Z - debug: cvLog got hostname line:Host name has been set to vcsa01.adab.local, guestHostnameSet: vcsa01.adab.local
2019-06-28T12:08:38.889Z - info: cvLog got startLine:2019-06-28T20:04:38.263Z: Doing initial package configuration ...
2019-06-28T12:08:38.889Z - info: cvLog got endLine:2019-06-28T20:06:09.113Z: Initial RPM install done.
2019-06-28T12:08:38.889Z - info: guestNetMode: static, guestNetFamily: IPv4, guestIp: 10.255.2.11, guestIpv4Set: 10.255.2.11, guestIpv6Set: null, guestHostnameSet: vcsa01.adab.local
2019-06-28T12:08:38.890Z - info: <PERFORMANCE>:RPM_INSTALL:90:seconds
2019-06-28T12:08:38.894Z - info: cloudvm log file: C:\Users\anders\AppData\Local\Temp\vcsaUiInstaller\cloudvm-20190628-140146261-20190628-140258750.log
2019-06-28T12:08:38.894Z - info: Final host name: 10.255.2.11
2019-06-28T12:08:38.894Z - info: vamiBaseUrl was set to: https://10.255.2.11:5480/
2019-06-28T12:08:38.897Z - debug: isResolvedTo: fqdn: vcsa01.adab.local, ip: 10.255.2.11
2019-06-28T12:08:38.897Z - info: VAMI_CONN_MAX_TRY: 25
2019-06-28T12:08:38.918Z - error: Could not get response for get request from url https://vcsa01.adab.local:5480/: Error: read ECONNRESET
2019-06-28T12:08:38.918Z - error: VAMI is NOT accessilbe[1]: https://vcsa01.adab.local:5480/, err: Could not get response for get request from url http
.....
2019-06-28T12:08:39.134Z - error: Could not get response for get request from url https://vcsa01.adab.local:5480/: Error: read ECONNRESET
2019-06-28T12:08:39.134Z - error: VAMI is NOT accessilbe[24]: https://vcsa01.adab.local:5480/, err: Could not get response for get request from url https://vcsa01.adab.local:5480/: Error: read ECONNRESET
2019-06-28T12:08:39.143Z - error: Could not get response for get request from url https://vcsa01.adab.local:5480/: Error: read ECONNRESET
2019-06-28T12:08:39.144Z - error: VAMI is NOT accessilbe[25]: https://vcsa01.adab.local:5480/, err: Could not get response for get request from url https://vcsa01.adab.local:5480/: Error: read ECONNRESET
2019-06-28T12:08:39.160Z - info: Cancelling the ping timer for session mgmt
2019-06-28T12:08:43.638Z - error: Request timed out after 30000 ms, url: https://nuc01.adab.local:443/guestFile?id=6&token=52822988-8e6d-93c9-069b-8b77e6220e296
2019-06-28T12:08:53.666Z - error: Request timed out after 30000 ms, url: https://nuc01.adab.local:443/guestFile?id=6&token=5285b312-caa6-5b50-7580-54957cc894756
2019-06-28T12:09:03.669Z - error: Request timed out after 30000 ms, url: https://nuc01.adab.local:443/guestFile?id=6&token=5207dff2-e30d-4339-6b20-ff7d215c4dd26
2019-06-28T12:09:08.888Z - error: Request timed out after 30000 ms, url: https://nuc01.adab.local:443/guestFile?id=6&token=527c50b6-b4ab-3def-a235-e63dc177e4f76
2019-06-28T12:09:08.916Z - error: Request timed out after 30000 ms, url: https://vcsa01.adab.local:5480/
2019-06-28T12:09:08.930Z - error: Request timed out after 30000 ms, url: https://vcsa01.adab.local:5480/
2019-06-28T12:09:08.941Z - error: Request timed out after 30000 ms, url: https://vcsa01.adab.local:5480/
2019-06-28T12:09:08.948Z - error: Request timed out after 30000 ms, url: https://vcsa01.adab.local:5480/
2019-06-28T12:09:08.965Z - error: Request timed out after 30000 ms, url: https://vcsa01.adab.local:5480/
2019-06-28T12:09:08.965Z - error: Request timed out after 30000 ms, url: https://vcsa01.adab.local:5480/
2019-06-28T12:09:08.977Z - error: Request timed out after 30000 ms, url: https://vcsa01.adab.local:5480/
I've probably deleted & recreated the vcsa appliance 10++ times with the same issue and need some pointers..
Is it the NUC01 that fails the installation? What can I do? Something I'm missing here?
Using a powercli script I connect to a vCenter server 4.1 and afterthat I launch the command Get-VMHost. I receive this message “Could not find Inventory Service endpoint for server”. Can someone help me to know what means? Consider that other cmdlets like Get-VM run correctly….
"Couldn't create collection task to test endpoint. -> java.lang.RuntimeException: Couldn't login the client. -> Couldn't login the client. -> Server rejected the provided time range. Cause:ns0:InvalidTimeRange: The token authority rejected an issue request for TimePeriod [startTime=Mon Apr 06 10:49:10 UTC 2020, endTime=Mon Apr 06 11:19:10 UTC 2020] :: The requested token start time differs from the issue instant more than the acceptable deviation (clock tolerance) of 600000 ms. Requested token start time=Mon Apr 06 10:49:10 UTC 2020, issue instant time=Mon Apr 06 11:03:05 UTC 2020. This might be due to a clock skew problem."
Vcentre is set to BST
Skyline Appliance set to BST
Hi
I'm using actually VMware Workstation 15Pro (Version 15.0.4) on CentOS 7.
Guest is Win 7.
Win 7 is able to communicate with my LAN via NAT.
My files are stored at some synology disc stations attached to the LAN.
The shares are mounted at Win 7 as network drives
All went well many years.
Since some time (I think maybe since 2020)
I have problems with saving from my main apps.
SR1 (Software for calculation of screws), ANSYS 2019, and PTC Creo 3.0
When I try to save, I get different error messages.
(failed to safe, check permissions, not valid file name (but its not true), check space)
I'm able to write to D (its a vmware drive) and copy later to my samba share,
but thats not a good solution...
VMware Tools are also up to date.
I have no problems to write to the NAS from my host system (centos 7) or to write to the NAS from another PC, on which runs Win7.
What may be the reason?
What can I do?
Greetings, Holger
Edit:
It looks so, that the problem arises, if I try to overwrite an existing file.
Greetings
Hi,
i think th title is preaty clear. We have a vcenter versin 6.7 with host on esxi server 6.7.0.
i would like to plan a task to restart a service like ntp on all esx in this vcenter, i thnik yhere is 2 solutions :
- a script which connects to each esx and which launches a service restart command like
Connect-viserver vcenter1 -user root -pass password $report = foreach($esx in Get-VMHost){ Restart-VMHostService -HostService ( $_ | Get-VMHostService | Where { $_.Key -eq "ntpd" } ) }
- or a planified task in vcenter but the option is not active i think because a can edit run a task but not add a task.
So
what is your opinion and the possibilities ?
Thank you
Hi, I have a support case due to a vsphere replication upgrade 6.1.2 to 8.1 not going so well. The dr site went fine, but as usual in every experience with this fragile solution, the protected site will not keep the VRM service started.
So I opened up a case and since the web UI gives an exception error getting logs I have to do this command line. The FAQ support gave me was:
https://kb.vmware.com/s/article/2013091
I followed this and even went into sshd_config file and at the near bottom was PermitRootLogin which I changed to yes, did a wq to write and quite out of vi and then service sshd restart.
However when I use WinSCP to try to go and grab the log bundle I generated, it keeps saying access denied. I'm actually pasting the VR root password in which I verified my clipboard is correct by pasting it into notepad first.
For whatever reason it keeps denying me and I cannot for the life of me get SCP or SFTP onto this box to grab the logs. How do I do it?
I have several ESXi hosts and I'm trying to get them to join AD so I can roll out administrative permissions through AD groups. I have joined the servers to the domain and that part worked as expected.
Now, when I go into Permissions to add a group, as soon as I choose my domain in the dropdown, I get the following error:
"A general system error occurred: Error accessing directory: Can't bind to LDAP server for domain <domain name>. Call "UserDirectory.RetrieveUserGroups" for object "ha-user-directory" on ESXi "<hostname>" failed."
This is occurring on 5 of my 7 ESXi hosts, and there's nothing that I'm aware of that's different on the other two.
Could this be a problem with requiring LDAPS on my domain? If so, why would it work on the other two servers? Just weird.
Any tips would be appreciated. Thanks!
We have a Virtual Machine with 6 snapshots that was created by veeam that couldn't be removed autmatically (we didn't recognize that till lately). The partition is 1.5 TB and the oldest snapshot is 1TB.
I removed one of the latest Snapshot (~30GB) ant this took about 2 hours and used about 300GB on the Disk.
On the disk 800GB are free and im a bit affraid to remove the large snapshot because it is 1TB in size.
The version of vmware is 6.7 and there are 3 Servers and one HP MSA Storage.
Has someone experience how much space such a snapshot removal is using?
Is it better to remove all snapshots at once or remove step by step from the newest?
Or are there any other tips how to remove this snapshot?
TIA
Rolf
I just upgraded to Fusion 11.5 this morning, and found that networking seems to be completely and irreversably broken.
All of the network settings in Preferences are grayed out.
None of the VMs can see their network devices, and all network settings in the machine settings are grayed out. I tried a previous poster's method of removing and re-adding the interface with no luck. The same occurs when creating a new VM.
I'm running the latest Mojave on a 2018 15" MacBook Pro.
Trying to figure out how I can downgrade back to 11.1, this is really disappointing.
I have been using VSAN ready nodes at our alternate datacenter for several years and looking at replacing some aging servers for View.
I looked at the vsan ready nodes for procs with 18 or 20 cores each and I don't see them unless I go AMD. It seems I see plenty with 8,10, and 12. The sizer recommends I go with ones a good bit higher than that, but they are available from hpe or dell.
Any thoughts on how to find them w/o calling sales team from hpe or dell?
Thanks.
Dear all,
I want to take your recommendations that I want to upgrade my Windows Server from 2016 to 2019. So, I want the best practices for this upgrade process. Specially, I'm using Remote Desktop Session Host Roles with license.
So, If I start upgrading windows normally, Do will I face any problems ?
Thanks,
Hi there,
is there any way to create vvol DS from vmware powercli.
Thanks
I am starting to get annoyed having to constantly allowing application running from departmental shares. We have a lot of shares but the servers are the same. Is there a hidden feature to this?
We are using vsphere 6.5.
After a VM is deleted from vcenter, will that mac address get reused if a new VM is created?
Is there documentation on this ?
Thanks
Tom