Uninstalling Vshield Services From An Esx Host - VMware VSHIELD APP 1.0 - API Programming Manual

Vshield api
Table of Contents

Advertisement

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" on page 65.
Port Group Isolation: You must disable Port Group Isolation before uninstalling the service. See "Disable 
Port Group Isolation on a vDS" on page 22.
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 "Disable Port Group Isolation 
on a vDS" on page 22.
Example 3-4. Uninstalling All Three vShield Services from an ESX Host
Request:
DELETE <vshield_manager-uri>/api/1.0/vshield/<host-moid>
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-moid>/<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-moid>/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-moid>/vsz
20
VMware, Inc.

Advertisement

Table of Contents
loading

Table of Contents