All Posts

Hi, I want to be able to login to vCenter via Power.CLI and shut down VMs, even if no DC is available. So I created a local user named scriptaccess on VMware vCenter Server 7.0.3.00100. Command>... See more...
Hi, I want to be able to login to vCenter via Power.CLI and shut down VMs, even if no DC is available. So I created a local user named scriptaccess on VMware vCenter Server 7.0.3.00100. Command> localaccounts.user.list Config: .... 4: Username: scriptaccess Role: admin Fullname: scriptaccess Status: enabled Passwordstatus: valid Email: '' I tried operator and admin role for this local user, but I was not able to connect to vCenter: X:> Connect-VIServer -Server vCenter.example.com -user scriptaccess Connect-VIServer Permission to perform this operation was denied. Required privilege 'System.View' on managed object with id 'Folder-group-d1'. In Zeile:1 Zeichen:1 + Connect-VIServer -Server vCenter.example.com -user scriptaccess + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Connect-VIServer], NoPermission + FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_Reconnect_SoapException,VMware.VimAutomation.ViCore.Cmd lets.Commands.ConnectVIServer I am wondering, that an operator or admin role does not have the 'System.View' privilege. Does someone know, how to give that privilege to the new created local vCenter user?
Hello thanks for feedback, Can u help me to resolve this problem? How can i delete some logs? Wait for feedback, Best Regards, João Frias
What I find so stunning, dumbfounding, and disheartening is that the Micron would engage in the reputational risk of such a seemingly arbitrary decision. There is no good reason for it other than som... See more...
What I find so stunning, dumbfounding, and disheartening is that the Micron would engage in the reputational risk of such a seemingly arbitrary decision. There is no good reason for it other than someone made a business decision that intentionally harms their customers. Not only us as end-users, but the companies like our server vendor to whom they supply their storage devices.
Hello, thank you for your reply. we currently have 8 slots all occupied by 2TB hard drives. I was considering the possibility of inserting a powervault MD1400 with HD SAS from 600gb at 10k rpm. Is t... See more...
Hello, thank you for your reply. we currently have 8 slots all occupied by 2TB hard drives. I was considering the possibility of inserting a powervault MD1400 with HD SAS from 600gb at 10k rpm. Is there any guide I can follow to upgrade the server? Thank you.  
Yes, I tried using setup.exe too. It seems that its asking for interactive login to run the exe but how I can pass that through using this code . I mean how to bypass the interactive login 
Thanks both Fabio and Joerg, you got it correct! And Kudos to you!
No sure, but did you try calling setup.exe instead of setup64.exe? André
You're correct. There are 3 PortGroups corresponding to the same name as seen below. The reason for that is there are 3 clusters in our VxRail env and each cluster has it's own DvSwitch. I'm guessing... See more...
You're correct. There are 3 PortGroups corresponding to the same name as seen below. The reason for that is there are 3 clusters in our VxRail env and each cluster has it's own DvSwitch. I'm guessing that I need to use DVSwitch argument somewhere in the Set-NetworkAdapter command to make it work. Am I correct in assuming that? PS C:\> Get-VdPortgroup -Name "XYZ|xyz-profile|xyz-001-epg" Name NumPorts PortBinding ---- -------- ----------- XYZ|xyz-profile|xyz-001-epg 0 Static XYZ|xyz-profile|xyz-001-epg 8 Static XYZ|xyz-profile|xyz-001-epg 8 Static
Hi,   did you already connect to your vCSA via port 5480 to see how the current status is?   Regards, Ralf
Hello everyone, I am currently stuck unable to boot one of our virtual machines running CentOS 6, it gives the following error: ========================================= mount: wrong fs type, bad o... See more...
Hello everyone, I am currently stuck unable to boot one of our virtual machines running CentOS 6, it gives the following error: ========================================= mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup00-LogVol00, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm, init Tainted: G W --------------------- 2.6.32-504.el6.i686 # 1 Call Trace: [<c085f27c>] ? panic+0x6e/0x122 [<c0462911>] ? do_exit+0x741/0x758 [<c046295c>] ? do_group_exit+0x3c/0xa0 [<c04629d1>] ? sys_exit_group+0x11/0x20 [<c0409a5f>] ? sysenter_do_call+0x12/0x28 ========================================== I've seen other mentions of running dmesg on various forums, however I have zero experience working with this version of linux and what little experience I do have is not sufficient for errors of this caliber. Currently I can enter the Grub 0.97 menu where I can enter a command line, edit commands before booting, or modify kernel arguments. However I cannot get any commands to work via the command line which leads me to believe that some other prerequisite needs to be met in order to actually work with the system. As noted in the title, this system was running fine just last week but now suddenly won't boot. The same VMware machine also runs a Windows VM which has no issues. Can anyone advise on things I can try from the GRUB menu? Or if there is some way I can interrupt the boot process to enter commands before this error occurs? Or maybe even something from the VSphere Client that can be run? Also I was not the tech who setup this system originally.  If things need to be reinstalled then I don't believe I have the skills or records to do so. Thank you for your time, if there is any additional information that would be helpful, please let me know.
I provided the Micron team with screenshots from the HCL and they now admit to having done the certification. Our server vendor was just a surprised as we were. There is supposed to be another meetin... See more...
I provided the Micron team with screenshots from the HCL and they now admit to having done the certification. Our server vendor was just a surprised as we were. There is supposed to be another meeting today, I believe, where Micron will propose a solution. For more $$$$, undoubtedly.
Hello, Am trying to gather major vCenter inventory data with VMware PowerShell, but am not able to get Annotation part. This part should be added below in Add-member.... Below is my script: Clear... See more...
Hello, Am trying to gather major vCenter inventory data with VMware PowerShell, but am not able to get Annotation part. This part should be added below in Add-member.... Below is my script: Clear-Host $vcs = @("vCenterFQDN") # FQDN of your vCenter server. $logFile = "C:\Temp\VMInventory.csv" # Where you want to save the CSV file $vcsCluster = "*" # Filters which cluster you want to pull VM stats from. $businessUnitName = "Element" # Name of Business Unit that the script is gathering stats for if($vcs -contains "vCenterFQDN"){ $vcs = Read-Host -Prompt "FQDN of vCenter Server" } $vcsCreds = Get-Credential -Message "vCenter Credentials" #$wmiCreds = Get-Credential -Message "WMI Credentials" Import-Module VMware.VimAutomation.Core Connect-VIServer $vcs -Credential $vcsCreds | Out-Null $vms = Get-Cluster -Name $vcsCluster | Get-VM $count = 0 $results = @() $Script:ProgressPreferenceOriginal = $ProgressPreference Clear-Host foreach($vm in $vms){ # Progress Bar setup $count++ $percentComplete = [math]::Round(($count / $vms.Count) * 100,1) Write-Progress -Activity "Collecting info on $($vm.Name)" -Status "$percentComplete% Complete" -PercentComplete $percentComplete # Store VM stat info in PSObject $object = New-Object PSObject Add-Member -InputObject $object -MemberType NoteProperty -Name BusinessUnit -Value $businessUnitName Add-Member -InputObject $object -MemberType NoteProperty -Name Name -Value $vm.Name Add-Member -InputObject $object -MemberType NoteProperty -Name Domain -Value (($vm.Guest.Hostname.Split('.') | Select-Object -Skip 1) -join '.') Add-Member -InputObject $object -MemberType NoteProperty -Name Location -Value " " Add-Member -InputObject $object -MemberType NoteProperty -Name IPAddress -Value ($vm.Guest.IPAddress -join ", ") Add-Member -InputObject $object -MemberType NoteProperty -Name Function -Value " " Add-Member -InputObject $object -MemberType NoteProperty -Name PorV -Value "Virtual" Add-Member -InputObject $object -MemberType NoteProperty -Name vCluster -Value ($vm | Get-Cluster).Name Add-Member -InputObject $object -MemberType NoteProperty -Name vHost -Value $vm.VMHost Add-Member -InputObject $object -MemberType NoteProperty -Name Make -Value "N/A" Add-Member -InputObject $object -MemberType NoteProperty -Name Model -Value "N/A" Add-Member -InputObject $object -MemberType NoteProperty -Name SerialNumber -Value "N/A" Add-Member -InputObject $object -MemberType NoteProperty -Name CPU -Value $vm.NumCpu Add-Member -InputObject $object -MemberType NoteProperty -Name vSocket -Value ($vm.NumCpu / $vm.CoresPerSocket) Add-Member -InputObject $object -MemberType NoteProperty -Name CoreCount -Value $vm.CoresPerSocket Add-Member -InputObject $object -MemberType NoteProperty -Name MemoryGB -Value $vm.MemoryGB Add-Member -InputObject $object -MemberType NoteProperty -Name OperatingSystem -Value $vm.Guest.OSFullName Add-Member -InputObject $object -MemberType NoteProperty -Name UsedSpaceGB -Value ([math]::Round($vm.UsedSpaceGB, 0)) Add-Member -InputObject $object -MemberType NoteProperty -Name ProvisionedSpaceGB -Value ([math]::Round($vm.ProvisionedSpaceGB,0)) Add-Member -InputObject $object -MemberType NoteProperty -Name Environment -Value " " # Stores the PSObject containing VM stats in to an PSObject array $results += $object } # The Sort-Object is specifically set up so that the Export-Csv and Out-GridView do not truncate the properties of the individual PSObjects in # the array. $results | Out-GridView $results | Export-Csv -Path $logFile -NoTypeInformation Write-Host "Output saved to $logFile" Disconnect-VIServer -Server * -Confirm:$false -Force | Out-Null
Hi All,   I am getting this error while I try to run the above code to upgrade the vmtools using the Setup64.exe from a central location.   Please can anyone help me.
It seems pretty normal to me. I don't know what was the timespan of those 20GB. But please note, when you freshly deployed the VCSA there were a lot of logs and metrics that were not there since it ... See more...
It seems pretty normal to me. I don't know what was the timespan of those 20GB. But please note, when you freshly deployed the VCSA there were a lot of logs and metrics that were not there since it was out of the box. With the time passing by it will start growing which is normal. f you tell me that it grew 20GB in 2 hours I would be worried.
Hello, In the Windows installer I am working on, if the user running the installation is not an admin user, I still need to run some actions with admin privileges, and some need to be run as the curr... See more...
Hello, In the Windows installer I am working on, if the user running the installation is not an admin user, I still need to run some actions with admin privileges, and some need to be run as the currently logged in user (non-admin). Currently, in version 1, I have put a manifest as require admin, so if the user is not an admin, there is a prompt that asks for admin approval. Then the whole installation is run as the admin user.  We discovered that this breaks the product, as the steps that should be done in the regular user context are done in the admin user context. I need to correct this for version 2. So, my thinking was to put the manifest as as invoker. Then if the user running the install is not an admin, pop up a message asking for an admin user credentials. Then run the actions that need admin privileges as the admin user, and leave the actions that need to be in regular user context to run as the regular user. I could not find in the documentation how to elevate a task (run program) on Windows, runas seems to be only for Unix. Can you help me with this? Thank you Claire
I ran df -h. Is everything all right in my opinion?
I had our VMware vSphere dev environment connected to AzureAD SSO using OpenID Connect.  It was working perfectly, I can see in the header it's getting VSPHERE-USERNAME populated with the samaccountn... See more...
I had our VMware vSphere dev environment connected to AzureAD SSO using OpenID Connect.  It was working perfectly, I can see in the header it's getting VSPHERE-USERNAME populated with the samaccountname value.  VMware is configured with LDAPS to our domain, and the roles are populated with AD groups.  ADConnect is pushing the same data from on-prem in to AzureAD so I'm scratching my head a bit as to why this is stopped working. I'm loathe to deploy ADFS for this, as MS is at the very least de-emphasizing ADFS if not deprecating it out right, and pushing customers to PTH or PTA and using Azure Federation instead..  I would rather use our Azure App Proxy with IWA/Kerberos Constrained Delegation before I do ADFS.
Hi,   not quite sure if I got your point, the following command will provide on overview which Device hosts which VMFS datastore esxcli storage vmfs extent list Regards, Ralf
Y yeah, that's okay. Let me ask you something, I assume you have a VCSA (linux based appliance) Can you please log in via SSH and run du -h please.
Hi, I registered our vCenter (ver 7.0) to the vRealize Orchestrator (ver 8.6.0) and trying to delete old snapshot with the age of 3. when I run the workflow, I am getting below error: java.lang.Ru... See more...
Hi, I registered our vCenter (ver 7.0) to the vRealize Orchestrator (ver 8.6.0) and trying to delete old snapshot with the age of 3. when I run the workflow, I am getting below error: java.lang.RuntimeException: (vim.fault.InvalidLogin) { faultCause = null, faultMessage = null } (Workflow:Copy of Remove old snapshots / Check host and VC time (item14)#54824)   I checked Orchestrator, vCenter and ESXi NTP server, they are all sync, enabled and in UTC time zone. Do you know where should I check next?