Skip to content

Instantly share code, notes, and snippets.

@harunyardimci
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save harunyardimci/f6a4af5687bd3972f32d to your computer and use it in GitHub Desktop.

Select an option

Save harunyardimci/f6a4af5687bd3972f32d to your computer and use it in GitHub Desktop.
Enable - disable pools on F5 and netscaler
# 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}"
@harunyardimci
Copy link
Author

F5 requires ssh key authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment