6 Replies Latest reply on Jul 12, 2020 10:47 AM by perisetlachandru

    SPOF Risk Analysis for ESXi 6.7

    perisetlachandru Lurker

      Dear Team,

       

      AS a part of Single point of failure risk analysis, I need to verify any port group is configured with single uplink. it for both standard and DV Switch.

      In the similar way need to verify any ESXi host is configured with Single HBA to access the storage. Can some one help in resolving this with PowerCLi script.

      I have 250+ servers in environment.it might lead to human error if it carried out manually.

        • 1. Re: SPOF Risk Analysis for ESXi 6.7
          LucD Guru
          vExpertUser ModeratorsCommunity Warriors

          For the portgroups you have to be a bit more specific on what you define as a SPOF.

          Since pNIC are assigned to switches and portgroups can use any combination of those (event none) as the ActiveNics, what exactly are you looking for?

          In general how does NIC Teaming feature in this?

           

          For the HBA, do you only look at datastores?

          Or also at the local disk(s)?

           

          On a side note, what do you already have?

          This might give us a better idea of what you are trying to achieve.

          Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz
          • 2. Re: SPOF Risk Analysis for ESXi 6.7
            perisetlachandru Lurker

            Hi LucD .....

             

            Thank you so much for your response ...
            Am attaching my existing network configuration which is Critical SPOF for vSAN.

             

            For Storage below are the Conditions:

            ESXi hosts running with local storage - SPOF-1

            ESXi Host Having Single Active HBA Card - SPOF-2

             

            Thanks in advance

            Chandru

            • 3. Re: SPOF Risk Analysis for ESXi 6.7
              LucD Guru
              vExpertCommunity WarriorsUser Moderators

              What code do you already have?

              Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz
              • 4. Re: SPOF Risk Analysis for ESXi 6.7
                perisetlachandru Lurker

                Hi LucD

                 

                With the following command am able to list down the virtual switches and its physical NICs. but unable to get the link Status.

                If vSwitch is having 1 active NIC as shown below that one has to be highlighted as risk.

                If vSwitch is having 2 uplinks and it is not matching with the Link status count, then need to highlight as a risk. because uplink count=2, the link status count !=2.

                 

                Am not sure that i can derive the uplink status from portgroup level.

                 

                PS C:\> Get-VMHost -Name xxxxxxxxxx.xxxxxxxxx.com | Get-VirtualSwitch | select VMhost, Name, Nic

                 

                VMHost                                    Name               Nic

                -----------                                   ---------             -------

                xxxxxxxxxx.xxxxxxxxx.com      vSwitch0      {vmnic3, vmnic1, vmnic0}

                xxxxxxxxxx.xxxxxxxxx.com      vSwitch1      {vmnic2}

                 

                Thanks in Advance

                Chandru

                • 5. Re: SPOF Risk Analysis for ESXi 6.7
                  LucD Guru
                  vExpertCommunity WarriorsUser Moderators

                  So you have nothing?

                  Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz
                  • 6. Re: SPOF Risk Analysis for ESXi 6.7
                    perisetlachandru Lurker

                    Yes LucD ...
                    I have nothing. but trying at my level ...