VMware VCLOUD SDK FOR JAVA 1.0 - DEVELOPER S GUIDE Manuale Utente Pagina 46

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 65
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 45
Hybrid Cloud Application Architecture
F5
®
Deployment Guide 44
// hit list contains all the nodes that can be disabled from the LTM pool and
shutdown.
readyToScaleIn = TRUE
}
} else {
// This node is active again with connections
// do not consider for removal so remove from the trigger list.
nodeTriggers.remove(nodeIp);
}
}
return ReadyToSCaleIn;
Retrieving pool member connection counts
1. Get all the pool members in the “petshop_http” pool in the Public
Cloud LTM.
2. Get statistics for every pool member using Poll Member Stub:
for(all the pool members) {
for (all the stat entries for the given pmember) {
// Now look fo only the server side open conection statistic entry
if(Statistic Type ==
CommonStatisticType.STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS) {
numberOfConnectios = stat Entry.value();
// Connetion Map stores the node and number od connections using the Node IP
as the key.
connectionMap.add(Node IP Address, No of connections);
}
}
}
return the connectionMap
scaleOutAction() function for increasing resources in the Public
Cloud
This action initializes the procedure for adding vApp resources to the
application running in the public cloud. The cloud application performance
metric is read in from the orchestration configuration and the process waits
to deploy resources until the readyToScaleOut() function returns a TRUE.
1. Read configuration parameters and threshold values. These include:
Vedere la pagina 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 64 65

Commenti su questo manuale

Nessun commento