Last active
August 29, 2015 14:07
-
-
Save harunyardimci/f6a4af5687bd3972f32d to your computer and use it in GitHub Desktop.
Enable - disable pools on F5 and netscaler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # F5 | |
| ssh ${LB-HOST} tmsh modify ltm node ${SERVICE_NAME} state user-up | |
| ssh ${LB-HOST} tmsh modify ltm node ${SERVICE_NAME} state user-down | |
| # Netscaler | |
| expect nsauth.exp ${USER} ${PASS} ${LB-HOST} "enable service ${SERVICE_NAME}" | |
| expect nsauth.exp ${USER} ${PASS} ${LB-HOST} "disable service ${SERVICE_NAME}" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
F5 requires ssh key authentication