VMware VCENTER APPLICATION DISCOVERY MANAGER 6.1.1 - RESPOSITORY Manuale Utente Pagina 59

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 58
VMware, Inc. 59
B
ThisappendixdescribestheADMAPIandexplainshowtoaccessanduseit.Topicsinclude:
“A P I Features”onpage 59
“WebServicesAPI”onpage 61
API Features
TheAPIofADMallowsclientstoqueryitsdatabaseandexportpartsofitbymeansofawebservicesAPI.
Thefollowingcasesareexplainedinthefollowingsections:
WritingthesystemstatusintoanXMLoutputfile;“Insight_control”onpage 59.
SynchronizationofCMDBapplicationswithdataofADM;“A s y n c h API”onpage 60.
PopulationofthirdpartyapplicationswithdataofADM.
DumpingofentiredatabasetablesanduploadingtoanFTPserver;“DumpAPI”onpage 60.
Accesstofiltereddatabybulk(paginated);“BulkAPI”onpage 61.
YoucandividetheAPIintothreesections,wheretwoarededicatedtoqueryingtheADM(DumpandBulk),
andthethirdisinchargeoftrackingthosequeries(Asynch).
Insight_control
TheInsight_controlutilitywritesthesystemstatusintoanXMLoutputfile.
To run Insight_control utility
1Logintotheapplianceasuserroot.
2 Changethedirectorybytyping:
cd /home/nlayers/Seneca/management/APIs
3Typethefollowingcommandtogenerateasystemstatusoutputfile:
./InSight_control.sh systemstatus --get --output /tmp/systemstatus
Service Status
Servicestatuscanbe:
Running:Theserviceisrunning.
Disabled:TheADMintentionallystopstheservice.
NotRunning(PurposelyStopped):Theservicewasstoppedintentionally,forexample,aservicewas
manuallystoppedbytheadm_control.pl --stopcommand.
ADM API Tutorial
B
NOTEYoucansubstituteadifferentfileandpathfor /tmp/systemstatus.
Vedere la pagina 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64

Commenti su questo manuale

Nessun commento