06-Mar-2016 06:33
Is there any easy way to remove configurations(VIP, POOL, Pool member, Irule,ssl profile) in LTM?
06-Mar-2016 07:49
06-Mar-2016
07:57
- last edited on
05-Jun-2023
16:14
by
JimmyPackets
Do you have anything specific in mind? To merely delete objects with a minimal waste of time, I recommend you use TMSH.
Delete LTM Virtual Server
tmsh delete ltm virtual VirtualServerName
Delete LTM Pool
tmsh delete ltm pool PoolName
Remove a particular member from pool
tmsh modify ltm pool PoolName members delete { 1.1.1.1:80 }
Delete LTM iRule
tmsh delete ltm rule iRuleName
Delete SSL profile (clientside). Older TMOS versions take in keyword clientssl as written together.
tmsh delete ltm profile client-ssl ProfileName
For a more complex task, i.e. removing Pool Member 1.1.1.1:80 from dozens of different LTM pools, I would make my changes with a search & replace function directly in the config backup file (/config/bigip.conf), and later load in the changes with
tmsh load sys config
06-Mar-2016 08:16
06-Mar-2016 08:27
06-Mar-2016
07:57
- last edited on
05-Jun-2023
16:14
by
JimmyPackets
Do you have anything specific in mind? To merely delete objects with a minimal waste of time, I recommend you use TMSH.
Delete LTM Virtual Server
tmsh delete ltm virtual VirtualServerName
Delete LTM Pool
tmsh delete ltm pool PoolName
Remove a particular member from pool
tmsh modify ltm pool PoolName members delete { 1.1.1.1:80 }
Delete LTM iRule
tmsh delete ltm rule iRuleName
Delete SSL profile (clientside). Older TMOS versions take in keyword clientssl as written together.
tmsh delete ltm profile client-ssl ProfileName
For a more complex task, i.e. removing Pool Member 1.1.1.1:80 from dozens of different LTM pools, I would make my changes with a search & replace function directly in the config backup file (/config/bigip.conf), and later load in the changes with
tmsh load sys config
06-Mar-2016 08:16
06-Mar-2016 08:27
06-Mar-2016 08:02
06-Mar-2016 08:26
tmsh run cm config-sync to-group device-group-failover-
06-Mar-2016 08:58
tmsh run cm config-sync to-group device-group-failover-
sol14856: Performing a ConfigSync using the tmsh utility
https://support.f5.com/kb/en-us/solutions/public/14000/800/sol14856.html
06-Mar-2016 22:29
A note on deleting VS/related configuration objects.
If one uses iApps to create virtual servers (Application Services), it is easy just to delete the iApp application service instance and get rid of related configuration objects, too.
Although the use of iApps will create a number of configuration objects (even for simple http server), managing those in a large configuration is easier and simpler than creating and managing similar services manually.
Typically an iApp creates virtual server and related objects (pools, etc) into its own folder as new object instances, which are not referenced elsewhere. Related objects are thus gathered into same place.
When manually configuring, one easily tends to reuse/reference same configuration objects (like monitors, profiles) in multiple separate and non-related virtual servers, as it is easier than creating new instances .. and eventually this may become a headache on configuration management point of view. For example a change in commonly used profile affects multiple virtual servers and may have unwanted side effects on those. Removing an object may become difficult as it is not clear where it is used..