When performing a Host Profile compliance check against a VMware ESXi host, the host reports a status of Not Compliant.
SharedClusterwide value on host is different from profile for device naa.#####vSphere 8.x
SharedClusterWide parameter value between the target ESXi host and the applied Host Profile. The specific LUNs (NAA IDs) reported in the error message are missing from the "PSA device sharing" configuration within the attached Host Profile.To resolve this compliance failure, manually add the missing LUNs to the PSA device sharing configuration within the Host Profile and mark them as shared.
Note: There is no downtime required for this task.
Log in to the vSphere Client.
Navigate to Policies and Profiles > Host Profiles.
Right-click the affected Host Profile and select Edit Host Profile.
Navigate to Storage configuration > Pluggable Storage Architecture configuration > PSA device sharing.
Click the Add (+) icon to add a new device entry.
In the Name field, type the exact naa.##### ID exactly as it is reported in the compliance error.
Check the box for Is Shared Clusterwide (set to True).
Repeat steps 5-7 for each LUN reported in the compliance errors.
Click Save to apply the changes to the Host Profile.
Re-run the Check Host Profile Compliance task to verify the host is now compliant.
To verify the actual Shared Clusterwide status of devices directly on an ESXi host, you can use the following command via SSH:# esxcli storage core device list | grep -E "Display Name: | Is Shared Clusterwide:"