Download vShield API Programming Guide
Transcript
Chapter 3 ESX Host Preparation for vShield App, vShield Endpoint, and vShield Data Security <VshieldConfiguration> <VszInstallParams> <DatastoreId>datastore-5131</DatastoreId> <ManagementPortSwitchId>network-5134</ManagementPortSwitchId> <MgmtInterface> <IpAddress>10.112.196.245</IpAddress> <NetworkMask>255.255.252.0</NetworkMask> <DefaultGw>10.112.199.253</DefaultGw> </MgmtInterface> </VszInstallParams> <InstallAction>install</InstallAction> </VshieldConfiguration> Installing vShield Data Security You can install vShield Data Security on a host that has vShield Endpoint installed. Example 3-3. Install vShield Data Security on an ESX host Request: POST https://<vsm-ip>/api/1.0/vshield/<host-id> Request Body: <VshieldConfiguration> <VsdsInstallParams> <DatastoreId>datastore-5035</DatastoreId> <PortGroupId>network-12</PortGroupId> <MgmtInterface> <IpAddress>10.112.196.245</IpAddress> <NetworkMask>255.255.252.0</NetworkMask> <DefaultGw>10.112.199.253</DefaultGw> </MgmtInterface> </VsdsInstallParams> <InstallAction>install</InstallAction> </VshieldConfiguration> Where <host-id> is the MOID of the ESX host where vShield Data Security should be installed. Upgrading vShield Data Security You can upgrade vShield Data Security on a host without having to provide configuration parameters. Example 3-4. Upgrade vShield Data Security on an ESX host Request: POST https://<vsm-ip>/api/1.0/vshield/<host-id> Request Body: <VshieldConfiguration> <VsdsInstallParams></VsdsInstallParams> <InstallAction>upgrade</InstallAction> </VshieldConfiguration> Where <host-id> is the MOID of the ESX host where vShield Data Security should be upgraded. VMware, Inc. 37