Forum Discussion
Automatically take server out of service
My question is that possible. If yes then how can I do that? Is here a API where I can dynamically do that?
- Hamish
Cirrocumulus
You have several choices. - hoolio
Cirrostratus
Another option that would allow the server admins to take a server out of active use in the pools is to configure a monitor to check a page on the server for a specific string like "UP". The server admins could then change the monitored page to not include the string to prevent LTM from using that server. - manc_63343
Nimbostratus
Is icontrol an API or does it have to be manual? Can you please point me to the sample example and docs since I am new to this website? I am looking for something that can be automated and doesn't need a root access. Something where the access is limited to just my application vips. Could you please help a little and give me some advise as to how to go about it, or if it's even possible? - manc_63343
Nimbostratus
Could someone please reply and let me know if it's possible to create icontrol user id in a way that it has access to only selected VIPs or pool members? - Hamish
Cirrocumulus
iControl is an API. To be more precise it's a SOAP API. The links are at the RHS of the webpage you used to post the message. - manc_63343
Nimbostratus
Thanks. My real question around icontrol is: - The only way at this point is to use administrative domains (partitions). You can create a partition with the vips you want to target. You then associate user accounts with those partitions. In your iControl apps, you'll then have to query which partition the current user has access to and switch to that partition before you make any method calls.
Posted By manc on 01/09/2010 12:46 PM
http://devcentral.f5.com/wiki/default.aspx/iControl/APIReference.html
- manc_63343
Nimbostratus
Could you please point me to the doc and the code that utilizes this functionality? - The API reference documentation is in the above link. The documentation for configuring administrative domains can be found in the administrator manual for the BIG-IP version you are running. If you don't have access, you can view the manuals online at ask.f5.com.
http://devcentral.f5.com/wiki/default.aspx/iControl/Management__UserManagement__get_my_permission.html
http://devcentral.f5.com/wiki/default.aspx/iControl/Management__Partition__get_active_partition.html
http://devcentral.f5.com/wiki/default.aspx/iControl/Management__Partition__set_active_partition.html
http://devcentral.f5.com/wiki/default.aspx/iControl/PsPartitionAccess.html
PS C:\scripts> .\PartitionAccess.ps1 -hostname bigip -user user -pass pass
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