Clarity PPM1

Expand all | Collapse all

CA PPM Tuesday Tip: How to ensure data is displayed properly in the browser.

  • 1.  CA PPM Tuesday Tip: How to ensure data is displayed properly in the browser.

    Posted 05-11-2015 06:53 PM

    Do you ever wonder why a page loads incorrectly when using CA PPM? If you have, this is a likely case of the corrupted cache.

     

    A browser temporarily stores files that make up a webpage locally, because it is faster to retrieve and display information from the local hard disk, rather than making a full request from the server.
    For example, every time the client browser makes a request for an image, the browser can retrieve this image from the local disk, which is faster than downloading it from the server.
    During this process, the caches (locally stored temporary files) can become corrupted from events such as bad or incomplete page loads. If the webpage rendering is intermittently or
    inconsistently loading, take the following steps to rule out a caching issue.

     

    In CA PPM, it is best to take both steps in order to perform a complete cache flush to resolve the issue.

     

    STEP 1: Clear the browser cache.

     

    For Microsoft Internet Explorer® browsers,
    Go to IE > Tools > Internet Options > General tab >
    In the 'Browsing history' section > click Settings button >
    a. Select radio button(Every visit to the page);
       for performance issues, select radio button(automatic);
    b. Click view objects; delete what is listed in the window
    c. Click view files; delete what is listed in the window
    d. Close out of all IE windows.
    e. Check if the problem persists

     

    For Google Chrome™ browsers, use:
    https://support.google.com/chrome/answer/95582?hl=en
    Delete your cache, history, and other browser data

    Go to Chrome > click Menu Icon (top right-hand corner)
    a. Select More tools > Clear browsing data
    b. Select the checkboxes for the type and amount of information that needs to be removed.
    Select beginning of time to delete everything.
    c. Click Clear browsing data.
    d. Close out of all browsers.
    e. Check if the problem persists

     

    For Mozilla Firefox® browsers, use:
    https://support.mozilla.org/en-US/kb/how-clear-firefox-cache
    How to clear the Firefox cache


    Another option is to download and install Fiddler to clear the caches/cookies via:
    Fidder > Tools > Option > Clear WinINET caches

    Fidder > Tools > Option > Clear WinINET cookies

     

    The issue should be resolved, after performing the above.
    If the issue is not resolved, please open a case before proceeding to the following steps.

     

     

    STEP 2: Clear the CA PPM Server cache.
    a. Login to CA PPM application as an admin user
    b. Modify the URL field to: http://<svr>/niku/nu#action:security.caches
    c. Click Caches tab, click FLUSH ALL button
    d. Click Groups tab, click FLUSH ALL button
    e. Logout
    f. Login and check if problem persists.

     

    STEP 3: Restart CA PPM app services.
    If the problem persists when both steps above are taken, perform a rolling restart of all APP services.



  • 2.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 01:50 AM

    Thanks for sharing this, Tuan

     

    Regards

    NJ



  • 3.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 05:00 AM

    Thanks for the tip.

    Just to Clarify: restarting the app will clear the server cache, you do not need to restart the server.

     

    Is there a command line command for that?

     

    An admin user could be more clearly expressed as there is the admin and all kinds of users with (undefined) admin rights

    Which right exactly is it which is needed.



  • 4.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 06:12 AM

    Secondly if you are in a clustered environment and and flush the cache in the GUI, which cache will the be flushed?



  • 5.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 06:15 AM

    It will flush out only the server you are logged in.

     

    Regards

    Suman Pramanik



  • 6.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 11:00 AM

    That used to be correct, but it has changed (in 13.x and above, if not earlier).  If multicast is configured and working correctly then when any cache item is cleared, unless specifically overridden for some internal reason, then the operation is broadcast for other nodes to pick up and action too.



  • 7.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 06:19 AM

    Thanks for the tip.

     

    I would like to add one point. We faced this issue a lot for large set of user when upgraded from 13.0 to 13.3 with IE10 browser.

     

    So, suggested below settings to user and it helped them not to face this issue again for IE browsers.

     

    1. Go to the Tools menu on the top right corner of IE10

    2. Click to open "Internet Options"

    3. In "Browsing History" section, click on " Settings" button

    4. In the pop window " Temporary internet files and history settings", select

    " Every time I visit this Webpage" option

    5. Click on "OK" button to save the changes.

    6. Close the current browser and open a new browser window to access Clarity


    This will make PPM to load pages from server instead of referring caches. It might increase the load time but pages will be always correct.


    Thanks,

    Pragya Singh



  • 8.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 07:20 AM

    Thanks SumanPramanik

    and as a user you cannot control that right. Only through CSA then?



  • 9.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 07:31 AM

    That's Correct, Its better to be doing via CSA/Server and if you use flush all from security.caches and user don't log out then he/she will be in the same server and it will be quicker.

     

    Regards

    Suman Pramanik



  • 10.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 11:17 AM

    Each service reports its own caches.

     

    You might notice that immediately after issuing a flush, the cache list may be emptier than it was before.

     

    For this reason I would not advise going to the CSA in order to issue a flush action; that service is only a 'partial' app service and does not load up the same content or quantity into caches as other services do, and as a result, it would issue only a 'partial' cache clearing to any other node in the cluster.



  • 11.  Re: CA PPM Tuesday Tip: How to ensure data is displayed properly in the browser.

    Posted 05-12-2015 03:45 PM

    So what is the last work for flushing all the app caches on a cluster

    - through security.caches

    - restarting app services from CSA?



  • 12.  Re: CA PPM Tuesday Tip: How to ensure data is displayed properly in the browser.

    Posted 05-12-2015 04:01 PM

    For 'all' cached data, you would restart the app services either via the command prompt (on each server) or through the CSA.

     

    For 'all the flushable app caches' (which isn't the same scope of cached data as above; there is cached data that the flush operations won't ever touch), you could do it via security.caches on one of the app servers and so long as multicast is working correctly, applying that operation on one of the app services will broadcast any caches it clears to the other services in the same cluster too.

     

    What I wouldn't want is for anyone to make the mistake in thinking this discussion was leaning towards using the security.caches operation in the CSA itself, as that will lead to a different result altogether.



  • 13.  Re: CA PPM Tuesday Tip: How to ensure data is displayed quickly and properly in the browser.

    Posted 05-12-2015 11:34 AM

    Thanks for the tip Tuan!

    TUAN TRAN wrote:

     

    Do you ever wonder why a page seems to take forever to load or loads incorrectly when using CA PPM?
    If you have, this is a likely case of the corrupted cache.

     

     

    For performance reasons, a browser temporarily stores files that make up a webpage locally, because it is faster to retrieve and display information from the local hard disk, rather than from the server. For example, every time the client browser makes a request for an image, the browser can retrieve this image from the local disk a lot faster than downloading it from the server.  During this process, the caches (locally stored temporary files) can become corrupted from events such as bad or incomplete page loads. If the webpage rendering is intermittently or
    inconsistently loading, take the following steps to rule out a caching issue.

     

     

     

    In CA PPM, it is best to take both steps in order to perform a complete cache flush to resolve the issue.

     

     

     

    STEP 1: Clear the browser cache.

     

    For Microsoft Internet Explorer® browsers,
    Go to IE > Tools > Internet Options > General tab >
    In the 'Browsing history' section > click Settings button >
    a. Select radio button(Every visit to the page);
       for performance issues, select radio button(automatic);
    b. Click view objects; delete what is listed in the window
    c. Click view files; delete what is listed in the window
    d. Close out of all IE windows.
    e. Check if the problem persists

     

    For Google Chrome™ browsers, use:
    https://support.google.com/chrome/answer/95582?hl=en
    Delete your cache, history, and other browser data

    Go to Chrome > click Menu Icon (top right-hand corner)
    a. Select More tools > Clear browsing data
    b. Select the checkboxes for the type and amount of information that needs to be removed.
    Select beginning of time to delete everything.
    c. Click Clear browsing data.

     

    For Mozilla Firefox® browsers, use:
    https://support.mozilla.org/en-US/kb/how-clear-firefox-cache
    How to clear the Firefox cache

     

     

     

    STEP 2: Clear the CA PPM Server cache.
    a. Login to CA PPM application as an admin user
    b. Modify the URL field to: http://<svr>/niku/nu#action:security.caches
    c. Click Caches tab, click FLUSH ALL button
    d. Click Groups tab, click FLUSH ALL button
    e. Logout
    f. Login and check if problem persists.
    g. If the problem persists, perform a rolling restart of all APP services.