Sunteți pe pagina 1din 6

Home

Articles

Contact

Tools

Us

HAProxy GUI

HAProxy GUI

Powerful and easy to use


haproxy user interface, reports
and alerts.

Powerful and easy to use


haproxy user interface, reports
and alerts.

Home Articles Loadbalancers F5 BIG-IP How do I to rename a Virtual Server on a F5 LTM ?

ARTICLE INFO
VENDOR
F5
PLATFORM LTM
VERSION
10.x

open in browser PRO version

How do I to rename a Virtual


Server on a F5 LTM ?
Written on 09 October 2011. Posted in F5 BIG-IP

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Below provides the steps rename a virtual server, pool or any other object within the
con guration of a F5 LTM. The steps provided involve the editing of the (bigip.conf)
con guration le. This le is then veri ed for any potential issues before it is loaded and
committed to the F5 LTM`s running con guration.

BACKUP CONFIGURATION
First of we back up the con guration.

cp bigip.conf bigip.conf.bak

CHANGE NAME
Next we amend the old object name with its new name. The -i option ensures that the
changes are saved to the bigip.conf le.

sed -i 's/[OLD NAME]/[NEW NAME]/g' bigip.conf

VERIFY CONFIGURATION
We then ver y the con guration to ensure we don't get any nasty surprises at the point of
loading the new con guration.

b verify load

COMMIT CONFIGURATION
Finally we commit the new con guration to the running con guration.
open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

b load

EXAMPLE
[root@f5-ltm:Active] config # b virtual list
virtual VS-FOWARD-TEST {
ip forward
destination any:any
mask 0.0.0.0
rules IRULE-SNAT
vlans {
EXTERNAL
INTERNAL
} enable
}
[root@f5-ltm:Active] config # cp bigip.conf bigip.conf.bak
[root@f5-ltm:Active] config # sed -i 's/
VS-FOWARD-TEST/VS-FOWARDPRODUCTION/g' bigip.conf
[root@f5-ltm:Active] config # b verify load
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/share/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
Reading configuration from /config/bigip_local.conf.
Validating the configuration ...
[root@f5-ltm:Active] config # b load
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/share/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Reading
Reading
Reading
Reading
Loading

configuration from /config/profile_base.conf.


configuration from /config/daemon.conf.
configuration from /config/bigip.conf.
configuration from /config/bigip_local.conf.
the configuration ...

[root@f5-ltm:Active] config # b virtual list


virtual VS-FOWARD-PRODUCTION{
ip forward
destination any:any
mask 0.0.0.0
rules IRULE-SNAT
vlans {
EXTERNAL
INTERNAL
} enable
}

V11.X UPDATE
As the bigpipe commands have now been deprecated with v11.x. When using v11.x replace
the following bigpipe commands with the equivalent tmsh commands,
BIGPIPE

TMSH

b verify load

load sys con g verify

b load

load sys con g partitions all

back to
top

ABOUT THE AUTHOR


R DONATO
Ricky Donato is the Founder and Chief Editor of Fir3net.com. He
open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

currently works as a Network Security engineer and has a keen


interest in automation and the cloud.
You can nd Ricky on Twitter @f3lix001

LATEST ARTICLES

POPULAR ARTICLES

What is HTTP Strict Transport Security (HSTS) ?

Check Point Commands

How do I Ignore Case in VIM ?

Proxy ARP SPLAT

Cisco - What is vPC (Virtual Port Channel)

IPSO - Commands

Python - Show di erences between 2 Lists

How to set the Time / Date and Timezone in CentOS

Python - Split a String into a Dictionary

ASA 8.3 - Auto NAT Examples

JQuery - Hide id if Class is Visible

Con guring Windows 2008 R2 as an NTP Server

What is Auto-Scaling?

vSphere - Creating User and Group Permissions

Python - Check for Items across Sets

Juniper Netscreen Commands

HTTP Pipelining vs Domain Sharding

VI shows the error Terminal too wide within Solaris

BIGIP - Advanced Firewall Manager (AFM)

Con guring Wireless Connectivity within Backtrack 4 r2

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

About

Sitemap

Partners

Login

Built with HTML5 and CSS3


Secured by Incapsula

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

S-ar putea să vă placă și