VMware VCENTER APPLICATION DISCOVERY MANAGER 6.1.1 - RESPOSITORY Manuel d'utilisateur Page 60

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 59
Application Discovery Manager Administration Guide
60 VMware, Inc.
Sample Status Output
<SystemStatus>
<version>6.1.0-6013</version>
<uptime> 09:20:15 up 7 days, 18 min, 1 user, load average: 1.36, 2.17, 1.71</uptime>
<engine>Running</engine>
<listener>Not Running (Purposely Stopped)</listener>
<active_probe>Not Running (Purposely Stopped)</active_probe>
<oracle>Running</oracle>
<apache>Running</apache>
<watchdog>Running</watchdog>
</SystemStatus>
Asynch API
OperationsinADMʹsAPIareasynchronous.Theclienthastotracktheprogress(orlackthereof)ofthistask
andretrieveitsresults.
TasksareuniquelyidentifiedbyaUniversalUniqueIdentifier,whosestringrepresentationisreturnedupon
ataskcreation.Futurereferencestoataskmustbedoneusing
thissamestring.
Taskshavepredefinedparametersregardingtheirlifespanineverystate,forexample,afinishedtaskwaits
inthesystemfor24hoursbeforeitsresourcesarerecalledandthetaskisdeleted.Ataskcanhaveanyofthe
followingstates,whichyoucanretrievebyusing
getTaskState(Stringid):
PENDING:ThetaskiscreatedandinitializedandiswaitingtobeexecutedbyADM.
RUNNING:AgetTaskProgress()returnsanIntegerbetween0and100.
CANCELLED:Systemcancancelataskifittakestoolongtoexecute.
RUNNING:Thetaskisbeingexecuted.YoucantracktheprocessbycallinggetTaskProgress(Stringid).
Ataskcanbeinthisstateforalimitedamountoftime;systemcancelsalltheoffendingtasks.
FINISHED:Thetaskhasfinishedrunningsuccessfully,anditsproduceisreadyandwaitingtobe
collectedbytheclient.
ERROR/CANCEL:Thetaskhaseitherfailedorbeencanceled(usingcancelTask(Stringid)).
Dump API
TheDumpAPIprovidesyouwiththepossibilityofdumpingthecompletecontentsofatable(orsmallsetof
tables)thatcorrespondstoagivenentity(HOSTS,SERVICES,CONNECTIONS,andsoon.).InthisAPI,
flexibilityhasbeentradedforspeed,anditisintendedforthosecaseswherean
applicationintendstomirror
ADMʹsdata,andperiodicallysynchronizewithit.
TheDumpAPIworksasfollows:
1 Selectthetypeofentitiesthatitneedsandadiscoverydate(optional)forthoseentities.
2 Calldump( )withthoseparameters,andobtainthetaskUUIDinastringform.
3Tracktheprogressof
thetaskusingtheAsynchAPI(getTaskState( )andgetTaskProgress( )).
4RepeatStep 3untilthetaskreachestheFINISHEDorERRORstate.
5IfthetaskisintheFINISHEDstate,thenthefilescontainingthedumpeddatabasetablesarereadyand
waitingtobecollected(eitherusingSSHorintheFTPserverifsupplied).Thefilesarestoredina
subdirectorywhosenameisidenticaltothetaskID.
N
OTETheoperationswithinthecontextofthewebserviceclientaresynchronic,thatis,thecallingofthe
functionthatdoesthe actualdeliveryofthequeryissynchronic,andtheclientblocksuntilthatoperationis
completed.
Vue de la page 59
1 2 ... 55 56 57 58 59 60 61 62 63 64

Commentaires sur ces manuels

Pas de commentaire