Forum Discussion
Why does the config disappear?
I have create a new F5 pool using IControl API. Why does the pool disappear when I reboot the system? Do I need commit the changes? Which method should I use? The version of the BIG-IP is v10.1.0. Any help would be greatly appreciated~
19 Replies
Hi! I'm fresh out of v10 to try this with, but have you considered adding the path to the config file? If it's a v10 the path would be /config/bigip.conf.
Something like this: port.getSystemConfigSync().save_configuration("/config/partitions/MyPart/bigip.conf", "SAVE_HIGH_LEVEL_CONFIG");
/Patrik
- bes_newer_14056
Nimbostratus
Yes, I had try port.getSystemConfigSync().save_configuration("/config/bigip.conf", "SAVE_HIGH_LEVEL_CONFIG"); But It does not work. I only have the trial version of BIG-IP. Thank you a lot~
What error message do you get? Have you considered upgrading to a newer version? 10.1.0 is very very old. :)
/Patrik
- bes_newer_14056
Nimbostratus
I will write a program which will control the majority of F5's version. The Error Message is "Access Denied: user(ma) does not have access to action (saving configuration)"
And you were using the Manager role? Have you tried upgrading the rights to Administrator and using the line I mentioned before?
port.getSystemConfigSync().save_configuration("/config/partitions/MyPart/bigip.conf", "SAVE_HIGH_LEVEL_CONFIG");/Patrik
- bes_newer_14056
Nimbostratus
It's ok if I use the Administrator or Resource Administrator, but Manager role will be failed. I had try three methods: port.getSystemConfigSync().save_configuration("/config/partitions/MyPart/bigip.conf", "SAVE_HIGH_LEVEL_CONFIG");
port.getSystemConfigSync().save_configuration("/config/bigip.conf", "SAVE_HIGH_LEVEL_CONFIG");
port.getSystemConfigSync().save_configuration("", "SAVE_HIGH_LEVEL_CONFIG");
It seems to be ignore the filename parameter. The Error Message is the same.
Ok, then it seems like that the manager role is not allowed to save config over iControl. Not sure if there's anything else I can do here. :(
/Patrik
- bes_newer_14056
Nimbostratus
Thank you all the same~ I will use the administrator role~
- No problem. Good luck!
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