How to Automate actions!

Hi All,

I’m so new to this technology! I have to automate actions within the BigIp product. For instance, when we deploy a new server, I want to have the process automatically add this new server into the pool!

Any thoughts?

Are you currently using any other automation or orchestration products? Regardless, do take a look at iControl.

No we are not! I know everything happening manually!

Agree with Steve’s suggestion on iControl. There’s a case study of Rackspace using iControl to automate their products and the iControl page on DevCentral offers lots of tips - DevCentral

Good luck!

OK, so your BIG-IP(s) would be an element within some sort of automation system, it has software interfaces (APIs) to allow it to be configured and controlled at the software level but it doesn’t actually come with that actual automation system I’m afraid.

If you’re looking for something very simple, perhaps just a few tmsh scripts would do the job?

So, Is there any way to Automate it? like scripting or something?

Where can I find that Rackspace case study Mel?

Where can I find that Rackspace case study Mel?

Here’s the RS link - http://www.f5.com/about/news/press/2010/20101208/

Lots more info at F5.com, enter “rackspace” at top right search bar.

Thank you

It could be scripted, what’s the actual requirement? Do you just want to a a new server to a large number of existing pools?

yes!

I’m no bash scripting expert but how about something like this (which I’m sure could be greatly improved but will still save you lots of time);

!/bin/bash

NEWMEMBERIP=1.1.1.1
NEWMEMBERNAME=testnode
NEWMEMBERPORT=8080

tmsh create ltm node $NEWMEMBERNAME address $NEWMEMBERIP
tmsh modify ltm pool pool1name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}
tmsh modify ltm pool pool2name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}
tmsh modify ltm pool pool3name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}
tmsh modify ltm pool pool4name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}
tmsh modify ltm pool pool5name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}
tmsh modify ltm pool pool6name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}
tmsh modify ltm pool pool7name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}
tmsh modify ltm pool pool8name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}
tmsh modify ltm pool pool9name members add \{ $NEWMEMBERNAME:$NEWMEMBERPORT \}

exit 0