easy 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)

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...done

Now 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