Objective
This article describes how to configure a maintenance web page by using the Responder feature of the NetScaler appliance.
At times, when the services for a website are not available because of a planned outage or an unexpected event, you might want to display a maintenance or an apology page to the customer. You can use the Responder feature of the NetScaler appliance to create such a notification page during these events.
Instructions
To configure a maintenance webpage by using the Responder feature of the NetScaler appliance, complete the following procedure:
-
If not already done, run the following command to configure the required services:
add service server1 <IP_Address_of_Service> HTTP 80Note: You have to create a service that is always UP and bind it to this backup virtual server so that it will always remain UP. Go to Load Balancing > Services, and click Add and then create a service called "always-up" but for the Server, type in the localhost IP of 127.0.0.1, add a ping monitor, and click Create.
-
Run the following command to configure a Load Balancing virtual server:
add lb vserver vserver1 HTTP <IP_Address_of_VServer> 80 -
Run the following command to configure a backup Load Balancing virtual server:
add lb vserver backup HTTP 0.0.0.0 0 -
Run the following command to bind a service to the backup virtual server to ensure that the status of the backup virtual server is marked as UP:
bind lb vserver backup always-up -
Run the following command to configure the main virtual server with the backup virtual server:
set lb vserver vserver1 -backupVServer backup -
Run the following command to create a Responder action with an appropriate target web page:
add responder action mtn_pg_act respondwith q{"HTTP/1.0 200 OK" +"\r\n\r\n" + "<html><body>Sorry, this page is currently not available. Please try after some time.</body></html>" + "\r\n"}Note: To avoid caching of the maintenance web page, you can set the HTTP code to 503 Service Unavailable instead of 200 OK.
-
Run the following command to create a Responder policy:
add responder policy sorryPol HTTP.REQ.IS_VALID mtn_pg_act -
Run the following command to bind the policy to the backup virtual server:
bind lb vserver backup -policyName sorryPol -priority 4
Supporto Citrix
Traduzione automatica
Questo articolo ??¨ stato tradotto da un sistema di traduzione automatica e non ??¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ??¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.