
vShield API Programming Guide
18 VMware, Inc.
Uninstalling vShield Services from an ESX Host
YoucanuninstallvShieldApp,vShieldEndpoint,andPortGroupIsolationfromanESXhostbyusingasingle
request.
Beforeuninstallingtheseservices,completethefollowingtasks:
vShieldEndpoint:YoumustunregisterSVMsbeforeuninstallingvShieldEndpointfromtheESXhost.See
“UnregisteranSVMfromvShieldEndpoint”onpage 63.
PortGroupIsolation:YoumustdisablePortGroupIsolationbeforeuninstallingtheservice.See“Disable
PortGroupIsolationonavDS”onpage 20.
Example 3-4. Uninstalling All Three vShield Services from an ESX Host
Request:
DELETE <vshield_manager-uri>/api/1.0/vshield/<host-id>
Touninstalltwoservicesatthesametime,separatetheservicestobeuninstalledwithhyphens.
Example 3-5. Uninstalling More than One Service
Request:
DELETE <vshield_manager-uri>/api/1.0/vshield/<host-id>/<hyphen-separated-service-names>
Example:
ThisrequestuninstallsavShieldApp(zones)andPortGroupIsolation(pgi).ThevShieldEndpointservice
isshortenedtoepsec.
DELETE /api/1.0/zones/vshield/<host-id>/vsz-pgi
Youcanuninstallasingleservicebyspecifyingtheservicename.
Example 3-6. Uninstall a vShield App Only
Request:
DELETE <vshield_manager-uri>/api/1.0/vshield/<host-id>/vsz
CAUTIONUninstallinganyofthesevShieldservicesplacestheESXhostinmaintenancemode.After
uninstallationiscomplete,theESXhostreboots.Ifanyofthevirtualmachinesthatarerunningonthetarget
ESXhostcannotbemigratedtoanotherESXhost,thesevirtualmachinesmustbepoweredoffor
migrated
manuallybeforetheuninstallationcancontinue.IfthevShieldManagerisonthesameESXhost,thevShield
ManagermustbemigratedpriortouninstallingthevShieldApp.
BeforeuninstallingPortGroupIsolation,disabletheserviceonthehostvDS.See“DisablePortGroupIsolation
onavDS”onpage 20.
Komentáře k této Příručce