VMware VSHIELD APP 1.0 - API Uživatelský manuál Strana 16

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 104
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 15
vShield API Programming Guide
16 VMware, Inc.
SynchronizationwithvCenterServerrequiresitsIPaddress(orURL)andadministratorlogincredentials.
SpecifyingDNSinformationisoptional.YoucansynchronizevShieldManagerwithjustvCenterServer.
Example 2-2. Synchronize the vShield Manager with vCenter Server
Request:
POST https://<vsm-ip>/api/2.0/global/config
RequestBody:
<vsmGlobalConfig xmlns="vmware.vshield.edge.2.0">
<vcInfo>
<ipAddress>10.112.196.22</ipAddress>
<userName>administrator</userName>
<password>123</password>
</vcInfo>
</vsmGlobalConfig>
Monitoring vShield Manager reachability
YoucanverifythatthevShieldManagerisreachable.
Example 2-3. Verify that the vShield Manager is reachable
Request:
GET https://<vsm-ip>/api/2.0/global/heartbeat
Retrieving Tech Support Logs
YoucanretrieveTechnicalSupportlogsfromthevShieldManagerandvShieldEdge.
Get the vShield Manager Technical Support Log File Path
YoucangetthepathtothediagnosticlogfileforthevShieldManager.Youcanthensendthediagnosticlogto
technicalsupportforassistanceintroubleshootinganissue.
Example 2-4. Get the Tech Support Log File Path for a vShield Manager
Request:
GET https://<vsm-ip>/api/2.0/global/techSupportLogs
Thetechnicalsupportlogisplacedinafileatthefollowingpath,howevertheRESTAPIhasnoprovisionfor
downloadingit,andwgetandcurldonothavepermissiontodownloadit,either.Youcanretrievethelog
withvShieldManagerbyclickingSettings&Reports>Configuration>
Support>[LogDownload]Initiate.
/tech_support_logs/vsm/vshield_mgr_support_<date_time>GMT.log.gz
Get the vShield Edge Technical Support Log File Path
YoucandownloadthediagnosticlogfromavShieldEdge.Youcanthensendthediagnosticlogtotechnical
supportforassistanceintroubleshootinganissue.
Example 2-5. Get the Tech Support Log File Path for a vShield Edge
Request:
Zobrazit stránku 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 103 104

Komentáře k této Příručce

Žádné komentáře