Forum Discussion
Directory path for Data Group List
Hi,
Can someone advise where can I find the directory path for Data Group List if I need to SCP the list to another F5 device?
THanks!
2 Replies
- James_Thomson
Employee
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
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