Skip to content

Commit d3d66fd

Browse files
committed
Update virtual-shielded-host-guardian-service.md
1 parent db7823e commit d3d66fd

1 file changed

Lines changed: 34 additions & 34 deletions

File tree

support/windows-server/virtualization/virtual-shielded-host-guardian-service.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -51,41 +51,14 @@ VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially fo
5151
- "HasPrivateSigningKey = False" after guardian import.
5252
- Cluster logs showing "Catastrophic failure (0x8000FFFF)."
5353

54-
## Cause 1. Certificate and key protector issues
54+
## Cause 1: Certificate and key protector issues
5555

5656
- Missing or mismatched certificates: vTPM and shielded VMs require signing and encryption certificates. Problems arise if certificates are missing or improperly restored during migration or export/import processes.
5757
- Untrusted or broken key protectors/guardians: Guardian misconfigurations or missing private keys can block VM operations.
5858
- Deleted or unrestored certificates: Shielded VM certificates that are accidentally deleted or not restored render VMs nonoperational.
5959
- Certificate Subject Alternative Name (SAN) or trust issues: HGS over HTTPS fails if certificates lack required SANs or if there are trust issues.
6060

61-
## Cause 2. TPM, hardware, driver, and firmware incompatibilities
62-
63-
- TPM model or firmware incompatibility: Earlier TPM models, such as HPE Gen9/Gen10, might lack support for required algorithms like RSAPSS.
64-
- Outdated storage drivers/firmware: Encryption features often require updated drivers and firmware.
65-
- Central processing unit (CPU) compatibility issues: Live migration might fail if CPU compatibility isn't configured across cluster nodes.
66-
67-
## Cause 3. Configuration and script errors
68-
69-
- Improper PowerShell script usage: Errors in automation scripts for enabling vTPM or shielded VM features can create issues.
70-
- Misconfiguration in HGS or cluster setup: Problems occur when required Windows features aren't enabled, or HGS registration is incorrect.
71-
- Mixing management tools: Concurrent modifications using tools like System Center Virtual Machine Manager (SCVMM), Failover Cluster Manager, and PowerShell can corrupt VM configurations.
72-
73-
## Cause 4. File system and cluster configuration corruption
74-
75-
- Corrupted `.vmcx` (VM configuration) files: Cluster-aware updating (CAU) or failovers might corrupt VM configuration files.
76-
- Guarded fabric/cluster node inconsistencies: Shielded VMs must be hosted on the same guarded fabric to function correctly.
77-
78-
## Cause 5. Networking and security protocol issues
79-
80-
- Networking changes/disruptions: Network reconfigurations can temporarily interrupt HGS attestation.
81-
- TLS/protocol mismatches: HGS might default to older TLS versions, and disabling TLS 1.0 without enabling TLS 1.2 can cause failures.
82-
83-
## Cause 6. Supportability and documentation gaps
84-
85-
- Unsupported HGS cluster expansion: Adding nodes with differing hardware models to an HGS cluster is unsupported.
86-
- Documentation gaps: Lack of guidance for certain PowerShell or WMI methods can lead to configuration errors.
87-
88-
## Resolution 1. Certificate and key protector resolution
61+
### Resolution: Certificate and key protector resolution
8962

9063
1. Export and import certificates with private keys:
9164

@@ -113,7 +86,13 @@ VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially fo
11386
3. Update signing and encryption certificates: Use `Set-VMKeyProtector` to assign the correct certificates.
11487
4. Resolve missing certificates: Create a new VM using the original VHDX file and configure vTPM and key protector.
11588
116-
## Resolution 2. Firmware, driver, and hardware remediation
89+
## Cause 2: TPM, hardware, driver, and firmware incompatibilities
90+
91+
- TPM model or firmware incompatibility: Earlier TPM models, such as HPE Gen9/Gen10, might lack support for required algorithms like RSAPSS.
92+
- Outdated storage drivers/firmware: Encryption features often require updated drivers and firmware.
93+
- Central processing unit (CPU) compatibility issues: Live migration might fail if CPU compatibility isn't configured across cluster nodes.
94+
95+
### Resolution: Firmware, driver, and hardware remediation
11796
11897
1. Update storage and TPM firmware: Work with hardware vendors to apply the latest updates.
11998
2. Check TPM support for required algorithms:
@@ -124,7 +103,13 @@ VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially fo
124103
Get-WmiObject -Namespace "Root\CIMV2\Security\MicrosoftTpm" -Class Win32_Tpm
125104
```
126105
127-
## Resolution 3. Configuration, script, and management fixes
106+
## Cause 3: Configuration and script errors
107+
108+
- Improper PowerShell script usage: Errors in automation scripts for enabling vTPM or shielded VM features can create issues.
109+
- Misconfiguration in HGS or cluster setup: Problems occur when required Windows features aren't enabled, or HGS registration is incorrect.
110+
- Mixing management tools: Concurrent modifications using tools like System Center Virtual Machine Manager (SCVMM), Failover Cluster Manager, and PowerShell can corrupt VM configurations.
111+
112+
### Resolution: Configuration, script, and management fixes
128113
129114
1. Correct PowerShell scripts: Ensure scripts appropriately handle vTPM enabling and verification.
130115
2. Fix VM configuration corruption: Recreate VM shells with existing VHDX files and reassign key protectors.
@@ -136,18 +121,33 @@ VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially fo
136121
137122
4. Maintain guarded fabric consistency: Import VMs onto hosts within the same guarded fabric.
138123
139-
## Resolution 4. Permissions, registry, and file system checks
124+
## Cause 4: File system and cluster configuration corruption
125+
126+
- Corrupted `.vmcx` (VM configuration) files: Cluster-aware updating (CAU) or failovers might corrupt VM configuration files.
127+
- Guarded fabric/cluster node inconsistencies: Shielded VMs must be hosted on the same guarded fabric to function correctly.
128+
129+
### Resolution: Permissions, registry, and file system checks
140130
141131
1. Check file and folder permissions: Verify access rights for VM configurations and VHDX files.
142132
2. Validate registry settings: Confirm settings for virtualization-based security, TPM, and HGS.
143133
144-
## Resolution 5. HGS attestation, protocol, and networking steps
134+
## Cause 5: Networking and security protocol issues
135+
136+
- Networking changes/disruptions: Network reconfigurations can temporarily interrupt HGS attestation.
137+
- TLS/protocol mismatches: HGS might default to older TLS versions, and disabling TLS 1.0 without enabling TLS 1.2 can cause failures.
138+
139+
### Resolution: HGS attestation, protocol, and networking steps
145140
146141
1. Configure TLS protocols: Update registry settings to enable TLS 1.2 and disable TLS 1.0.
147142
2. Resolve HTTPS certificate issues: Ensure certificates include required SANs for all nodes.
148143
3. Troubleshoot attestation failures: Test network connectivity using `Test-NetConnection`.
149144
150-
## Resolution 6. Best practices and documentation
145+
## Cause 6: Supportability and documentation gaps
146+
147+
- Unsupported HGS cluster expansion: Adding nodes with differing hardware models to an HGS cluster is unsupported.
148+
- Documentation gaps: Lack of guidance for certain PowerShell or WMI methods can lead to configuration errors.
149+
150+
### Resolution: Best practices and documentation
151151
152152
1. HGS cluster expansion: Add only identical hardware nodes to HGS clusters.
153153
2. Shielding existing VMs: Use WMI's `PrepareSpecializedMachine` method to shield VMs.

0 commit comments

Comments
 (0)