VMware VSHIELD APP 1.0 - API Manual do Utilizador Página 36

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 132
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 35
vShield API Programming Guide
36 VMware, Inc.
YoumustspecifythehostIDofthetargetESXhosttoinstallallservices.
See“ESXHostPreparationandUninstallationSchema”onpage 108.
Example 3-1. Install a vShield App and vShield Endpoint on an ESX host
Request
POST https://<vsm-ip>/api/1.0/vshield/<host-id>
RequestBody
<VshieldConfiguration>
<VszInstallParams>
<DatastoreId>datastore-5035</DatastoreId>
<ManagementPortSwitchId>network-4485</ManagementPortSwitchId>
<MgmtInterface>
<IpAddress>10.112.196.245</IpAddress>
<NetworkMask>255.255.252.0</NetworkMask>
<DefaultGw>10.112.199.253</DefaultGw>
</MgmtInterface>
</VszInstallParams>
<EpsecInstallParams>true</EpsecInstallParams>
<InstallAction>install</InstallAction>
</VshieldConfiguration>
ESXhostpreparationrequiresthefollowingelements:
DatastoreId:VCMOIDofthedatastoreonwhichthevShieldAppservicevirtualmachinefileswillbe
stored.
ManagementPortSwitchId:VCMOIDoftheportgroupthatwillhostthemanagementportofthe
vShieldApp.
MgmtInterface
IpAddress:IPaddresstobeassignedtothemanagementportofthevShieldApp.ThisIPaddress
mustbeabletocommunicatewiththevShieldManager.
NetworkMask:SubnetmaskassociatedwiththeIPaddressassignedtothemanagementinterfaceof
thevShieldApp.
DefaultGw:IPaddressofthedefaultgateway.
Afterinstallationofallcomponentsiscomplete,dothefollowing:
vShieldApp:Atthispoint,vShieldAppinstallationiscomplete.EachvShieldAppinheritsglobal
firewallrulessetinthevShieldManager.Thedefaultfirewallrulesetallowsalltraffictopass.Youmust
configureblockingrulestoexplicitlyblocktraffic.ToconfigureAppFirewallrules,see“Configuring
FirewallRules
forvCenteronpage 60.
vShieldEndpoint:Tocompleteinstallation,see“vShieldEndpointManagement”onpage 81.
YoucaninstallasingleservicebyidentifyingonlythatserviceinthePOSTbody.InExample 32,onlyvShield
Appisinstalled,asidentifiedbyinclusionoftheVszInstallParamselementonly.
Example 3-2. Install a vShield App only
Request:
POST https://<vsm-ip>/api/1.0/vshield/<host-id>/vsz
RequestBody:
CAUTIONDonotinstallvShieldApp(orvShieldZones)ontheESXhostwherevCenterServerisrunning,
otherwisevShieldAppcouldinterferewithvSpheremanagementtraffic.
Vista de página 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 131 132

Comentários a estes Manuais

Sem comentários