vShield API Programming Guide
Uninstalling vShield Services from an ESX Host
You can uninstall vShield App, vShield Endpoint, and Port Group Isolation from an ESX host by using a single
request.
Before uninstalling these services, complete the following tasks:
vShield Endpoint: You must unregister SVMs before uninstalling vShield Endpoint from the ESX host. See
"Unregister an SVM from vShield Endpoint"
Port Group Isolation: You must disable Port Group Isolation before uninstalling the service. See
Port Group Isolation on a vDS"
C
Uninstalling any of these vShield services places the ESX host in maintenance mode. After
AUTION
uninstallation is complete, the ESX host reboots. If any of the virtual machines that are running on the target
ESX host cannot be migrated to another ESX host, these virtual machines must be powered off or migrated
manually before the uninstallation can continue. If the vShield Manager is on the same ESX host, the vShield
Manager must be migrated prior to uninstalling the vShield App.
Before uninstalling Port Group Isolation, disable the service on the host vDS. See
on a vDS"
on page 20.
Example 3-4. Uninstalling All Three vShield Services from an ESX Host
Request:
DELETE <vshield_manager-uri>/api/1.0/vshield/<host-id>
To uninstall two services at the same time, separate the services to be uninstalled with hyphens.
Example 3-5. Uninstalling More than One Service
Request:
DELETE <vshield_manager-uri>/api/1.0/vshield/<host-id>/<hyphen-separated-service-names>
Example:
This request uninstalls a vShield App (zones) and Port Group Isolation (pgi). The vShield Endpoint service
is shortened to epsec.
DELETE /api/1.0/zones/vshield/<host-id>/vsz-pgi
You can uninstall a single service by specifying the service name.
Example 3-6. Uninstall a vShield App Only
Request:
DELETE <vshield_manager-uri>/api/1.0/vshield/<host-id>/vsz
18
on page 63.
on page 20.
"Disable
"Disable Port Group Isolation
VMware, Inc.
Need help?
Do you have a question about the VSHIELD APP 1.0.0 UPDATE 1 - API and is the answer not in the manual?
Questions and answers