Forum Discussion
2 Replies
Sort By
- James_ThomsonEmployee
You really need to use the Data File Import function to get the BIG-IP to recognize the external Data group. Check out this link, it talks about importing external datagroups.
Hi ERLomboy,
you can't change an already imported data-group file using SCP. Doing so will break the configuration esp. the SHA1 hash of the external data-group...
sys file data-group MyTest { checksum SHA1:7:5510e7f20db230e1ba2ca4b6659db79ef42e6d2c create-time 2016-09-26:17:04:02 created-by itacs last-update-time 2016-09-26:17:05:59 mode 33188 revision 2 size 7 type string updated-by itacs }
But you can SCP the external data-group files to e.g. /var/tmp/datagroup and then import/update the files using TMSH...
Create an external data-group file
(tmos) create sys file data-group MyTest source-path file:/var/tmp/datagroup/datagroup.txt type string Copying file "file:/var/tmp/datagroup/datagroup.txt" ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 7 0 7 0 0 863 0 --:--:-- --:--:-- --:--:-- 0 (tmos)
Update an external data-group file:
(tmos) modify sys file data-group MyTest source-path file:/var/tmp/datagroup/datagroup.txt Copying file "file:/var/tmp/datagroup/datagroup.txt" ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 7 0 7 0 0 731 0 --:--:-- --:--:-- --:--:-- 0 (tmos)
Cheers, Kai