Jasemccarty's Posts

Where does it indicate that they aren't protected on vVols?
I recall when I worked at VMware that this came up, and there was fix for it accomplished with a vCenter Server update.  What version of vSphere/vSAN?
On your vSAN Witness Appliance, are vmk0 & vmk1 on the same network segment? If so, it would be necessary to untag "vSAN Traffic" on vmk1 and tag it on vmk0.  vSAN uses the same TCP stack as manage... See more...
On your vSAN Witness Appliance, are vmk0 & vmk1 on the same network segment? If so, it would be necessary to untag "vSAN Traffic" on vmk1 and tag it on vmk0.  vSAN uses the same TCP stack as management, and in this situation where multi-homing comes into play. (https://kb.vmware.com/kb/2010877) While vmk1 is tagged for vSAN Traffic, it actually uses vmk0. The discrepancy can cause a partition. 
"Cannot talk properly" - Is this networking, or simply won't properly join the cluster. It isn't until VCSA 6.7 U3 that we better support mixed versions in a cluster.
Your example is using the same gateway for the vSAN Witness Host to communicate with either site. Routing to the vSAN Witness Host is required to be done per site. It is important that the s... See more...
Your example is using the same gateway for the vSAN Witness Host to communicate with either site. Routing to the vSAN Witness Host is required to be done per site. It is important that the sites communicate with the vSAN Witness Host independently. If the HSRP gateway is only available in Site A, but Site A has been isolated, then vSAN won't be able to have more than a single site contributing, resulting in inaccessible data. Site A isolated Site B & vSAN Witness Host can't communicate because neither can access the gateway, which resides in the isolated site. Data inaccessible An HSRP gateway that resides in a single site isn't going to allow for proper failover. Alternatively, if Site A and Site B can communicate with the vSAN Witness Host independently, Site A isolated Site B & vSAN Witness Host can communicate Data accessible but out of Storage Policy Compliance.
Since you're using vSAN 6.0/6.1/6.2 (vSphere 6.0x), you'll need to make sure you've got multicast connectivity as well.
aNinjaneer​ Interesting, as writes don't go to the vSAN Witness Host. Only changes to metadata. Powering on VM's, powering them off, taking snapshots, etc. Have you reached out to GSS to o... See more...
aNinjaneer​ Interesting, as writes don't go to the vSAN Witness Host. Only changes to metadata. Powering on VM's, powering them off, taking snapshots, etc. Have you reached out to GSS to open a ticket? I'd like to know more. Curious what type of hardware your vSAN Witness Appliance is running on. Also, can you send me a private message with your email? Thanks, Jase
jayjaych​ - VM's on the non-preferred site, that have a "Non-Preferred Site only" Storage Policy will continue to run. This, and more on vSAN Stretched Clusters can be found in the vSAN Stretc... See more...
jayjaych​ - VM's on the non-preferred site, that have a "Non-Preferred Site only" Storage Policy will continue to run. This, and more on vSAN Stretched Clusters can be found in the vSAN Stretched Cluster Guide: https://vmware.com/go/vsanstretchedclusterguide
Some stuff in the cookbook still works on 6.5/6.6... Hit and miss. Given 6.7 was the latest, that's where I started when I wrote it. Might be able to get the same from a Get-VsanView, but I'd... See more...
Some stuff in the cookbook still works on 6.5/6.6... Hit and miss. Given 6.7 was the latest, that's where I started when I wrote it. Might be able to get the same from a Get-VsanView, but I'd have to play with it.
'Host Pinning' is a term often used when using the vSAN Host Affinity feature. Stretched Cluster vSAN (since vSAN 6.6) has allowed for 'Site Affinity' to give you the ability to have data onl... See more...
'Host Pinning' is a term often used when using the vSAN Host Affinity feature. Stretched Cluster vSAN (since vSAN 6.6) has allowed for 'Site Affinity' to give you the ability to have data only in one site or the other. Consider 2 VM's with a need for one in each site. Say they are using DAG, or some other application replication technology, and you do not want to write to both sites. Essentially, data is only needed in one site for each VM because data is replicated at the application layer. Create a Storage Policy with the following rules (minimum) for the VM to reside in the Preferred Site: PFTT=0 SFTT=1/2/3FTM=Mirroring/Erasure Coding Data Locality: Preferred Fault Domain Here's that policy in the vSphere Web Client: And here's the same policy in the new vSphere Client (HTML5) Create a Storage Policy with the following rules (minimum) for the VM to reside in the Secondary Site: PFTT=0 SFTT=1/2/3 FTM=Mirroring/Erasure Coding Data Locality: Non-Preferred Fault Domain You'll also want to use VM/Host Groups/rules with the "Must Run On..." option to make sure that the VM for the Preferred Site only runs on the Preferred and the other only runs on the Non-Preferred site. Most of this is covered in detail in the vSAN Stretched Cluster Guide: https://vmware.com/go/vsanstretchedclusterguide I hope this helps. Jase
pirx666​ I'll have to spin up a 6.5U2 cluster and see if there's an issue. The API has been pretty standard since vSAN 6.2, so I'd imagine it would work. I'm assuming you're using vC/VCSA 6.5... See more...
pirx666​ I'll have to spin up a 6.5U2 cluster and see if there's an issue. The API has been pretty standard since vSAN 6.2, so I'd imagine it would work. I'm assuming you're using vC/VCSA 6.5U2 and ESXi 6.5U2? Happy to check for you. Update: Deployed a test VCSA 6.5U2c and vSphere 6.5U2 environment It looks this is exposed in vCenter 6.7. Here's what I found: PS /Users/jase/PowerCLI> $Global:DefaultVIServer | Select Name, Version, Build Name         Version Build ----         ------- ----- 10.160.23.90 6.5.0   10964411 PS /Users/jase/PowerCLI> (Get-VsanSpaceUsage -StoragePolicy (Get-SpbmStoragePolicy -Name "vSAN Default Storage Policy")) |fl Cluster              : vSAN-Cluster CapacityGB           : 719.9296875 FreeSpaceGB          : 710.332031241618 VirtualDiskUsageGB   : VMHomeUsageGB        : FileSystemOverheadGB : 8.6484375083819 ChecksumOverheadGB   : 0.94921875 PrimaryVMDataGB      : 0 VsanOverheadGB       : 9.5976562583819 IscsiTargetUsageGB   : IscsiLunUsedGB       : VsanWhatIfCapacity   : {} So it doesn't appear it is exposed in vCenter 6.5x Jase
This is covered in v1.4 of the PowerCLI Cookbook for vSAN on page 87 (as updates are published, this page may change). The section is: Useable vSAN Capacity based on Storage Policy PowerCLI 1... See more...
This is covered in v1.4 of the PowerCLI Cookbook for vSAN on page 87 (as updates are published, this page may change). The section is: Useable vSAN Capacity based on Storage Policy PowerCLI 11.2 Added the VsanWhatIfCapacity property was added to the Get-VsanSpaceUsage cmdlet. First you have to grab the policy that you'll use, and then Here's the code from the example in the cookbook: PS /> $DefaultPolicy = Get-SpbmStoragePolicy -Name "vSAN Default Storage Policy" PS /> $RAID5Policy = Get-SpbmStoragePolicy -Name "RAID5" PS /> (Get-VsanSpaceUsage -StoragePolicy $DefaultPolicy).VsanWhatIfCapacity StoragePolicy                TotalWhatIfCapacityGB FreeWhatIfCapacityGB -------------                --------------------- -------------------- vSAN Default Storage Policy             4471.21875     4201.66796873882 PS /> (Get-VsanSpaceUsage -StoragePolicy $RAID5Policy).VsanWhatIfCapacity StoragePolicy TotalWhatIfCapacityGB FreeWhatIfCapacityGB ------------- --------------------- -------------------- RAID5               6706.8298017066     6302.50352873374 Remember that different policies will give you different usable space. The FreeWhatIfCapacityGB is what I think you are looking for.
@Soji42 a suggestion. If you query vSAN for all of the objects first, it will place the entire list into the variable you designate: (add this line) $VsanObjects = Get-VsanObject <- If you... See more...
@Soji42 a suggestion. If you query vSAN for all of the objects first, it will place the entire list into the variable you designate: (add this line) $VsanObjects = Get-VsanObject <- If you're using multiple clusters or $VsanObjects = Get-VsanObject -Cluster (Get-Cluster -Name "ClusterName") <- If you're using a specific cluster Then, instead of querying vSAN (again) for objects as they pertain to the current VM, just query against the variable: (change this line) $vsan = Get-VsanObject -VM $vm | Select VM, Cluster, StoragePolicy, ComplianceStatus (to this line) $vsan = $VsanObjects | Where-Object {$_.VM -eq $vm) | Select-Object VM, Cluster, StoragePolicy, ComplianceStatus It could speed things up a bit. More PowerCLI examples for vSAN can be found in my PowerCLI Cookbook for vSAN: https://storagehub.vmware.com/section-assets/powercli-cookbook-for-vsan
fnature just as TheBobkin states, you can absolutely replace a failed 3rd node in a 3 node vSAN Cluster. If you only need to rebuild the 3rd node, when you reinstall ESXi, you'll see an asteri... See more...
fnature just as TheBobkin states, you can absolutely replace a failed 3rd node in a 3 node vSAN Cluster. If you only need to rebuild the 3rd node, when you reinstall ESXi, you'll see an asterisk beside each of the currently consumed/used for vSAN disks. When the host is reinstalled, and all networking has been restored (vSAN VMkernel interface configured), the disk groups will be seen again. If you replace the failed node with a net new (not used in the cluster before) node, once ESXi is installed, added to the cluster, and networking (vSAN VMkernel interface) added, you'll need to create any new disk groups. When either of the above are performed, I'd also suggest invoking a "Repair Objects Immediately" operation from the vSAN Health Check UI. Can't really speak to Nutanix, as this is a VMware community.
No worries. Completely supported. Just remember that you'll need to use Static Routes.
SkyGoh​ The VSA only shows useable capacity. Alternatively vSAN shows RAW capacity.
I'm assuming you're using 2 pNICs connected directly from host to host? We don't have any different guidance than the normal Design and Sizing / Networking Guides on https://storagehub.vmware.... See more...
I'm assuming you're using 2 pNICs connected directly from host to host? We don't have any different guidance than the normal Design and Sizing / Networking Guides on https://storagehub.vmware.com/ We're not treating 2 Node any different than normal vSAN at this time from a networking perspective.
It would appear that the vSAN Witness Appliance is not being deployed properly. The recommendation would be to deploy a new appliance.
ecsaw​ Because vSAN and Management both use the same TCP stack, if vmk0 (Management) and vmk1 (WitnessPg) are on the same subnet, you will observe a multi-homing situation (KB 2010877). Yo... See more...
ecsaw​ Because vSAN and Management both use the same TCP stack, if vmk0 (Management) and vmk1 (WitnessPg) are on the same subnet, you will observe a multi-homing situation (KB 2010877). You could tag only vmk0 for "vSAN Traffic" if you desire, as this is a supported configuration. Keep in mind you will want to isolate/protect that network from non-administrative access. I go into some more detail here: Understanding the vSAN Witness Host - Traffic Tagging - Virtual Blocks
fredzhang​ you can do this with PowerCLI 11 if you do not wish to use the RVC: # Get the vSAN Cluster $Cluster = Get-Cluster -Name "ClusterName" # Load the vSAN vC Cluster Health System Vie... See more...
fredzhang​ you can do this with PowerCLI 11 if you do not wish to use the RVC: # Get the vSAN Cluster $Cluster = Get-Cluster -Name "ClusterName" # Load the vSAN vC Cluster Health System View $VVCHS = Get-VsanView -Id "VsanVcClusterHealthSystem-vsan-cluster-health-system" # Invoke the Fix for all objects $RepairTask = $VVCHS.VsanHealthRepairClusterObjectsImmediate($Cluster.ExtensionData.MoRef,$null)