Forum Discussion
Miguel_03_15449
Nimbostratus
Sep 15, 2014F5-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-ops...
Jake_M_136997
Nimbostratus
Jan 22, 2015I 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'
end
This 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
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