Forum Discussion
Pirlo
Nimbostratus
Feb 11, 2015easy tmsh load sys config question
Is there a way to run verify against a test configuration using partitions
For instance i expected the command to be similar to below tmsh load sys config partitions { test } file /config/partitions/test/test.conf verify
I recieve errors based on the above stating "Configuration error: Invalid mcpd context. folder not found (/test)
1 Reply
- StephanManthey
Nacreous
Hi Blue,
it does not really matter where you save the merge file. But it´s important it contains the relevant partition information:cat > /shared/partmerge.cfg ltm node /PartitionTest/node_partition_105 { address 10.131.131.105 } ltm node /PartitionTest/node_partition_106 { address 10.131.131.106 } ltm pool /PartitionTest/pool_partition_test_x { members { /PartitionTest/node_partition_105:80 { address 10.131.131.105 } /PartitionTest/node_partition_106:80 { address 10.131.131.106 } } monitor /Common/gateway_icmp } tmsh load sys config merge verify file /shared/partmerge.cfg Validating configuration... /shared/partmerge.cfg tmsh load sys config merge file /shared/partmerge.cfg Loading configuration... /shared/partmerge.cfg tmsh save sys config Saving running configuration... /config/bigip.conf /config/bigip_base.conf /config/bigip_user.conf /config/partitions/PartitionTest/bigip.conf Saving Ethernet mapping...doneNow you can verify it from shell as well:
tmsh -c "cd /PartitionTest; list ltm pool pool_partition_test_x" ltm pool pool_partition_test_x { members { node_partition_105:http { address 10.131.131.105 session monitor-enabled state down } node_partition_106:http { address 10.131.131.106 session monitor-enabled state down } } monitor /Common/gateway_icmp partition PartitionTest }Thanks, Stephan
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