Notes about interesting problems that I've come across and their solutions. Focused on Virtualization and the accompanying technologies that make it all possible!
2017 vExpert
Get link
Facebook
X
Pinterest
Email
Other Apps
I'm proud to announce that I've been selected as a 2017 vExpert! Thanks for the recognition and congrats to all of the other vExperts, particularly my coworkers Jeff and Dennis!
One of my customers is standardizing the configurations on their HP C7000 enclosures (they've been set up at various sites by various administrators with varying involvement from the architecture team). As such, we need to stand up some temporary resources so that we can take down the main enclosure for reconfiguration. That's fine, we can easily ship a smaller enclosure to each site for temporary compute resources. Some of the sites are using Standard vSwitches, so we need to be able to quickly copy the networking configuration over from their existing blades to these new, slightly different blades. As I see it, we had 2 good options: 1) Capture a Host Profile with the desired vSwitch configuration. Delete every other component of the Host Profile so that only the networking section is applied; design the new ESXi hosts so that the vSwitches'll work with the old vmnic-to-vswitch configurations. 2) Write a script to clone the vSwitch from ones ESXi host...
PowerShell's Sort-Object cmdlet is super useful, especially when preparing output for human consumption. A few people have found my blog while looking for more information about its use, specifically while looking for how to sort by multiple columns (well, properties, technically). I've never done so (much less written about it), so I hope those folks found answers elsewhere. But, it got me curious... and it turns out that it's really easy. The Technet article on Sort-Object has the answer directly spelled out: just use commas to create a list of properties to sort by (in order to precedence). Let's look at some examples! First, prepare a variable with some good sortable data: $myData = get-eventlog System -newest 25 And then we can get to sorting! Say you want to sort primarily by EntryType (Warning, Information, Error) and then by Source. Easy-peasy: $myData | sort EntryType,Source How about if you want it to be in descending or...
I've been working with a large customer for a while, and one of the things that we've done here is to thoroughly integrate vRealize Network Insight into their environment. I'm not sure that I can go back to using just plain vCenter after this, because vRNI gives me such a cool perspective on the environment! As I've worked on various situations, I've found myself using a few queries over and over again, so I figured that I'd share some of my favorites! Queries for Troubleshooting Network Communications Between VMs Flows where VM = <VM Name> Flows where Firewall Action = Deny Flows where Security Tag = <Security Tag Name> VM <VM Name> to VM <Other VM Name> These queries (and permutations thereof) are incredibly useful when troubleshooting communication issues between VMs. Depending on how precisely the application owner can describe their issue, I might use any one (or combination) of these. For example, if an applicatio...
Comments
Post a Comment
Sorry guys, I've been getting a lot of spam recently, so I've had to turn on comment moderation. I'll do my best to moderate them swiftly after they're submitted,