Forum Discussion
What exactly does "tmsh save sys config binary" do?
What exactly does "tmsh save sys config binary" do, apart from a possible "Help" text of "when run, it saves a binary version of the config"? :-)
I haven't been able to find any documentation about this, but does this command rebuild the mcpd database?
3 Replies
- Michael_Jenkins
Cirrostratus
Did you run across SOL13030? It looks like it may help shed a little light on the purpose of the binary file. Seems it's there to get the mcpd process up and running faster instead of having to parse and process the configuration from the text file.
- JG
Cumulonimbus
Yes, I know about that; it is just that neither the article nor the TAC ever mentioned this command. I suppose this has the same effect as doing "touch /service/mcpd/forceload" before a reboot.
- nitass
Employee
tmsh reference manual says it overwrites mcp binary file but i do see tmsh save sys config also changes mcp db file's timestamp. i do not see document about it too. hope somebody here has information.
save config binary Saves all running configuration by overwriting the system binary configuration database file.
Traffic Management Shell (tmsh) Reference Guide
https://support.f5.com/content/kb/en-us/products/big-ip_ltm/manuals/product/bigip-tmsh-11-4-0/_jcr_content/pdfAttach/download/file.res/bigip-tmsh-11-4-0.pdf[root@B4200-R76-S10:Active:Standalone] config date; ls -l /var/db Wed Mar 11 18:44:41 PDT 2015 total 9928 -rw-r--r-- 1 root root 10093528 Mar 11 18:44 mcpdb.bin -rw-r--r-- 1 root root 36 Mar 11 18:44 mcpdb.info -rw-r--r-- 1 root root 298 Mar 10 02:35 mprov -rw-r--r-- 1 root root 4407296 Mar 10 02:35 zxfrd.bin [root@B4200-R76-S10:Active:Standalone] config date; tmsh save sys config Wed Mar 11 18:45:06 PDT 2015 Saving running configuration... /config/bigip.conf /config/bigip_base.conf /config/bigip_user.conf [root@B4200-R76-S10:Active:Standalone] config date; ls -l /var/db Wed Mar 11 18:45:13 PDT 2015 total 9928 -rw-r--r-- 1 root root 10093528 Mar 11 18:45 mcpdb.bin -rw-r--r-- 1 root root 36 Mar 11 18:45 mcpdb.info -rw-r--r-- 1 root root 298 Mar 10 02:35 mprov -rw-r--r-- 1 root root 4407296 Mar 10 02:35 zxfrd.bin
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