Forum Discussion
F5-Node-Initiator Chef Cookbook
Does anyone know where I can download this sample chef cookbook? The links in the article that reference it are broken:
https://devcentral.f5.com/articles/automating-web-app-deployments-with-opscode-chef-and-icontrol
The link in the article is returning a 404: https://devcentral.f5.com/LinkClick.aspx?link=http%3a%2f%2fdevcentral.f5.com%2fdownloads%2ftechtips%2fChefandiControl%2ff5-node-initiator.tgz&tabid=73&mid=656
Hoping somebody knows where i can get this.
Thank you
5 Replies
- Arturo
Employee
I don't know exactly where it is but...
http://webcache.googleusercontent.com/search?q=cache:li3CfMpdnC4J:https://devcentral.f5.com/articles/automating-web-app-deployments-with-opscode-chef-and-icontrol+&cd=1&hl=en&ct=clnk&gl=es.
I hope this help ;)
- Miguel_03_15449
Nimbostratus
I'm able to reach the article but not able to actually download the tarball that is in the example. I'm hoping to get that tarball which contains the chef cookbook.
- SeanW_82915
Nimbostratus
I've started work on a more up to date LWRP for the F5 pools and vips. If there are some Chef users around, please comment on https://github.com/swalberg/chef-f5/issues/1 with some feedback on how you'd like to see it work.
- SeanW_82915
Nimbostratus
Update: The cookbook I was talking about above is in the Chef Supermarket and will create a virtual server, pool, and add the current node to the pool. I'm just picking away at various options.
As compared to the recipe that originally spawned this thread this is done as a LWRP. So you'll have a wrapper cookbook that does something like
f5_vip "{node.chef_environment}-myapp" do address '1.2.3.4' pool "{node.chef_environment}-myapp" end f5_pool "{node.chef_environment}-myapp" do port '80' endAnd it'll create any missing items and add the host to the pool.
- Jake_M_136997
Nimbostratus
I also created a chef cookbook for managing F5 @ https://supermarket.chef.io/cookbooks/f5-bigip which I was only recently able to publish (but has been a work in progress for a while).
With this you can create a VIP on a load balancer as easy as:
f5_vip 'testing.test.com' do f5 'test-f5.test.com' nodes ['10.10.10.10', '10.10.10.11'] pool 'pool_new' destination_address '192.168.1.10' endThis will then dynamically define other LWRPs for creating the necessary nodes, pool and virtual server. Or you can do it more manually with:
f5_ltm_node '10.10.10.10' do f5 'f5-test.test.com' end f5_ltm_node '10.10.10.11' do f5 'f5-test.test.com' end f5_ltm_pool 'pool_new' do f5 'f5-test.test.com' monitors ['https'] members [ { 'name' => '10.10.10.10', 'port' => 443, 'enabled' => true }, { 'name' => '10.10.10.11', 'port' => 443, 'enabled' => true } ] end f5_ltm_virtual_server 'testing.test.com' do f5 'f5-test.test.com' destination_address '192.168.1.10' destination_port 443 default_pool 'pool_new' end
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