User Tools

Site Tools


Sidebar

cn:ccr:cloud:infn_cc:lbaas

LBaaS

Su INFN-CC È stato attivato il servizio Load Balancer as a Service (LBaaS), che permette di creare dei load balancer, basati su HAProxy, per bilanciare il carico tra VM diverse all'interno dello stesso progetto e della stessa regione.

Questo estratto (lbaas_docs.pdf) della documentazione di OpenStack ne spiega l'architettura generale l'utilizzo attraverso il client a riga di comando.
Su INFN-CC NON è usata l'implementazione con Octavia ma quella con l'agent LBaaS v2.

INFN-CC Dashboard

È stato anche attivato il pannello per la creazione e configurazione di load balancer via dashboard. Mentre la creazione di un load balancer non è estremamente complicata, la sua eliminazione via Dashboard potrebbe sembrare non implementata. Di seguito una spiegazione con l'elenco delle operazioni da compiere:

To delete an LBaaSv2 loadbalancer, you must remove all the members from the pool,
then delete the pool, then delete the listener, then you can delete the loadbalancer.
Currently in Horizon you can do all of those steps.
Here is the trick how to delete a pool or health monitor in Horizon:

  * in "Load Balancers" click on the name of the LB (e.g. "lb1")
  * go to "Listeners" tab, click on the name of the listener
  * click on the link shown next to "Default Pool ID" (this is the trick!)
  * click on the link shown next to "Health Monitor ID"
  * now you can click on the dropdown in the top right and select "Delete Health Monitor"
  * (need to find your way back to get to the pool, worst case go the top Horizon page)
  * back on the pool page, click on the dropdown in the top right and select "Delete Pool"
  * then delete the listener, then delete the load balancer
cn/ccr/cloud/infn_cc/lbaas.txt · Last modified: 2019/09/06 09:53 by aiftim@infn.it