How do you deal with the lag between Console changes and Portal?
I am just wonder how other deal with the time it takes for changes to populate from the console to the portal.
When I do something like create or even change something in the console such as a advanced request offering it can take over 2 days before it will show-up in the portal. This seems ridiculously long to me, anyone seeing this and if so how do you deal with it?
Some of the things we have tried include:
- Restart the cache builder
- switching Internet Information Services (IIS) Manager sites > Cireson Portal > Session Statefrom cookies to something else and back again
- rebooting the server
- clearing the browser cache
This is driving me nuts and it causing the development of my Service Catalog to be beyond painful. Any help out there?
Best Answers
-
damon_mulligan Cireson Consultant Advanced IT Monkey ✭✭✭This looks like its environment related. CSS additions to the CustomSpace > custom.css file only require a refresh of the webpage you are viewing the Portal in. Additional Request Offerings typically only require a restart of the Cache Builder. Occasionally you may need to truncate a few tables if the new Request Offerings do not display. I am sure support can help if you submit a ticket.
8 -
Adam_Dzyacky Product Owner Contributor Monkey ✭✭✭✭✭I second @damon_mulligan - changes written to CSS are available almost instantly. This includes things like color, styling, adding new tasks via custom.js (alright javascript isn't in the CSS file; regardless near instant), etc and require nothing more than a refresh of the page (no restart of IIS or cachebuilder required).
7 -
Leigh_Kilday Member Ninja IT Monkey ✭✭✭✭
We have scripted the following:
- Truncate the LastModified table in the ServiceManagement database
- Stop the Cache Builder service
- Restart the CiresonPortal app pool
- Restart the SCSM Health Service
- Reset IIS
- Start the Cache Builder service
99% of the time this gives us a quick turnaround of security, enumeration and Request Offering updates.
Sometimes we reset the SCSM file cache, which involves stopping SCSM services and removing Health Service Folder, but this is a last resort.
It would be worth checking the CacheBuilder log to understand the average duration of each component and possibly find any inefficiencies in your security groups.
7 -
R_Delawder Member Adept IT Monkey ✭✭If you are referring to updating the request offerings we noticed the lag also, the solution we used was to simply truncate the request offerings, last modified (and serviceoffering when new ones are added) table then restart the cache builder.
There is a Cireson KB on clearing all the cache. the parts we use when deploying a new request offering are:
TRUNCATE TABLE LastModified;
TRUNCATE TABLE ServiceOffering;
TRUNCATE TABLE RequestOffering;
then restart the cache builder.
this will make the request offerings show up within a minute or so. (time it takes the cache builder to sync it)
6
Answers
By default the cache is set to run on a schedule you can review that schedule in this KB article - https://support.cireson.com/KnowledgeBase/View/1176#/
You can configure these settings in the cachebuilder config file located here:
C:\inetpub\CiresonPortal\bin\Cireson.Cachebuilder.WindowsService.exe
under this section:
Merle
Images are also stored in the website cache, you will want to recycle the app pool, and restart the website. Sometimes you may need to clear the browser cache as that data can get clogged. (Ctrl +F5)
Let me know if you have further questions.
Merle
The issue isn't the Cache Builder as far as we're concerned, the Cireson ServiceManagement database gets synced correctly and all service/request offerings are present in the database.
We are unable to determine why the web portal itself cannot refresh itself when a change so basic like updating a css file takes days to take effect. This is what is causing us many issues in terms of prototyping and getting the advanced request offerings appearing on the portal , that's the issue we want a solution for. The Database is updated, but the website has a mind of its own when it decides to use that available information.
We have already tried stopping the CiresonPortal site through IIS and then going into Application Pool and stopping the Cireson one or even just trying to recycle it. The advanced request offerings still do not appear. We are currently using Portal Version 5.0.8 but it's always been present.
What else can we do?
We have scripted the following:
99% of the time this gives us a quick turnaround of security, enumeration and Request Offering updates.
Sometimes we reset the SCSM file cache, which involves stopping SCSM services and removing Health Service Folder, but this is a last resort.
It would be worth checking the CacheBuilder log to understand the average duration of each component and possibly find any inefficiencies in your security groups.
There is a Cireson KB on clearing all the cache. the parts we use when deploying a new request offering are:
TRUNCATE TABLE LastModified;
TRUNCATE TABLE ServiceOffering;
TRUNCATE TABLE RequestOffering;
then restart the cache builder.
this will make the request offerings show up within a minute or so. (time it takes the cache builder to sync it)
and that is a "normal procedure"? I am just trying to update the image in service offering. Truncate table Last Modify seems to fix the issue. However, if you are aware this will re-enabled all previous disabled enumeration. I really thought that was one off? I did this in the morning and my new images was in the portal, However, I have to disabled the enumeration again. Of course I had to change one more image after and now again the same issue. If do not believe those steps are mandatory . So doing all those steps all over again just to update image do not make any sense. By the way if I create a new service offering of update activity it looks it works okay as soon as I restart the cache builder. So it appears to me it is only issue with images.I am not in any rush so I am waiting for Cireson to explain to me how long do we need to wait for after .we update the image to show it the portal.
yup, I wish I knew what would be the issue, but I am sure it is not sizing. In the other tread I put more details. I had 8 RO's who previous had the image and 3 RO's which did not have the image at all so I added a new. After I restarted cache builder the image change on 5 ROs and 3 new once, thought it could be something in image size so try to use the same image that works and it did not. Than used the same ROs which worked and one image that worked and no luck now. Last time I waited more than 24 hours and did than I truncate the last modify table. Since there is an issue with doing that I will just wait and wait. Not sure how long do I need to wait That is basically the answer I need to get.