手動啟動復原後復原加密金鑰 - AFF A20、 AFF A30 和AFF A50
在AFF A20、 AFF A30 或AFF A50 儲存系統中的替換啟動媒體上恢復加密,以確保持續的資料保護。替換過程包括驗證金鑰可用性、重新套用加密設定以及確認對資料的安全存取。
根據您的金鑰管理員類型,完成相應的步驟以恢復系統加密。如果您不確定您的系統使用哪個金鑰管理器,請檢查您在啟動媒體更換程序開始時所擷取的設定。
從 ONTAP 開機功能表還原內建金鑰管理程式( OKM )組態。
請確保您已準備好以下資訊:
-
在輸入群集範圍的密碼短語時 "啟用車載密鑰管理"
-
使用以下方式驗證您是否擁有正確的密碼短語和備份資料: "如何驗證內建金鑰管理備份和叢集範圍的複雜密碼"程式
關於受損控制者:
-
將遊戲機連接線連接到故障控制器。
-
從ONTAP啟動選單中,選擇對應的選項:
版本ONTAP 選取此選項 部分9.8或更新版本ONTAP
選擇選項 10 。
顯示開機功能表範例
Please choose one of the following: (1) Normal Boot. (2) Boot without /etc/rc. (3) Change password. (4) Clean configuration and initialize all disks. (5) Maintenance mode boot. (6) Update flash from backup config. (7) Install new software first. (8) Reboot node. (9) Configure Advanced Drive Partitioning. (10) Set Onboard Key Manager recovery secrets. (11) Configure node for external key management. Selection (1-11)? 10
更新版本ONTAP
選取隱藏選項
recover_onboard_keymanager顯示開機功能表範例
Please choose one of the following: (1) Normal Boot. (2) Boot without /etc/rc. (3) Change password. (4) Clean configuration and initialize all disks. (5) Maintenance mode boot. (6) Update flash from backup config. (7) Install new software first. (8) Reboot node. (9) Configure Advanced Drive Partitioning. Selection (1-19)? recover_onboard_keymanager
-
出現提示時,請確認您是否要繼續恢復過程:
顯示範例提示
This option must be used only in disaster recovery procedures. Are you sure? (y or n): -
輸入叢集範圍的複雜密碼兩次。
輸入密碼時,控制台不顯示任何輸入內容。
顯示範例提示
Enter the passphrase for onboard key management:Enter the passphrase again to confirm: -
請輸入備份資訊:
-
貼上從 BEGIN BACKUP 行到 END BACKUP 行的所有內容,包括破折號。
顯示範例提示
Enter the backup data: --------------------------BEGIN BACKUP-------------------------- 0123456789012345678901234567890123456789012345678901234567890123 1234567890123456789012345678901234567890123456789012345678901234 2345678901234567890123456789012345678901234567890123456789012345 3456789012345678901234567890123456789012345678901234567890123456 4567890123456789012345678901234567890123456789012345678901234567 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0123456789012345678901234567890123456789012345678901234567890123 1234567890123456789012345678901234567890123456789012345678901234 2345678901234567890123456789012345678901234567890123456789012345 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ---------------------------END BACKUP---------------------------
-
輸入內容結束後,按兩次回車鍵。
恢復過程完成,並顯示以下訊息:
Successfully recovered keymanager secrets.
顯示範例提示
Trying to recover keymanager secrets.... Setting recovery material for the onboard key manager Recovery secrets set successfully Trying to delete any existing km_onboard.wkeydb file. Successfully recovered keymanager secrets. *********************************************************************************** * Select option "(1) Normal Boot." to complete recovery process. * * Run the "security key-manager onboard sync" command to synchronize the key database after the node reboots. ***********************************************************************************
+
如果顯示的輸出結果不是以下內容,請勿繼續操作: Successfully recovered keymanager secrets。進行故障排除以修正錯誤。 -
-
選擇選項 `1`從啟動選單繼續啟動進入ONTAP。
顯示範例提示
*********************************************************************************** * Select option "(1) Normal Boot." to complete the recovery process. * *********************************************************************************** (1) Normal Boot. (2) Boot without /etc/rc. (3) Change password. (4) Clean configuration and initialize all disks. (5) Maintenance mode boot. (6) Update flash from backup config. (7) Install new software first. (8) Reboot node. (9) Configure Advanced Drive Partitioning. (10) Set Onboard Key Manager recovery secrets. (11) Configure node for external key management. Selection (1-11)? 1
-
確認控制器控制台顯示以下資訊:
Waiting for giveback…(Press Ctrl-C to abort wait)關於合作夥伴控制器:
-
歸還受損控制器:
storage failover giveback -fromnode local -only-cfo-aggregates true關於受損控制者:
-
僅使用 CFO 聚合啟動後,同步金鑰管理員:
security key-manager onboard sync -
出現提示時,輸入叢集範圍內的板載密鑰管理器密碼短語。
顯示範例提示
Enter the cluster-wide passphrase for the Onboard Key Manager: All offline encrypted volumes will be brought online and the corresponding volume encryption keys (VEKs) will be restored automatically within 10 minutes. If any offline encrypted volumes are not brought online automatically, they can be brought online manually using the "volume online -vserver <vserver> -volume <volume_name>" command.
如果同步成功,則傳回群集提示符,不包含其他訊息。如果同步失敗,則會在傳回群集提示符之前顯示錯誤訊息。請勿繼續操作,直到錯誤修正且同步成功為止。 -
確認所有金鑰均已同步:
security key-manager key query -restored false該命令不應傳回任何結果。如果出現任何結果,請重複同步命令,直到沒有結果返回為止。
關於合作夥伴控制器:
-
歸還受損控制器:
storage failover giveback -fromnode local -
如果停用自動恢復功能,請還原:
storage failover modify -node local -auto-giveback true -
如果啟用 AutoSupport 、請還原自動建立案例:
system node autosupport invoke -node * -type all -message MAINT=END
從 ONTAP 開機功能表還原外部金鑰管理程式組態。
從另一個叢集節點或備份中收集以下檔案:
-
`/cfcard/kmip/servers.cfg`檔案或 KMIP 伺服器位址和連接埠
-
`/cfcard/kmip/certs/client.crt`文件(客戶端證書)
-
`/cfcard/kmip/certs/client.key`文件(客戶端密鑰)
-
`/cfcard/kmip/certs/CA.pem`檔案(KMIP 伺服器 CA 憑證)
關於受損控制者:
-
將遊戲機連接線連接到故障控制器。
-
選擇選項 `11`從ONTAP啟動選單。
顯示開機功能表範例
(1) Normal Boot. (2) Boot without /etc/rc. (3) Change password. (4) Clean configuration and initialize all disks. (5) Maintenance mode boot. (6) Update flash from backup config. (7) Install new software first. (8) Reboot node. (9) Configure Advanced Drive Partitioning. (10) Set Onboard Key Manager recovery secrets. (11) Configure node for external key management. Selection (1-11)? 11
-
出現提示時,請確認您已收集到所需資訊:
顯示範例提示
Do you have a copy of the /cfcard/kmip/certs/client.crt file? {y/n} Do you have a copy of the /cfcard/kmip/certs/client.key file? {y/n} Do you have a copy of the /cfcard/kmip/certs/CA.pem file? {y/n} Do you have a copy of the /cfcard/kmip/servers.cfg file? {y/n} -
出現提示時,請輸入客戶端和伺服器資訊:
-
輸入客戶端憑證(client.crt)檔案的內容,包括 BEGIN 行和 END 行。
-
輸入客戶端金鑰(client.key)檔案的內容,包括 BEGIN 和 END 行。
-
輸入 KMIP 伺服器 CA(s) (CA.pem) 檔案內容,包括 BEGIN 和 END 行。
-
請輸入KMIP伺服器IP位址。
-
輸入 KMIP 伺服器連接埠(按 Enter 鍵使用預設連接埠 5696)。
顯示範例
Enter the client certificate (client.crt) file contents: -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- Enter the client key (client.key) file contents: -----BEGIN RSA PRIVATE KEY----- <key_value> -----END RSA PRIVATE KEY----- Enter the KMIP server CA(s) (CA.pem) file contents: -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- Enter the IP address for the KMIP server: 10.10.10.10 Enter the port for the KMIP server [5696]: System is ready to utilize external key manager(s). Trying to recover keys from key servers.... kmip_init: configuring ports Running command '/sbin/ifconfig e0M' .. .. kmip_init: cmd: ReleaseExtraBSDPort e0M
恢復過程完成,並顯示以下訊息:
Successfully recovered keymanager secrets.
顯示範例
System is ready to utilize external key manager(s). Trying to recover keys from key servers.... Performing initialization of OpenSSL Successfully recovered keymanager secrets.
-
-
選擇選項 `1`從啟動選單繼續啟動進入ONTAP。
顯示範例提示
*************************************************************************** * Select option "(1) Normal Boot." to complete the recovery process. * *************************************************************************** (1) Normal Boot. (2) Boot without /etc/rc. (3) Change password. (4) Clean configuration and initialize all disks. (5) Maintenance mode boot. (6) Update flash from backup config. (7) Install new software first. (8) Reboot node. (9) Configure Advanced Drive Partitioning. (10) Set Onboard Key Manager recovery secrets. (11) Configure node for external key management. Selection (1-11)? 1
-
如果停用自動恢復功能,請還原:
storage failover modify -node local -auto-giveback true -
如果啟用 AutoSupport 、請還原自動建立案例:
system node autosupport invoke -node * -type all -message MAINT=END
在開機媒體上還原加密後"將故障零件退回 NetApp",您需要。