<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lucas Bernadsky on Medium]]></title>
        <description><![CDATA[Stories by Lucas Bernadsky on Medium]]></description>
        <link>https://medium.com/@lucas.bernadsky?source=rss-3d65112baa44------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*t-4owvx4duLXSvDS5g0tog.jpeg</url>
            <title>Stories by Lucas Bernadsky on Medium</title>
            <link>https://medium.com/@lucas.bernadsky?source=rss-3d65112baa44------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:34:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lucas.bernadsky/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[DNS actions with VMware Aria Automation when the DNS is not on a registered vCenter Cloud Account]]></title>
            <link>https://medium.com/@lucas.bernadsky/dns-actions-with-vmware-aria-automation-when-the-dns-is-not-on-a-registered-vcenter-cloud-account-2edbe1de7203?source=rss-3d65112baa44------2</link>
            <guid isPermaLink="false">https://medium.com/p/2edbe1de7203</guid>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[aria-automation]]></category>
            <category><![CDATA[vrealize-automation]]></category>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Lucas Bernadsky]]></dc:creator>
            <pubDate>Mon, 08 Jan 2024 17:59:17 GMT</pubDate>
            <atom:updated>2024-01-10T18:40:03.200Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi all. With Leandro Alegre we’ve been struggling with a task lately: managing DNS records with VMware Aria Automation 8 and thought publishing this would be useful.</p><p>Objective 1: Create a DNS entry based on the recently created VM.</p><p>Objective 2: Create the computer object for the mentioned VM.</p><p>Constraints:</p><ul><li>Avoid using the native vAA AD integration.</li><li>Active Directory and DNS server VMs not managed on the registered vCenter.</li></ul><p>TL;DR: Create a VM with RSAT and run everything through it with the Invoke-VMScript cmdlet on the ABX PowerShell engine.</p><p>Idea:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*KlaiwHflGQ_SzQOeLR1q2w.png" /></figure><p>Requirements:</p><ul><li>Privileged access to VMware Aria Automation Assembler console.</li><li>VM template (Image mapping). It doesn’t matter whether is Linux, Windows, or whatever.</li><li>Windows Server with RSAT <em>(Pivot VM from now on)</em> and apply all the security configurations. <em>Remember, this will have full access to your AD and DNS environment.</em></li><li>DNS tools features on Pivot VM.</li><li>VMware Tools installed and running, and preferably updated.</li><li>Privileged account to the <em>PIVOT</em><strong><em> </em></strong><em>VM </em>in vCenter. <em>(I would suggest creating a dedicated AD or local user with only access to that VM to avoid unauthorized access).</em></li><li>Administrator rights to the Pivot VM OS. <em>(Don’t trust me on this one, we just need access to create DNS and AD entries over PS)</em></li><li>Deployment template/blueprint. (It can be a default one, doesn’t matter)</li></ul><p>The process:</p><p>1 — Create an ABX (Assembler &gt; Extensibility &gt; New Action) and select the PowerShell engine. Set custom limits, PS will require some additional memory to run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o4o3oABAU4syPsIV--rQgg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CHpc4om_S9X2Dy2RmrK7qw.png" /></figure><p>2 — Add Default Inputs / Secrets to avoid hard coding.</p><ul><li>ps_host* → PowerShell Host (Pivot VM).</li><li>vc* → vCenter access details.</li><li>domain* → AD &amp; DNS credentials.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UZfCJWQoYUQ9dlm7mPA_Zg.png" /></figure><p>3 — Hands to action</p><p>This is the ABX script I used.</p><pre>#.Authors: Leandro Alegre, Lucas Bernadsky<br><br>function handler($context, $inputs) {<br><br># Variable Declaration<br># Powershell Host UserName (Defined as action constraint)<br>$psHost_userName = $context.getSecret($inputs.ps_host_usr)<br># Powershell Host Password (Defined as action constraint)<br>$psHost_userPassword = $context.getSecret($inputs.ps_host_pwd)<br># Declaration of PowerShell Host (This server is responsible for executing commands against DNS)<br>$psHost_vmname = $context.getSecret($inputs.ps_host_vm_name)<br># Declaration of the command to create the DNS Record<br># vCenter User<br>$vcFQDN = $context.getSecret($inputs.vcFQDN)<br>$vcUser = $context.getSecret($inputs.vcUser)<br>$vcPwd = $context.getSecret($inputs.vcPwd)<br><br>$dns_record_server = &#39;192.168.0.3&#39;<br>$dns_record_zone_name = &quot;homelab.lab&quot;<br>$dns_record_name = $inputs.resourceNames[0]<br>$dns_record_ipv4 = $inputs.addresses[0]<br><br><br>$ps_script = &#39;Add-DnsServerResourceRecord -A -ComputerName &#39; + $dns_record_server + &#39; -ZoneName &#39; + $dns_record_zone_name + &#39; -Name &#39; + $dns_record_name + &#39; -IPv4Address &#39; + $dns_record_ipv4 + &#39; -AllowUpdateAny -TimeToLive 3600&#39;<br><br># Connect to vCenter. Ignore Self-Signed SSL cert.<br>Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false<br>connect-viserver -Server $vcFQDN -User $vcUser -Password $vcPwd<br><br>Invoke-VMScript -VM $psHost_vmname -ScriptText $ps_script -GuestUser $psHost_userName -GuestPassword $psHost_userPassword<br><br>disconnect-viserver * -Confirm:$False<br>}</pre><p>Yes, the DNS server and Zone name can also be inputs, and they should, indeed.</p><p>Please pay special attention to the last lines of code because here is where the magic happens:</p><pre>$ps_script = &#39;Add-DnsServerResourceRecord -A -ComputerName &#39; + $dns_record_server + &#39; -ZoneName &#39; + $dns_record_zone_name + &#39; -Name &#39; + $dns_record_name + &#39; -IPv4Address &#39; + $dns_record_ipv4 + &#39; -AllowUpdateAny -TimeToLive 3600&#39;<br><br># Connect to vCenter. Ignore Self-Signed SSL cert.<br>Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false<br>connect-viserver -Server $vcFQDN -User $vcUser -Password $vcPwd<br><br>Invoke-VMScript -VM $psHost_vmname -ScriptText $ps_script -GuestUser $psHost_userName -GuestPassword $psHost_userPassword<br><br>disconnect-viserver * -Confirm:$False</pre><p>By using <a href="https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.core/commands/invoke-vmscript/#:~:text=This%20cmdlet%20runs%20a%20script,machine%20and%20a%20Virtual%20Machine.">Invoke-VMscript</a> we can run whatever piece of code on the OS by using the VMware Tools installed on the VM.</p><p>4 — Automate the execution with Subscriptions</p><p>Create a Subscription for <strong>Compute Post Provision</strong> and attach the ABX action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7hRFYn37bc4anNIMfcbQjQ.png" /></figure><p>You can also configure to which projects it will apply, in case you don’t want this action to run every single time a Compute Post Provisioning event happens, or you can filter it by using <strong>Conditions.</strong></p><p>For example, I have a custom property created that will tell me if the OS is W (windows) or L (Linux)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R1IgSQk7EYUf8JK3DU7JzQ.png" /><figcaption>This is in case I only want this action to run if the OS is windows.</figcaption></figure><p>We hope this was helpful and don’t hesitate to share your doubts and suggestions!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2edbe1de7203" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In recent years, a lot of vSphere admins haven’t fully tapped into the cool advantages of this…]]></title>
            <link>https://medium.com/@lucas.bernadsky/in-recent-years-a-lot-of-vsphere-admins-havent-fully-tapped-into-the-cool-advantages-of-this-5a7b3241d68a?source=rss-3d65112baa44------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a7b3241d68a</guid>
            <category><![CDATA[content-libraries]]></category>
            <category><![CDATA[vsphere]]></category>
            <category><![CDATA[vmware]]></category>
            <dc:creator><![CDATA[Lucas Bernadsky]]></dc:creator>
            <pubDate>Fri, 15 Sep 2023 19:01:54 GMT</pubDate>
            <atom:updated>2023-09-15T19:01:54.318Z</atom:updated>
            <content:encoded><![CDATA[<h3>Let’s Remove the Taboo Around Content Libraries</h3><p>In recent years, a lot of vSphere admins haven’t fully tapped into the cool advantages of this handy tool. Instead, they’ve been sticking to the traditional way of using regular templates and local or shared storage space to manage their templates and ISO files. Let’s dig into why vSphere Content Libraries are the real champions when it comes to making things smoother, more flexible, and easier to keep track of.</p><h3>Content Library vs. Datastores</h3><p>Alright, let me break it down. Content Libraries bring a whole new level of simplicity to resource management. Instead of dealing with separate ISO files spread out in different places, Content Libraries give you a tidy, one-stop spot for all your virtual machine templates, ISOs, scripts, and OVF/OVA files. This not only makes managing resources much easier but also revs up the effectiveness of your virtualization setup.</p><h3>Easy Ride: Efficient Process</h3><p>Imagine having one place where you can control all your stuff. That’s exactly what Content Libraries do. They help you arrange, keep track of versions, and sort out your templates and ISOs. This makes setting up new virtual machines or fixing existing ones much easier. In the end, it means quicker reactions and smarter use of resources in a changing IT setup.</p><h3>Taking Control: Version Control and Lifecycle Management</h3><h3>Content Library Versioning</h3><p>This is where things get really exciting. Content Libraries let you create versions of content items, which is a big deal when you’re dealing with VM templates. Why? Because it gives you the flexibility to track changes, roll back to previous configurations, and keep a clear history of template revisions. This level of control over the virtual machine deployment lifecycle is a total game-changer.</p><h3>Standard VM Templates vs. Content Library VM Templates</h3><p>Okay, let’s break it down. Standard VM templates are like your neighborhood grocery store — they’re tied to a specific vCenter Server and managed individually. Content Library VM templates, on the other hand, are like a superstore — they’re centrally stored, versioned, and can be shared across multiple vCenter Servers. This makes them way more flexible and scalable.</p><p>Certainly, vSphere setups are becoming more complex by the day. Having the content replicated across different environments will make automation and operations much simpler.</p><h3>Benefits &amp; Limitations</h3><h3>The Benefits of Content Libraries</h3><ol><li><strong>Everything in One Place: </strong>All your content is kept nice and tidy in one spot, which makes it easy to organize.</li><li><strong>Easy Undo Button: </strong>Content Library versioning helps you keep track of changes and go back if you need to.</li><li><strong>Collaborate Better with Check In, Check Out:</strong> Content Libraries also have a handy feature. It’s like having a virtual library card. When someone checks out a content item, it means they’re making sure no one else can edit it at the same time. It’s great for working together.</li><li><strong>Sharing is Simple:</strong> You can easily share Content Library VM templates with different vCenter Servers, which makes it a breeze to scale up.</li><li><strong>Get Things Done Faster:</strong> When everything is organized and sorted, setting up and updating things happens much quicker.</li><li><strong>Control and Security: </strong>Content Libraries provide audit and permissions features, ensuring you have control over who can access and modify your content.</li></ol><h3>Limitations of Content Libraries</h3><ol><li><strong>Getting Started: </strong>Setting up a Content Library takes a bit of work at the beginning.</li><li><strong>Enough Space Needed:</strong> Make sure you have plenty of room to store all your great content.</li><li><strong>Remember About Versions</strong>: Content Library versioning is mainly for VM templates, not ISO files.</li></ol><h3>Wrapping it Up</h3><p>vSphere Content Libraries are your secret weapon for managing virtual machine templates, ISOs, and more in a vSphere environment. With versioning, centralized management, and cross-vCenter Server sharing, they outshine traditional methods by a mile. Sure, there’s a bit of setup involved, but trust me, the long-term benefits are absolutely worth it. Happy sharing, versioning, auditing, and replicating!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a7b3241d68a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting started on vSphere with Tanzu — 101]]></title>
            <link>https://medium.com/@lucas.bernadsky/getting-started-on-vsphere-with-tanzu-101-7e0ed38a8506?source=rss-3d65112baa44------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e0ed38a8506</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[virtualization]]></category>
            <category><![CDATA[tanzu]]></category>
            <category><![CDATA[modern-apps]]></category>
            <dc:creator><![CDATA[Lucas Bernadsky]]></dc:creator>
            <pubDate>Sun, 05 Mar 2023 18:19:23 GMT</pubDate>
            <atom:updated>2023-03-05T18:26:38.471Z</atom:updated>
            <content:encoded><![CDATA[<h3>Getting started with vSphere with Tanzu — 101</h3><p>Hello, and welcome to my Medium profile! I’m excited to start sharing my thoughts and insights on modern app development, particularly with regard to vSphere with Tanzu. As a virtualization engineer, I understand that making the leap into the world of containerized applications can be intimidating. Still, with the right resources and approach, it can be a smooth and successful journey.</p><p>In this article, I’ll be sharing some of the basics of vSphere with Tanzu and providing a FAQ section to help answer any questions you may have. By the end of this post, you’ll better understand what vSphere with Tanzu is, how to get started with it, and some important considerations to keep in mind.</p><p>So let’s dive in and get started on our journey into modern app development with vSphere with Tanzu!</p><h3><strong>Getting Started with vSphere with Tanzu</strong></h3><p>Before diving into the setup process, it’s essential to understand what vSphere with Tanzu is and how it works. At its core, vSphere with Tanzu is a platform that enables you to run and manage containers on top of vSphere infrastructure. It leverages Kubernetes to manage containerized workloads and provides a streamlined, centralized interface for managing those workloads alongside traditional VMs.</p><h3><strong>Here are some of the basic steps to get started with vSphere with Tanzu:</strong></h3><ol><li>Check Compatibility: Ensure that your vSphere environment is compatible with vSphere with Tanzu. You can do this by checking the VMware Compatibility Guide.</li><li>Enable Workload Management: vSphere with Tanzu requires the vSphere Workload Management feature. Make sure this feature is enabled on your vSphere cluster.</li><li>Set up the Supervisor Cluster: The Supervisor Cluster is a Kubernetes cluster that runs on top of your vSphere infrastructure. You’ll need to create this cluster and configure it according to your organization’s needs.</li><li>Create a Namespace: Once the Supervisor Cluster is set up, you can create namespaces to isolate workloads and manage resources.</li><li>Deploy Applications: With the Supervisor Cluster and namespaces in place, you can deploy containerized applications using Kubernetes manifests or Helm charts.</li></ol><h3><strong>Things to Consider</strong></h3><p>When getting started with vSphere with Tanzu, there are some important things to keep in mind. Here are a few considerations to keep in mind:</p><p>0. vSphere with Tanzu has some constraints regarding domains’ suffixes ending in “.local”. Please plan accordingly if you are planning to deploy it in production. Please check Nacho Gonzalez’s blog covering this: <a href="https://www.nachogonzalez.com.ar/2023/02/20/vsphere-with-tanzu-local-dns-issues/">https://www.nachogonzalez.com.ar/2023/02/20/vsphere-with-tanzu-local-dns-issues/</a></p><ol><li>Resource Requirements: Running containerized workloads alongside traditional VMs can be resource-intensive. Ensure that you have enough CPU, memory, and storage to support both types of workloads.</li><li>Security: Running containers introduces new security considerations. Make sure you have the necessary security measures in place to protect your infrastructure and workloads.</li><li>Skillset: Running containerized workloads requires a different set of skills than traditional virtualization. Ensure that you have staff with the appropriate skills or provide training to bring your team up to speed.</li></ol><h3>FAQs</h3><p>Q: What are the benefits of using vSphere with Tanzu?</p><p>A: vSphere with Tanzu enables organizations to run modern containerized applications alongside traditional virtualized workloads, providing a streamlined and centralized interface for managing both types of workloads. It also simplifies the deployment and management of containerized applications, making it easier to adopt modern app development practices.</p><p>Q: Do I need to have experience with Kubernetes to use vSphere with Tanzu?</p><p>A: While it’s helpful to have some experience with Kubernetes, it’s not required. vSphere with Tanzu provides a streamlined interface for managing Kubernetes clusters, making it easier for virtualization administrators to adopt containerized workloads.</p><p>Q: Can I use vSphere with Tanzu in a hybrid cloud environment?</p><p>A: Yes, vSphere with Tanzu is designed to work in hybrid cloud environments. You can use it to manage containerized workloads across your on-premises vSphere infrastructure and public cloud providers such as AWS, Azure, and Google Cloud Platform.</p><p>In conclusion, vSphere with Tanzu is a powerful platform that can help organizations modernize their application development practices. By following the steps outlined above and keeping important considerations in mind, you can successfully adopt containerized workloads alongside traditional virtualized workloads using vSphere with Tanzu.</p><h3>Here are some useful links to get started with vSphere with Tanzu:</h3><ol><li>VMware Tanzu website: <a href="https://tanzu.vmware.com/">https://tanzu.vmware.com/</a></li><li>VMware Tanzu Tech Zone: <a href="https://apps-cloudmgmt.techzone.vmware.com/tanzu-techzone">https://apps-cloudmgmt.techzone.vmware.com/tanzu-techzone</a></li><li>vSphere with Tanzu documentation: <a href="https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-8D7E32EA-6775-4F89-BC75-57F7EDB735D1.html">https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-8D7E32EA-6775-4F89-BC75-57F7EDB735D1.html</a></li><li>Getting started with vSphere with Tanzu: <a href="https://blogs.vmware.com/vsphere/2020/09/vsphere-with-tanzu-getting-started.html">https://blogs.vmware.com/vsphere/2020/09/vsphere-with-tanzu-getting-started.html</a></li><li>vSphere with Tanzu FAQ: <a href="https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-05EA39C4-F3C4-4E4F-B2FD-4FF22CC2C8F9.html#GUID-05EA39C4-F3C4-4E4F-B2FD-4FF22CC2C8F9__FAQ">https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-05EA39C4-F3C4-4E4F-B2FD-4FF22CC2C8F9.html#GUID-05EA39C4-F3C4-4E4F-B2FD-4FF22CC2C8F9__FAQ</a></li><li>vSphere with Tanzu Hands-on Lab: <a href="https://www.vmware.com/products/vsphere-tanzu/resources.html#hands-on-labs">https://www.vmware.com/products/vsphere-tanzu/resources.html#hands-on-labs</a></li><li>Cormac Hogan’s Blog, of course: <a href="https://cormachogan.com/2020/09/24/getting-started-with-vsphere-with-tanzu/">https://cormachogan.com/2020/09/24/getting-started-with-vsphere-with-tanzu/</a></li><li>Not a link but a book. Kubernetes for vSphere Administrators, By Cormac Hogan: <a href="https://cormachogan.com/2022/07/14/new-book-kubernetes-for-vsphere-administrators-now-available/">https://cormachogan.com/2022/07/14/new-book-kubernetes-for-vsphere-administrators-now-available/</a></li></ol><p>I hope you find these resources helpful in getting started with vSphere with Tanzu!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e0ed38a8506" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>