Forum Discussion

Sheela_Narayan_'s avatar
Sheela_Narayan_
Icon for Nimbostratus rankNimbostratus
May 22, 2018

PowerShell command to take LTM nodes online and offline

Hi,

 

Can someone help me with PowerShell command to take LTM nodes online and offline in version 13.x.

 

Regards, Sheela Narayan

 

1 Reply

  • Hi Sheela,

    you find here what's you need: https://support.f5.com/csp/article/K13310

    Setting the node state to Disabled using the command line:

    modify /ltm node  session user-disabled

    then

    save /sys config

    Setting the node state to Forced Offline using the command line:

    modify /ltm node  state user-down session user-disabled

    then

    save /sys config

    Deleting existing connections to the Disabled or Forced Offline node (Optional):

    tmsh delete /sys connection ss-server-addr 

    Let me now if you need additional info...

    Regards