we received a report on the need to close the snmp in the vulnerability scan . how to disable snmp on esxi .
snmp
there is no system disk , data disk, and OVF files in VMware vCenter Server 6.5 ? what are the alternative file for the same ?
we can use ystem disk , data disk, and OVF files in VMware vCenter Server 5.5 . but we cant find the same files in 6.5 ? what are the difference ?
which are the alternative files we can use ?
Cannot delete files in datastore?
We have 5 EXSI host 6.0 and a vCenter server 6.5.
I'm trying to delete a folder that has the vm's files in it off the datastore. I receive an error message stating that the file are not accessible.
I am logged in with the local admin account.
Could it be that there is a locked file somewhere?
Writable Volumes Follow user on multiple Clusters ?
Hi All,
Having a play with Writable Volumes.
Our setup
Appvolumes Version: 2.16
Windows 10 1709
UEM 9.7
Question I have is we currently have a STD desktop pool that is load balanced between 4 clusters.
I have found if we create a writable volume on Cluster 1, the user does not get the writable on another clusters without manually moving the writable volumes.
So given the user could be load balanced to any of the 4 clusters is there a way to have the writable follow the user when logging in?
Sorry if silly question.
Thanks, in advanced
Invoke-VMScript - An error occurred while sending the request
Hi,
I am writing a script that use invoke-vmscript and Copy-VMGuestFile but they throw an error when I run them again the vcenter server.
Here one example:
Invoke-VMScript -ScriptText $NetworkSettings -VM $VMName -GuestCredential $credential
Invoke-VMScript : 01/04/2019 10:56:52 Invoke-VMScript An error occurred while sending the request.
At C:\Users\user\Documents\vscodeProjects\SupportTeam\Vmware-Automation\Actions\CONFIGNET\ActionCONFIGNET.psm1:43 char:5
+ Invoke-VMScript -ScriptText $NetworkSettings -VM $VMName -GuestCr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-VMScript], ViError
+ FullyQualifiedErrorId : Client20_VmGuestServiceImpl_DownloadFileFromGuest_DownloadError,VMware.VimAutomation.ViCore.Cmdlets.Commands.InvokeVmScript
To notice that I connected correctly to the vcenter before run the Invoke-Script and that the script contained in $NetworkSettings has been run correctly on the guest VM. The only problem seems to happen when the Invoke-VMScript try to read the result. If I run the Invoke-VMScript again the physical host instead the VCenter everything is working.
Vcenter, physical host and the machine who the invoke-vmscript are in the same network.
Same problem if I use the Copy-VMGuestFile
Any ideas?
vSphere HTML5 Web Client
My vSphere is signed with the corporate certificate
PSC is intermidiate the center of certification.
After installed the vSphere HTML5 Web Client (fling)
It received the certificate from PSC, but with the incorrect instruction "canonical name"
How to make new request with correct CN?
And also to add subject alternative name there (DNS name, IP, URL)
VDP Upgrade from 6.1.10 to 6.1.11 not possible
Hello @ll,
i would like to upgrade from 6.1.10 to 6.1.11 but after mounting the new iso there are no upgrades shown on vdp-configure. I can see on Shell that the images is mounting ok and also follow this link: VMware Knowledge Base but no upgrade are available.
The Restart of avintaller are get some error:
INFO: Stopping AVI...
09:02:18.947 [main] INFO com.avamar.avinstaller.AVIMain - Loaded config properties...
09:02:18,886 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
09:02:18,886 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
09:02:18,886 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
09:02:18,887 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Setting up default configuration.
09:02:19,011 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
09:02:19,011 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
09:02:19,031 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
09:02:19,039 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
09:02:19,041 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
09:02:19,066 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
09:02:19,067 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /usr/local/avamar/lib/jetty//logs/jetty_%d{yyyy-MM-dd}.%i.log for the active file
09:02:19,069 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5e025e70 - The date pattern is 'yyyy-MM-dd' from file name pattern '/usr/local/avamar/lib/jetty//logs/jetty_%d{yyyy-MM-dd}.%i.log'.
09:02:19,069 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5e025e70 - Roll-over at midnight.
09:02:19,072 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@5e025e70 - Setting initial period to Wed Jan 02 15:53:24 CET 2019
09:02:19,081 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
09:02:19,082 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: /usr/local/avamar/lib/jetty//logs/jetty.log
09:02:19,082 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [/usr/local/avamar/lib/jetty//logs/jetty.log]
09:02:19,083 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
09:02:19,083 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
09:02:19,083 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
09:02:19,083 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
09:02:19,083 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@c818063 - Registering current configuration as safe fallback point
java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.avamar.avinstaller.AVIJettyHelper.stop(AVIJettyHelper.java:43)
at com.avamar.avinstaller.AVIMain.main(AVIMain.java:350)
Usage: java -jar start.jar [options]
java -jar start.jar --help # for more information
Avistart process:
INFO: Force to stop AVI...
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Avistart process:
AvInstaller is already running
and there are no aviinstaller logs available.
Is there any one how has the same problem or can help me?
Thanks in advanced
TBC
AMD Ryzen 2700x | unable to make virtual Lab with ESXI 6.xx
CPU : AMD Ryzen 2700x
MotherBoard: AX370 Gaming K3 (f20 BIOS)
RAM : 16GB DDR4 Adata
Power supply : Corsair 650 Watt
Hard Drive : 240GB Sata & 1TB WD
Workstation : Window 10 OS.
- I have installed VMware workstation & Virtual Box for creating multiple VM's
- I have tested by creating Window2016 & linux OS , its working fine.
- But whenever i have installing the VMware ESXI 6.0 & 6.5 its gives warning massage "CPU not list in HCL(vmware hardware compatibility list)"
- After installation boots normally ESXI VM's but problem is whenever i am trying to create the Virtual machine onto ESXI server(VM) , server gets hanged in Pink screen(PSOD).
PowerCLI delete unused TAGs
Hello.
Anybody have powercli script for tags cleaning: find tags that no attached to any object and delete them?
DefaultVIServer -match -notmatch bug ?
Hello Community,
I recreate my topic after some research. First of all I'm working on a CentOS7 with a PowerShell 6.7 package & a PowerCli 11.0.0 module.
I've been through an issue with my powercli script that check if I'm already connected to the vSphere I want to use. I can connect to multiple vSphere so this change some things.
So the problem is that sometimes I need to use $Global:DefaultVIServer(s) or $Global:global:DefaultVIServer(s) to match or not match with a variable.
This is a table with on the left the command executed (in a script or manually) and on the right the result or a '-' if there no output.
Note: PowerCli-Connection is a personnal script.
Script / Manual execution | Result |
---|---|
'1 ';$Global:global:DefaultVIServer '2 ';$Global:global:DefaultVIServers '3 ';$Global:DefaultVIServer '4 ';$Global:DefaultVIServers '-----------------' '1 ';if ($Global:global:DefaultVIServer -notmatch $vSphere){'ok'} '2 ';if ($Global:global:DefaultVIServers -notmatch $vSphere){'ok'} '3 ';if ($Global:DefaultVIServer -notmatch $vSphere){'ok'} '4 ';if ($Global:DefaultVIServers -notmatch $vSphere){'ok'} '-----------------' '1 ';if ($Global:global:DefaultVIServer -match $vSphere){'ok'} '2 ';if ($Global:global:DefaultVIServers -match $vSphere){'ok'} '3 ';if ($Global:DefaultVIServer -match $vSphere){'ok'} '4 ';if ($Global:DefaultVIServers -match $vSphere){'ok'} '----------------' PowerCli-Connection -Server $vSphere ----------------- '1 ';$Global:global:DefaultVIServer '2 ';$Global:global:DefaultVIServers '3 ';$Global:DefaultVIServer '4 ';$Global:DefaultVIServers '-----------------' '1 ';if ($Global:global:DefaultVIServer -notmatch $vSphere){'ok'} '2 ';if ($Global:global:DefaultVIServers -notmatch $vSphere){'ok'} '3 ';if ($Global:DefaultVIServer -notmatch $vSphere){'ok'} '4 ';if ($Global:DefaultVIServers -notmatch $vSphere){'ok'} '-----------------' '1 ';if ($Global:global:DefaultVIServer -match $vSphere){'ok'} '2 ';if ($Global:global:DefaultVIServers -match $vSphere){'ok'} '3 ';if ($Global:DefaultVIServer -match $vSphere){'ok'} '4 ';if ($Global:DefaultVIServers -match $vSphere){'ok'} | 1. - |
So this not an issue, I found a workaround to this but can someone explain this ? Is this a bug ?
-------------
For those who want the workaround, use reverse result of working comparaison operator:
if (!($Global:DefaultVIServers -match $vSphere)){ PowerCli-Connection -Server $vSphere }
Check LucD reply for a clean way to do it.
New Horizon View 7.8 Install.
Desktop Pools (Instant Clones) are working Ok (users are signed in). But on the Admin Console, the Users & Sessions are Blank.
Everything else looks good. Not sure where to start...
To assign license key in vCenter Server 6.5
Please follow mentioned steps
- Login to Virtual Center using Web or vSphere Client.
- On top of console, you can see the note saying that licenses in our inventory either expired or not available.
- Go to Home > Click onLicensesunder Administration Tab
- Click on Manage your Licensesin Getting Started Tab or Go toLicensesTab.
- Click on+icon toCreate New Licenses.
- Enter the vCenter Server 6.x Standard license key and press Enter to add a new line.
- Enter the vSphere 6.x Standard license key(For ESXi), and click Next.
- Label the license keys as per your convenient. Click onNext.
vRO and Account Lockout Workflow
Can i find in vRO for how many times it has ran the account lockout workflow for a same account ?
E.g. If Account "ABC" is getting locked out for multiple times and account lock out workflow is unlocking the account each time, After 2nd or 3rd lockout i should be able to find that account is lockout 3rd time and this is an issue and needs problem management ?
Is this possible from vRO ??
How to total DataStoreCluster Capacity and FreeSpace not individual DataStores?
I have seen several examples of generating a report that list the CapacityTB and FreeSpaceTB for a individual Datastores within a DataStoreCluster, but I cannot determine how to just generate:
1. The total CapacityTB of a data store cluster
2. The total FreeSpaceTB of a data store cluster
3. Determine a Provisioned % of a data store cluster, e.g FreeSpaceTB / CapacityTB
I had been using an example that Lucd posted and lightly modified:
foreach ($vc in $VIServer) {
Get-DatastoreCluster -Server $vc |
Select @{N = 'vCenter'; E = {$vc.Name}},
@{N = 'Datacenter'; E = {(Get-Datastore -RelatedObject $_ | select -First 1).Datacenter.Name}},
@{N = 'DSC'; E = {"some DataStoreCluster"}},
CapacityGB,
@{N = 'FreespaceTB'; E = {[math]::Round($_.FreespaceTB, 2)}},
@{N = 'Freespace%'; E = {[math]::Round($_.FreespaceTB / $_.CapacityTB * 100, 1)}},
@{N = 'ProvisionedSpaceTB'; E = {
[math]::Round(($_.ExtensionData.Summary.Capacity - $_.Extensiondata.Summary.FreeSpace + $_.ExtensionData.Summary.Uncommitted) / 1TB, 2)}
},
@{N = 'UnCommittedTB'; E = {[math]::Round($_.ExtensionData.Summary.Uncommitted / 1TB, 2)}},
@{N = 'VM'; E = {((Get-View -Id $_.ExtensionData.ChildEntity).VM.Count | Measure-Object -Sum).Sum}}
}
But it only returns individual DataStores, when I what I really want is to see total for the DataStoreCluster.
I would really love to just limit it to the DataStoreClusters within a specific Cluster of the DataCenter. I'm exhausted my very limited PowerShell skills.
New installation of Vmware fusion 11 pro on macos Mojave Could not open /dev/vmmon: Broken pipe
Why is this happening on a an upgrade to the lates version on the latest version of Macos....
Any clues
I am getting fed up with these sort of issues with VMware when Parallels works perfectly...
????
SRM plugin for vRO
Hi guys
I've a test environment where the following is installed:
- vCSA 6.7 U1
- SRM 8.1.1
- vRA 7.5 (with embedded vRO)
- vSphere replication
What I would like to achieve is to be able to place VMs created by vRA into protection groups
I'm currently stuck at setting up my vRO instance to my SRM.
I've setup the plugin (.vmoapp) via vRO Control Center and the new workflows under SRM is available in the vRO Client
The first thing to do is to Configure Local Sites via Workflows > Library > SRM > Configuration
I've keyed in the necessary information and there isn't any error shown, logs show nothing as well. However, when I try to configure remote site, I can't see the local site that I've setup earlier.
I went to Inventory > SRM and that's it, my local site is not shown at all.
What seems to be the issue here?
configure HA in 6.5 U2
Hi All,
Planning to upgrade VCSA 6.5 U1 upgrade to 6.5 U2 and configure HA. Looking for help on configuring HA in VCSA.
Thanks
vmk
Change the currency
hi can u Change the currency from $ to RIAL ? i think by general way is not possible and any way to add RIAL on currency ?
How to shrink a thick-provisioned disk
I'm running ESXi 6.5 and have a server that has a 1TB, thick-provisioned drive as part of it's virtual makeup that I'd like to reduce. Current used space is less than 200GB and isn't going to grow beyond that. This is a production server, so the utmost care must be taken. There are 4 other drives on this virtual server and they are all fine with their respective sizing. Is it possible to shrink that overly large disk and recover the unused LUN space? Thanks