Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • if you have very recently generated a snapshot and were expecting to see this new data
  • if you have run a manual consolidation with GUI/CLI admin tools
  • if you have run a manual consolidation with GUI/CLI admin toolsif you have deleted an existing snapshot

...

Code Block
languagetext
http://server[:port]/dashboard/static/default.html

...

If you are "logged in" you can proceed as below, otherwise, enter your user name and password and then click Login:

Once logged in, expand the Help section and , you may click any of the following buttons: 

  • Sync clients with new snapshots - Refresh of the server memory cache in the background with no interruption for HD clients, and reduced interruption for ED clients
  • Sync clients with new domains - Reload the domain properties configuration file and refresh the server memory

...

  • cache
  • Sync clients with new authorizations - Invalidate the browser cache of all clients and refresh cache of authorizations

Image Added

The cache will then be reloaded with the most up-to-date data from the Measurement Service.Dashboard or Measurement schemas.

Info

The Reload server memory cache option (available in ≤ 1.23) has been replaced with the following options/buttons:

  • Sync clients with new snapshots
  • Sync clients with new domains
  • Sync clients with new authorizations

Via a command line for automation

You can also reload the cache via a command line - this enables you to automate the process if you are using CAST's command line interface to automate an analysis, snapshot generation and upload of data to the Measurement Service. You can use a tool such as cURL to do so, for example, replacing "server/:[port]/dashboard <dashboard>" with the details of your environment.   Optionally, this command line can then be added to a batch file containing the command lines required for generating a snapshot.Choose the appropriate option as shown below:

Code Block
languagetext
curl http://server:[port]/<dashboard>/rest/server/refresh -u admin:cast -H "Accept: application/json"
curl http://server:[port]/<dashboard>/rest/server/reload -u admin:cast -H "Accept: application/json" 
curl http://server:[port]/<dashboard>/rest/server/reset -u admin:cast -H "Accept: application/json" 


Info

You can also specify a domain using the command line, for example:

curl http://server:[port]/<dashboard>/rest/server/refresh?domain=AAD -u admin:cast -H "Accept: application/json"

Actions using command line 

Below table details the actions that you can perform using command line.

Use Case

Action

Add a new DataSource

Update context.xml and Restart Tomcat

Make a new application available in ED

http://server/:[port]/<dashboard>/rest/server/reload?domain=ED

Make a new application available in HD

http://server/:[port]/<dashboard>/rest/server/refresh?domain=AAD

Make a new snapshot available in HD/ED

http://server:[port]/<dashboard>/rest/server/refresh?domain=AAD
http://server:[port]/<dashboard>/rest/server/refresh?domain=ED

Apply new authorizations

http://server/:[port]/<dashboard>/rest/server/reset

Anchor
apikey
apikey
Using an API Key

...

Info
If you are using ≤ 1.10.0 the API Key is not available, therefore then it is not possible to use the curl command line as described above. Some additional steps may be required (this third-party documentation may provide some hints about how to do this with a simple username/password, however, this is beyond the scope of CAST documentation).

When server cache is reloading

While the server reloads from cache there will be a message in the login page, as shown in the below screen, stating "SERVER CACHE IS REFRESHING. PLEASE WAIT..."

Image Removed

If the user is already logged in, a pop-up message will appear, as shown in the below screen, and block the user activity on dashboard until the server is getting refreshed. 

...

What to Expect 

When refresh service is executed 

Server cache is refreshed, when a new snapshot is taken or when a new application is added to the existing central/measure (ED/HD) base. 

Following user notification is displayed to the Dashboard users when a new application is added.

Image Added

Following user notification is displayed when a new snapshot is taken.

Image Added

When reload service is executed

The server reloads from cache, when a new application is added to central base (ED), and blocks the user activity on Dashboard until the server is reloaded.

Following pop-up message is displayed to the Dashboard users as shown in the below screen. 

Image Added

When reset service is executed 

Server cache is reset, only when the authorization file is changed.

Following user notification is displayed to the Dashboard users when an authorization file/configuration is changed.

Image Added