Forum Discussion

garvy_206318's avatar
garvy_206318
Icon for Nimbostratus rankNimbostratus
Jun 23, 2015

GTM and redirect DNS request (server maintenance page) BASIC QUESTION

Hello All

 

I have recently installed a GTM unit in our data center and i am trying to configure what i imagine to be quite a simple functionality. I do not have the LTM module

 

I have created a wide ip for yourportal.example.com

 

i have also created 2 pools for this wide ip in these pools i have created two servers

 

POOL1 The live server internal and external address POOL2 The fallback (maintanence page)server internal and external address

 

I have assigned global availability to the Wide IP and assigned POOL 1 as the active pool

 

I then assign POOL2 as the last resort

 

I have also tried assigning all the servers to 1 individual pool and although this works to a degree, i cannot force the connections to redirect once the LIVE server comes back online.

 

I understand that this is quite a basic question and i am reading the manuals and guides, but i think i am failing to understand some of the basics of this system. I appreciate your patience and support with this topic.

 

1 Reply

  • There's no need to assign a Last Resort pool and to use the Global Availability method with two pools. It is sufficient to use one or the other. If you are attempting to have a fallback/maintenance pool, I recommend simply configuring the Last Resort pool. Here is a sample configuration snippet (with some parts omitted for clarity):

    gtm pool pool_primary {
        fallback-mode none
        members {
            s200:www01 { }
            s201:www01 { }
        }
        monitor gateway_icmp 
    }
    gtm pool pool_backup {
        fallback-mode none
        members {
            s222:www01 { }
            s223:www01 { }
        }
        monitor gateway_icmp 
    }
    gtm server s200 {
        virtual-servers {
            www01 {
                destination 10.10.212.200:http
            }
        }
    }
    gtm server s201 {
        virtual-servers {
            www01 {
                destination 10.10.212.201:http
            }
        }
    }
    gtm server s222 {
        virtual-servers {
            www01 {
                destination 10.10.212.222:http
            }
        }
    }
    gtm server s223 {
        virtual-servers {
            www01 {
                destination 10.10.212.223:http
            }
        }
    }
    gtm wideip www.example.com {
        last-resort-pool pool_backup
        pool-lb-mode round-robin
        pools {
            pool01 { }
        }
    }