Posts

PowerCLI - Fails to logon to vCenter VCSA using integrated authentication

Image
 I recently made a PowerCLI script to pull reports from 4 vCenters we got in our infra. Script was tested against once vCenter and was working great. So deployed it in out script host to be able to schedule and also configured to run it against all 4 vCenters. Then noticed it's getting stuck when it's at lab vCenter and pops up asking for credentials, which I was not expecting as it was suppose to run it using integrated authentication. Works fine against 3 remaining vCenters when I tried. I was able to reproduce this issue by  1) Opened PowerCli as service account that we are using to pull report. 2) tried to connect to Prod vCenter "Connect-viserver ProdvCenter" and it logged in immediately.  3) "Connect-viserver LabvCenter" brought up credential popups again   4) To troubleshoot, I issued connect command again with verberos switch (-v) and cancelled the credential window. Below is the output from it.   PS C:\Users\ vCAdmin > Connect-VIServer  -v  VMwar

vCenter 6.5 to 7.X upgrade - Stage 2 taking time at "Starting VMware Postgress"

Image
 vCenter 6.5 to 7.X upgrade - Stage 2 taking time at  "Starting VMware Postgress" I was upgrading our PROD vCenter  6.5 to 7.x and because it's PROD, opted to copy Events + Perf Data and config, which was totaling around  75GB data  be copied.  I was taking a lot of time at step "Starting VMware Postgress" and I was worried as the step just says it's trying to start Postgress! After waiting for 30 mins, I checked messages and logs in the new appliance and it was all referring to Postgress. I was running short of time and decided to give-up and restart.  Started the Stage 2 again and it was stuck again. This time I decided to give it little more time as I was to postpone the change if that doesn't work. To my surprise it moved on after  50 mins !  I wish if VMware labled that step in the upgrade process giving more info!  Best of luck! 

vCenter Maintenance - Issue Non-ephemeral Portgroup

Image
Hi Friends, We had a issue last day due a miss configuration. We used to keep our vCenters on ephemeral port groups for troubleshooting purposes in case of any issue. We have a new vCenter now and as per standards our project team put that on a portgroup which was named as "ephemeral", but it was quiet late we found it was not actually setup as an ephemeral port group, but static instead :(. So issue was a config issue, but I wanted to share how we solved it hopping it might help someone in other situations too. The story is like this.  We planned to test an outage situation, by bringing down vCenter, to test if our VRA pre-build check can identify it. One of our lazy engineers went to Web Client of the ESXi server hosting vCenter and decided to turn the NIC off for the test. He received below error while turning it back on Description :- Reconfigure this virtual machine Virtual machine :- Non-PROD_vCenter State -: Failed - Invalid configuration for device '3

Horizon View - Get a report of the max concurrent connections / day

Image
Project -: Horizon View - How to get a report of the max concurrent connections / day Horizon View Version -: 7.10 As many of you know , Horizon View is missing a native reporting feature. Those who are interested, you can try Horizon Toolbox Fling at the link below, which would give you some additional features https://flings.vmware.com/horizon-toolbox-2 This includes a graph of max concurrent connections / day, which is very interesting. It wasn't quiet what I was looking for as I needed numbers and it was hard to get it from the graph when you chose a higher time frame from the dropdown here. When I used this fling, it was asking for credentials to connect to View Event DB. So what's positive is the data I am looking for is somewhere there in the MS SQL DB :) Did a google search and ended up in the KB below https://kb.vmware.com/s/article/2089816 I was really happy, but that didn't last for long. This KB is not applicable for View 7.X. I gave i