Wednesday, June 22, 2011

F5 - List of Wide IP

After a long time, am able to do scripting, makes me more happy as it is in F5 link controller.....

When hard times comes, I work more hard... so here is the outcome


Print Wide IPs
==========
cat /config/gtm/wideip.conf | grep -A2 vs | grep address | cut -d ':' -f1 | awk '{print $2}'

Print Total Number of Wide IPs
=======================

cat /config/gtm/wideip.conf | grep -A2 vs | grep address | wc -l

Tuesday, June 14, 2011

NTP in Splat

NTP is a protocol designed to synchronize the clocks of computers over a network.

To configure NTP on SecurePlatform, proceed as follows:

Login to the SecurePlatform CLI (Command Line Interface).
Access 'Expert Mode'.
Run sysconfig.
Perform "Time and Date Configuration". Be sure to set your time zone correctly.
Quit the sysconfig utility.
Type ntp -n


Notes:

-n switch specifies that you are not using an MD5 secret. If you need to use an MD5 secret, replace -n with the secret. See the syntax section below.
is the time between NTP updates measured in seconds. (For example, a polling interval of 5 minutes would be specified as 300 seconds.)
The NTP daemon included on SecurePlatform is a client side only process and cannot be used as a time server, only as a relay server.


For more information regarding configuration of ntpd (the NTP daemon), refer to the documentation provided at ntp.org

Syntax for NTP:

ntp < server2IP>

ntp -n < server2IP> (when working without MD5 secret)

Monday, June 6, 2011

Path of Database Revision Controls

In P1 environment, it is nothing but

/opt/CPmds-R70/customers/Customer/CPsuite-R70/fw1/conf/db_versions/repository