User Tools

Site Tools


cn:ccr:cloud:infn_cc:lbaas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cn:ccr:cloud:infn_cc:lbaas [2019/09/06 03:58]
stalio@infn.it
cn:ccr:cloud:infn_cc:lbaas [2019/09/06 09:53] (current)
aiftim@infn.it
Line 1: Line 1:
 +====== 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 ({{ :cn:ccr:cloud:infn_cc: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:
 +
 +<code>
 +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
 +</code>