11-17-2008 11:08 AM - edited 03-11-2019 07:14 AM
Hi,
We have three servers load balanced on a CISCO CSS11500 series.
The question is, can we bring up a downtime page from the Loadbalancer, when all three servers are down for maintanence purpose?
11-17-2008 11:13 AM
The short answer is that you can if you have a GSS set up (which you don't mention), otherwise, if you only have the CSSes, then the answer is no. With that being said, you can create new services on the CSS that go to the downtime page, then suspend them. Add them to the owner/content rules but leave them suspended. Once you get ready to do your work, you can log into the CSS, activate your downtime services and suspend your prod services. When you come out of maintenance, you reverse the process. There is not a way to do this on the CSS without these manual steps. You will also need to have a server to host the maintenance page, as the CSS does not deliver content directly.
11-17-2008 11:48 AM
Not from the LB itself but a good idea is to have a single server dedicated for downtime pages.
Create a service with a "sorry page". Add it to the content-rule as primary sorry service.
When ever all the services in the content rule are unavailble the traffic will be send to this server with sorry page. This Server will only be used "if all services are down".
Config example
you will need to use the "sorry server" feature in CSS to acheive that
Sample Config
!********* SERVICE *****************
service serverA
ip address x.x.x.1
active
service serverB
ip address x.x.x.2
active
service Server-with-downtime-page
ip address x.x.x.x
active
!********** OWNER ****************
owner SYED
content EXAMPLE
vip address 1.1.1.1
port 80
protocol tcp
add service serverA
add service serverB
primarySorryServer Server-with-downtime-page
active
********************************
HTH
Syed Iftekhar Ahmed
11-17-2008 12:16 PM
Yes, I forgot about that, we have to use the GSS because we have multiple data centers and multiple CSS/GSS. If you only have 1 CSS (or CSS cluster), you are perfectly fine to use the PrimarySorryServer config. The reason you dont want to use this with multiple data centers is that you dont want some of your traffic taking the sorry page and others getting the real page.
11-17-2008 12:20 PM
Thank you very much Mike and Iftekar.
I am a newbie for Routers and it will be helpful if you can give the detailed configuration steps.
Thanks again.
11-17-2008 01:24 PM
Syed's example gives exactly what you need. Modify the service, owner, content and IP addresses with yours and you are set.
11-19-2008 06:31 AM
Hi thanks for the reply,
Here is one more modified requirement.
Can we host a same server two times as a different service in the loadbalancer? So tht we can host the sorry page on the next service just for maintanence purpose.
Norbert
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide