
VMware, Inc. 59
Chapter 6 vShield App Management
YoucanretrievealistofsyslogserversconfiguredonthefirstvShieldAppinstancethatresponds.
Example 6-16. Get the syslog server configuration for All vShield App instances
Request:
GET https://<vsm-ip>/api/1.0/zones/syslogServers
YoucanconfigureallvShieldAppinstancesconnectedtothevShieldManagertosendeventstothespecified
syslogservers.
Example 6-17. Post the syslog server configuration across all vShield App instances
Request:
POST https://<vsm-ip>/api/1.0/zones/syslogServers
YoucandeletethesyslogserverconfigurationacrossallvShieldAppinstancesconnectedtothevShield
Manager.
Example 6-18. Delete the syslog server configuration across all vShield App instances
Request:
DELETE https://<vsm-ip>/api/1.0/zones/syslogServers
YoucandeleteasyslogserveracrossallvShieldAppinstancesconnectedtothevShieldManager.
Example 6-19. Delete a single syslog server by IP address from All vShield App instances
Request:
DELETE https://<vsm-ip>/api/1.0/zones/syslogServers/<ip_of_syslogServer>
Upgrading vShield App
YoucanupgradevShieldApp.
Example 6-20. Define namespace in a datacenter
Request:
POST https://<vsm-ip>/api/1.0/vshield/<host-id>/vsz
RequestBody:
<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>upgrade</InstallAction>
</VshieldConfiguration>
Comentarios a estos manuales