Forum Discussion

ILucero_383696's avatar
ILucero_383696
Icon for Nimbostratus rankNimbostratus
Feb 13, 2019

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?

 

2 Replies

  • 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,

    `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... 🙂