Forum Discussion
New 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 the tmsh so that I don't have to go through this manually. Would someone please help an F5 brother out and give him some guidance?
Thanks!
1 Reply
- nathe
Cirrocumulus
jwhite18,
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.3Or 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.3and 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
* 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