Forum Discussion
jwhite18
Nimbostratus
May 23, 2016New F5 Deployment - Deploying All Nodes
Hi guys,
Relatively a newbie here, I am looking for some of your wisdom :-)
I have a list of 40 IP addresses and names that I need to create nodes. I know there is a way to script this from...
nathe
Cirrocumulus
May 24, 2016jwhite18,
There's a few ways of doing this, firstly you can create the list of tmsh commands in notepad and then copy them into an ssh window e.g.
tmsh create ltm node test1 address x.x.x.1
tmsh create ltm node test2 address x.x.x.2
tmsh create ltm node test3 address x.x.x.3
Or you can create a file on the command line and make it a shell file e.g. createnode.sh. Paste the above commands into it but have !/bin/bash at the top. Make it executable and run this e.g.
!/bin/bash
tmsh create ltm node test1 address x.x.x.1
tmsh create ltm node test2 address x.x.x.2
tmsh create ltm node test3 address x.x.x.3
and then run ./createnode.sh
Hope this helps,
N
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects