# Gracefully down

**URL:** <https://community.a10networks.com/t/gracefully-down/773>\
**Category:** aFleX\
**Tags:** virtual-server-vip\
**Created:** [April 26, 2023, 3:43pm UTC](https://community.a10networks.com/t/gracefully-down/773 "2023-04-26T15:43:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harishankar](https://avatars.discourse-cdn.com/v4/letter/h/d26b3c/32.png) [@Harishankar](https://community.a10networks.com/u/Harishankar)\
**Post date:** [April 26, 2023, 3:43pm UTC](https://community.a10networks.com/t/gracefully-down/773/1 "2023-04-26T15:43:24Z")

</div>

How to make a virtual server / server down gracefully ?

---

<div class="post-metadata">

**Author:** ![dquinn](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@dquinn](https://community.a10networks.com/u/dquinn)\
**Post date:** [April 26, 2023, 4:45pm UTC](https://community.a10networks.com/t/gracefully-down/773/2 "2023-04-26T16:45:47Z")

</div>

Copied from ADC guide:  
Graceful Shutdown  
You can configure a grace period for Down servers. ACOS will continue to forward packets to Down ports for the duration of the grace period.  
This option is useful for taking servers down for maintenance without immediately impacting existing sessions on the servers. The grace period can be 1-86400 seconds.&nbsp;  
The service group must contain 2 or more servers for this feature to work.  
l  
This feature supports stateless and stateful load balancing. However, the feature is not supported for stateful hash load-balancing methods, such as source-IP-based or des-tination-IP-based hashing.  
GUI Configuration  
1.  
Hover over ADC in the menu bar, then select Templates.  
2.  
Click Create and select Port from the drop-down list.  
3.  
Enter the desired grace period in the Down Grace Period field.  
4.  
Click OK.

CLI Configuration  
To configure the grace period, use the down-grace-period command at the configuration level for the real port template.  
ACOS(config)# slb template port default  
ACOS(config-rport)# down-grace-period 5000  
ACOS(config-rport)# exit
