Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Restarting services

Greetings, I am unfamiliar with BIG-IP so I will post my question. I did look at the forums but was unable to find a solution. We made a change to our "sorrypage.htm.class" file in the directory /var/class but the changes are not reflecting. Can I restart a service to get the updated information to appear? If not what needs to be completed in order for my changes to reflect?

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

tmsh load sys config

0
Comments on this Answer
Comment made 1 month ago by ILucero 1

Thanks for the reply Faruk what will this command do and will it impact my production environment?

0
Comment made 1 month ago by Faruk AYDIN 947

this command reloads full config, it does not impact ongoing the traffic.

0
Comment made 1 month ago by ILucero 1

OK so this command will apply the changes I made?

0
Comment made 1 month ago by Faruk AYDIN 947

yes, sure...

0
Comment made 1 month ago by jaikumar_f5 1929

@Faruk,

The command will disrupt the existing connections. As the complete stored config (bigip.conf files & others config files) will be loaded into the running configuration (memory). The mcpd process has to push it to the tmms, thus there will be impact when large configurations are loaded into memory.

Which is why often people use merge command, instead of a complete config load.

0
Comment made 1 month ago by ILucero 1

Thanks for your reply Jaikumar_f5, but again I am unfamiliar with commands, etc. What do I need to do in order to allow my changes to show in my live production?

0
Comment made 1 month ago by jaikumar_f5 1929

Hi lLucero,

So you have a file in /var/class/ location. Often it will be an external dgl which will be referenced in Irules. May we know hw the existing setup is configured. Is it called in Irule. What's the DGL name.

0
Comment made 1 month ago by ILucero 1

Yes the files we updated is referenced in the iRules "sorry_page_sorrypage".

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hi lLucero,

In order for external DGL's to reflect, you would need to import the file first. I believe which you have already done here.

Next step is to reference the file in the data-group,

For which you have to perform the below,

Capture the external-file-name by running the below command, in my case the external datagroup referenced in Irule is sample_external_dgl

(tmos)# list ltm data-group external sample_external_dgl
ltm data-group external sample_external_dgl {
    external-file-name sample_external_dgl_file
    type string
}

Now that we know the external-file-name, do a list to show you the current file its mapped to,

tmsh list sys file data-group sample_external_dgl_file

You would see something like below,

mode 33188
revision 5
size 43
source-path file:/var/class/sorrypage-old.htm.class

Finally run your modify command,

tmsh modify /sys file data-group sample_external_dgl_file separator ":=" source-path file:/var/class/sorrypage.htm.class type string

Output will be something like below,

<pre>`Copying file "file:/var/class/sorrypage.htm.class" ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    42  100    42    0     0   820k      0 --:--:-- --:--:-- --:--:--  820k

Hope it helps. Sorry for the delay... :)

0