informatica:linux:lvs
                Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| informatica:linux:lvs [2012/10/07 16:28] – creado javi | informatica:linux:lvs [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 29: | Line 29: | ||
| Notas: | Notas: | ||
| - | -El comando tiene en cuenta la interfaz (eth) adecuada | + | -El comando tiene en cuenta la interfaz (eth) adecuada\\ | 
| -Esa IP sera asignada posteriormente a los real servers | -Esa IP sera asignada posteriormente a los real servers | ||
| Line 43: | Line 43: | ||
| ===== Configuración de los real servers ===== | ===== Configuración de los real servers ===== | ||
| - | 1. Ignoramos | + | **IMPORTANTE**: | 
| + | |||
| + | http:// | ||
| + | |||
| + | **TODO**: Hay que ver que consecuencias tiene eso a nivel de resolucion de nombres etc... | ||
| + | |||
| + | 1. Ignoramos las peticiones ARP: | ||
| sudo vim.tiny / | sudo vim.tiny / | ||
| Line 84: | Line 90: | ||
| Teclear algo (' | Teclear algo (' | ||
| + | |||
| + | ===== Errores ===== | ||
| + | |||
| + | Si el paso 3 falla, hacer un flush de la tabla arp del cliente (10.0.0.16): | ||
| + | |||
| + | 1. Resolver la IP virtual: | ||
| + | |||
| + | nslookup 10.0.0.201 | ||
| + | |||
| + | En mi caso: | ||
| + | |||
| + | balancer2.dev.jj.com | ||
| + | |||
| + | 2. Hacer el flush de esa direccion: | ||
| + | |||
| + | sudo arp -nd balancer2.dev.jj.com | ||
| + | |||
| + | 3. Comprobar: | ||
| + | |||
| + | sudo arp -a | grep balancer2.dev.jj.com | ||
| + | |||
| + | balancer2.dev.jj.com (10.0.0.201) at < | ||
informatica/linux/lvs.1349627280.txt.gz · Last modified:  (external edit)
                
                