Admin Interfaces: Difference between revisions

From acumen Wiki
Jump to navigation Jump to search
No edit summary
Line 45: Line 45:


= Portainer =
= Portainer =
Click on the <b>primary</b> group to open the dashboard.
==Containers==
The Container List displays whether a container is <b>healthy, unhealthy, running</b> or <b>stopped</b>.
<b>Note:</b> You may wish to set the number of <I>Items per page</I> to <b>All</b>.
A <b>healthy</b> container can be considered the same as a <b>running</b> container; it just has a built in health check.
There are three containers that are typically displayed as <b>stopped</b> and this is not a concern. These are:
::*dockerise_mysql-setup_1
::*dockerise_download_bplan_1
::*dockerise_download_cif_1
To view the <b>logs</b> associated with a container, click on the blue paper icon in the <I>Quick actions</I> column. Within the Log viewer you may want to use the switch to display timestamps.
<b>Stats</b> can be viewed by clicking the blue graph icon in the <I>Quick actions</I> column. This displays the memory, CPU and network usage. This information only starts to display once opened so should be observed over a time period to see average behaviour.
The option is provided to <b>restart</b> one or more containers. This can be achieved by selecting the container(s) from the Container list or clicking on the specific container.


= phpMyAdmin =
= phpMyAdmin =

Revision as of 14:20, 22 September 2020

These are now the preferred applications over sign on via PuTTY/ssh. However PuTTY will still need to be accessed to view certain data. This includes:

Other web interfaces to use include:

URLs are as follows. User names and passwords can be found in the new_interfaces document on Teams.

Component Production Training
Portainer https://prod-pt.tms-uk-rail.co.uk/ https://trg-pt.tms-uk-rail.co.uk/
phpMyAdmin https://prod-db.tms-uk-rail.co.uk/ https://trg-db.tms-uk-rail.co.uk/
Log Viewer https://prod-lv.tms-uk-rail.co.uk https://trg-lv.tms-uk-rail.co.uk
Redis Commander https://prod-rc.tms-uk-rail.co.uk/ https://trg-rc.tms-uk-rail.co.uk/
RQ Dashboard https://prod-rq.tms-uk-rail.co.uk/ https://trg-rq.tms-uk-rail.co.uk/
RabbitMQ http://77.68.3.32:15672 http://77.68.3.32:15672

Note: There are different URLs for the production server compared to the training server. It is likely that most of these activities will be undertaken on the production URLs.

Portainer

Click on the primary group to open the dashboard.

Containers

The Container List displays whether a container is healthy, unhealthy, running or stopped.

Note: You may wish to set the number of Items per page to All.

A healthy container can be considered the same as a running container; it just has a built in health check.

There are three containers that are typically displayed as stopped and this is not a concern. These are:

  • dockerise_mysql-setup_1
  • dockerise_download_bplan_1
  • dockerise_download_cif_1

To view the logs associated with a container, click on the blue paper icon in the Quick actions column. Within the Log viewer you may want to use the switch to display timestamps.

Stats can be viewed by clicking the blue graph icon in the Quick actions column. This displays the memory, CPU and network usage. This information only starts to display once opened so should be observed over a time period to see average behaviour.

The option is provided to restart one or more containers. This can be achieved by selecting the container(s) from the Container list or clicking on the specific container.

phpMyAdmin

Log Viewer

The Log Viewer is a web interface alternative to loading the application logs (See Gateway server##Application logs).

The folders provide a last modified time/date to indicate what has changed and what needs to be checked. The following folders are likely to see daily activity, otherwise the files within the folders should show a size of 0B meaning there is no log to report.

Note: The logs rotate every 12hrs, aka they receive a date stamp after 12hrs and a new log is created. These can be seen by scrolling down within the folder.

Folder File(s) Reason for log
download_cif post_processing Incremental CIF received and processed daily
Example? Example? Why?

When will I use this?

  • As part of the morning daily check. (TBC)
  • When investigating an error. For example acumen loses s-class messages but RabbitMQ says the gateway server is fine and the container is running. The s-class folder within the Log Viewer could show what the error is.

Redis Commander