Forum Discussion
Hasan_35483
Apr 18, 2012Nimbostratus
How to run my tcl script from any directory on the Big IP server
I want to copy a script from my server to the Big IP server. I dont want to use bigip.conf file to store my script. Where can I store it and how do I run it through a SSH session ?
- Hasan_35483NimbostratusMy version is BIG-IP 10.2.1 Build 297.0 Final . So I would need to download bigip.conf file to my server , append it with my script and then transfer it back to BigIP server ? No way I can copy my script to another location and run it for this version (10.2.1) ?
- hooleylistCirrostratusHi Hasan,
- Hasan_35483NimbostratusI want to automate operations on the load balancer from my management server. I am writing a script which can read all the configuration (pools,virtual servers) on the load balancer and output a key/value file. So I would need to run a remote script from my server. How do I do that without having to edit bigip.conf file ? Pls tell me how I can run it from a remote location ? Thanks
- hooleylistCirrostratusAre you reading the configuration from the config files or using tmsh?
- Hasan_35483NimbostratusThanks for ur reply.I want to use tmsh. I am using the commands like get_config which will allow me to parse the output into various key/value objects. If I were to directly run the tmsh command like "list ltm pool" , I would need to parse it at my end and would need to maintain it (when different properties get added). Hence I prefer getting key/value objects from the script. Pls help
- hooleylistCirrostratusIf you want to run the script within tmsh I think you'd need to import it into the BIG-IP config. You could execute the script remotely by connecting via SSH and then running the tmsh script.
- Hasan_35483NimbostratusOkay , what would be the best way to import my remote script into Big-IP config?
- Alscion_68122NimbostratusHi Hasan,
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