您可以自動執行解除安裝和解除登錄 Site Recovery Manager Server。
下列程序會解除安裝 Site Recovery Manager Server並保留內嵌式或外部資料庫。
如果您搭配 vSphere Replication 使用 Site Recovery Manager,在解除安裝 Site Recovery Manager 後您可繼續使用 vSphere Replication。
您可以使用標準一對一 Site Recovery Manager 組態和共用復原站台組態中的下列程序。在共用復原站台組態中,您必須在每個站台上執行程序。
程序
- 透過輸入 Site Recovery Manager 產品代碼並指定解除安裝記錄檔來執行安裝程式。
msiexec.exe /x {Site Recovery Manager Product Code} /q
/l*vx "path to the uninstallation log file" // the installer does not use the user interface
例如,
msiexec.exe /x {BF127EFC-D3D9-49BD-BFC6-03DFB131FDB7} /q
/l*vx "C:\srm-uninstall-log.txt"
安裝程式不使用使用者介面。
- 將管理員認證輸入本機 Platform Services Controller。
SSO_ADMIN_USER=\"username\"
SSO_ADMIN_PASSWORD=\"password\"
- 指定是從資料庫移除 Site Recovery Manager 記錄並從本機 vCenter Server 和 Platform Services Controller 解除登錄 Site Recovery Manager,還是將其保留。
DR_CB_REMOVE_DATA=1 // removes Site Recovery Manager Server and its files, folders, and registry entries.
Remove the Site Recovery Manager records from the database and un-register Site Recovery Manager from the local vCenter Server and Platform Services Controller
DR_CB_REMOVE_DATA=0 // removes Site Recovery Manager Server and keeps the database records and registrations of Site Recovery Manager in the local vCenter Server and Platform Services Controller
結果
存在內嵌式或外部資料庫,但是
Site Recovery Manager 已解除安裝。